Incorrect parsing of openIdConnectUrl for AuthPolicy

Both Swagger Docs and our own docs state that you should supply openid-configuration endpoint in OAS like this:
components:
  securitySchemes:
    securedDog:
      type: openIdConnect
      openIdConnectUrl: https://example.com/.well-known/openid-configuration

Kuadrantctl directly passes this value to AuthPolicy issuerUrl field, which requires issuerUrl and not openid-configuration.
Tested version: 0.2.3
Reproducer:
Input:
components:
  securitySchemes:
    oidc:
      openIdConnectUrl: http://<IP_ADDRESS>:8080/realms/realm-phala--k0gf/.well-known/openid-configuration
      type: openIdConnect
info:
  title: Httpbin
  version: 0.0.51
  x-kuadrant:
    route:
      hostnames:
      - hostname-phala--usm5.test.com
      name: route-phala--5nxb
      parentRefs:
      - group: gateway.networking.k8s.io
        kind: Gateway
        name: gw-phala--nphc
        namespace: kuadrant
openapi: 3.1.0
paths:
  /anything:
    get:
      operationId: get_anything
      responses:
        '200':
          content:
            application/json:
              schema:
                type: string
          description: Successful Response
      security:
      - oidc: []
    put:
      operationId: put_anything
      responses:
        '200':
          content:
            application/json:
              schema:
                type: string
          description: Successful Response
    x-kuadrant:
      backendRefs:
      - group: ''
        kind: Service
        name: httpbin-phala--6stb
        namespace: kuadrant
        port: 8080
  /get:
    get:
      operationId: get_get
      responses:
        '200':
          content:
            application/json:
              schema:
                type: string
          description: Successful Response

Output:
apiVersion: kuadrant.io/v1beta2
kind: AuthPolicy
metadata:
  creationTimestamp: null
  name: route-phala--5nxb
spec:
  routeSelectors:
  - matches:
    - method: GET
      path:
        type: Exact
        value: /anything
  rules:
    authentication:
      get_anything_oidc:
        credentials: {}
        jwt:
          issuerUrl: http://<IP_ADDRESS>:8080/realms/realm-phala--k0gf/.well-known/openid-configuration
        routeSelectors:
        - matches:
          - method: GET
            path:
              type: Exact
              value: /anything
  targetRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: route-phala--5nxb
status: {}

The documentation is yet to be updated in my PR #76 to remove mention of the /.well-known/openid-configuration path.
But I agree with you that the oas that is parsed by kuadrantctl should be compatible with oas that is used elsewhere. Like you mention in the Swagger docs well-known path is used. I would expect kuadrantctl can parse it without an issue.
Link to relevant discussion with @guicassolato https://github.com/Kuadrant/kuadrantctl/pull/76#discussion_r1592769112


ci(github-packages): set up github packages & actions

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


iOS: split EnvoyEngine.h into multiple header files

Resolves https://github.com/envoyproxy/envoy-mobile/issues/333
Commit Message:
Additional Description:
Risk Level: Low, issues should be caught by CI, no risk to non-Objective-C/Swift targets
Testing:
Docs Changes:
Release Notes:
Platform Specific Features: Only affects Objective-C/Swift targets
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @Augustyniak


Unable to build release with .Net native toolchain

Description
A project incorporating the OpenXML package will fail to build in Release config if the build is set to use the .Net native toolchain (required for Store submision).
Information

Target: UWP
DocumentFormat.OpenXml Version: 2.9.0

Repro

Create/Open a solution & project and add the OpenXML package
Right-click on project in Solution Explorer and select "Properties"
With Build selected, choose "Release" for Configuration and "All Platforms" for Platform
Ensure "Compile with .Net Native tool chain" is ticked
Build the solution for Release/x86

Observed
Build failure:
Error		MCG0037: MCG0037:InvalidCSharpIdentifierName Struct 'DocumentFormat.OpenXml.Validation.Schema.SdbAttributeConstraint' in assembly 'Assembly(Name=DocumentFormat.OpenXml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=8fb06cb64d019a17)' has a field with name '<AttributeUse>k__BackingField' that is invalid. This could be because the name is obfuscated or the field is auto-implemented by the compiler. Please make sure the field name follows C# identifier conventions.
Expected
Successful build.

Thanks for reporting this! I have a fix that we'll try to get out as quickly as possible (it'll be 2.9.1).

btw this seems to be a problem with the .NET Native compiler that has been reported here https://github.com/Microsoft/dotnet/issues/807.

Thanks for the quick resolution!

We'll hopefully have a fix uploaded to NuGet by the end of the week.

This has been uploaded to NuGet as v2.9.1: https://www.nuget.org/packages/DocumentFormat.OpenXml/2.9.1
We don't have a good process to vet .NET Native builds, so please file any other issues you find. We have it on the backlog (and I now have a sample app) to add support to run the unit tests on .NET Native....

Happy to. I'll try out the new package asap. Thanks again!


consumer and producer are unable to connect to broker (timeout error)

Questions?

Check the Troubleshooting / FAQ ?
Search the issues ?

