Gradle 8 reports incorrect Configuration flags despite being configured correctly

As part of the Nokee project, we encountered the following erroneous reporting from Gradle information log.
Expected Behavior

There shouldn't be any information logs printed out for each consumable Configuration.
Current Behavior

Gradle reports the following for each consumable Configuration part of a dependency resolution:
The configuration :fooElements is both consumable and declarable. This combination is incorrect, only one of these flags should be set.

Context

The reports come from DefaultConfiguration#logIfImproperConfiguration. However, it seems by default canBeDeclaredAgainst comes from this new, half-implemented feature,  ConfigurationRole. There is no mention in the release notes of any changes with regard to role-at-creation for Configuration. It's possible to change the canBeDeclaredAgainst flag, but only via an internal setter DeprecatableConfiguration#setCanBeDeclaredAgainst. In fact, that method is marked as 8.1 which seems to have leaked into Gradle 8.
Steps to Reproduce

Suppose the following code:
configurations.create('fooElements') {
  canBeConsumed = true
  canBeResolved = false
  attributes {
    attribute(Attribute.of("my.attribute", String), "value")
  }
}

configurations.create('foo') {
  canBeConsumed = false
  canBeResolved = true
  attributes {
    attribute(Attribute.of("my.attribute", String), "value")
  }
}

dependencies {
  foo project
}

tasks.register('sayHello') {
  doLast {
    println 'Hello, world!'
    configurations.foo.resolve()
  }
}

Executing ./gradlew sayHello -i will report incorrect Configuration flags.
Your Environment

Build scan URL:

Thank you for reporting this.  I've confirmed the reproducer, and it is a bug.
This should not be happening for any configurations created outside of those created by Gradle core plugins.  We don't want to clutter even the info-level log with these reports just yet, since, like you've said, there's nothing you can do about it currently via the public APIs.  It's meant to help internal development work.  We'll fix this.

this new, half-implemented feature, ConfigurationRole. There is no mention in the release notes of any changes with regard to role-at-creation for Configuration.

This is part of work that will span several Gradle releases, which we are attempting to do slowly to maintain backwards compatibility and not impact users just yet.  "Half-implemented" is generous at this point, it's step 1, and not meant for public use. 😄

In fact, that method is marked as 8.1 which seems to have leaked into Gradle 8.

This @since tag is also a mistake that we'll correct.  The scope of what we want to accomplish with this work in each release has changed many times, and updating this was missed.

There was no mean disrespect with the "half-implemented" comment; it was more a means to illustrate the missing public part of the feature. Is there a design doc that we can read about this work? I'm a bit fearful with the impact on Nokee.

Sure, here's the original plan: https://docs.google.com/document/d/1a2vtM10FiWdTpnY8b2S-q28Cl0xUEVIzAOl3BpOeyng/edit#heading=h.jqujzlhqhoob
And the more recent plan for what is/will be done in 8.1: https://docs.google.com/document/d/1vBWyHSaUYHUlh8Xs7lWC1asGv4z8ww0F_qAjhKBC8h8/edit#heading=h.iaxntumehbo4
And the (still to be finalized) plan for 8.2: https://docs.google.com/document/d/1WDzxOnkBn82VhhtmxU3U3TfdyKqkMcBpBFiioJdopPk/edit#heading=h.8cpx7cw8oiiq
Making this API public seems unlikely in 8.2 at this point.

Thanks for the links to the document. I added a couple of comments, but one comment, in particular, raises a great question on how we can simplify the implementation. It would be great to have your input on that.
It's great to see this moving forward; I'm just really concerned about using the factory method to specify and lock the intent (see comment above).

Just wanted to say that I'm seeing the reported behavior also in Gradle 8.1. Is that to be expected? Or should it be fixed in 8.1 already?

@MartinHaeusler can you please provide a reproducer?

@MartinHaeusler can you please provide a reproducer?

Still reproduce in Gradle 8.1.1. Please take a look at https://github.com/Omico/Elucidator.
The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration detachedConfiguration1 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration detachedConfiguration1 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration :elucidator-generator:classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration :elucidator-generator:classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration :elucidator-generator:classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration :elucidator-generator:classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration :elucidator-generator:classpath is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
The configuration :elucidator-generator:classpath is both consumable and declarable. This combination is incorrect, only one of these flags should be set.

An update on this: canBeDeclaredAgainst will be queryable and settable in the public Configuration API in the upcoming Gradle 8.2.
To avoid seeing these messages in the log, you should update your configurations using these methods to avoid having incorrect multiple roles as indicated upon upgrading to Gradle 8.2.  The message will continue to print for non-legacy configurations, and will likely be expanded to apply to legacy configurations at some point prior to Gradle 9.0.
Our perspective is that this is a message which isn't (yet) a deprecation warning that would fail your build, but gives you a helpful heads up that something isn't idiomatic.  Further work is progressing to move configurations to being only single role, so these situations will have to be addressed at some point (possibly Gradle 9.0) and doing so earlier will be less painful.

Observing the same messages even with 8.2.1 builds:
11:46:45  The configuration :hmsam:detachedConfiguration246 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration246 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration246 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration246 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration246 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration246 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration247 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration247 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration247 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration247 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration247 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration247 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  Excluding []
11:46:45  The configuration :hmsam:detachedConfiguration248 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration248 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration249 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration249 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration249 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration249 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
11:46:45  The configuration :hmsam:detachedConfiguration249 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.
11:46:45  The configuration :hmsam:detachedConfiguration249 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.

@tresat Most of the reporters here are not doing anything particularly interesting in our gradle configs. We use plugins from 3rd parties and these messages come from them. None of what you said in your message made sense to me or maps to our gradle files.
What we're asking is that you meet your users where we are, and this migration isn't and it's clogging our CI logs.

@paco-sparta - This message is intended to give you a heads up that something is incorrect in the state of your project.  It makes no distinctions whether that problem lies in your build script, or in the logic of the plugins you apply, or some combination of these.
We've enabled this warning because Gradle's configuration API will be changing, and we want to give build authors time to figure out how to correct this improper multiple usage.  Addressing this now will help you migrate and will likely be a prerequisite for upgrading to an upcoming major version of Gradle.
We understand you have no control over 3rd party plugins and we are talking with JetBrains and other major 3rd party plugin providers about how to make sure their plugins behave idiomatically correctly.  Unfortunately we can't anticipate or test every combination of plugins and build setups, so there may be some temporary un-actionable warnings in logs while the ecosystem adjusts.

You could make the logs less verbose. Plugin makers will see it and repro it once, we don't need every CI job in the industry to have an additional 10k lines per task.

is there a way to figure out which plugin is adding those configurations so that we can create issues on their github? Right now I dont even know who to blame.

Hi, I'm Ronald - the creator of JobRunr, an open-source distributed scheduler. I want to voice my concern also around this. I just updated to Gradle 8.2.1 to try to solve this issue that I have since Gradle 8.1.1. The log statements are still there...
The configuration detachedConfiguration1 is both consumable and declarable. This combination is incorrect, only one of these flags should be set.
The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a legacy configuration and it will eventually only be possible to be one of these.

If you want a reproducible scenario, please see my build.gradle files in the JobRunr repo.

I'm also still seeing these log messages everywhere, even on Gradle 8.3

We don't even create any kind of configurations ourselves and gradle 8.3 reports the above two lines from @rdehuyss for (I think ALL) configurations which a build encounters.

FYI, these messages were removed in 8.4.

Finally, good news ☝ all the user's concerns are so valuable, and summarised by Paco above. I really do not understand how the maintainers were trying to explain to us anything, it's relevant only to the plugin developers and the Gradle team itself probably. But we got our logs populated for several months.


client_channel_stress_test is extremely verbose: "Missing LB token for backend address"

Revealed when investigating https://github.com/grpc/grpc/issues/16985
The test prints thousands of instances of
I1111 19:38:27.190111000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:32071'. The empty token will be used instead
I1111 19:38:27.190121000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:4975'. The empty token will be used instead
I1111 19:38:27.190129000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:21955'. The empty token will be used instead
I1111 19:38:27.190138000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:6169'. The empty token will be used instead
I1111 19:38:27.190147000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:17040'. The empty token will be used instead
I1111 19:38:27.190194000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:6058'. The empty token will be used instead
I1111 19:38:27.190204000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:6169'. The empty token will be used instead
I1111 19:38:27.190213000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:13172'. The empty token will be used instead
I1111 19:38:27.190221000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:21425'. The empty token will be used instead
I1111 19:38:27.241362000<PHONE_NUMBER>02368 grpclb.cc:479]                Missing LB token for backend address 'ipv4:<IP_ADDRESS>:6058'. The empty token will be used instead

I would change it to WARNING if it's available. But we don't have that.
Logging every N samples doesn't make sense here because we do want to know each backend's status if we are printing some backends' status.
I think it's fine if only the stress test has this problem?

@AspirinSJL  leaving up to you, just saying that tests that log tons of stuff are hard to work with so it's preferable to not have them if possible. If there's no easy fix, we can close.