Bug Report
producer it giving timeout error when trying to send data, and consumer cannot connect (with the same time out error.
Environment
kafka-node env: windows 7

Node version: 10.15.0
Kafka-node version: 4.1.3

kafka env: centos 7

Kafka version: 2.11-2.2.0

For specific cases also provide

Number of Brokers: 1
Number partitions for topic: 1

Include Sample Code to reproduce behavior
producer:
// include code here
const kclient = new kafka.KafkaClient({kafkaHost:'ADDR'});
kclient.on('error',(err) => {
    console.log(err)
})
kprod = new producer (kclient);
kprod.on('error',(err) => {
    console.log(`error: ${err}`);
})

kprod.on('ready',() => {
    console.log(`connected to kafka`);
    let tranNumSentToKafka = 0
    for (let index = 0; index < transArray.length; index++) {
        const element = JSON.stringify(transArray[index])
        // console.log(`data before sending: ${element}`);
        console.log(`sending data to kafka`);
        kprod.send([{
            topic:'test',
            messages:element
        }],
            (err,data) => {
            if(err){console.error(err)}
            else{
                tranNumSentToKafka += 1
                console.log(`data sent: ${JSON.stringify(data)}`);
                console.log(`sent ${tranNumSentToKafka} transactions to kafka`);
            }
        })
    }

Include output with Debug turned on
simple log error:
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10) message: 'Request timed out after 30000ms' }
debug producer error:
kafka-node:KafkaClient kafka-node-client reconnecting to localhost:9092 +1s
kafka-node:KafkaClient kafka-node-client createBroker localhost:9092 +1ms
kafka-node:KafkaClient kafka-node-client socket closed localhost:9092 (hadError: true) +1s
kafka-node:KafkaClient kafka-node-client reconnecting to localhost:9092 +1s
kafka-node:KafkaClient kafka-node-client createBroker localhost:9092 +0ms
kafka-node:KafkaClient kafka-node-client socket closed localhost:9092 (hadError: true) +1s
kafka-node:KafkaClient kafka-node-client reconnecting to localhost:9092 +1s
kafka-node:KafkaClient kafka-node-client createBroker localhost:9092 +1ms
kafka-node:KafkaClient kafka-node-client socket closed localhost:9092 (hadError: true) +1s
...
Include Sample Code to reproduce behavior
consumer in expressjs:
// include code here
app.listen(PORT, () => {
    console.log(`Server started on ${PORT}`);
    const kclient = new kafka.KafkaClient({kafkaHost:'ADDR'});
    kclient.on('ready',() => {
        console.log(`kclient ready`);
        kconsumer = new consumer(kclient,[{
            topic:'test'
        }]);
        kconsumer.on('error',(err) => {
            console.error(` in kconsumer: \n${err}\n`)
        })
        kconsumer.on('ready',() => {
            console.log(`kconsumer ready`);
            kconsumer.on('message',(msg) => {
                console.log(`recived kafka msg`);
            })
        })
    })
    kclient.on('error',(err) => {
        console.error(`err in kclient: \n${err}\n`)
    })

});

consumer error simple output:
in kconsumer:
TimeoutError: Request timed out after 30000ms
DEBUG error output:
kafka-node:KafkaClient broker is now ready +6ms
kafka-node:KafkaClient kafka-node-client updated internal metadata +14ms
kclient ready
kafka-node:KafkaClient kafka-node-client updated internal metadata +12ms
kafka-node:KafkaClient kafka-node-client createBroker localhost:9092 +2ms
kafka-node:KafkaClient waitUntilReady [BrokerWrapper localhost:9092 (connected: true) (ready: false) (idle: false) (needAuthentication: false) (authenticated: false)] +17ms
kafka-node:Consumer connection closed +1s
kafka-node:KafkaClient kafka-node-client socket closed localhost:9092 (hadError: true) +3ms
kafka-node:KafkaClient kafka-node-client reconnecting to localhost:9092 +1s
kafka-node:KafkaClient kafka-node-client createBroker localhost:9092 +1ms
kafka-node:Consumer connection closed +1s
...
Kafka is working fine on my remote centos7 machine, using the consumer and producer consoles works ok.
Its seems that both the consumer and the producer are unable to connect to kafka broker, even if the client is able to - the consumer failes on initial connection, and the producer on sending data.
I have checked issue #1275 and found no answer there.
Thanks for your contribution!

Your kafkaHost is the string ADDR is that correct ?

@hyperlink ADDR is a placeholder for the real address, and the address is correct (double checked it with http request via postman)

@yishain11 did you ever solve this?


Next release

Hey!
First I want to thank you for this client.
When do you plan to release the next version?
I have been working with the dev branch because I need quantization and it is working very well.
It would be cool to have it published.

I need to check whether there are any other API changes with the current version of qdrant that need to be added to the client. That takes some time. I'm currently working on something different but I'll check whether I can publish the current changes as is.

I have released 0.12.0 - Please let me know if you find any issues.


feat(layout/#592): layout tabs - part 2 - :tab* commands and gt/gT

This wires up the :tab* commands and gt/gT.
Depends on https://github.com/onivim/libvim/pull/211
Addresses #592

/azp run


comment out garbage tests

I rule and have completed some work on Case Manager that's ready for review!
I am commenting out some of the bad tests I wrote for a little while, so it stops arbitrarily failing CI.
:(

[Current coverage][cc-pull] is 99.42%

Merging [#463][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #463   diff @@
==========================================
  Files            23         23
  Lines           348        348
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            346        346
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last updated by [88c0885...6fab1c5][cc-compare]
[cc-base-branch]: https://codecov.io/gh/colinxfleming/dcaf_case_management/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/colinxfleming/dcaf_case_management/compare/88c088550540ac119a83ebe1fbeff1a02dfc1dc7...6fab1c50aed4d1aa5b50a59558b44da4f4cf4440
[cc-pull]: https://codecov.io/gh/colinxfleming/dcaf_case_management/pull/463?src=pr


Automatically handle connection initialization

The diff might be a bit hard to read but it's mostly indentation changes 🙈
Basically, I've wrapped all calls with a new ensureConnection function. This function will detect if the client hasn't been initialized, and in that case initialize it before running the supplied code.
The end users can continue to call initConnection and endConnection as before, but it's now optional since a connection will be automatically established if it's needed.

@LinusU Do you think I can just publish this to new version?

Should be good to go, currently using it in an app live on the play store: https://play.google.com/store/apps/details?id=com.ctrlpanel
The changes should be backwards compatible since you can still intialize and close the connection manually.

@LinusU What an awesome app! I'll publish this to 2.2.2. Thank you!

Thank you! ❤


ToDo: 4100: FPI EXTRAS

Items will stay active. Note the setup-perf tag.
This would also close #548 (in the sense that the info is now presented for end users to make up their minds. As for ssl session id lifetimes, I have others means and my own ticket/reminder to try to achieve this
draft
/*** [SECTION 4100]: FPI EXTRAS [SETUP-PERF]
   [WARNING] It is recommended that you keep these prefs active, ONLY relax them if you have
   FPI enabled, *AND* you understand the consequences. FPI isolates these, but it was designed
   with the Tor protocol in mind, and the Tor Browser has extra protection, including enhanced
   sanitizing per Identity. FPI does not protect against repeat first party visits (Tor Browser
   doesn't either for each Identity session). All have a performance impact when active.
***/
/* 4101: [0702] disable HTTP2 (which was based on SPDY which is now deprecated)
 * HTTP2 raises concerns with "multiplexing" and "server push", does nothing to enhance
 * privacy, and in fact opens up a number of server-side fingerprinting opportunities
 * [1] https://http2.github.io/faq/
 * [2] https://blog.scottlogic.com/2014/11/07/http-2-a-quick-look.html
 * [3] https://queue.acm.org/detail.cfm?id=2716278
 * [4] https://github.com/ghacksuserjs/ghacks-user.js/issues/107 ***/
user_pref("network.http.spdy.enabled", false);
user_pref("network.http.spdy.enabled.deps", false);
user_pref("network.http.spdy.enabled.http2", false);
/* 4102: [0703] disable HTTP Alternative Services (FF37+)
 * alt-svc headers can be used for cross domain tracking
 * [1] https://www.ghacks.net/2015/08/18/a-comprehensive-list-of-firefox-privacy-and-security-settings/#comment-3970881
 * [2] https://www.mnot.net/blog/2016/03/09/alt-svc ***/
user_pref("network.http.altsvc.enabled", false);
user_pref("network.http.altsvc.oe", false);
/* 1403: [1203] disable SSL session tracking (FF36+)
 * SSL Session IDs speed up HTTPS connections (no need to renegotiate) and last for 24hrs.
 * Since the ID is unique, web servers can (and do) use it for tracking. If set to true,
 * this disables sending SSL Session IDs and TLS Session Tickets to prevent session tracking
 * [1] https://tools.ietf.org/html/rfc5077
 * [2] https://bugzilla.mozilla.org/967977 ***/
user_pref("security.ssl.disable_session_identifiers", true); // (hidden pref)

The only diff in the numbered items is that for alt svc I added the line

 * alt-svc headers can be used for cross domain tracking

PS: and we would add the section to the index.
:+1: or comment (and hurry up, I'm impatient)

to me, alt-svc in that sentence is just mentioned as one example for "all associated means" ("... [which] MUST adhere to this design principle as well.").
But whatever the case may be, they definitely kept it vague and in the realm of possibilities ("could") but you made it an absolute: "can be used"

Maybe that isn't the case any more?

when they enabled it they didn't say a word about cross-site tracking. They could have just enabled H2 and kept Alt-Svc disabled if they had any concerns. I don't see why anyone would use Alt-Svc to redirect clients to a 3rd-party in the 1st place but maybe I'm missing something.

I'll ask Arthur. Failing that we can just take the line out

just so you know (without having to look at the edit for OP), I'm changing this bit

FPI does not protect against repeat first party visits per session (Tor Browser doesn't either per Identity).

to

FPI does not protect against repeat first party visits (Tor Browser doesn't either per Identity session).

That's because unless you clear persistent data in FF, it is retained across sessions (unless explicitly stated, such as SSL session ids). Tor Browser, on the other hand, wipes absolutely everything per new identity (starting the tor browser = a new identity)

Also, ssl session tickets last for 24 hrs, so I updated that in OP too

While we're waiting ... rather than add a new issue, I'll dump this here
/* 4505: control timer precision (FF58+)
 * [WARNING] For info only or testing
 * [1] https://bugzilla.mozilla.org/11424341 ***/
   // user_pref("privacy.reduceTimerPrecision", true); // default: true
   // user_pref("privacy.resistFingerprinting.reduceTimerPrecision.microseconds", 1000);
/* 4506: control timestamp fuzz/jitter (FF60+)
 * [WARNING] For info only or testing
 * [1] https://bugzilla.mozilla.org/1425462 ***/
   // user_pref("privacy.resistFingerprinting.reduceTimerPrecision.jitter", true); // default: true

Initially we decided to leave it out since defaults are what we wanted, and people didn't really need to know - a feature initially used by Mozilla to fine tune and test against breakage. Even the jitter wasn't added for two more releases
But it's kinda stable now. Having as much info as possible in the js is damn handy. And useful for testing.  So I think we can now add em to the user.js.
Any objections or nits?

objection your honor! The only thing this adds is confusion and unnecessary baggage to an already massive user.js. If you want the info somewhere, add it to the RFP sticky. Please

It's already in the RFP sticky (well jitter isn't, but I'll add it). I know we (you and me) initially said to not add it because it adds confusion. I just think it's ok now to add it - but then again, I'm probably over-estimating end-users? Better to err on the side of caution? The other side is people always asking about why isn't this pref or that pref etc. So torn between knowledge is power and end-user stupidity
No worries dropping it, but interested in what others say. It was just a thought.

honor? since when am I.. oh never mind ..  "Obfuscation!!!! The counsel is witnessing the badger." :grinning:

RFP timing stuff: OK, so I NAH'ed it in #491
FPI: Can I do a commit and close this. When I hear back from Arthur, I'll forward his email to you and if required we can tweak the entry. Just :+1: if you're happy with this

If you read the security considerations for Alt-Svc @ https://tools.ietf.org/html/rfc7838#section-9 the tracking risk is arguably the least worrying.
The problematic part tracking-wise is the "persist" parameter and you could easily remove that in HTTP/1.x headers but for H2 it's recommended to use a frame in binary form and you can't tamper with that. (once again I have to say FUCK H2!)
The spec also says that Alt-Svc are OPTIONAL and clients don't have to honor it. AS is kind of a security/privacy nightmare for the sole purpose of load balancing.
I'd prefer to not commit the FPI ALT section because FPI doesn't solve all the problems with H2 + AS.
We can relax the session IDs for performance reasons and because it's covered by FPI but we can do that without moving it somewhere else

Just focusing on that pref (and not the new section), shouldn't we give a reason? So if " * alt-svc headers can be used for cross domain tracking" is not the main reason, what should we say? or link to?

https://tools.ietf.org/html/rfc7838#section-9

So, drop the line I added, and a [3] then? Or replace [1] with the new one?

I'd prefer to not commit the FPI ALT section because FPI doesn't solve all the problems with H2 + AS.

That's what the section header explains. They might be acceptable or "solved" with Tor, and Tor Browser extras such as sanitizing on New Identities etc, but not in FF as far as we are concerned. And same for ssl session ids.

We can relax the session IDs for performance reasons and because it's covered by FPI but we can do that without moving it somewhere else

I do get that ssl session ids are at a different point in the network stack (see GeKo's comments). But I don't follow this logic?
People keep asking about HTTP2 - we've had two massive threads about it. And it'll get worse with TB8* enabling it, in fact all three prefs.
What do you suggest we do then, because the section info I crafted need to go in, IMO.

Re: security considerations for Alt-Svc
The guy who proposed that has a blog where some Security Considerations are explained better.

What do you suggest we do then, because the section info I crafted need to go in, IMO.

HTTP2 and Alt-Svc are quite new.
If you are asking to disable those or not... I vote to disable them.

^^ I meant what are we going to do with them in regards to grouping them or adding the extra info. We do not intend to make them inactive. As for breakage, there is none (as discussed in other threads). The only drawbacks are performance
I don't mind the extra section, but they don't really belong together, except that 1) TBB differs and people will say "but why do you disable them" and 2) they are all mitigated to some degree by FPI and 3) they are all perf related.
We can always tag each of the three with [SETUP-PERF] so that's not an issue. But I don't want to repeat the section header info across three prefs, and I think that information is really important to include - but we should be able to do it with creating a new section.
Also the new section is kinda weird, as in it's not an ALTernative to FPI (we want them active regardless of FPI). Which for better or worse I called them EXTRAs. So this then has a different format and purpose to sections like RFP ALT and might confuse people, IDK - e.g they might think these should only be active IF they have FPI on.
So sure, lets not do this new section, but FFS, I'm not going to NOT put the info into the user.js given all the discussions and threads. Let's put this shit to bed.

thanks for finishing that for me :cat2:

@Thorin-Oakenpants , I know you closed the issue, but could you answer a question about SSL session tickets? I read this thread and #548 too. It sounds like FPI and (especially) TC together defeat the privacy problems of http2, altsvc, and even ssl session ids ... but I'm not sure.
I think that I create two separate ssl sessions if I visit example.com from two different temporary containers, say tmp11 and tmp12. Does this overcome the concerns we have about ssl session ids (and http2 and alt services)? I'm inclined to enable all three features if Temporary Containers defeat the privacy & security problems.
Not sure, though.

Temporary Containers solves the issue of first party repeat visits in the same session (they get cleared anyway when FF closes) with SSL session ids, because they have Origin Attributes (FPI, PB, containers). This is a unique id
So you do a google search from their web page (I'm not sure what happens if you search from Activity Stream, as that has a hidden container id of 5, but should just treat pass the search to google which opens a new webpage = new container id). Later on (I assume the original google tab is closed), you do another search = new container, new ssl session id. If you have changed IP (VPN, or in Tor Browser, a new identity) in the meanwhile, then you should look like a completely new visitor.
Of course there would be other factors to consider: e.g opening a google result should be a new tab, strip utms etc. And on an android phone, google is linking you in other ways. I'm just talking about the ssl session id.

HTTP2 & AltSvc are a little different as they would / could "leak" the same info each time. Temporary containers would effectively do the same job - i.e starting from new when revisiting a site (in a new container) in that there would no AltSvc info to draw on, but as for HTTP2, IDK exactly, I think you just end up using what the servers decide and it doesn't really do anything?

Long story short, a new TC is like a new identity in Tor Browser (not that everything is cleared or OA'ed). If you're using TC then you could probably drop FPI - there are only a couple of things TC's don't cover (I think HSTS is one, but IMO that's already mitigated by using the inbuilt preload (50K domains) + HTTPSEverywhere (125K domains) & clearing and then removing permissions from SiteSecurityServiceState.txt.)
FPI & TC = awesomeness, but one drawback is cross domain logins. And depending on your threat model, you could really drop the three prefs and get a little performance back. Depends how you configure TC. Remember, if you're already logging in, there's no point - e.g. I don't use TC (yet), but I assume you can set up / whitelist some domains - e.g for me, it would be GitHub (which I log into, so no big deal)

I have FPI+TC, where TC is configured in a way that left mouse click (LMC) stays in the same container and the middle mouse click (MMC) opens a new tab in a new container if the target domain is different as source.
So with LMC there is no cross domain logins breakages.
This is my TC settings (default as a base):
General
  Automatic Mode: Check
  [PERSONAL CHOICE] Container Name Prefix: %domain% #
  [PERSONAL CHOICE] Random Container Color: Check
  [PERSONAL CHOICE] Container Icon: fingerprint
  Container Number: Reuse available numbers
  Delete no longer needed Temporary Containers: 2 minutes after the last tab in it closes
  Click [Save]
Isolation
  Per Domain
	Domain pattern: *
	  Always open in new Temporary Containers: enabled
	  Click [Add or Edit]
	Domain pattern: duckduckgo.com
	  Always open in new Temporary Containers: enabled
	  Click [Add or Edit]
  Global
	Mouse Clicks on Links should open new Temporary Containers
	  Middle Mouse: If the clicked Link Domain does not match the active Tabs Domain (Subdomains won't get isolated)
	Click [Save]
NOTE: CTRL+SHIFT+T = Undo closed tab(s)

Cheers

^^ even though I have google search always open in a new tab, I am so conditioned to right click context menus that it doesn't matter. But for sure, TC is only as good as you understand and config it

Thanks for the reassurance @Thorin-Oakenpants and @crssi . I'll take a perf boost where I can find it, especially considering all the other preferences that degrade performance -- no disk cache, no hardware acceleration, etc.
Unlike @crssi , I've never gotten the per-domain settings of TC to override global behavior in quite the way that I wanted. Instead, I temporarily change the global settings when necessary. For cross-domain logins, I set NEVER for "Navigating in Tabs should open new Temporary Containers" (and then re-enable it). I disable the Multi-Account Containers preference when I need to click to the next page of search results on Startpage. (the TLD is the same for the next page, but the different subdomains trigger new containers anyway).
The only unsolved problem I have with TC is store checkouts that use third-party processors like PayPal.
General
  Automatic Mode: Check
  [PERSONAL CHOICE] Container Name Prefix: tmp#
  [PERSONAL CHOICE] Random Container Color: Check
  [PERSONAL CHOICE] Container Icon: circle
  Container Number: Keep counting
  Delete no longer needed Temporary Containers: After the last tab in it closes

Isolation
  Per Domain
	Domain pattern: [blank]
	  Always open in new Temporary Containers: disabled

  Global
	Navigating in Tabs should open new Temporary Containers
	  If the Navigation Target Domain does not match the active Tabs Domain (Subdomains won't get isolated)
	Mouse Clicks on Links should open new Temporary Containers
	  Middle Mouse: Never
	  Ctrl/Cmd+Left Mouse: Always
	  Left Mouse: If the clicked Link Domain does not match the active Tabs Domain (Subdomains won't get isolated)

Multi-Account Containers
	Open new Temporary Containers if a Permanent Container Tab tries to load a Domain that isn't assigned to "Always open in" that container
	  Enabled


App crashed in Android, when adding maxBuffer in TrackPlayer.setupPlayer()

Describe the Bug
I have this Error in Android and Unable to Initialise the Track Player:
The value for maxBuffer should be greater than or equal to minBuffer.
Then I added the maxBuffer and Got this Error, and My App is start Crashed:
 ERROR  Your app just crashed. See the error below. java.lang.NullPointerException   com.doublesymmetry.trackplayer.service.MusicService.updateOptions(MusicService.kt:186)   com.doublesymmetry.trackplayer.module.MusicModule$updateOptions$1.invokeSuspend(MusicModule.kt:260)   kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)   kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)   android.os.Handler.handleCallback(Handler.java:938)   android.os.Handler.dispatchMessage(Handler.java:99)   android.os.Looper.loop(Looper.java:263)   android.app.ActivityThread.main(ActivityThread.java:8292)   java.lang.reflect.Method.invoke(Native Method)   com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)   com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
Code To Reproduce
`static async initialize() {
if (Audio.isInitialized) return;
const setupOptionsIOS = {
  minBuffer: 16, // buffer at least 30 seconds of audio before playback
  playBuffer: 3, // buffer at least 30 seconds of audio before playback start/resume, after a user action, like a seek (Android only)
  maxCacheSize: 32768, // cache up to 4MB of audio files (Android only)
  autoHandleInterruptions: true, // automatically handle audio interruptions
  iosCategory: IOSCategory.Playback, // app plays recorded music or other sounds
  iosCategoryMode: IOSCategoryMode.VoiceChat, // app plays audio using text-to-speech, @see https://developer.apple.com/documentation/avfaudio/avaudiosession/mode
  iosCategoryOptions: [IOSCategoryOptions.MixWithOthers], // reduce the volume of other app while audio from this  plays, @see https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions
  androidAudioContentType: AndroidAudioContentType.Music, // app's volume will be lowered during short interruptions, like a message notification (Android only)
};

const setupOptionsAndroid = {
  maxBuffer: 20, // make sure maxBuffer is greater than or equal to minBuffer
  ...setupOptionsIOS,
};

try {
  await TrackPlayer.setupPlayer(Platform.OS === 'android' ? setupOptionsAndroid : setupOptionsIOS);

  await TrackPlayer.updateOptions({
    iosCategoryOptions: [IOSCategoryOptions.DuckOthers, IOSCategoryOptions.InterruptSpokenAudioAndMixWithOthers],
    android: {
      appKilledPlaybackBehavior: AppKilledPlaybackBehavior.StopPlaybackAndRemoveNotification,
    },
    capabilities: [Capability.Play, Capability.Pause, Capability.Stop, Capability.Skip, Capability.SkipToNext, Capability.SkipToPrevious, Capability.JumpBackward, Capability.JumpForward, Capability.Seek],
    CompactCapabilities: [Capability.Play, Capability.Pause, Capability.Stop, Capability.Skip, Capability.SkipToNext, Capability.SkipToPrevious, Capability.JumpBackward, Capability.JumpForward, Capability.Seek],
  });

  // setup event listeners
  //TrackPlayer.addEventListener(Event.PlaybackState, (event) => {
  //logger.debug('Playback state changed.', event.state);
  //});

  TrackPlayer.addEventListener(Event.PlaybackError, (error) => {
    logger.error('Error during playback.', error);
  });

  // clear the queue when we've played the last item in it, to keep it clean and tidy
  TrackPlayer.addEventListener(Event.PlaybackQueueEnded, async ({track}) => {
    const queue = await TrackPlayer.getQueue();
    if (queue.length > 0) {
      await TrackPlayer.reset();
      // remove all tracks up to and including the last played track
      //await TrackPlayer.remove([...Array(track + 1).keys()]);
      const updatedQueue = await TrackPlayer.getQueue();
      logger.debug(`Current queue size is ${updatedQueue.length}.`);
    }
  });

  Audio.isInitialized = true;
  logger.debug('Audio playback initialized successfully.');
} catch (error) {
  logger.emerg('Error initializing audio playback.', error);
}

}`
Environment Info:
Paste the results of `info Fetching system and libraries information...
System:
OS: macOS 14.6.1
CPU: (8) arm64 Apple M2
Memory: 134.00 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.19.0
path: ~/.nvm/versions/node/v18.19.0/bin/node
Yarn:
version: 1.22.22
path: ~/Documents/work/perzimo-health-app/perzimo-mobile/src/mobile/node_modules/.bin/yarn
npm:
version: 10.6.0
path: ~/.nvm/versions/node/v18.19.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.15.2
path: /Users/macbook/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12169540
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.22
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/macbook/.rvm/rubies/ruby-2.7.6/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.5
wanted: 0.74.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.76.1 is now available (your project is running on v0.74.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.76.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.74.5
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".`
Paste the exact "react-native-track-player": "^4.1.1"
Real device? Yes, Oppo A5 2020 and Simulator also (Google Pixel 6)
What OS are you running? MacBook Pro M2
How I can Help
What can you do to help resolve this?

ur bug is this line:
https://github.com/doublesymmetry/react-native-track-player/blob/9ff32f0f5a7b4f96900bf422810d587f5d2e3789/android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt#L223
this number is in ms. DEFAULT_MIN_BUFFER_MS is 50000.
u have to do some log printing urself to figure out the null pointer part.

thanks @lovegaoshi

Hi @lovegaoshi ,
Yeah I checked your suggestion.
I'm using values in seconds as they are saying in their Docs.
await TrackPlayer.setupPlayer({         minBuffer: 60, // buffer at least 30 seconds of audio before playback         playBuffer: 60, // buffer at least 30 seconds of audio before playback start/resume, after a user action, like a seek (Android only)         maxCacheSize: 32768, // cache up to 4MB of audio files (Android only)         autoHandleInterruptions: true, // automatically handle audio interruptions         iosCategory: IOSCategory.Playback, // app plays recorded music or other sounds         iosCategoryMode: IOSCategoryMode.VoiceChat, // app plays audio using text-to-speech, @see https://developer.apple.com/documentation/avfaudio/avaudiosession/mode         iosCategoryOptions: [IOSCategoryOptions.MixWithOthers], // reduce the volume of other app while audio from this  plays, @see https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions         androidAudioContentType: AndroidAudioContentType.Music, // app's volume will be lowered during short interruptions, like a message notification (Android only)       })
But this way I'm getting the above error.
Can you suggest some setupPlayer configs that used in both Android and iOS without having any errors?

buddy i neither get paid to maintain this lib, nor i actually uses a custom buffer range myself. i know the default works, which is setting both to 50000 ms. the rest its on you. do a couple of log.d


Postgres max session bug

Describe the bug
PG client not releasing past sessions resulting in max session limit being reached and refusing new db connections

wasnt a bug


Make Halotools compatible with python 3.6

Compatibility may actually be pretty close, since #717 resolved the raw string issue of docstrings with appearances of \\ in math-mode. There is (at least one) remaining failure caused by using unittest that seems to trigger a deprecation warning in pytest that it not yet fixed upstream:
DeprecationWarning: generator 'pytest_pycollect_makeitem' raised StopIteration

This issue is discussed in #717 (and the predecessor PR #648) and has also been noted in https://github.com/astropy/astroquery/pull/815.
As discussed with @bsipocz it will be necessary to dig a little deeper into the root cause of this upstream failure with pytest/unittest. It would be difficult to simply stop using unittest since the TestCase class is used in several places, purposefully to limit the large memory-overhead of testing the full mock-making machinery.
I'll tag this with the v0.5 Milestone for now, though I don't want to indefinitely postpone release on account of this alone. Part of #717 is to set the build of python 3.6 on Travis to be an Allowed Failure. This choice was made to facilitate merging in bug-fixes of v0.5rc1 and avoid complicated rebasing, since the raw string issue is peppered throughout the entire package and is resolved by #717.

Special thanks to @bsipocz for implementing #728 to give 3.6 compatibility in time for the v0.5 release.


Help

Can a user automatically check messages to a Twitter user?
Please help me

I'm not sure what you mean by automatically, but you can use API.list_direct_messages to check all DMs sent and received within the last 30 days, and then filter them by recipient ID.
Also see https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/list-events.


Error with Laravel Debugbar package (must implement interface Illuminate\Contracts\Debug\ExceptionHandler)

I installed the Tracker and Laravel Debugbar (https://github.com/barryvdh/laravel-debugbar). If the Debugbar is enabled and I try to access /stats, I get the following error:
ErrorException in Debugbar.php line 29:
Argument 2 passed to Barryvdh\Debugbar\Middleware\Debugbar::__construct() must implement interface Illuminate\Contracts\Debug\ExceptionHandler, instance of PragmaRX\Tracker\Support\Exceptions\Handler given

Screenshot:

The problem is, I am okay with disabling debugbar for that part of my project. However, there is no way to disable Debugbar on only one route or URI.
Any type of help would be greatly appreciated.
Thanks.

This problem actually occurs on all of the pages. I can only enable only one of the 2 packages at a time.

+1

I had the same issue, you just disable the tracker in you development environement.

Current version is working fine with Debugbar:


Write a plot to a file

From within a script, running in the script editor, it should be possible to store a generated plot as, svg or similar

Fixed in https://github.com/maarzt/imagej-plot-service/commit/115e3d82f01c9fbdb653c7940e1f99f8b3f05e03


not able to signup on mozillian

I tried all the methods listed there.
For the email the link which i get in mail, it says that something wrong happened.
with google, it says you should use the most secure method for your account which is github.
with github, it says to enable 2FA.

@Anupam-dagar follow this link, it explains well on how to set up 2FA for your github account.
Once done, you can easily signup on mozillian using your github id.
I hope this helps!

@gabru-md why google oauth doesn't work?


ui: focus on next word after finishing current (seed word input screen)

@v4v2 When I type "win" but I want to write "winter", since win is a BIP39 word and "win " is seedWord.valid, it will focus on the next one without letting me to finish typing "winter"

@v4v2 When I type "win" but I want to write "winter", since win is a BIP39 word and "win " is seedWord.valid, it will focus on the next one without letting me to finish typing "winter"

Ok, I will handle thsi edge case


yarn dev err : exec: "pnpm": executable file not found in $PATH

environment：Mac M1 ,nodejs v19.5.0
git success,
cd success,
yarn success,
yarn dev , err:
{
yarn run v1.22.19
$ turbo run dev --parallel
• Packages in scope: svg-to-swiftui-core, svg-to-swiftui-webapp, tsconfig
• Running dev in 3 packages
• Remote caching disabled
svg-to-swiftui-webapp:dev: cache bypass, force executing ed5afce2520048ec
svg-to-swiftui-webapp:dev: ERROR: command finished with error: exec: "pnpm": executable file not found in $PATH
exec: "pnpm": executable file not found in $PATH
Tasks:    0 successful, 1 total
Cached:    0 cached, 1 total
Time:    168ms
ERROR  run failed: command  exited (1)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
}

Just a note: please use code blocks for code. More here

@onionwithhoney This repository uses pnpm, not yarn. It's more similar to npm than yarn, but does some things better than both. You can install it by running npm i -g pnpm or yarn global add pnpm.

Thanks! I run 【yarn global add pnpm】,now I can run this object on localhost:3000  .
I had compare the result between the local and your online result，It is exactly the same code result。

Thanks! I run 【yarn global add pnpm】,now I can run this object on localhost:3000  .
I had compare the result between the local and your online result，It is exactly the same code result。

Yes it is. The online version is hosted on GitHub Pages, but otherwise it's exactly the same.


Design the Partnership Page

Design Screenshot

On mobile, this shouldn't be highlighted as there's no way to disable to change the highlight.

Malt title doesn't work on light mode

Please have these buttons say "Let's Discuss" and link to let's chat

There's also a lot of changes here that aren't yours. I'm assuming you forked and then replaced the entire directory with your local copy; which has caused a bunch of regressions.


请问Topic下的activities，里面有返回Article、Column等类型吗

代码如下，我没有找到可以返回Article的日志：
代码如下，我没有找到可以返回Article的日志：
from zhihu_oauth import ZhihuClient, Answer, Question, Article, Column, Pin
client = ZhihuClient()

client.load_token('token.pkl')

# topic = client.topic(20175669)#摩托车旅行
topic = client.topic(19940272)  # 摩托车赛事

#
# print(topic.activities)
# print(topic.best_answers)
# print(topic.best_answers)

# for answer in topic.best_answers:
#     print(answer.author.name, answer.voteup_count)

# print(topic.next())

for act in topic.activities:
	if isinstance(act, Answer):
		 #print("1Article:",act)
		# pass
		# act.save(topic.name)
	elif isinstance(act, Column):
		 #print("Column:", act)
		# act.save(act.name)
	elif isinstance(act, Article):
		 #print("Article:", act)
		# act.save(act.name)
	elif isinstance(act, Pin):
		 #print("Pin:", act)
		# act.save(act.name)
	else:
		# for answer in act.answers:
		#     print(answer.author.name, answer.voteup_count)
		#     answer.save(act.title)

补一个网址：
https://www.zhihu.com/topic/20175669


Data From Database

How do you put the data from the $this->Model->find to the chart?

@mhtchong1989 You would need to get that data into your controller and then expose it to the view via set.
Something like:

<?php

class SomeController extends AppController {

  public function index() {
    $data = $this->YourModel->find(
      //...
    );
    $this->set(compact('data'));
  }

}

Then in your view $data would be available exactly like the example on the readme.


DRILL-6243: Added alert box to confirm shutdown of drillbit after clicking shutdown button

…cking shutdown button

@sohami Please review

+1 LGTM. Thanks for making the changes.


Add some basic functionality

Added default tokens and config file from Awesomebot V1, discord.py bot instance, running file

should we figure out the file directory structure and stuff first?

This is how most of the bots I've seen are arranged for the most part but yeah, should probably decide that. Though, its pretty easy to shuffle things around right now, so

we should also decide on what libs to use? discord py + requests?

if it's fine with you @LaVieEstDure we should probably have a workflow like git flow or feature branch?
It might get hairy later on if we don't have a workflow.

gonna close this since #5 also addresses this


EID-1837 Clean up DTOs used between Gateway and ESP

We no longer need to pass the encryption certificate around as it's possible to get the information from Metatron.
Remove connectorEncryptionPublicCertificate from EidasSamlParserResponse.
Update any use of EidasSamlParserResponse so that code will compile.
Update tests so that they reflect new DTO.
NOTE this depends on eid-1836 as it's branched from there - there's some dependency between because of the Redis change in eid-1836

Any chance of dropping the last 6 commits?

What commits? 😉

Oh weird. I must've imagined it...

History is mutable


Crazy Network Crash

Started one node with:
./nodeos -e --producer eosio
...
1508503ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 00000180e0d4c715... #384 @ 2018-05-06T21:25:08.500 signed by eosio [trxs: 0, lib: 384, confirmed: 0]
1509003ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block<PHONE_NUMBER>0d98a9... #385 @ 2018-05-06T21:25:09.000 signed by eosio [trxs: 0, lib: 385, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 000001821eca8981... #386 @ 2018-05-06T21:25:09.500 signed by eosio [trxs: 0, lib: 386, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:347       schedule_production_ ] 10 assert_exception: Assert Exception
when > header.timestamp: next block must be in the future
    {}
    thread-0  block_header_state.cpp:71 generate_next
1509005ms thread-0   producer_plugin.cpp:367       schedule_production_ ] Failed to start a pending block, will try again later
Segmentation fault: 11

And another with
./nodeos -d node2 --p2p-peer-address <IP_ADDRESS>:9876 --p2p-listen-endpoint <IP_ADDRESS>:6789
...
1508503ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 00000180e0d4c715... #384 @ 2018-05-06T21:25:08.500 signed by eosio [trxs: 0, lib: 384, confirmed: 0]
1509004ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block<PHONE_NUMBER>0d98a9... #385 @ 2018-05-06T21:25:09.000 signed by eosio [trxs: 0, lib: 385, confirmed: 0]
1509004ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 000001821eca8981... #386 @ 2018-05-06T21:25:09.500 signed by eosio [trxs: 0, lib: 386, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:347       schedule_production_ ] 10 assert_exception: Assert Exception
when > header.timestamp: next block must be in the future
    {}
    thread-0  block_header_state.cpp:71 generate_next
1509005ms thread-0   producer_plugin.cpp:367       schedule_production_ ] Failed to start a pending block, will try again later
Segmentation fault: 11

Out of nowhere, the non-producing block schedules production and sends a block to the producign node... which rejects it and then both nodes crash.

Apparently the config file had both attempting to produce and everything was fine for a while then all hell broke lose when applying a block.

wow,maybe they all want to be rich.tell them should be by voting.

I can fix this pretty easily in the morning. The commit that is tagged with
this is dangerous.  If we want to use that commit we should revert the
validator plugin and the concept of coordinators in appbase.  Otherwise we
have a lot of dead code which is only waiting to cause problems.
The root cause of the error is that unlike the previous chain controller we
can now throw exceptions when trying to schedule the next block.
start_block can throw.  We should probably take the time of the head block
into account to make sure this symptom doesn't happen but their is also
something apparently wrong in the retry logic as well that needs work
On Sun, May 6, 2018, 5:29 PM Daniel Larimer<EMAIL_ADDRESS>wrote:

Started one node with:
./nodeos -e --producer eosio
...
1508503ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 00000180e0d4c715... #384 @ 2018-05-06T21:25:08.500 signed by eosio [trxs: 0, lib: 384, confirmed: 0]
1509003ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block<PHONE_NUMBER>0d98a9... #385 @ 2018-05-06T21:25:09.000 signed by eosio [trxs: 0, lib: 385, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 000001821eca8981... #386 @ 2018-05-06T21:25:09.500 signed by eosio [trxs: 0, lib: 386, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:347       schedule_production_ ] 10 assert_exception: Assert Exception
when > header.timestamp: next block must be in the future
{}
thread-0  block_header_state.cpp:71 generate_next
1509005ms thread-0   producer_plugin.cpp:367       schedule_production_ ] Failed to start a pending block, will try again later
Segmentation fault: 11
And another with
./nodeos -d node2 --p2p-peer-address <IP_ADDRESS>:9876 --p2p-listen-endpoint <IP_ADDRESS>:6789
...
1508503ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block 00000180e0d4c715... #384 @ 2018-05-06T21:25:08.500 signed by eosio [trxs: 0, lib: 384, confirmed: 0]
1509004ms thread-0   producer_plugin.cpp:124       on_incoming_block    ] Received block<PHONE_NUMBER>0d98a9... #385 @ 2018-05-06T21:25:09.000 signed by eosio [trxs: 0, lib: 385, confirmed: 0]
1509004ms thread-0   producer_plugin.cpp:415       block_production_loo ] Produced block 000001821eca8981... #386 @ 2018-05-06T21:25:09.500 signed by eosio [trxs: 0, lib: 386, confirmed: 0]
1509005ms thread-0   producer_plugin.cpp:347       schedule_production_ ] 10 assert_exception: Assert Exception
when > header.timestamp: next block must be in the future
{}
thread-0  block_header_state.cpp:71 generate_next
1509005ms thread-0   producer_plugin.cpp:367       schedule_production_ ] Failed to start a pending block, will try again later
Segmentation fault: 11
Out of nowhere, the non-producing block schedules production and sends a
block to the producign node... which rejects it and then both nodes crash.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EOSIO/eos/issues/2803, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYR4qQItlpX2gLQ5Ql4NBHGoXqYHeljks5tv2tEgaJpZM4T0NHw
.


Fix CI process

Pull Request Test Coverage Report for Build 118

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

Totals

Change from base Build 115:
0.0%

Covered Lines:
211

Relevant Lines:
211

💛  - Coveralls


insufficient privileges to execute statement needing SYSDBA privileges

Hi,
Now a test user has been introduced, but I'm not able to setup my database correctly now.
Using your container with testcontainers and need to create tablespaces to be able to initiale database.
How would I set this up correctly?
Thank you for your assistance.

Hi @tomdevroomen,
The user that is created by the $APP_USER facility only has schema level rights. These are the rights where the user can create objects in its own schema, specifically:

CONNECT, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW

The user does not have any administration rights granted to prevent applications from starting to rely on super-user privileges during their tests that they might not have been granted in production.
To create additional tablespaces and perform any other database setup tasks, the Initializaton scripts facility should be used instead. These scripts are all executed as a super-user without having to know or specify any username or password. It does require a volume with the scripts being mounted in the container under /container-entrypoint-initdb.d.

Hi, let's close this one and continue here: https://github.com/testcontainers/testcontainers-java/issues/4615


Add slave support to spi_mcux_lpspi driver

The LPSPI MCUXpresso driver does not support SPI slave operation yet. And since the "spi-bitbang" driver does not supports SPI master operation too, it is currently necessary to use the low-level MCUXpresso NXP HAL directly to get SPI slave operation running with Zephyr on i.MX7 CPUs.
See also: #51306

Any chance this will happen?


[doc] Move AST interfaces table to new file, convert table to .md

Table was previously HTML inside a .md file, switching to a native .md table allows it to be styled by our stylesheets.
Some small cleanups to the prose as well.

p.s. you can see the results of this refactor on the staging site :
https://staging.opentitan.org/book/hw/top_earlgrey/ip/ast/index.html
https://staging.opentitan.org/book/hw/top_earlgrey/ip/ast/doc/interfaces.html

Thanks. I am fine with this change


Conclude exploration of frameworks for developing distributed protocols

The exploration of frameworks for developing distributed protocols is concluded with blog post "On Frameworks for Implementing Distributed Protocols".


Cannot add Animation to AnimationNodeStateMachine in Godot 3.3 and 3.3.1 RC2

Godot version:
Godot 3.3 and and 3.3.1 RC2 (non-mono)
OS/device including version:
Windows 10
Issue description:
After adding the AnimationNodeStateMachine to the tree root in an AnimationTree, right-clicking on the state machine pane to "Add Animation" does not show any options.

Steps to reproduce:
Same as above.
Minimal reproduction project:
Action_RPG.zip

Nevermind :)

Nevermind :)

Why, what was actually the problem?

Nevermind :)

Why, what was actually the problem?

There was no problem, I forgot to add the AnimationPlayer node and was wondering why the AnimationTree's graph wasn't showing the animation values.


Allow other applications to hook into showerror

Preparatory work for #68.
This change allows other applications to customize showerror(::IO, ::JSONRPCError) depending on their specific needs and chosen meanings for their errors. It also introduces the fixed error codes as constants, to allow them to be transparently referenced in other places of the codebase.
Regarding serverErrorStart and serverErrorEnd - I don't know exactly how they're used in the VSCode extension/LS.jl (are the messages themselves matched anywhere?), so these could be added explicitly until those dependents are explicitly adding them to RPCErrorStrings. I've added them for now to make tests pass, but having them implicit seems cleaner to me.
For every PR, please check the following:

[x] End-user documentation check. If this PR requires end-user documentation in the Julia VS Code extension docs, please add that at https://github.com/julia-vscode/docs.
[x] Changelog mention. If this PR should be mentioned in the CHANGELOG for the Julia VS Code extension, please open a PR against https://github.com/julia-vscode/julia-vscode/blob/master/CHANGELOG.md with those changes.

Not quite sure what the coverage diff is about - it seems to be inconsistent in terms of what it compares? Or I'm clicking on the wrong thing, not sure.

The original intention here was to keep the LSP specific ones around until the time that LanguageServer.jl can/wants to integrate the functionality, but since that would require compat bumping sooner or later anyway, might as well just remove them now and do a lockstep release with appropriate compat upper bounds and/or upper bounding previous versions in the registry.
The question is just - is this a technically breaking release, since it changes the error message of LanguageServer.jl from e.g. ContentModified to Unknown?

Mh, not sure. The error type doesn't change after all. I don't mind tagging a 2.0 for correctness either way, but imho that wouldn't really be necessary.

Yeah, I don't mind either way :) Whichever is more convenient to have this percolate through the dependencies without causing too much disruption.
Is there some NEWS file or release notes specific to JSONRPC.jl that this should be mentioned in as a new feature?


Update README.md

Corrections to make README presentable as proper markdown

Wouldn't it be better to rename to README.md to a README.rst?
GitHub supports rendering of ReStructuredText documents.


Base image based on Alpine

Which package is the feature request for? If unsure which one to select, leave blank
@crawlee/core
Feature
The base image is based on Debian which has a much bigger fingerprint than the Alpine Linux.
So I was thinking maybe the included dockerfile can be based on Alpine Linux, for fast deployment and testing
The apify/actor-node-puppeteer-chrome has 2.53gb, my version has 698mb
Motivation
I'm building an infrastructure of spiders based on Crawlee and I wanted to have the fastest possible deployment time.
Ideal solution or implementation, and any additional constraints
FROM node:current-alpine

# Set workdir
WORKDIR /usr/src/app

# Copy just package.json and package-lock.json
# to speed up the build using Docker layer cache.
COPY package*.json ./

# Change rights for package-lock.json
RUN chmod 744 package-lock.json

# Install chromium and it's dependencies, node is also here to be sure that is updated
RUN apk add --no-cache \
      chromium \
      nss \
      freetype \
      harfbuzz \
      ca-certificates \
      ttf-freefont \
      nodejs \
      yarn

# This tells puppeteer to not download chrome again
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

# Install NPM packages, skip optional and development dependencies to
# keep the image small. Avoid logging too much and print the dependency
# tree for debugging
RUN npm --quiet set progress=false \
    && npm install --omit=dev --omit=optional \
    && echo "Installed NPM packages:" \
    && (npm list --omit=dev --all || true) \
    && echo "Node.js version:" \
    && node --version \
    && echo "NPM version:" \
    && npm --version

# Next, copy the remaining files and directories with the source code.
# Since we do this after NPM install, quick build will be really fast
# for most source file changes.
COPY . ./

# Required for Crawlee
ENV CRAWLEE_CHROME_EXECUTABLE_PATH=/usr/bin/chromium-browser
RUN chmod 744 /usr/bin/chromium-browser

# Run the image.
CMD npm start

Alternative solutions or implementations
No response
Other context
No response

CC @fnesveda @B4nan, please take a look

I was asking @vladfrangu to take a closer look last week. IIRC the reason why we use ubuntu was supporting chromium, rest of the browsers should be fine with debian?

Super sorry for the late response! The main image that (probably) can't use Alpine is WebKit (Safari). Its good to know that chromium works on alpine, but does chrome work on it too? 👀

I believe the main reason we use Debian in the base images is compatibility with user libraries. Debian uses glibc, while Alpine uses an alternative libc implementation, musl libc, which is not 100% compatible. While musl libc behaves more correctly according to standards, most software is written targeting glibc and all its quirks, and could break when used with musl libc (or would have to be recompiled at least). So I would recommend staying with Debian for these compatibility reasons.
I believe most of the size difference between the image produced by @dragospopa420's Dockerfile and what we have is down to other differences:

Chrome is much larger than Chromium
for some reason we have multiple installations of Chrome in the image
we also have multiple node_modules in the folder, some of which seem unnecessary
we have some operations split between multiple steps, which creates multiple layers and each layer's diff adds to the image size (e.g. the chrome.deb download, install and removal should be in the same step ideally)

You can use the great dive tool to inspect the images layer by layer and see what's taking up most of the size.


SCB-330 add guides to run executable alpha server

Signed-off-by: Eric Lee<EMAIL_ADDRESS>Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.4%) to 94.956% when pulling 86c953587d50ad13dc5b9d2162f616a43c7a2b1a on eric-lee-ltk:SCB-330 into<PHONE_NUMBER>1f42a2c8fd7f332edee1e456caa64c on apache:master.


NeumorphicText weird usage

At first I've tried something like this:
return NeumorphicText(
                '${_formatHHMMSS((store.currentSessionTime / 1000).round())}',
                textAlign: TextAlign.center,
                textStyle: TextStyle(
                  backgroundColor: Colors.green,
                  color: Colors.red,
                  fontWeight: FontWeight.bold,
                  fontSize: 30,
                ),
              );

and it was not working as expected because text color and background colors were not used.
I found out correct usage was:
return NeumorphicText(
                '${_formatHHMMSS((store.currentSessionTime / 1000).round())}',
                textAlign: TextAlign.center,
                style: NeumorphicStyle(color: Colors.red),
                textStyle: TextStyle(
                  fontWeight: FontWeight.bold,
                  fontSize: 30,
                ),
              );

It might need some tweak to remove inconsistencies.
Also field textStyle where in normal text it's just style, A NeumorphicTextStyle might be better here to avoid confusion and have only supported fields

Yes it's a good idea, fork textStyle & provide only supported values

pushed in 2.2.0


Default to numeric display on number input types.

It would be great if you could default to the number pad on number type inputs.

The numeric keyboard will be displayed automatically if you use <input type="number" ... /> instead of <input type="text" ...  />


size in render_shapes is not used

circles are not scaled upon modification of size