Now that I'm thinking about it again, we should fix this by setting LB token like https://github.com/grpc/grpc/blob/ab9c2c190505c9e0cc4d439a54c221f413f6b8f3/test/cpp/end2end/grpclb_end2end_test.cc#L313

still an issue.

We acknowledge this to be a valid feature request but since no one has come forward to implement this, we are going to close it for now while maintaining the label/Help wanted to indicate that this can be picked up as future work


Reverse proxy with SSL

I'm trying to setup LibreSignage (official docker container) behind a reverse proxy (nginx). With a reverse proxy without SSL, all works fine. When I create the proxy with SSL support, it seems that apache performs a redirect (301), but that points to the non-SSL URI to which my nginx then responds that it does not exist (404).
Here is an example with curl (fake domain name):
curl -v https://mylibresignage.com/
*   Trying XXX.XXX.XXX.XXX:443...
* TCP_NODELAY set
* Connected to mylibresignage.com (XXX.XXX.XXX.XXX) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=mylibresignage.com
*  start date: Dec 30 10:10:01 2019 GMT
*  expire date: Mar 29 10:10:01 2020 GMT
*  subjectAltName: host "mylibresignage.com" matched cert's "mylibresignage.com"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
> GET / HTTP/1.1
> Host: mylibresignage.com
> User-Agent: curl/7.67.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Server: nginx
< Date: Mon, 30 Dec 2019 15:24:36 GMT
< Content-Type: text/html; charset=iso-8859-1
< Content-Length: 341
< Connection: keep-alive
< Keep-Alive: timeout=20
< Location: http://mylibresignage.com/control
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<title>301 Moved Permanently</title>

Moved Permanently

The document has moved here.

<address>Apache/2.4.25 (Debian) Server at mylibresignage.com Port 80</address>

* Connection #0 to host mylibresignage.com left intact

I'm not sure where to get a grip on this issue. Any advice would be appreciated.

I'll take a look at this. I think I can fix this just by modifying the default apache config a bit

If you want, you can send me the config changes to try them out. I can modify the running container, assuming the changes are necessary in ls-docker.conf and test it.

One more thing, could you paste your nginx config here.

Sure, here you go:
server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name mylibresignage.com;

    ssl_certificate /usr/syno/etc/certificate/ReverseProxy/54d01831-1ab2-46b8-a65f-a658ff4e1a92/fullchain.pem;

    ssl_certificate_key /usr/syno/etc/certificate/ReverseProxy/54d01831-1ab2-46b8-a65f-a658ff4e1a92/privkey.pem;

    location / {
        proxy_connect_timeout 60;
        proxy_read_timeout 60;
        proxy_send_timeout 60;
        proxy_intercept_errors off;
        proxy_http_version 1.1;
        proxy_set_header        Host            $http_host;
        proxy_set_header        X-Real-IP            $remote_addr;
        proxy_set_header        X-Forwarded-For            $proxy_add_x_forwarded_for;
        proxy_set_header        X-Forwarded-Proto            $scheme;
        proxy_pass http://localhost:8889;
    }

    error_page 403 404 500 502 503 504 @error_page;

    location @error_page {
        root /usr/syno/share/nginx;
        rewrite (.*) /error.html break;
        allow all;
    }
}

I played around with an nginx reverse proxy for a bit and figured out that adding proxy_redirect http:// $scheme://; to the end of the location / section makes the redirects work even with an SSL reverse proxy.
The issue happens because the upstream LibreSignage server sends redirects with the http:// protocol because it doesn't know it's being run behind a reverse proxy.

Yes! That worked. Since I'm running this on a Synology NAS, I had to trick a bit to make custom changes in the nginx config (see here), but eventually it worked. Thanks!

Great! I might write a documentation page about using LibreSignage with a reverse proxy so other people have a reference aswell.

Good idea! Feel free to add me as a reviewer once you have a draft. Maybe I can help...

Sure!

I can't seem to add non-collaborators as reviewers to PRs so this is the PR for the reverse proxy documentation: #103


[Button] prop (to) - Prop validates should allow either String or Object

Steps to Reproduce

Create a vs-button
Add a named :to route i.e :to="{ name: 'page', params: { pageID: page.id }}"

Expected
This does route as expected however gives a prop validation error, should allow Object type as well for valid prop type
Result
Prop validation error: Invalid prop: type check failed for prop "to". Expected String with value "[object Object]", got Object

Related to vuesax-next


Share functionality is confusing and hard to find

Create a need
Go to the share section
Try to select the link

When trying to select the link every selection gets immediately deleted (and the link gets copied to clipboard, because the click handler does that)
The only visual feedback for what is happening is that the text below the field changes to "Link copied to the clipboard"
I would prefer github-style behaviour where focusing the text element selects the whole link, and there is an extra button to the right for automatically copying to clipboard. After the initial click selecting any part of the link is possible.

agreed

Also, the share functionality is hard to find. A user told me: 'You guys have to hide that share thing better. I almost found it all by myself'
Where should we put it ?

I think Andrés had a mock-up where it was just always visible at the top of the details page, which makes sense. It doesn’t take up much space and this is a similar position to githubs.

I think this is more of a solution for desktop use. Mobile browsers have a concept of sharing a page which, I assume, most people use. This doesn't work with our current url schema though.


Implement RandomAccessCollection protocol on ListModelType:Model in order to allow list to be used easily with SwiftUI's ForEach

Is your feature request related to a problem? Please describe.
I had trouble figuring out why I could not use an Amplify model's "child list" property in a ForEach (SwiftUI).  Most of the code examples in amplify documentation for swift show using a result from a datastore.query, but if you have a model and want to traverse it's children using the ForEach, it requires an object that implements the RandomAccessCollection protocol.  I was able to add an extension to get around this, but it required me to implement a missing index:before -> Int method to which I am unable to access the underlying elements since it's marked internal (and thus my implementation is not really correct).  My extension implementation just returns index - 1, and does not appear to cause issues and allows me to iterate on the child list property using the ForEach, but ideally this implementation would happen in the amplify framework.
This is my model's autogenerated type:
// swiftlint:disable all
import Amplify
import Foundation

public struct Menu: Model {
  public let id: String
  public var title: String?
  public var groups: List<MenuGroup>?

  public init(id: String = UUID().uuidString,
      title: String? = nil,
      groups: List<MenuGroup>? = [],
      self.id = id
      self.title = title
      self.groups = groups
  }
}

This is my extension code:
(Side note:  Would be great if you could also go ahead and implement the Identifiable protocol too!)
extension Menu: Identifiable {}
extension MenuGroup: Identifiable {}

extension List: RandomAccessCollection  {
    public func index(before i: Int) -> Int {
        return i-1
    }
}

If this extension is not in my project, then I get the following error:
Generic struct 'ForEach' requires that 'List<MenuGroup>' conform to 'RandomAccessCollection'
Here is the swift ui code for the body where the error occurs (but works if I add my extension code above):
    var body: some View {
        ForEach(viewModel.menu?.groups ?? List<MenuGroup>()) { group in
            Text("item: \(group.id) goes here")
        }
    }

Hi, @treystudio3a
Can you provide the schema you use? Menu and MenuGroup.

Hi, @treystudio3a
Can you provide the schema you use?
}

Menu model generated by Amplify:
// swiftlint:disable all
import Amplify
import Foundation

public struct Menu: Model {
  public let id: String
  public var title: String?
  public var groups: List<MenuGroup>?
  public var appDefID: String

  public init(id: String = UUID().uuidString,
      title: String? = nil,
      groups: List<MenuGroup>? = [],
      appDefID: String) {
      self.id = id
      self.title = title
      self.groups = groups
      self.appDefID = appDefID
  }
}

Menu model generated by Amplify:
// swiftlint:disable all
import Amplify
import Foundation

public struct Menu: Model {
  public let id: String
  public var title: String?
  public var groups: List<MenuGroup>?
  public var appDefID: String

  public init(id: String = UUID().uuidString,
      title: String? = nil,
      groups: List<MenuGroup>? = [],
      appDefID: String) {
      self.id = id
      self.title = title
      self.groups = groups
      self.appDefID = appDefID
  }
}

MenuGroup model generated by Amplify:
// swiftlint:disable all
import Amplify
import Foundation

public struct MenuGroup: Model {
  public let id: String
  public var title: String?
  public var isExpanded: Bool?
  public var items: List<MenuItem>?
  public var menuID: String

  public init(id: String = UUID().uuidString,
      title: String? = nil,
      isExpanded: Bool? = nil,
      items: List<MenuItem>? = [],
      menuID: String) {
      self.id = id
      self.title = title
      self.isExpanded = isExpanded
      self.items = items
      self.menuID = menuID
  }
}

MenuGroup model generated by Amplify:
// swiftlint:disable all
import Amplify
import Foundation

public struct MenuGroup: Model {
  public let id: String
  public var title: String?
  public var isExpanded: Bool?
  public var items: List<MenuItem>?
  public var menuID: String

  public init(id: String = UUID().uuidString,
      title: String? = nil,
      isExpanded: Bool? = nil,
      items: List<MenuItem>? = [],
      menuID: String) {
      self.id = id
      self.title = title
      self.isExpanded = isExpanded
      self.items = items
      self.menuID = menuID
  }
}