Okay, for some reason the size is fed into the _set_outline function and then never use. Lemme fix that


Unable to force cmsis-dap v1 when flashing

As a part of a different issue I am forced to fall back to cmsis-dap v1 when flashing on Windows. However the override (-Ocmsis.dap.prefer_v1=True) does not work with Load (or gdbserver) command.
Looking into the code, this is caused by the prefer_v1 being checked early in dap_access_cmsis_dap._get_interfaces  called from  choose_probe. However the command-specific options such as -O are not parsed until the session is constructed at the end of session_with_chosen_probe. As a result the option is ignored and cmsis-dap v2 over libusb is used unconditionally

Yes, I have a custom-build CMSIS-DAP firmware forked off the main project. Everything is fine on Linux/Mac. On Windows I get (using the libusb that comes with libusb_package)
(pyocd-test) PS C:\work\pyocd-test> pyocd load -t nrf52840 MainApp_0.hex -vv
0001091 D Project directory: C:\work\pyocd-test [session]
0001351 D Project directory: C:\work\pyocd-test [session]
0001454 C Error: Operation not supported or unimplemented on this platform [__main__]
Traceback (most recent call last):
  File "C:\work\pyocd-test\lib\site-packages\pyocd\__main__.py", line 161, in run
    status = cmd.invoke()
  File "C:\work\pyocd-test\lib\site-packages\pyocd\subcommands\load_cmd.py", line 83, in invoke
    session = ConnectHelper.session_with_chosen_probe(
  File "C:\work\pyocd-test\lib\site-packages\pyocd\core\helpers.py", line 265, in session_with_chosen_probe
    return Session(probe, auto_open=auto_open, options=options, **kwargs)
  File "C:\work\pyocd-test\lib\site-packages\pyocd\core\session.py", line 218, in __init__
    self._board = probe.create_associated_board() or Board(self)
  File "C:\work\pyocd-test\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 248, in create_associated_board
    board_info = self.associated_board_info
  File "C:\work\pyocd-test\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 219, in associated_board_info
    with _TemporaryOpen(self._link):
  File "C:\work\pyocd-test\lib\site-packages\pyocd\probe\cmsis_dap_probe.py", line 62, in __enter__
    self._device.open()
  File "C:\work\pyocd-test\lib\site-packages\pyocd\utility\concurrency.py", line 29, in _locking
    return func(self, *args, **kwargs)
  File "C:\work\pyocd-test\lib\site-packages\pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 746, in open
    self._interface.open()
  File "C:\work\pyocd-test\lib\site-packages\pyocd\probe\pydapaccess\interface\pyusb_v2_backend.py", line 118, in open
    usb.util.claim_interface(dev, interface_number)
  File "C:\work\pyocd-test\lib\site-packages\usb\util.py", line 207, in claim_interface
    device._ctx.managed_claim_interface(device, interface)
  File "C:\work\pyocd-test\lib\site-packages\usb\core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
  File "C:\work\pyocd-test\lib\site-packages\usb\core.py", line 178, in managed_claim_interface
    self.backend.claim_interface(self.handle, i)
  File "C:\work\pyocd-test\lib\site-packages\usb\backend\libusb1.py", line 829, in claim_interface
    _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  File "C:\work\pyocd-test\lib\site-packages\usb\backend\libusb1.py", line 600, in _check
    raise NotImplementedError(_strerror(ret))
NotImplementedError: Operation not supported or unimplemented on this platform

If I force v1 (hardcoding it), everything works as expected.

I could swear I searched for it first. Apologies

No worries! It's not always easy to find existing issues.
Sorry there's not an easy answer right now.
From a quick google search, it seems the error might be related to lack of a libusb-compatible driver? See this—although that's old and for Win7 the concept might still apply. Basically, on Windows you either need USB BOS descriptors specifying WinUSB compatibility, or use something like Zadig to install the libusb-compatible kernel driver for your device. This seems vaguely correct, since we're able to use DAPLink and other CMSIS-DAPv2 firmware that have the WInUSB BOS descriptors just fine on Win8 and above.
The reason CMSIS-DAPv1 would work is that it's HID based and uses the standard kernel HID class driver (plus pywinusb to access from pyocd).

I figured it out. It's a libusb bug. On my device CMSIS-DAP v2 is interface #10. So windows assigns it a path VID_0D28&PID_0204&MI_0A. And yet libusb has this little gem of highly portable code
https://github.com/libusb/libusb/blob/07441f54244991af55df158b61fd69ca95b39662/libusb/os/windows_winusb.c#L1390-L1391
	mi_str = strstr(device_id, "MI_");
	if ((mi_str != NULL) && isdigit((unsigned char)mi_str[3]) && isdigit((unsigned char)mi_str[4])) {
		interface_number = ((mi_str[3] - '0') * 10) + (mi_str[4] - '0');

So the interface simply gets ignored. I have filed a bug with libusb project, but in the meantime since pyocd insists on bringing it's own copy, I might look into rearranging the interface order in USB descriptor so that v1 becomes 10 and v2 becomes 9

nice finding!

Indeed, impressive debugging. 😃

pyocd insists on bringing its own copy

Yeah, I know… Originally it didn't, but a somewhat surprising number of people had trouble installing libusb, especially on Windows, that something had to be done. For Linux, there are (imo) good arguments both for and against.
To use your own libusb build, you can either clone the repo and built it yourself or just replace the .dll in the installed libusb-package. There is also a branch (feature/env_var_override) that lets you use the LIBUSBPKG_LIB_PATH env var to specify either the libusb path or "system" to use the system-provided libusb. Just haven't tested it thoroughly. In addition, I was thinking about creating a variant like libusb-package-system that always passes through to the system libusb, but there are always higher priority things to work on.

(Closing as duplicate.)

I see that libusb got a release in January that has my fix incorporated. How do we get this into PyOCD?


Update developer guide use cases

Updated use cases based on bugs reported for PE-D
Also added use cases for editing customer and order details which somehow everyone missed.
Close #308
Close #307
Close #305
Close #304
Close #296
Close #293
Close #291
Close #281
Close #264
Check that it addresses all the issues closed here as well.

how u fixing 304?

293 not fixed i think but i think it is not too ipt. U intentionally ignored it?

293 not fixed i think but i think it is not too ipt. U intentionally ignored it?

Considered but upon reviewing again I kind of feel there isn't really too much of a need. Besides, the user has to look for the index first and determine the index before they can execute the command anyway. This is still up for discussions though


Problems with MilvusEmbeddingStore

Hello, can provide MilvusEmbeddingStore related examples, I don't know what parameters are needed to create this store, hope to have an example as a reference

@Nsatyar should be available till the end of the week, will keep you posted.

hi @Nsatyar new version 0.23.0  includes a fix for milvus. Here is an example: https://github.com/langchain4j/langchain4j-examples/blob/main/milvus-example/src/main/java/MilvusEmbeddingStoreExample.java


facilitates "the" creation

Content was updated recently. The change in this PR is no longer valid.


Should be testing with Xcode 12 and iOS14

Is your feature request related to a problem? Please describe.
We should assume that the majority of our users will be running the latest GA version of iOS – that currently means iOS14.0 and Xcode 12. We should test on that platform, rather than older ones/
Describe the solution you'd like
Update the settings in Xcode.

 Move all testing to iOS14


Wordings improvement of website nav bar

Misc improvements of the nav bar wordings

Fix capitalisation - should be GitHub instead of gitHub
Correct version format - v0.12.x instead of V0.12.x. It is the more common to use lower case v in version number. Also, we use lower case v in our commit tags.
Use latest to refer to the documentation of the most up-to-date code in stead of In progress. See https://docs.readthedocs.io/en/stable/versions.html
Use Documentation instead of Document in nav bar title. I believe those two have different meanings.
Use Design instead of System design - Thus making all the titles in the nav bar one-word. This is aesthetically more pleasant. In addtion, I don't think it's common to see product websites have System Design as first-level navigations since the jargon might intimidate some users.

Lemme know your thoughts!

Coverage decreased (-0.01%) to 68.127% when pulling c93ce9adaa82e905611fa1d6b47d280f2958038b on liujiajun:site-imporve into 2bff46a40d2bf2a69ccd9bdd749d4aa0d1a7de66 on apache:master.


HAWQ-394. Remove pgcrypto from code base

Removed pycrypto and modified pom.xml.

+1

Merged into upstream.


Correct import for Llama.cpp

In the documentation, the python import in config.py for running Llama.cpp is wrong (looks like a copy paste error from running with GGML).

Thanks! Prob right abt copy paste

So what is the correct import? Thanks.


Feature: global stagger_phase_limit

Describe the request
Since phase 1 uses multiple threads, it would be good to also define a global stagger_phase_limit so that we can set a global phase limit for all plots on this machine regardless of the temple drive.
For sure i can use global_stagger_m with an approximate time for phase 1 on my machine, but this needs manual intervention on every machine.
I don't know if this is easily possible with the current code...

I've seen a related PR about thie here: https://github.com/ericaltendorf/plotman/pull/514

Yes, we need this. I'm plotting using multiple 7200rpm drives drives for the temp dirs, and only want one job to be in phase one at a time. However, tmpdir_stagger_phase_major does not respect this across multiple temp dirs, and I end up with all my jobs in phase 1, slowing the computer to the point where I can barely even move the mouse.

The tmp dir stagger stuff is per drive.  What is it about phase 1 that makes you want to limit the jobs there?  The multiple threads that you can configure in that phase?


Fix "overtime" overlap

Fixed in https://github.com/rbjaxter/budhud/commit/9c29969362b537a859844d30a716e80a9173f7ca


Develop

Merge that will (hopefully) re-establish compatibility between tudat main and tudatpy main.
Contains changes to estimation module, as distributed in the estimation-code channel and also separately to @DominicDirkx  and @FilippoOggionni.

@jo11he looking at the above, all the merge conflicts refer to rever-related stuff, so you can solve them without worries.


Not working on some pages

I made an extension on the base of html2canvas which will insert a div and takes a snapshot of that.It worked on some webpages but not rendering on lotta webpages.I finally took those and started looking at common patterns, I found that those pages have so much in height(in px as in >30000) of their body.Could that be the reason that html2canvas can't take snapshot of that much bigger document?
Help me achieve this on any webpage.

With extensions you could use elevated permissions from the browser to take real screenshots instead of use html2canvas. Most browsers also have size limits for canvas sizes, https://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element/11585939#11585939


Tasks with the same label from different folders can't run at the same time

Type: Bug
Repro steps:
git clone https://github.com/markw65/multi-workspace.git
cd multi-workspace
code abc.code-workspace
trust the workspace
The workspace has three folders (a, b and c), and each folder has its own watch script, which is configured via tasks.json to run on folder open.
Expected behavior: each folder's watch script should auto run.
Actual behavior: Only a's watch script auto runs.
This works prior to 1.74.0
In addition, attempting to manually start either b's watch, or c's watch (via the triangle in the "npm scripts" side panel) fails, with no error message.
If you rename b's watch script to watchb (in b/package.json), and c's script to watchc, then you can manually start them, but they still don't auto start when opening the workspace.
If you go into b/.vscode/tasks.json and change the label to "npm: watchb", and do the same for c, then all three auto start.
1.74.0 has added some checks to avoid starting the same task multiple times, but it doesn't take account of the fact that tasks in different folders could have the same name
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T02:08:38.961Z)
OS version: Darwin x64 22.1.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 2, 3

Memory (System)
32.00GB (1.38GB free)

Process Argv
--crash-reporter-id e8eaf96d-f4d4-4874-a9d9-08e2c6d99409

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

gltf-vscode
ces
2.3.16

vscode-eslint
dba
2.2.6

githistory
don
0.6.19

gitlens
eam
13.1.1

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.10.3

php-intellisense
fel
2.3.14

monkey-c
Gar
1.0.7

jq-syntax-highlighting
jq-
0.0.2

prettier-extension-monkeyc
mar
2.0.36

vscode-selfhost-test-provider
ms-
0.3.11

peggy-language
Peg
2.3.0

shader
sle
1.1.5

php-debug
xde
1.29.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1:30587005
2e4cg342:30602488
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
f6dab269:30613381
fim-prod:30623723

@meganrogge this is not a duplicate of https://github.com/microsoft/vscode/issues/168378, and its not fixed by https://github.com/microsoft/vscode/commit/ffcc0223eba800466fc78c1258c809f260bc9741.

@markw65 Thanks so much for identifying and fixing this!


Mahapps Metro themes overwrite Label foreground colors even when explicitly set

I had some labels that were not respecting the colors I explicitly set with code that looked like this:
<Label Foreground="White" Content="Fu"/>
<Label Foreground="Red" Content="Bar"/>
<Label Foreground="Green" Content="Snap"/>

After applying the themes, those labels were set to all Black when the BaseLight theme was applied and all white when the BaseDark theme was applied.
I would expect them to change colors if I left the Foreground property alone, but not when I explicitly set the colors.  I had to change them all to TextBlock objects to get them to render correctly, but that also forced me to do some other layout changes since the code took advantage of the HorizontalContentAlignment and VerticalContentAlignment to position those labels free form as the user dragged the mouse.

@bloritsch I tested your 3 Labels in the main demo and it works...

Which version of MahApps do you use?
Is there any special style in your app that possible override some stuff?

According to the details property it's Mahapps.Metro 1.1.2
There's no style that blanket applies to all Labels (there's a lot of XAML
so I may have missed something in my last comb through to enable "night
mode").
On Thu, Nov 5, 2015 at 3:34 PM, Jan Karger<EMAIL_ADDRESS>wrote:

@bloritsch https://github.com/bloritsch I tested your 3 Labels in the
main demo and it works...
[image: 2015-11-05_21h32_54]
https://cloud.githubusercontent.com/assets/658431/10980926/e274ac50-8404-11e5-9387-dd24db90ef4f.png
Which version of MahApps do you use?
Is there any special style in your app that possible override some stuff?
—
Reply to this email directly or view it on GitHub
https://github.com/MahApps/MahApps.Metro/issues/2201#issuecomment-154182355
.

@bloritsch ok, so please try the latest alpha. thx

Do I just grab the source and build it to get the latest alpha?
On Thu, Nov 5, 2015 at 3:53 PM, Jan Karger<EMAIL_ADDRESS>wrote:

@bloritsch https://github.com/bloritsch ok, so please try the latest
alpha. thx
—
Reply to this email directly or view it on GitHub
https://github.com/MahApps/MahApps.Metro/issues/2201#issuecomment-154187217
.

@bloritsch no, the alpha is also available via NuGet
Install-Package MahApps.Metro -Pre
or via NuGet ui...

@bloritsch have you tried the latest alpha?

I haven't had the opportunity yet.
On Mon, Nov 9, 2015 at 4:16 AM, Jan Karger<EMAIL_ADDRESS>wrote:

@bloritsch https://github.com/bloritsch have you tried the latest alpha?
—
Reply to this email directly or view it on GitHub
https://github.com/MahApps/MahApps.Metro/issues/2201#issuecomment-155003708
.

I finally tracked down the problem, and it was in our app.  So one of the most surprising things for me was that we had a code block like this before we were able to go hog wild with Mahapps.Metro:
<Style TargetType="{x:Type TextBlock}">
    <Setter Property="FontWeight" Value="Bold"/>
    <Setter Property="FontFamily" Value="{StaticResource ContentFontFamily}"/>
    <Setter Property="FontSize" Value="{StaticResource ContentFontSize}"/>
    <Setter Property="SnapsToDevicePixels" Value="2"/>
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="Foreground" Value="{DynamicResource BlackBrush}"/>
</Style>

The funny thing is that this forced all s to go with "BlackBrush" (depending on the dark/light theme it would always be white/black).  Makes me wonder if .Net uses a  inside a ....
XAML Spy was useless for finding this little tidbit out, as I started a new project and just started adding bits and snatches of the styles until I reproduced the issue.  NOTE: this same issue also affects the text in  classes.  That means no matter what Foreground property set by the MenuItem theme (i.e. disabled menu items) they were always rendered as if they were enabled.
Sorry for wasting your time, but hopefully this bit of trivia will help someone besides myself.


[Task]: Find transitively dependent onPageLoad actions considering module instances

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
No response

Resolved through this https://app.zenhub.com/workspaces/modules-pod-63e0d668a7fea03850c89c6f/issues/gh/appsmithorg/appsmith/27087


Cannot combine xxx: combined url too long

Hi,
I am using Nginx 1.15.2 compiled with mod_pagespeed <IP_ADDRESS> but it seems not stable. JavaScript files sometimes could be combined but sometimes not. I checked the logs and here are some ngx_pagespeed complain:
2018/08/15 05:06:29 [info] 30#38: [ngx_pagespeed <IP_ADDRESS>-0] Cannot combine http://localhost/portal/modules/mod_pegasus_portal/tmpl/lockscreen/lockScreen.js?v=120: combined url too long.
I have tried to increase the MaxSegmentLength setting but it was the same problem
I have attached my settings. Can anybody help me?

@oschaaf Sorry to tag you in but I don't know who I should count on

The logged message isn't a complaint, but rather an informational message.
If you want to permit the combiners to compose larger urls, you can tweak MaxSegmentLength and MaxUrlSize  (undocumented).  Before doing that, please see the warning at https://www.modpagespeed.com/doc/restricting_urls#segment_length

@oschaaf thanks for replying. It was not about the logged message, I can see it's working unstably: sometimes the JS files could be combined partially (acceptable since we have some big files and served their own) but when I hit f5 to refresh the page it loaded every single files.
P/S: my site is SPA so it contains a lot of JS files, I use mod_pagespeed to reduce the page load time


Analyzer throws error when declare a correctly super bounded variable

Dart VM version: 2.9.0-16.0.dev (dev) (Tue Jun 16 10:35:10 2020 +0200) on "windows_x64"
This issue is similar with #36959, however now it's reproducible with a variable if a class (not alias only).
Here is a source code example:
class A<T extends A<T>> {}

main() {
  A<dynamic> a1;
  A<Object?> a2;
  A<Object>  a3;
  A<void>    a4;
  A<Never>   a5;

  A<A<dynamic>> a6;
  A<A<Object?>> a7;
  A<A<Object>>  a8;
  A<A<void>>    a9;
  A<A<Never>>   a10;
}

Dart passes with this whereas analyzer throws errors for a2, a3, a4, a7, a8, a9.
It seems like analyzer should not throw exceptions here, or at least both tools should behave in the same way.
Sample output is:
$> dart --enable-experiment=non-nullable test.dart
$> dartanalyzer --enable-experiment=non-nullable test.dart

Analyzing class_A01_t01.dart...
error - 'Object?' doesn't extend 'A<Object?>'. - class_A01_t01.dart:21:5 - type_argument_not_matching_bounds
error - 'void' doesn't extend 'A'. - class_A01_t01.dart:22:5 - type_argument_not_matching_bounds
error - 'A<Object?>' doesn't extend 'A<A<Object?>>'. - class_A01_t01.dart:26:5 - type_argument_not_matching_bounds
error - 'Object?' doesn't extend 'A<Object?>'. - class_A01_t01.dart:26:7 - type_argument_not_matching_bounds
error - 'A' doesn't extend 'A<A>'. - class_A01_t01.dart:27:5 - type_argument_not_matching_bounds
error - 'void' doesn't extend 'A'. - class_A01_t01.dart:27:7 - type_argument_not_matching_bounds
hint - The value of the local variable 'a1' isn't used. - class_A01_t01.dart:18:5 - unused_local_variable
hint - The value of the local variable 'a2' isn't used. - class_A01_t01.dart:20:14 - unused_local_variable
hint - The value of the local variable 'a3' isn't used. - class_A01_t01.dart:21:14 - unused_local_variable
hint - The value of the local variable 'a4' isn't used. - class_A01_t01.dart:22:11 - unused_local_variable
hint - The value of the local variable 'a5' isn't used. - class_A01_t01.dart:23:12 - unused_local_variable
hint - The value of the local variable 'a6' isn't used. - class_A01_t01.dart:25:17 - unused_local_variable
hint - The value of the local variable 'a7' isn't used. - class_A01_t01.dart:26:17 - unused_local_variable
hint - The value of the local variable 'a8' isn't used. - class_A01_t01.dart:27:14 - unused_local_variable
hint - The value of the local variable 'a9' isn't used. - class_A01_t01.dart:28:15 - unused_local_variable
hint - The value of the local variable 'a10' isn't used. - class_A01_t01.dart:30:8 - unused_local_variable
hint - The value of the local variable 'a11' isn't used. - class_A01_t01.dart:31:11 - unused_local_variable
6 errors and 11 hints found.

The same is true for is and as constructions, for example the following example fails in the similar way:
class A<T extends A<T>> {}

main() {
  bool b1 = 1 is A<Object?>;
  bool b2 = 1 is A<void>;

  var o1 = null as A<Object?>?;
  try { var o2 = null as A<void>; } catch(e) {}
}

The declared type of a3 and a8 are errors, because Object is not a top type with null-safety enabled, but the types of a2, a4, a7, and a9 are correctly super-bounded and should be accepted.

With https://github.com/dart-lang/sdk/issues/42196 fixed, analyzer reports only a3 and a8 as errors.
So, I suppose that this issue is fixed as well.


Issue with loginWithEmailOTP - No Longer Presenting Enter Code UI

Describe the bug
Calling loginWithEmailOTP no longer presents the UI to enter your code. When I call loginWithEmailOTP, I still see that the code is delivered to my email, but the UI is no longer being presented on the app side to allow me to enter it.
I've recently updated my Xcode to 14.2, and my device is on iOS 16.3.1. My Magic SDK version used to be 3.0. I tried updating it to 6.2, but that didn't address it.
I've created a barebones project to test that it's not something in my app that's causing it. It's a simple view controller with a LOGIN button. I initialize Magic with my clientID in AppDelegate. In the viewController, I have a LOGIN button that calls
        let configuration = LoginWithEmailOTPConfiguration(email: self.email)
        magic.auth.loginWithEmailOTP(configuration) { response in

            guard let token = response.result
            else {
                return print("Error:", response.error.debugDescription)
            }

            print("[Generated New Token]", token)
        }

That logic will deliver the code to my email but will not present the enter code UI. If instead I use loginWithMagicLink, I see the UI as expected.
To Reproduce
Steps to reproduce the behavior:

Create a barebones project that initializes Magic in AppDelegate, with a viewController with a button that calls loginWithEmailOTP.
Press the LOGIN button.
See that you are not presented with Enter OTP Code UI.
See that you receive the email in your inbox.

Expected behavior
I expect to see the UI that allows me to enter my OTP code.
Environment

Package Version: Used to be 3.0, tried updating to 6.2, did not fix.
XCode Version: 14.2
Swift Version: 5.7
Simulator / Device OS: 16.

Hello @rig-0 thank you for reporting this issue. We are currently investigating and will follow up here.

FWIW, our Android developer just confirmed that he's seeing similar behavior. Please let us know if you need more details from his end.

@rig-0 Thank you for that. We should have a resolution pushed in the next hour.

Hello @rig-0 The changes were pushed recently. Would you mind check on this and let us know if you are still experiencing issues or if it now resolved for you?

It appears resolved on iOS @am-hernandez. Thanks so much to the team for your super fast help on this issue. Much appreciated. We will let you know if something else comes up but for now we can consider this resolved.


Spread operator does not correctly infer from Record types

TypeScript Version:  4.0.2 (& nightly 4.1.0-dev.20201005)

Search Terms: spread operator, record type, infer / inference / inferred
Code
const first: Record<string, string> = { foo: 'bar' };

const second = { ...first, baz: '' };

const third = { ...second, qux: '' };

console.log(third.baz);
console.log(second.foo);

Expected behavior: second is of type Record<string, string> & { baz: string}; analogous to third which is inferred as type { baz: string, qux: string }.
Actual behavior: second is of type { baz: string } and reports an error accessing any other member.
Playground Link: https://www.typescriptlang.org/play?ts=4.1.0-dev.20201005&ssl=1&ssc=12&pln=1&pc=36#code/MYewdgzgLgBAZgSwE7QFwwEoFNRICYA80SCYA5gDQzGlkB8MAvDAN7wgjoDkARgIZIuMAL4BuAFDjQkWBBzg8TVjAB0axCihV+AL25Cxk6dBhQAFskXM2alXOl4qARwCuAD30iJU8BBAAbLBV-EDIACnNLFV0ASgljAKCQ8PsFFTgOOPEgA

Duplicate of #27273


Unable to Set the value in Game Settings

I am unable to disable setting such as Hatch time and stamina drain, as I am unable to set the values to 0 in the game settings tab.

So I was able to set it up to use the zero value, however when it save the fields go blank.  If I do set pal stamina decrease to 0 and save. It will work, however when a change another setting and save it, the pal stamin will come back.

I'll take a look when I have the time, thanks!


[documentation] Keycloak docs

Need to add some details to the online documentation around Keycloak, particularly from the dev side: what questions does Keycloak answer, and why did we choose Keycloak in particular?

Is this related to #1030?

How to add users to Keycloak.

Things that are currently missing from the docs and need to be ready for the 0.4 release:

ensure that the user is added to the group /viewer, /developer, or /admin. Viewer is readonly and does not have jupyterlab access. If this is not set the user wlll not be able to access resources
how to add new groups. New groups must be added to /projects/<group-name> in the heigharchy. When a user is added to the group they must reauth (login/logout) to refresh their keycloak credentials/userinfo.
how to add users to a given group


Add support for IPv6 addresses in ssh ** command

Without this patch, IPv6 addresses are not parsed completely in the ssh known_hosts file.
Signed-off-by: Sam Van Den Berge<EMAIL_ADDRESS>

Merged, thanks.

@junegunn I'm affraid I made a mistake. With this commit, I broke support for hostnames containing a hyphen (e.g. my-host-name). This is because for the grep command, in bracket expressions, the hyphen acts as a range expression, unless it's located as the last character where it's interpreted as a literal.
So, for this patch to be correct, the colon should be placed in front of the hyphen. What do you suggest I should do?

So, for this patch to be correct, the colon should be placed in front of the hyphen.

That will do. Will you send me a new pull request for the master branch? I just realized that I made a mistake of merging this only to devel branch instead of master.


Q: Email validation

Versions

vee-validate: 2.1.0-beta.2
vue: 2.5.7

Describe the bug
Used the email validation but it doesn't consider some valid emails such as:
<EMAIL_ADDRESS>It considers:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Reproduce
Steps to reproduce the behavior:

Create an input type email (see code snippet)
Type<EMAIL_ADDRESS>
Expected behavior
No error message will pop-out
Desktop (please complete the following information):

OS: Ubuntu 16.04 LTS
Browser: Chrome v67.0.3396.87

Additional context
Here's the code snippet:
<input  type="email"   id="email"  name="email"  class="form-control"  placeholder="Email "  v-model="user.email"  v-validate="'required|email'"  />  {{ errors.first('email') }}

We use validator.js for email check, apperantly, Gmail accounts must have
more than 5 characters before the@ sign since they are not realistically
correct.
On Tue, 19 Jun 2018, 03:37 gms-aws-kyl<EMAIL_ADDRESS>wrote:

Versions

vee-validate: 2.1.0-beta.2
vue: 2.5.7

Describe the bug
Used the email validation but it doesn't consider some valid emails such
as:
<EMAIL_ADDRESS>It considers:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Reproduce
Steps to reproduce the behavior:

Create an input type email (see code snippet)
Type<EMAIL_ADDRESS>clear and concise description of what you
expected to happen.

Expected behavior
No error message will pop-out
Desktop (please complete the following information):

OS: Ubuntu 16.04 LTS
Browser: Chrome v67.0.3396.87

Additional context
Here's the code snippet:

{{
errors.first('email') }}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/baianat/vee-validate/issues/1412, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-KSgdAOQQWOfEf5beFVq3veFEVO3a2ks5t-FXdgaJpZM4Ust06
.


Fix gradient descent example for Python 3

The example producing Figure 8-3 in the book doesn't work in Python 3, apparently because the iterator returned by map() doesn't work with pyplot, so using a list comprehension here instead.

I was finding the way to fix this by including map into list which is absolutely working but not an efficient idea.
Thank you for suggesting me a better way :)

Just wanted to say thank you to naoyak! This one really had me scratching my head when I first encountered it.


Mekanism corrupting world

Issue description:
After adding Mekanism into my modpack and loading an existing world the whole world gets corrupted; totaly unstable and laggy, most blocks have been changed into other blocks
note: newly generated worlds work fine
EDIT: https://gyazo.com/de3a82d01525b1612db7727b823e67d2 this is what happens to my world once i install mekanism
Version
Forge: <IP_ADDRESS>72
Mekanism: <IP_ADDRESS>9
can provide complete modlist if necessary
would appreciate any help, im out of ideas

yeah, the log that message mentions? gonna need to see it.

latest.log
wasnt able the answer, sry ^^ took some time but finaly managed to find that damn log i guess

20:57:27] [Chunk Batcher 14/ERROR] [CodeChickenLib]:
 CCL has caught an exception whilst rendering a block
  BlockPos:      x:-6351, y:14, z:1749
  Block Class:   class com.carpentersblocks.block.BlockCarpentersPressurePlate
  Registry Name: carpentersblocks:carpenters_pressure_plate
  Metadata:      0
  State:         carpentersblocks:carpenters_pressure_plate[facing=down]
 Tile at position
  Tile Class:    null
  Tile Id:       null
  Tile NBT:      null