Does this work for you, I do not think we might be adding RandomAccessCollection into the list property.
let groups = viewModel.menu?.groups ?? []
ForEach(0 ..< groups.count) {
          Text("item: \(groups[$0].id) goes here")
}


Unity Default Theme

In case you were interested, the default theme for Unity 5.6.7 is
<style name="UnityThemeSelector" parent="android:Theme.Material.Light.NoActionBar.Fullscreen">
</style>

This may have already or not yet changed in the P2W Unity versions (2017+)

Do you mean that there was no BaseUnityTheme back in Unity 5.6?
That's correct, I've checked and it seem to have appeared in 2017.x cycle (present in 2017.4 LTS).
Feel free to create a pull request with update to readme.md!


2 stores

In GitLab by @lakhoune on Jul 26, 2020, 20:30
use 1 store for state management (loading, formMode, typing,...)
use 1 store for datamanagement (cards, currLecture, user)
the reason is that the state changes quite often ( e.g. on each user click) By decoupling these from the first store we can seperate subscribers which will increase perfromance because the amount of subscribers which are unnecessarely notified is reduced
We could also use a feature store for cardsData which is only active on the cards route and one feature store for user, which is only active on account

In GitLab by @lakhoune on Jul 28, 2020, 13:10
This is not possible. However, we should restructure the appstate: one cardsData obj holding all data for cardspage, one lectures array, one userdata obj holding user data and the rest as individual state variables

In GitLab by @lakhoune on Jul 29, 2020, 14:32
removed milestone

In GitLab by @lakhoune on Jul 30, 2020, 11:46
closed


WIP: Switch on the device if needed

Switch on the device by setting the Status property to On. When the HVAC mode is not Off.

Will proceed in https://github.com/joleys/niko-home-control-II/pull/109/files


clarify Docker for Mac OS requirements

Proposed changes
Clarify Mac system requirements up-front
Please take a look
@friism @justincormack @mstanleyjones

LGTM!


Vue reactive call no longer preserves union type of vue-query's useQuery

Describe the bug
In the old, separate vue-query package, using vue's reactive on the return of useQuery preserved the union return type, but now all the union types seem to get combined into one type. This means you can't narrow types based on e.g. isSuccess.
Your minimal, reproducible example
I attempted to reproduce this in the Typescript Playground, but for whatever reason it just shows me any for the return type of the old useQuery ... https://www.typescriptlang.org/play?ts=4.8.4#code/JYWwDg9gTgLgBAbzlApgQwMY2ANxXAXzgDMoIQ4AiHAVxUoG4AoUSWROGgZxQEU6oAT0IkyFAOS0UAWgCOAweOato8JNz4K4aLpx78UQgHIoA7iNLk44gAIw0AOy72MAawD0UuQqVMmxGgcsYAgHEggIAAoASkQmOATkFBgaKDCABTFgHgA6VC4IABs8SMpiCMpopgI-DFDnOHlDYQBeJMxsEo0DIUiAbTKKgF0AGnCIaOjmJqEcgBM0exZiOEiZwRzsgGUaDAwULi5YhHjE9fnFtGra+vh1k3M21A7cFEjuhQf+wYhKUfHJtMFBclsAVmtPmZNlwdnsDkc4olGpDTCCrgQgA
I've made a local reproduction you can clone instead: https://github.com/henribru/vue-query-use-query-reactive/blob/master/src/main.ts
Steps to reproduce

Open up src/main.ts in e.g. VS Code
Hover over query.data and notice it's been narrowed to string
Hover over queryNew.data and notice it hasn't been narrowed and is string | undefined
Hover over query and notice it's a union type
Hover over queryNew and notice it's not a union type

Expected behavior
I expected @tanstack/vue-query to have the same behavior as vue-query so that I can discriminate between union types.
How often does this bug happen?
Every time
Screenshots or Videos

Platform

OS: Linux
Browser: N/A
Version: N/A

react-query version
4.17.1 for @tanstack/vue-query, 1.26.0 for vue-query
TypeScript version
4.8.4
Additional context
No response

This appears to be related to the use of  Omit in the definition of UseQueryReturnType, if I just naively remove that the error goes away.
Probably related to issues like these:
https://github.com/microsoft/TypeScript/issues/28339
https://github.com/microsoft/TypeScript/issues/31501
https://github.com/microsoft/TypeScript/issues/39556
https://github.com/microsoft/TypeScript/issues/46361
I guess it could probably be fixed using a DistributiveOmit?
https://stackoverflow.com/questions/57103834/typescript-omit-a-property-from-all-interfaces-in-a-union-but-keep-the-union-s
https://davidgomes.com/pick-omit-over-union-types-in-typescript/

FYI, we won't need the omit in v5 because we remove the overloads there

Sounds good. I think I'll do a PR now so it's fixed in v4 as well, though.


Uncheck Entire List for Reset

Extension
https://www.raycast.com/maggie/todo-list
Description
I think a really useful feature for this task would be allowing the user to select/deselect all of the items in their todo-list in some fashion. Whether this could be a "reset" function which would uncheck all of the items on the list. Right now, we can only delete the entire list or individually deselect the items.
Who will benefit from this feature?
This feature would benefit any use who has constant todo's everyday (i.e. working out, daily meetings, call parents, etc.).
Anything else?
No response

I have personally begun developing this feature (I have forked the extension). I plan on publishing it today!


Include Azure Gov endpoints in required network connectivity

The required network connectivity section should include the required URLs for Azure Gov. for Service Bus (.servicebus.usgovcloudapi.net ) and Passwordreset URLs  (.passwordreset.microsoftonline.us) .
I could only find this information somewhat mentioned in this separate doc which is geared towards developers not the server admins who would be configuring password writeback (https://docs.microsoft.com/en-us/azure/azure-government/compare-azure-government-global-azure#guidance-for-developers)

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

ID: a6c7b290-3f3e-70c9-7524-80d7364dd763
Version Independent ID: d12b324f-57b2-9fd8-a433-b25644424171
Content: Troubleshoot self-service password reset writeback- Azure Active Directory
Content Source: articles/active-directory/authentication/troubleshoot-sspr-writeback.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@jasonfritts
Thanks for your feedback! We will investigate and update as appropriate.

@jasonfritts
I have created a PR to update the documentation and will now close out this issue. Please allow some time for the author to review and accept the changes.
Thank you for your time and patience!


Zookeeper

I just noticed: we should just use thread::sleep instead of thread::park_timeout when we're not explicitly calling unpark on the thread.

@jonhoo Agreed, but I don't see where that would apply


Merge liberty into mitaka

What's this change do?
Merging liberty forward into mitaka.

test results looks good


I doesn't do anything

There is no code here and it doesn't do anything...

There are a few things to know if you're new to github and git.

There is an about section of every repository where you can put links. A lot of people hosting applications on github will put a link to the sample application there.

Git repositories can have more than one branch. This repository has a branch called gh-pages.

Github can host pages for your projects and serve code from your repository. You can read about it here: https://pages.github.com/

I submitted a map file and absolutely nothing happened...

If you would like help troubleshooting you'll need to post the map file you're trying to parse here, otherwise I have no way of knowing what the problem could be.


NEXT-37318 - copy default profiles from executable

@MalteJanz, is there a way to better organize environment constants? It feels a bit awkward to hardcode things like this or this.
You might need to update your settings.json in VS Code to clear an analyzer error found here: link.
{
   "rust-analyzer.server.path": "rust-analyzer"
}

Btw. I moved the /profiles folder to /src/resources/profile !?

Regarding you question: I don't know of any constants for the build script, just this documentation:
https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts
So I think you would need to hard code them...


chore: fix comment

What was wrong?
fix comment
How was it fixed?
Todo:

[ ] Clean up commit history
[ ] Add or update documentation related to these changes
[ ] Add entry to the release notes

Cute Animal Picture

Thanks, @cangqiaoyuzhuo !


Graph node chart

As per discussion:

combine statefulset and deployment to 1 Deployment, which is configured based on the node role
remove CM with envs, put all envs to the deployment definition directly
create github issues for each todo item
research possible liveness and readiness probes implementation
add separate values files for each node role

Disable KILL_IF_UNRESPONSIVE
Fulfil service with needed ports

@CaJIbHuK Made all changes that we have discussed today. So it's ready for review again.
In test cluster I have deployed latest commit of this PR.
But there's interesting problem and I would like to know what do you think.
I have added required options to the chart to make it impossible to forget about configuring them. But this may linting failing. What do you think would be better - drop required or use some additional test/example values during linting?

@dm3ch

But there's interesting problem and I would like to know what do you think.
I have added required options to the chart to make it impossible to forget about configuring them. But this may linting failing. What do you think would be better - drop required or use some additional test/example values during linting?

IMHO it's better to use additional test/example values during linting

btw, I see they have a bunch of integration tests.:
https://github.com/graphprotocol/graph-node/tree/master/tests/integration-tests/fatal-error
https://thegraph.com/docs/deploy-a-subgraph#checking-subgraph-health

Yep, I also saw them. But I'm not sure if it is a good idea to use them now.
Integration tests code is heavily leveraging on docker run functionality (https://github.com/graphprotocol/graph-node/blob/master/tests/tests/parallel_tests.rs#L171-L173). So it's possible to use subgraphs and yarn part of integration tests to check if chart works fine, but it would require a lot of manual steps now.
So I assume it would be better to skip for now this tests and go to the next step

@dm3ch the lint job failed btw

@dm3ch the lint job failed btw
(don't know if you've made any changes to it yet)

@CaJIbHuK Reverted change that have broken lint change.


[TCN-840] - Add Connect Protocol Version Header

Add connect protocol version header to connect transport

Leaving this comment to make sure we don't release this breaking change to @bufbuild/connect-web without making sure that:

the public BSR is allowlisting the new header
we explain the change in the release notes
we recommend in the release notes that users make sure their backend is already allowlisting the header
we give an example in the release notes for an interceptor that strips the header, as a temporary escape hatch

@gilwong00, regarding the example interceptor - could you write one, verify via the example that it does remove the header as expected, and paste it here as a comment so that we can later add it to the release notes?

Hey @timostamm here is a basic interceptor that will strip away the connect protocol version header
export function removeConnectProtocolHeader(): Interceptor {
  return (next) => async (req) => {
    if (req.header.has("Connect-Protocol-Version")) {
      req.header.delete("Connect-Protocol-Version");
    }
    const res = await next(req);
    return res;
  };
}

To use it, all we need to do is add it to the interceptors array when declaring the transport
  "connect JSON transport": (options) =>
    createConnectTransport({
      ...options,
      baseUrl,
      useBinaryFormat: false,
      interceptors: [removeConnectProtocolHeader()],
    }),

do you want me to push interceptor up?

Hey @timostamm here is a basic interceptor

TY 🎉

do you want me to push interceptor up?

The comment is sufficient :)

Hey @timostamm just wanted to follow up on this one, are we able to merge this in or are we still waiting?


[Newbie question]-Not found image file for face recognition

I don't know where I have to save the picture. I have try to do but it seems that not work. Please kindly advise me.

are you sure the picture of Dr_kim.png is exist ? because the error say No such file or directory: Dr_kim.png. or check your image path

The images should be saved in the same folder where the .py file is located.


how to not select default day when first  open the calendar?

as the  title,   and when selected the  second time , show the highlight;   is it possible ?

todayHighlight works fine with me 1 to many times. Always there and fine.
But I have todayBtn = true, see if that makes a difference.

sorry ,  get a mistake title...

have you checked the following:
setInitialDate

Arguments:

setInitialDate (String)
Sets a new inital date on the datetimepicker.

$('#datetimepicker').datetimepicker('setInitialDate', '2012-12-31');
Get the inital date on the datetimepicker.

$('#datetimepicker').datetimepicker('getInitialDate');

it doesn't do ,    my goal is to force user to  select at least once .   maybe my goal isn't reasonable~   thanks any way.


WIP Fix/maint

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Carthage setup is not working

Carthage fails to build DroneCore-Swift. It won't create the Carthage/Build/iOS/Dronecode_SDK_Swift.framework
I'm using:

Sierra MacOS 10.12.6
Xcode 9.2 Build version 9C40b
Carthage version 0.29.0

Step to reproduce:

create a new iOS single view app project.
create the file Cartfile with code:
# Require the iOS framework of DroneCore SDK
github "dronecore/DroneCore-Swift"
run Carthage in your app's repository
carthage update

Closing in favor of #47.


Help fixing #1540

Help fix #1540 reported bug (seq -> sep)

Waiting for checks to pass then we can push.

@StrikerRUS docs and VS 2015 failed?


Multiple additions to Practice Mode (1 Player) + 9 Ball table colors and more

Added

Shot Undo / Redo System
Shot Preview System
Shot Physics Replay
9 Ball affects table lights
More accurate Simulation option (off by default)

Removed

Bit Shifting
uints
Redundant Variables

Fixed

Cue ball spinning in pocket #121

Plans for future PR

Store / Load ball positions. to allow storing state for practice. (Can be added later)
Ability to move all balls manually

To do before this is ready for release

Network Testing
Esnya UI setup. (Only tested and set up in moon ui)
~Metal and fox table setup~ Should just work

Yup, Floof has a tonne to do getting their work up-to-date but they've gotten started.

@Codel1417 - please either fix this PR or close it within the next week.

Probably could fork it and compare changes to master and adjust accordingly if needed. Would require alot of testing to make sure everything works correctly.

Plan to remove bitshifting again if it isnt already

Removed in https://github.com/VRCBilliards/vrcbce/commit/a13907b8b4a9cc65eced1c9e6241e4e6ca4befd2


Redesign of the Running setup screen

This relies on #27

As a Task progress only works for long running tasks, like the download. It doesn't work well for most of the tasks we have, as they only run for a second or so.
Note: the Close Setup button only becomes active after the process finished.
Note 2: the checkmarks are just placeholders, as PatternFly most likely has nice looking Icons for this.

An alternative that might need more work:

Probably, the solution would be a combination of both. As a Task progress only works for long running tasks, like the download. It doesn't work well for most of the tasks we have, as they only run for a second or so.

import ReactDOM from 'react-dom';
import<EMAIL_ADDRESS>import './fonts.css';

import React from 'react';
import { Progress, ProgressMeasureLocation } from '@patternfly/react-core';

class NewProgress extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  render() {
    return (

        <Progress title="Overall progress"
            value={30} min={0} max={100}
            measureLocation={ProgressMeasureLocation.outside} />

        {
}
        {
Installing hypervisor: Hyper-V ... DONE}
        {
Downloading openshift bundle ... DONE}
        <Progress title="Reticulating splines ..."
            value={60} min={0} max={100}
            measureLocation={ProgressMeasureLocation.outside} />

    );
  }
}

const rootElement = document.getElementById("root");
ReactDOM.render(<NewProgress />, rootElement);


Welcome message

Add a welcome message on the first load of Gmail notifier to indicates that the application is working in the taskbar: defer the load of the first synchronization. A specific application setting will be created to indicates the save the first load state.

Using System.Threading to display a balloon tip and then start the app process: authentication, sync, etc.


Add the ability to save multiple scrrolls

Since we can only save one scrroll for any particular page right now, we received a few requests from the users for having the ability to save multiple scrrolls.

A few things that you need to keep in mind while building this are -

When the user clicks on the save/add more a prompt should ask the name of the scrroll

You will need to modify the existing saving data structure so that it doesn't break any previously saved scrrolls.

The user can select the scrroll from the saved scrrolls (the selected scrroll is the blue one) and modify, the "Fetch Scrroll", "Update" and "Delete" would work in respect to that scrroll

The latest scrroll should be selected by default when the user opens the popup.

You can find the Figma design file here

@prateek3255 I'd like to work on this.

Yeah, sure go ahead

I was thinking just to save each "data structure" in a new list which is displayed as show, just with multiple instead of one. So where can I integrate this feature?

I just realised, is it multiple

I would recommend going through the README and testing it out locally to understand how it works

I see, so you want save multiple places on a website?

I see, so you want save multiple places on a website?

Yes

In this case, I would maybe save it as an ID instead, but still print it out as the url (and position percentage). Or what?

Yeah, you need to add the ID and name you would take from the input prompt while saving.

So how I want this to be built is by having the url as an ID. This ID then stores a list of page yoffsets, but whenever you the url has as list with a length over 1, there should be a popup displaying each percentage from the top.
in psuedo code:

save url
Check of the url already exists
if it does append the new data to the list

The problem is just that this codebase is very uncommented, thus I'm having quite a hard time figuring out what the different components do. Maybe you can explain to me what I should change in what file?