Seems Carpenter's Block are your problem


Expose some fields of GDBusNodeInfo

This exposes fields as functions:

path
interfaces
nodes

Not totally sure whether ownership semantics are correct.

Thanks!


Range API

issue https://github.com/Yiling-J/theine-go/issues/13

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.09 :tada:

Comparison is base (c3ebe6d) 95.65% compared to head (5f1cfdf) 95.75%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   95.65%   95.75%   +0.09%
==========================================
  Files          12       12
  Lines        1198     1225      +27
==========================================
+ Hits         1146     1173      +27
  Misses         36       36
  Partials       16       16

Impacted Files
Coverage Δ

cache.go
100.00% <100.00%> (ø)

internal/store.go
98.50% <100.00%> (+0.09%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


DBC22-924: sort cameras list by highway property to make sure renderi…

…ng order is consistent
DBC22-924: sort cameras list by highway property to make sure rendering order is consistent

queryset = Webcam.objects.all().order_by("highway", "highway_cam_order", "id")

This is the line that needs to be changed. Look at the data and see how we can order this properly by number - highway is a char so it ranks 11/12/13 before 2.

https://stackoverflow.com/questions/2969348/django-ordering-numerical-value-with-order-by
This is what we have to do instead. Please revert this one and sort on the backend instead.


Add enums for Daikin (Altherma 3)

@jwillemsen fyi. What would be the name of your 'DAIKIN hub'? Is there a specific hub or dongle required.

Each Daikin device has a wifi module, some out of the box, some are optional. They all result in the availability of the device in the Daikin Onecta app, maybe call the hub 'daikin_onecta'?


All snippets for XML

All snippets for XML don't work!

Hi Rafael, could you send more details please? Like your ST and Package Control version?


index.js fix

Line 5 in index.js is missing a slash and should be updated to:
mongoose.connect(process.env.COSMOSDB_CONNSTR+"/"+process.env.COSMOSDB_DBNAME+"?ssl=true");
Without this the database name passed from .env is ignored and defaults to the "admin" DB.

@SnehaGunda I'm also having issues with the connection but in a different place. The code as written doesn't connect for me but throws errors. If I change the connection to include 3 properties it works. The following is the working/updated code:
mongoose.connect("mongodb://"+process.env.COSMOSDB_HOST+":"+process.env.COSMOSDB_PORT+"/"+process.env.COSMOSDB_DBNAME+"?ssl=true&replicaSet=globaldb", {
  auth: {
    user: process.env.COSMODDB_USER,
    password: process.env.COSMOSDB_PASSWORD
  },
useNewUrlParser: true,
useUnifiedTopology: true,
retryWrites: false
})
.then(() => console.log('Connection to CosmosDB successful'))
  .catch((err) => console.error(err));