Like the saving mechanism how does it exactly work and how can I change it into a list instead of a dictionary (or whatever you're using)

Doesn't look like anyone is working on this. I will take it up.

Doesn't look like anyone is working on this. I will take it up.

Sure please go ahead

This task needs to be broken into sub-tasks. I have done the backend integration (saving the scroll, fetching the scrolls etc.) but still, adding a new button in the widget popup, displaying all available scrolls need to be integrated, I will commit a working version with the new features so that the UI can be designed.


Added RID and NodePath (need opinion)

Added NodePath
Added RID
Those coretypes directly use the Godot Gdnative API. It would be hard to reimplement them in kotlin because they need access to some internal Godot variables.
Ex: Godot use a global counter to assign an ID to an RID. Gdnative doesn't give access to this counter.
RID doesn't compile for now as it needs the Object Class for its constructor and I don't have access to this one because the coretype directory doesn't depend on Gen in the gradle build.
We can either change the gradle file or recreate the GodotObject interface (root of all the gen classes) we previously had.
What do you think ?

There is no dependency for now, but you should be able to access the object class from gen source dir, there's a dummy one to wait api generation is merged. We only have several source sets, so you can access any class you need in any sourceset


Deleting/Erase  extra element from mesh,

Hello, @stephomi
After subtraction two mesh the output we get is like

I only want to remove the part which is circled in black, is there any function which can perform this kind of operation.
Thank You.

Very far from optimal but you could reuse the remesh function by using the difference operator (with a cube for example) https://github.com/stephomi/sculptgl/blob/1b67bdd369435b3436b6f6670d40da23d6d477fe/src/editing/Remesh.js#L370
Otherwise you need a custom algorithm to isolate this part before deleting it (picking the surface -> get a vert/tri -> iterate on the neighbors until everything is tagged and delete everything)

Thankyou, i was trying the custom method through predefined
getVertexinradius() etc, of face,color,material.
method and other and then trying to remove those from original vertex through getvertex(),
after that calling remesh method which takes those new modified vertex,face,color,material.
So now will try with remesh function to remove that and use difference operator

The custom method would look like:
var nbVertices = mesh.getNbVertices();
var vAr = mesh.getVertices();
var fAr = mesh.getFaces();

var vrvStartCount = mesh.getVerticesRingVertStartCount();
var vertRingVert = mesh.getVerticesRingVert();
var ringVerts = vertRingVert instanceof Array ? vertRingVert : null;

var vertTagFlags = mesh.getVerticesTagFlags();

var pickedVertices = new Uint32Array(nbVertices);
var acc = 1;
for (var i = 0; i < acc; ++i) {
    var id = pickedVertices[i];
    var start, end;
    if (ringVerts) {
        vertRingVert = ringVerts[id];
        start = 0;
        end = vertRingVert.length;
    } else {
        start = vrvStartCount[id * 2];
        end = start + vrvStartCount[id * 2 + 1];
    }

    for (var j = start; j < end; ++j) {
        var idv = vertRingVert[j];
        if (vertTagFlags[idv] === tagFlag)
            continue;
        vertTagFlags[idv] = tagFlag;
        pickedVertices[acc++] = idv;
    }
}

var fdelete = mesh.getFacesFromVertices(pickedVertices.subarray(0, acc));
var faces = new Uint32Array(4 * mesh.getNbFaces());
acc = 0;
for (i = 0; i < fdelete.length; ++i) {
    faces[fdelete[i] * 4] = Utils.TRI_INDEX;
}
for (i = 0; i < mesh.getNbFaces(); ++i) {
    var i4 = i * 4;
    if (faces[i4] === Utils.TRI_INDEX) {
        faces[acc * 4] = fAr[i4];
        faces[acc * 4 + 1] = fAr[i4];
        faces[acc * 4 + 2] = fAr[i4];
        faces[acc * 4 + 3] = fAr[i4];
        acc++
    }
}
faces = faces.subarray(0, acc);

var newMesh = new MeshStatic(mesh.getGL());
newMesh.setID(mesh.getID());
newMesh.setFaces(faces);
// unused verts will be pruned by "optimize"?
newMesh.setVertices(vertices);
if (colors) newMesh.setColors(colors);
if (materials) newMesh.setMaterials(materials);
newMesh.setRenderData(mesh.getRenderData());
newMesh.init();
newMesh.initRender();
return newMesh;```

@stephomi  Nice of you for providing the sample code for erasing extra element from mesh, i had a doubt regarding where to integrate this code either in remesh.js or any other class. Once Again Thanks :+1: :+1:


Script that trains and run the housing data.

This is the script that train the housing data and saves the trained models to GCS i don't have an GCS account so i have just put in the code that will save the model to GCS location ,commented out the code.This is not the exact code as i also need to build pipeline but it does reflect the operation what it will do.In the moment just want feedback on the code which will help me to fix the issue.
issue#24903 desc : https://github.com/apache/beam/issues/24903

OK,lets do it

So over here i have already commented out the GCS code , should i add the code that will take  the code that will take a folder from local storage and run it.

@AnandInguva are you going to handle PR review for these?

@AnandInguva are you going to handle PR review for these?

Yes, I will take this review.

Now it will be able to save the trained models to local storage

Hi, the end goal of this PR should be to
Build a CI that follows:

use https://gist.github.com/AnandInguva/1ce58c7df98ade4efe6bc95a157b82da script here to train the models using Japanese housing dataset.
Save the model to a remote repository.
Once the model is saved, we will launch a beam pipeline from https://github.com/apache/beam/blob/a4f55afa052b83237387698649b127570e1e5a63/sdks/python/apache_beam/examples/inference/sklearn_japanese_housing_regression.py#L4. This example would be using the models saved in the step 1.

Steps 1, 2, and 3 can be sequential and you can use a bash script to run steps 1, 2, 3.


clustermesh: fix broken test due to merge race

Due to a merge race, one of the clustermesh tests is currently broken. Let's fix it, removing a leftover reference to checkmate.
Fixes: 081c4d2e1a50 ("kvstore: prevent multiple test clients from being created in parallel")
Fixes: 5409bc51b398 ("clustermesh: improve reliability of TestClusterMesh")

Integration tests completed successfully. Marking as ready to merge.


Make the first navigation specified when configuring self referencing relationship be the navigation to principal.

Throw when configuring self referencing relationship with both navigations using the same property.
Reformat ModelBuilder.

:shipit:


Update README to include Usage options

A lot of usage options have been added to this script, however there is no mention of them in the README.
The usage should be added with all the options.

(see #58 by @madsonic)

Resolved in PR #61


Adds documentation website wireframes to design-reference folder

All Submissions:

[X] Have you followed the guidelines in our Contributing document?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] ~I have updated the documentation accordingly.~ N/A
[ ] ~I have added tests to cover my changes.~ N/A
[ ] ~All new and existing tests passed.~ N/A
[ ] ~My code follows the code style of this project.~ N/A
[ ] ~I ran lint checks locally prior to submission.~ N/A
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

What is the current behavior?

Repo lacks documentation wireframes.
Issue Number: #104
What is the new behavior?

Wireframes for landing page, sample guide page, sample pattern page, and solution chooser page are added to design-reference folder.
Does this introduce a breaking change?

No.
Any relevant logs, error output, etc?

No.

@erikschlegel, see comments below.

Landing Page - Suggested changes made.

Choose a Solution Page - Suggested changes made.

Patterns Page - I added one level of hierarchy, but I after playing with the layout, I believe that having more than this will make the UI too cluttered with hierarchies and headers, which will give a poor experience for the user. It's best design practice to have a manageable number of non-recurring headers. Hopefully, if users want to drill down into multi-dimensional filters or sorting, they can do so with the guide or search features. We could potentially also add tags badges at the bottom of each entry to increase the users' awareness of properties on which to filter.

Modules Page  - No changes made.

Which hugo styling theme are you planning on using? - Trying out a few specific to documentation sites.

@erikschlegel, see comments below.

Landing Page - Suggested changes made.
Choose a Solution Page - Suggested changes made.
Patterns Page - I added one level of hierarchy, but I after playing with the layout, I believe that having more than this will make the UI too cluttered with hierarchies and headers, which will give a poor experience for the user. It's best design practice to have a manageable number of non-recurring headers. Hopefully, if users want to drill down into multi-dimensional filters or sorting, they can do so with the guide or search features. We could potentially also add tags badges at the bottom of each entry to increase the users' awareness of properties on which to filter.
Modules Page  - No changes made.

Which hugo styling theme are you planning on using? - Trying out a few specific to documentation sites. Whisper, Techdoc and DocDock are my preferences. All are MIT-licensed.

Sounds good. I like Docdock 👍  Did you also looked at the future-imperfect theme?


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_3f9e71a0-fdd8-446b-ad51-5e5766016a47/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_3f9e71a0-fdd8-446b-ad51-5e5766016a47.git

Docs Build status updates of commit 3bfee34:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


DEP: interpolate: deprecate interpolate_wrapper

It seems to be unfinished and unused. Functionality is mostly duplicate of interp1d et al.
As suggested in https://github.com/scipy/scipy/pull/7180#issuecomment-287044179
Scipy-dev mailing list thread: https://mail.scipy.org/pipermail/scipy-dev/2017-March/021828.html

LGTM, merged. Thanks Evgeni.
Needs a mention in the release notes, but there are several other PRs for which that's true so I'll do that all in one go.


Enable arrow 9 builds

Codecov Report

Merging #360 (7805a5d) into master (ca6b42d) will decrease coverage by 0.13%.
The diff coverage is n/a.

:exclamation: Current head 7805a5d differs from pull request most recent head 6cfc221. Consider uploading reports for the commit 6cfc221 to get more accurate results

@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
- Coverage   98.45%   98.32%   -0.14%
==========================================
  Files          93       93
  Lines        2982     2978       -4
==========================================
- Hits         2936     2928       -8
- Misses         46       50       +4

Impacted Files
Coverage Δ

...urbodbc_arrow/Test/tests/arrow_result_set_test.cpp
93.85% <0.00%> (-1.72%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Rejected post commit hook but commit is built

I have Drone running as a docker container, connected to a local GitLab instance. Every time I push a commit, droned logs the following messages:
2015/09/23 22:24:35 Rejected post commit hook for [repository]. Token mismatch
2015/09/23 22:24:35 Rejected post commit hook for [repository]. Token mismatch
2015/09/23 22:24:35 Rejected post commit hook for [repository]. Token mismatch
starting build
2015/09/23 22:24:57 dial tcp :0: connection refused
2015/09/23 22:24:57 subscription's close channel received message

The build runs just fine, but I'd like to know what's causing these messages. Reading hook.go it looks like if the post-commit hook is rejected the build should never even start.

@wolfgang42 here is the line of code that is failing:
https://github.com/drone/drone/blob/master/server/handler/hook.go#L66:L69
This happens if a build is triggered but has an invalid token. A secret token is placed in the hook URL to verify it comes from GitLab / GitLab / etc, and isn't being spoofed. Off the top of my head, I would expect this to happen if you delete a repository and re-add to Drone and the old hooks aren't cleaned up and therefore have an old token.
Feel free to direct further questions in our gitter channel at https://gitter.im/drone/drone


MAID-2480 feat/auth: allows email app to be authorised when run in dev mode

…v mode

Closing, as email app has been archived.


userAgent Prevents Disabling of Touch Controls

While the intent of preventing this is probably sound, I imagine many, like myself, are installing this onto a handheld with a controller attached. The default userAgentString in the webview locks you out of disabling the on screen touch controls and muck up the screen. Easy fix is to add:
webView.settings.userAgentString = "PokeRogueClient"

Ah, that makes sense. Yeah I'll spoof it next time I update the app to do that, since that's been a request before.

I was able to get this working where you can toggle the userAgentString between the default and a custom one. However I couldn't get around the scenario where touch screen controls are disabled and there is no gamepad connected. Even when you toggle back to the default userAgentString the touch controls do not return.
I tried setting
scene.enableTouchControls = true
and
document.getElementById("touchControls").classList.toggle("visible", true)
but could not get the virtual gamepad to reappear.


relativeURLs setting does not work for every URL

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.85.0-724D5DB5+extended windows/amd64 BuildDate=2021-07-05T10:46:28Z VendorInfo=gohugoio

Notable settings

relativeURLs = true

Does this issue reproduce with the latest release?
YES
Description
Hugo seems to generate different links for the exact same template depending on the context it is used. Given this:
{{- range .Pages -}}
{{.RelPermalink}}

{{ end -}}

And its output:

You can clearly see that Hugo is only applying relative transformations (../) to links within src/href. However, my understanding is that this should happen everywhere. Specifically, I'm using it as something akin to the following (this is vastly oversimplified but illustrates my usecase):

As you may guess, the RelPermalinks here will not be transformed into the dots (../../), and thus the links will be wrong depending on the website it is deployed to.
I've tried {{ .RelPermalink | relURL }} to no avail.

I assume you have relativeURLs=true set? Note that this has nothing to do with RelPermalink.

I assume you have relativeURLs=true set?

I do, sorry for not mentioning it! I've updated the original post.

Note that this has nothing to do with RelPermalink.

Hmm, to me it seems so, but I guess if literally the creator says not then I guess I was looking at the wrong thing. If you wouldn't mind, could I get an explanation as to why this may be standard and expected behaviour?

If you wouldn't mind, could I get an explanation as to why this is an enhanceement/ feature request?

As in, not a bug/defect? That is more a motivational thing. I don't think this will get fixed if you label it a bug.

The "problem" is that the relativisation is a post-processing step after HTML was already generated. So there's no information at that point about where the path came from (doesn't matter if it was generated by RelPermalink or if it was hard-coded in your templates like My Page). It just looks for these prefixes: https://github.com/gohugoio/hugo/blob/d90e37e0c6e812f9913bf256c9c81aa05b7a08aa/transform/urlreplacers/absurlreplacer.go#L68-L76
If you want a hack to work around your issue, it should be possible to do something like this:

root_url= will match one of the prefixes above and will be transformed into the correct relative path to the website root from the current page.

The "problem" is that the relativisation is a post-processing step after HTML was already generated. So there's no information at that point about where the path came from (doesn't matter if it was generated by RelPermalink or if it was hard-coded in your templates like My Page). It just looks for these prefixes:
root_url= will match one of the prefixes above and will be transformed into the correct relative path to the website root from the current page.

Thanks for the reply! I didn't know this was all done after the generation (thought it was during the template processing), that and the source code you linked to definitely clarifies where this "problem" came from.
The workaround you presented is hacky, but I love it. I'll see what I can do, thanks!
Hopefully this issue can be kept open for a general "move relativisation into the template stage" feature request, although I'm fine with it being closed if it seems unrelated.

Once again, I stumbled upon the issue. It seems quite prevalent. Today I wanted to use a static asset (in /static/img/image1.png) as a meta OpenGraph image.
<meta name="og:image" content="/img/image1/png" />

Due to the pattern matches that you mentioned above, this isn't translated to relative URLs. Thus it becomes broken when deployed to subdirectories.
I can see many such issues happening with custom data- attributes too, although I personally haven't encountered a use for them yet.

I'm new to hugo and just spent a day trying to get relative URLs working and finally came across this issue that helped me understand why it wasn't working. A couple suggestions to help future newbies like me understand relative URL handling:

Update the relativeURLs documentation (https://gohugo.io/content-management/urls/#relative-urls) to mention that the relativization is a post-process and unrelated to the relURL function. Mentioning the patterns it matches would be helpful as well.
Conversely, update the relURL documentation (https://gohugo.io/functions/relurl/) to mention that it is unrelated to the relativeURLs setting.

In my use case, I was attempting to generate javascript code that would perform GET requests on relative URLs and the code wasn't matching the hardcoded patterns mentioned above. To support this and other arbitrary use cases, one idea would be to add a processURL function that will perform all configured URL post-processing, including checking if relativeURLs is enabled and performing the conversion.


Nginx+Modsecurity+WordPress causing huge delay when saving an article

Hi!
Beside having to disable RCE and PHP rules on OWASP, I now have to wait 1 minute after saving an article or creating a page, any idea how to whitelist :
https://website.com/wp-admin/post-new.php
https://website.com/wp-admin/post.php
Server CPU hits 100% during the waiting period, its a 16 cores CPU
Thank you for your help

Enable debug mode and examine which rule is slowing down and disable with SecRuleRemoveById ou creating custom SecRule.

SecDebugLog /tmp/debug.log
SecDebugLogLevel 9

What is your ModSecurity version?

Closing this since we did not got feedback from the user.


Even more memes

Hehe cat, not hehe cat and sad cat thumbs up requested by Chi.
Tired phone requested by Mozu.
Michael Jackson requested by Asmo.

LFG


[Feat] Add typescript plugin

Hello,
I have add typescript plugin for support typescript file.
I was inspired by https://github.com/xerebede/gridsome-plugin-typescript for make that plugin.
For end this PR i need help for :

allow change the main file for use main.ts instead of main.js
add cache-loader

Thanks.

Hi @orblazer.
With the changes in your commit, you can rename the main.js file to main.ts with no problems. I did this in this starter template.
If there are any, show the error messages.

Tested this, but It didn’t actually work with tsx files.

I think that is not really useful with refactoring the project in typescript in 0.8 like is said at https://github.com/gridsome/gridsome/issues/817#issuecomment-623125531.
If in 0.8 that plugin is still required i can finish that.
And sorry for long absent.


Badge

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

Comparison is base (66dab56) 100.00% compared to head (be87c00) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           60        60
  Branches        13        13
=========================================
  Hits            60        60

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


Issue with the various Click events and line charts.

I swear I entered an issue yesterday, but then again the new issue window was open for 6+ hours.
Problem: If you have any of the click events on a line chart, there are several issues when series points intersect (e.g., same Y axis value).

Only one of the datapoints will be shown in the hover over popup. See example picture below.
When the point is clicked, only one of the points is provided.

I know that issue one is caused by the markers (I had to remove them in my application in order for the hover over to work). What I don't know is if issue two is caused by ApexCharts itself, or by Blazor-ApexCharts.
I have created a simple blazor app under .Net 8 that demonstrates this issue: https://github.com/mdhampton/BlazorApexChartsTesting
When running the application, it is useful to have the console open beside the application to see the events triggered with the data provided by the event. This is also logged to the file ApexLog.txt. If this is in fact a duplicate issue, feel free to close.
Thanks.

Well, I did create the issue... On ApexCharts.js.... A reference for your enjoyment:
https://github.com/apexcharts/apexcharts.js/issues/4778


Add get_saved_for_backward_tensors

It's not documented anywhere that the saved tensors in the traces we generate for PyTorch Autograd integration are stored in trace.output[1][0] and it can be inferred only by reading the code. This function will be helpful for https://github.com/Lightning-AI/lightning-thunder/issues/871.
cc @borda @apaz-cli

@t-vi, could you please review the code?


docs: fix readthedocs build

Fixes readthedocs.org documentation build. (addresses #146)

Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

@lnielsen I don't have idea how I can test it.


River biome looks odd

It is a very minor thing, but I just came across this in my world. It looks pretty cool but I highly doubt this was intentional.

I see the issue but sadly Forge's biome API does not allow changing how rivers work (it's hardcoded in vanilla) without coremods. So well technically that's intentional since I can only add "continental" biomes, so that's not getting fixed.


How can I upload my app to the store?

I have a few electron apps and would wish to upload them.

The software I wish to upload
Catalyst (Deprecated, But working)

The software I wish to upload
Catalyst (Deprecated, But working)

I see in your roadmap
"Developer Portal to submit Apps!"
Is there anyway to get it uploaded before the feature is implemented?

I see in your roadmap
"Developer Portal to submit Apps!"
Is there anyway to get it uploaded before the feature is implemented?

See #8.

See #8.

@MystPi oh...

@MystPi oh...

@MystPi little to no documentation on it tho

@MystPi little to no documentation on it tho

oh i just make a PR in a repo, k

oh i just make a PR in a repo, k

@JaydenDev @MystPi Our Developer portal is currently under development so it's not possible to submit apps directly as of now. The existing process of submitting PR takes too long. When the Developer Portal will be ready, we'll let you know!

Ok


Fix issues when removing pointers of lambdas

This seems to fix the issues of removing function pointers when deconstructing a lambda.
The issue seems to only happen in Windows, but the code here seems sane for every platform.
Instead of asking the list element to delete itself, we lock the thread_local list then ask the list to remove the element itself. This seems to do the trick.
Needs testing. I tested the two projects below, but I want to make sure that no regression occurs.
Fixes #84046
Fixes #84190

Why are you doing a null check on element->get() but then erasing element? I'd think you'd want the null check to check the same thing that you erase. Also, does erase have its own null check logic? If so, a null check in this function would be redundant.
Also, it seems like there are two orthogonal changes here: 1. lock first, then null check and 2. List deletes element. Are both of these changes necessary for fixing the bug? What happens when you make one change but not the other?

Supeseded by #84659


WIP: Keylime protocol implementation

@iolivergithub this should generate now a valid quote claim (currently using tpm2-tools).
I think some response data is still missing but it works.
You don't actually send the quote signature for verification against the AK, right?

Regaridng teh quote signature....I haven't implemented sending that yet, maybe I'll get around to that ( I should flag this as an issue) ironically the rules are setup for the.   I also don't sign the claim structure either...

Can you summarise the changes to core, protocol_dispatcher and results py?  Merge is not possible at this time due to conflicts

Can you summarise the changes to core, protocol_dispatcher and results py? Merge is not possible at this time due to conflicts

Just noticed these are the in build directory....thought  .gitignore had that commented to be ignored. ?

Just noticed these are the in build directory....thought .gitignore had that commented to be ignored. ?

Some build files where not excluded. The first commit removes them all and adds them to the .gitignore.

I've now also added support for the UEFI eventlog.

Reading PCRs will require to parse the tpm2_pcrs struct. I currently don't know a nice way to do that.

I've now also added support for the UEFI eventlog.

Just in time, I added the pretty printer for UEFI in u10 :-)

OK, well one of th nice things about using intents is that we don't have to support everything. We can come back to the pcrs later. If quote works then that's extreneky good already.

 Amazing, @iolivergithub 🔥

OK, well one of th nice things about using intents is that we don't have to support everything. We can come back to the pcrs later. If quote works then that's extreneky good already.

Once I removed the last TODOs from the code and you confirmed that it works, I think we can merge this.

Merged :-)


Update to URI.d.ts

uri.search(true) does return an object, but Typescript believes there is a difference between an Object and any.  Thus, if your querystring includes ?myParam=myValue, you should be able to access the value using uri.search(true).myParam.  However, the compiler threw the error "The property 'myParam' does not exist on on value of type 'Object'".  Changing the return type to any fixes this.

@joelwetzel agreed. thanks mate!


Implement asset occupancy distributed lock

If you are implementing it in ABP 5.3.X, please notice https://github.com/abpframework/abp/issues/13199.


MomentJS not returning correctly formatted date

When modifying the awesome theme. The following line should return May 2015:
h.formatDate("2015-05","MMM YYYY")

For every possible month (even full dates "2015-05-10") it always returns Jan XXX where XXX is the correct year passed to Moment. Is there something I'm missing? Looking at the coffeescript I couldn't find anywhere obvious that a mistake was made.

I believe this is resolved in latest (v1.9.0-beta). If not, let me know.

I have the same problem with

HackMyResume v1.9.0-beta
node v9.8.0
Windows 10 Pro

Context:
I'm using hackmyresume to generate a Word resume.
hackmyresume build myfreshresume.json to wordresume.doc -t mytemplate-doc.xml

Extract of myfreshresume.json (FRESH schema):
...
  "education": {
    "level": "",
    "history": [
      {
        "institution": "Some institution",
        "end": "2017-02-12",
        "curriculum": [
          "Some curriculum"
        ],
        "summary": "",
        "area": "Some area",
        "studyType": "Certification"
      }
    ]
  },
...

In the Word 2003 XML template file mytemplate-doc.xml (using handlebars templating notation):
...
{{#each r.education.history}}{{formatDate end "MMM YYYY"}}
...

Problem
When running hackmyresume, I get the actual output 'Jan 2017' instead of the expected 'Feb 2017'.
Analysis
I had a quick look in the HackMyResume code, more specifically in .\npm\node_modules\hackmyresume\dist\helpers\generic-helpers.js.

The generic helper function 'formatDate' expects a parameter 'dtFormat':

@param {string} [dtFormat='YYYY-MM'] The desired datetime format. Must be a Moment.js-compatible datetime format.

I understand from this description that 'dtFormat' is meant to be the output format defining how a given date should be formatted in the generated resume.

However, 'dtFormat' passed to the 'moment' constructor (line 70) is the format used to parse the given date:

momentDate = moment(datetime, dtFormat);

as documented in https://momentjs.com/docs/#/parsing/string-format/:

moment(String, String);

If you know the format of an input string, you can use that to parse a moment.
moment("12-25-1995", "MM-DD-YYYY");

My conclusion and workaround
As the date format used in the resume JSON file ("YYYY-MM-DD") may be different than the desired format in the output resume (here: "MMM YYYY"), I believe the 'dtFormat' parameter should not be passed to the 'moment' constructor.
To test this, I replaced 'dtFormat' with a hard-coded "YYYY-MM-DD" (format used in the JSON resume) on line 70. This workaround seems to work as expected. Now the date output is 'Feb 2017'.
...
      if (String.is(datetime)) {
        // If a string was passed in, convert to Moment using the 2-paramter
        // constructor with an explicit format string.
        momentDate = moment(datetime, "YYYY-MM-DD" /*dtFormat*/);
        if (momentDate.isValid()) {
          return momentDate.format(dtFormat);
        }
...

BTW, I noted a similar issue in the 'date' generic helper function, defined at line 97, and 'moment' constructor at line 116. Worked around it with
dateValueMoment = moment(dateValue,"YYYY-MM-DD" /* dateFormat*/);

Thanks for the awesome writeup. Date handling code needs to be rewritten for v2.0 until then I think your solution is workable.


slist: Fix sys_slist_append_list with head and tail NULL break a list

If the sys_slist_t instance is not empty, its head and tail points to
some sys_snode_t instances. If sys_slist_append_list is executed with
tail being NULL the list object is corrupted. Tail of the sys_slist_t
instance is set to NULL. If one executes sys_slist_append on that node,
then nodes pointed by head are lost.
The commit fixes the issue and adds unit tests to verify correct
behavior.
Added change verifies if head and tail of appended list are not NULL.
In other case the list object is invalid and should not be appended
to a valid list instance.
Signed-off-by: Piotr Pryga<EMAIL_ADDRESS>

@andyross @nashif @dcpleung this is a proposed fix for a high priority bug; can you please review?

Need to be rebased...

Need to be rebased...

Yes, but that shouldn't block review, right?

Yes, but that shouldn't block review, right?

In this case, probably not, as the conflict is from moving of header files. However, in general, it would be great to review a version that is ready to be merged (as this is not a draft or RFC), as reviewers usually don't know what conflicts there are, and how it would affect submitted code.

That being said, I don't see any issue with the PR. So really just need a trivial rebase.

@dcpleung rebase done.


How hard would it be to support pandoc-crossref?

Pypandoc already provides the pandoc-citeproc filter automatically, so how hard would it be to support the pandoc-crossref filter in the same way?

citeref is included with pandoc, crossref seems to be another package. So if you get it installed in the OS, you can simply pass it in as a filter.
convert_text(...,filters=['pandoc-citeproc'])


/root/.bashrc: Permission denied

Sail Version: 1.20.2
Laravel Version: 10.0.11 (also happened on 9.52.0)
PHP Version: 8.2.3
Host operating system: macOS 13.0

Description:
After creating a Laravel project with sail through "https://laravel.build/", whenever i go insail bash OR run any sail command that needs root permission. The first message i see is: bash: /root/.bashrc: Permission denied and with run for example sail npm i it gives the error i need root permission.
This also happens when running everything with sudo.
Steps To Reproduce:

sudo curl -s "https://laravel.build/laravel-10" | bash
cd laravel-10 && sail up -d && sail bash

sudo curl -s "https://laravel.build/laravel-10" | bash

I don't think you need to run this as sudo?

doesn't make any difference with or without sudo i get the same error.

I don't get this on a fresh Sail install:

Please try a support channel:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

i read somewhere it could be a ubuntu related problem that doesn't occur for everyone, only way to not get this error for me was eventually running root-shell/bash :P


[MTGOSDK/Core] Refactor Compiler, Remoting namespaces

Migrates IL MTGOSDK.Core.Reflection.Emit machinery and runtime compilation/indirection to a new MTGOSDK.Core.Reflection namespace, as well as updates old remoting classes to use MTGOSDK.Core.Reflection types. This greatly simplifies the MTGOSDK.Core.Remoting namespace for later migrating to a gRPC client (#4).

There is a regression with how structs/classes are serialized with Newtonsoft.Json's JsonConvert.SerializeObject() method and System.Text.Json's JsonSerializer.Serialize() method. As both use reflection-based techniques, it's likely that this is caused by the ILLink trimmer, and will need to be investigated for source files and autogenerated (.g.cs) source.


Httpd Plugin not working

Hi I have install Httpd Plugin and able to start newrelic-plugin-agent service too but in newrelic-plugin-agent.log i am getting below error
INFO       2017-06-08 07:29:44,460 6927   MainProcess     MainThread newrelic_plugin_agent.agent                   init                  L55    : Agent v1.3.0 initialized, Linux-4.9.27-14.31.amzn1.x86_64-x86_64-with-glibc2.3.4 CPython v3.5.1
INFO       2017-06-08 07:29:44,461 6927   MainProcess     MainThread newrelic_plugin_agent.agent                   start_plugin_polling      L263   : Enabling plugin: apache_httpd
ERROR      2017-06-08 07:29:44,463 6927   MainProcess     MainThread newrelic_plugin_agent.agent                   _get_plugin               L256   : Attempting to import newrelic_plugin_agent.plugins.apache_httpd.ApacheHTTPD
Traceback (most recent call last):
File "/usr/lib/python3.5/dist-packages/newrelic_plugin_agent/agent.py", line 252, in _get_plugin
module_handle = importlib.import_module(package)
File "/usr/lib64/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 662, in exec_module
File "", line 222, in _call_with_frames_removed
File "/usr/lib/python3.5/dist-packages/newrelic_plugin_agent/plugins/apache_httpd.py", line 8, in
from newrelic_plugin_agent.plugins import base
File "/usr/lib/python3.5/dist-packages/newrelic_plugin_agent/plugins/base.py", line 12, in
import urlparse
ImportError: No module named 'urlparse'
Thanks
Arvind

There is two version in system so i remove python3.5 version and it work now.


Generate FreedomFI FCC certs

First certificate for cc-sas was created, with guidance to this document:
https://www.wirelessinnovation.org/assets/work_products/Specifications/winnf-17-s-0022 v1.0.0 cbrs pki certificate policy.pdf

I'm gonna put into blocked until we're gonna have a physical radio to continue tests, so we can issue second cert.

The DP<->SAS certificate pair was created and tested to be working.
Full completion of the task will require us to generate a certificate pair for the Ingres side of DP (so facing a CBRS radio).
We currently do not have any radio that talks directly in CBRS-SAS protocol.

New Certificates have been generated and old certs were revoked.
Because of an issue with SSL on the SAS server side, keeping this in Review until we are certain that the issue is not caused by the new certs.


Add a missing log4rs badge to intro

The "Log messages to a custom location" item on the intro page had only
the log badge, but was missing the log4rs badge. The log4rs badge
was already present on the recipe.

Things to check before submitting a PR

[x] the tests are passing locally with cargo test
[x] cookbook renders correctly in mdbook serve -o
[x] commits are squashed into one and rebased to latest master
[ ] PR contains correct "fixes #ISSUE_ID" clause to autoclose the issue once PR is merged
[x] non rendered items are in sorted order (links, reference, identifiers, Cargo.toml)
[ ] links to docs.rs have wildcard version
[ ] code identifiers in description are in hyperlinked backticks

[`Entry::unpack`]: https://docs.rs/tar/*/tar/struct.Entry.html#method.unpack

Things to do after submitting PR

[ ] check if CI is happy with your PR
[ ] drop a comment on https://github.com/rust-lang-nursery/rust-cookbook/issues/209 if you consent to repository being relicensed with CC0 license :+1:

@cschneid Thanks!
Please drop a comment on #209 if you consent to repository being relicensed with CC0 license!

I also noticed that the table in logging.md also misses the log4rs badge would you consider making the PR here too?


Question: how to get module from components?

Dear yii elders and geeks :)
What are good ways to get module from inside of components of the module?
I mean this one obviously isn't:
class MyComponent {
    public function doIt()
    {
        $module = Yii::$app->getModule('my-module');
    }
}

Because of spreading 'my-module' all around the code is not good.
Using a constant like MyModule::NAME is not quite enough because it is not flexible.
E.g. for module controllers it's not a problem because of $module property populated at request processing.

could be done via DI container getSingleton()?

Module instance can be obtained using its class name:
MyModule::getInstance();

If controller is already created it can be obtained via its instance:
$currentModule = Yii::$app->controller->module;

Explicit binding for the module inside component will not be supported as it introduces cycle reference.

@hiqsol, regarding your question and your criteria, the cleanest way is to construct the Component during the init() call of the Module and to inject the Module in the Component's $module property.
This prevents you from having to use the Module alias my-module or to use the global Yii scope.


allow rendering scenes from any directory

As was mentioned in #389, manim fails to render scenes that aren't contained in the root directory. This PR fixes that issue.
Testing:
(manim) > mkdir test
(manim) > cd test/
(manim) > python -m manim --no_sound ~/Public/manim/example_scenes.py SquareToCircle -l
Media will be stored in media/. You can change this behavior by writing a different directory to media_dir.txt.
Writing to media/videos/example_scenes/480p15/SquareToCircleTemp.mp4
Animation 0: ShowCreationSquare: 100%|██████████████| 15/15 [00:00<00:00, 164.53it/s]
Animation 1: TransformSquareToCircle: 100%|█████████| 15/15 [00:00<00:00, 292.01it/s]
Animation 2: FadeOutSquareToSquare: 100%|███████████| 15/15 [00:00<00:00, 279.36it/s]
Played a total of 3 animations
(manim) > python -m manim --no_sound ~/Public/manim/example_scenes.py WarpSquare -l
Writing to media/videos/example_scenes/480p15/WarpSquareTemp.mp4
Animation 0: ApplyPointwiseFunctionSquareToSquare:  69%|▋| 31/45 [00:00<00:00, 308.88Animation 0: ApplyPointwiseFunctionSquareToSquare: 100%|█| 45/45 [00:00<00:00, 301.33it/s]
Played a total of 1 animations
(manim) > echo -e "class WarpSquare(Scene):
    def construct(self):
        square = Square()
        self.play(ApplyPointwiseFunction(
            lambda point: complex_to_R3(np.exp(R3_to_complex(point))),
            square
        ))
        self.wait()" | python -m manim - WarpSquare -l
Writing to media/videos/input_scenes/480p15/WarpSquareTemp.mp4
Animation 0: ApplyPointwiseFunctionSquareToSquare:  67%|▋| 30/45 [00:00<00:00, 296.82Animation 0: ApplyPointwiseFunctionSquareToSquare: 100%|█| 45/45 [00:00<00:00, 296.42it/s]
(manim) > tree media
media
├── designs
│   ├── raster_images
│   └── svg_images
└── videos
    ├── example_scenes
    │   └── 480p15
    │       ├── SquareToCircle.mp4
    │       └── WarpSquare.mp4
    ├── input_scenes
    │   └── 480p15
    │       └── WarpSquare.mp4
    └── staged_scenes

9 directories, 3 files

I don't think it's working as expected.
At-least I am having trouble reproducing your test example
(manim-venv) [jarwin:~/Documents/manim]$ mkdir test
(manim-venv) [jarwin:~/Documents/manim]$ cd test
(manim-venv) [jarwin:~/Documents/manim/test]$ python3 -m manim --no_sound ~/Documents/manim/example_scenes.py SquareToCircle -l
/home/jarwin/Documents/envs/manim-venv/bin/python3: No module named manim

And if I try try to explicitly state the location
(manim-venv) [jarwin:~/Documents/manim/test]$ python3 -m ~/Documents/manim/manim ~/Documents/manim/example_scenes.py SquareToCircle -l                                                                                (master✱)
/home/jarwin/Documents/envs/manim-venv/bin/python3: No module named /home/jarwin/Documents/manim/manim
(manim-venv) [jarwin:~/Documents/manim/test]$ python3 -m ~/Documents/manim/manim ~/Documents/manim/example_scenes.py SquareToCircle -l                                                                                (master✱)
(manim-venv) [jarwin:~/Documents/manim/test]$ python3 -m ~/Documents/manim/manim.py ~/Documents/manim/example_scenes.py SquareToCircle -l                                                                                (master✱)
/home/jarwin/Documents/envs/manim-venv/bin/python3: Error while finding module specification for '/home/jarwin/Documents/manim/manim.py' (ModuleNotFoundError: No module named '/home/jarwin/Documents/manim/manim')


Is it possible to generate and send multiple token for many user at once?

Hi, thanks for this lib.
I want to send tokens to many user at once. Unfortunately the requestToken method only works for one user per request, i think.
Is this right or is there already a possibility to send multiple tokens to multiple users at once=

Hey,
Does this #66 help?
Cheers

hi,
ah ok yes. Thats it. Thank you.
I think it would be great to have sth like
Passwordless.prototype.requestTokenDirectlyForUser = function(getUserID, toAddress, delivery)
where you can generate and send a token at once.
I just give it a try:
https://github.com/boernei/passwordless/commit/0153c4b5513f39cdbbc85b93544c099fe3887533