Default code

It would be great to have a default code option so that new fields can be pre-populated. Thanks for your work :)

I thought about this, but couldn't come up with a use case. What is it you're wanting to do?

My use case is that I'm allowing Content Editors to embed YouTube videos (and other stuff).

Released as 3.0.8 & 4.0.8

Works perfectly.. thank you!!


hx562dc1e2c7897432c298115bc7fbcc3b9d5df294 has to token transfers

https://tracker.icon.foundation/address/hx562dc1e2c7897432c298115bc7fbcc3b9d5df294

This might be fixed with a resync, transaction in transactions table, but not in token_transfers table


Decide on custom assembly format for VHLO

Request description
VHLO (Versioned StableHLO, https://github.com/openxla/stablehlo/pull/278) currently uses generic printing for as many ops, attributes, and types as possible. Assembly format has no stability guarantees, so we can make this look however we want.

VHLO as a guideline is not intended to be read / edited and will not have prettyprint. Exceptions to this rule are cases which inhibit debuggability of serialization issues, or testability. One such example is VHLO FuncOp, where it is highly beneficial to see a function name before the body, as opposed to scrolling to the end to see what function one is looking at.


feat: disable greeting

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

v1.8.0
v1.8.0
GitHub release

Your semantic-release bot :package::rocket:


Installation issues

ubuntu: 20.04
Kubeclipper: v1.1.0
Environment
Use account ubuntu to install with full sudo permission.
Issue1.
[2022-09-22T07:37:00Z][FATAL] [<IP_ADDRESS>]deploy etcd failed due to (run echo $PASSWD | sudo -S /bin/bash -c "echo '# /usr/lib/systemd/system/kc-etcd.service [Install] WantedBy=multi-user.target' > /usr/lib/systemd/system/kc-etcd.service" &&echo $PASSWD | sudo -S systemctl daemon-reload &&echo $PASSWD | sudo -S systemctl enable kc-etcd --now on<EMAIL_ADDRESS>err: /bin/bash: line 16: /usr/lib/systemd/system/kc-etcd.service: No such file or directory
ll /usr/lib/systemd/
total 36
drwxr-xr-x 9 root root 4096 Jul 5 01:08 ./
drwxr-xr-x 72 root root 4096 Jul 5 01:13 ../
drwxr-xr-x 3 root root 4096 Aug 13 2019 boot/
drwxr-xr-x 2 root root 4096 May 27 02:53 catalog/
drwxr-xr-x 2 root root 4096 Jul 5 01:09 logind.conf.d/
drwxr-xr-x 4 root root 4096 Jul 6 01:12 user/
drwxr-xr-x 2 root root 4096 Jul 6 01:12 user-environment-generators/
drwxr-xr-x 2 root root 4096 Apr 20 2018 user-generators/
drwxr-xr-x 2 root root 4096 May 27 02:53 user-preset/
The reason is no system folder under the /usr/lib/systemd/, use sudo mkdir /usr/lib/systemd/system to fix it.
Issue2.
Due to installing failure, reinstall it and got below.
Length: 813815019 (776M) [application/x-gzip]
kc-amd64.tar.gz: Permission denied
Cannot write to ‘kc-amd64.tar.gz’ (Success).
[2022-09-22T07:44:38Z][FATAL] os call error. exit status 3
The reason is it doesn't clean up the /tmp/kc*, before installation, use sudo rm -rf /tmp/kc* to fix it.

@btcoolboy Thanks for your feedback.
we track issues in kubeclipper. If you have other feedback, please create an issue in this repository
I create new issue https://github.com/kubeclipper-labs/kubeclipper/issues/229 to track this.

/close


Prove recording rule to cluster monitoring operator

We determined that the current path for sending the usage metrics to the
cluster monitoring was too long -- it's simpler to just evaluate the
recording rule on the operator end. This change makes it so.
Signed-off-by: Anish Asthana<EMAIL_ADDRESS>

/hold


RabbitMQ Support

I have an already existing spring boot application that listens to RabbitMQ queue. It consumes a specific message (wrapped in CloudEvent) under specific topic. Can this generator assist me in exposing it as AsyncApi?  Does it respect CloudEvent object?

Opened a new project for rabbit, thanks for the contribution.

Rabbitmq support has been added.


sparkler: KVM_GET_SUPPORTED_CPUID increase cpuid->nent: Argument list too long

I ran into this error which is a return of E2BIG with kernel 5.9.12.  Documentation says:

Userspace invokes KVM_GET_SUPPORTED_CPUID by passing a kvm_cpuid2 structure with the ‘nent’ field indicating the
number of entries in the variable-size array ‘entries’. If the number of entries is too low to describe the cpu capabilities, an error
(E2BIG) is returned. If the number is too high, the ‘nent’ field is adjusted and an error (ENOMEM) is returned. If the number is just
right, the ‘nent’ field is adjusted to the number of valid entries in the ‘entries’ array, which is then filled.

The magic number seems to be anything 45 and above, I chose 100 and everything works fine.  I'm just posting this in case someone comes along and runs into the same issue.
Thanks for the great article!

Thank you. Changed 'nent' to 100 and committed.

Thank you. Changed 'nent' to 100 and committed.


Azure Fucntions, Impossible to load System.Security.Cryptography.X509Certificates 4.3.0 works with 4.1.0

Investigative information
Debugging locally using Visual Studio 2017 15.3.3 (up to date, public ring) windows 10.0.15063x64
Repro steps
Create a new Azure Functions project from Visual Studio, (C#). (.net 4.6.1)
Create a library project (.net standard 1.4)
Reference System.Security.Cryptography.X509Certificates in your library project.
Reference the class that references Cryptography in your function.
Start Debugging.
Expected behavior
Code to run properly
Actual behavior
Getting following error message in Functions console:
2017-09-06 4:53:31 PM] A ScriptHost error has occurred
[2017-09-06 4:53:31 PM] Exception while executing function: RenewSubscription. AuditLogExport.Authentication: Could not load file or assembly 'System.Security.Cryptography.X509Certificates, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
[2017-09-06 4:53:31 PM] Exception while executing function: RenewSubscription
[2017-09-06 4:53:31 PM] Exception while executing function: RenewSubscription. AuditLogExport.Authentication: Could not load file or assembly 'System.Security.Cryptography.X509Certificates, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
[2017-09-06 4:53:31 PM] Function completed (Failure, Id=4f1a6edf-07e6-4bea-9270-54b515ae28a4, Duration=14617ms)
[2017-09-06 4:53:31 PM]
[2017-09-06 4:53:31 PM] Executed 'RenewSubscription' (Failed, Id=4f1a6edf-07e6-4bea-9270-54b515ae28a4)
[2017-09-06 4:53:31 PM] mscorlib: Exception while executing function: RenewSubscription. AuditLogExport.Authentication: Could not load file or assembly 'System.Security.Cryptography.X509Certificates, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
[2017-09-06 4:53:31 PM]   Function had errors. See Azure WebJobs SDK dashboard for details. Instance ID is '4f1a6edf-07e6-4bea-9270-54b515ae28a4'
[2017-09-06 4:53:31 PM] mscorlib: Exception while executing function: RenewSubscription. AuditLogExport.Authentication: Could not load file or assembly 'System.Security.Cryptography.X509Certificates, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Known workarounds
Installing nuget System.Security.Cryptography.X509Certificates, Version=4.1.0 in the functions project, it has the side effect of bringing that warning on build time.
Severity	Code	Description	Project	File	Line	Suppression State
Warning	NU1605	Detected package downgrade: System.Security.Cryptography.X509Certificates from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
 AuditLogExport (>= 1.0.0) -> AuditLogExport.TableStorage (>= 1.0.0) -> NETStandard.Library (>= 1.6.1) -> System.Security.Cryptography.X509Certificates (>= 4.3.0)
 AuditLogExport (>= 1.0.0) -> System.Security.Cryptography.X509Certificates (>= 4.1.0)	AuditLogExport	\AuditLogExport\AuditLogExport\AuditLogExport.csproj	1
Warning	NU1605	Detected package downgrade: System.Security.Cryptography.X509Certificates from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
 AuditLogExport (>= 1.0.0) -> AuditLogExport.Core (>= 1.0.0) -> NETStandard.Library (>= 1.6.1) -> System.Security.Cryptography.X509Certificates (>= 4.3.0)
 AuditLogExport (>= 1.0.0) -> System.Security.Cryptography.X509Certificates (>= 4.1.0)	AuditLogExport	\AuditLogExport\AuditLogExport\AuditLogExport.csproj	1
Warning	NU1605	Detected package downgrade: System.Security.Cryptography.X509Certificates from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
 AuditLogExport (>= 1.0.0) -> AuditLogExport.Authentication (>= 1.0.0) -> NETStandard.Library (>= 1.6.1) -> System.Security.Cryptography.X509Certificates (>= 4.3.0)
 AuditLogExport (>= 1.0.0) -> System.Security.Cryptography.X509Certificates (>= 4.1.0)	AuditLogExport	\AuditLogExport\AuditLogExport\AuditLogExport.csproj	1
Warning	NU1605	Detected package downgrade: System.Security.Cryptography.X509Certificates from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
 AuditLogExport (>= 1.0.0) -> Microsoft.NET.Sdk.Functions (>= 1.0.2) -> Microsoft.Azure.WebJobs (>= 2.1.0-beta1) -> Microsoft.Extensions.Logging.Abstractions (>= 1.1.1) -> NETStandard.Library (>= 1.6.1) -> System.Security.Cryptography.X509Certificates (>= 4.3.0)
 AuditLogExport (>= 1.0.0) -> System.Security.Cryptography.X509Certificates (>= 4.1.0)	AuditLogExport	\AuditLogExport\AuditLogExport\AuditLogExport.csproj	1

Note: installing 4.3.0 (which is supposed ot be part of what you get with standard 1.4) causes the same issue.
Note: referencing system.security the assemblies section of the functions project doesn't solve the issue.
Note: doing anything in the library project around nugets for System.Security.Cryptography.X509Certificates doesn't solve the issue.
Related information
Provide any related information

Source
// function code
public static async Task Run([TimerTrigger("0 * * * * *")]TimerInfo myTimer, TraceWriter log)
        {
            using (var client = await authenticationProvider.GetContext())
{
///
}
}
//auth provider getcontext method
public async Task<HttpClient> GetContext()
{

                    var storeName = StoreName.My;
                    var storeLocation = StoreLocation.CurrentUser;

                    using (var certStore = new X509Store(storeName, storeLocation))
                    {
                        certStore.Open(OpenFlags.ReadOnly);

                        var certCollection = certStore.Certificates.Find(
                            X509FindType.FindByThumbprint,
                            "SomeThumbPrintDoesMatterTheCodeDoesntEvenLoadAtThisPoint",
                            false);

                        // Get the first cert with the thumbprint
                        if (certCollection.Count > 0)
                        {
                            return certCollection[0];
                        }
                    }

                return null;
}

I am not super familiar with these libraries but I believe this behavior is expected due to our binding redirect on the System.Security.Cryptography.Primitives library going up to only <IP_ADDRESS> (see here).
You would need to be able to control assembly binding redirects yourself to address this. See #992. Closing as we do not maintain open issues for every different scenario blocked by lack of binding redirect support.

Thanks for getting back to me on this one.
So the solution are either:

Downgrade packages to have dependencies matching (may not be possible to have everything matching)
Wait for the .net core host with this workaround that throws warnings at build time
Write some code to do the binding redirect at start time

Thanks, I'll wait for the .net core host


ESP8266/Arduino

Hi
This may be a crazy question but is there any chance this may work on any of these devices ?
Thank you
Den

There's nothing that should prevent this library from working on an Arduino platform, but it isn't tested. I assume there is some CI tool that can help automated testing on non-x86, but haven't used any of them yet. I welcome any changes in this category.


How can we usine in JS project can someone provide any basic structure to implement

This can only be used with React.
Here are the links to the example implementation:
https://github.com/alan2207/react-query-auth/tree/master/sample-app
https://codesandbox.io/s/react-query-auth-demo-fvvvt

Sorry I was asking for React project based on JS, not in typescript , but some how I setup it on React(js) project

I see. Of course it can, everything will work the same.

Can you try this?:
https://stackoverflow.com/a/34563571

Can you try this?:
https://stackoverflow.com/a/34563571

Yes Worked  as mentioned in Solution
also there is another solution on same thread that is
import react from react  in  react-query.js
import React from 'react';
import { QueryClient, QueryClientProvider } from "react-query";
// import { ReactQueryDevtools } from 'react-query/devtools';
export const queryClient = new QueryClient();
export function ReactQueryProvider({ children }) {
return (

{/*  */}
{children}

);
}
Thanks, @alan2207


Traversal bug in 1.1.42

I think there is a problem in Joern in v1.1.42. According to the new documentation https://docs.joern.io/upgrade-guides, filter and where have been swapped.
filter now takes a boolean predicate
filter(A => Boolean)

and where takes a traversal
where(trav: Traversal[A] => Traversal[_])

This was working fine upto some point but breaks in v1.1.42. For the example,
int main() {
    char *x = malloc(1024);

    x[0] = 0;
    x[1] = 1;
    x[2] = 2;

    free(x);
    return 0;
}

For v1.1.33, everything works as expected
joern> cpg.call.name("free").where(_.argument.order(1).isIdentifier)
res2: Traversal[Call] = Traversal

joern> cpg.call.name("free").where(_.argument.order(1).isIdentifier).l
res3: List[Call] = List(
  Call(
    id -> 1000124L,
    code -> "free(x)",
    name -> "free",
    order -> 6,
    methodInstFullName -> None,
    methodFullName -> "free",
    argumentIndex -> 6,
    dispatchType -> "STATIC_DISPATCH",
    signature -> "TODO assignment signature",
    typeFullName -> "ANY",
    dynamicTypeHintFullName -> List(),
    lineNumber -> Some(12),
    columnNumber -> Some(4),
    resolved -> None,
    depthFirstOrder -> None,
    internalFlags -> None
  )
)

This doesn't work in v1.1.42
joern> cpg.call.name("free").where(_.argument.order(1).isIdentifier).l
cmd1.sc:1: type mismatch;
 found   : overflowdb.traversal.Traversal[io.shiftleft.codepropertygraph.generated.nodes.Expression]
 required: ?{def isIdentifier: ?}
Note that implicit conversions are not applicable because they are ambiguous:
 both method trackingPointToAstBase in package language of type [A](a: A)(implicit f: A => overflowdb.traversal.Traversal[io.shiftleft.codepropertygraph.generated.nodes.TrackingPoint])io.shiftleft.semanticcpg.language.types.expressions.generalizations.AstNode[io.shiftleft.codepropertygraph.generated.nodes.AstNode]
 and method toAstNode in trait LowLowPrioImplicits of type [A, NodeType <: io.shiftleft.codepropertygraph.generated.nodes.AstNode](a: A)(implicit f: A => overflowdb.traversal.Traversal[NodeType])io.shiftleft.semanticcpg.language.types.expressions.generalizations.AstNode[NodeType]
 are possible conversion functions from overflowdb.traversal.Traversal[io.shiftleft.codepropertygraph.generated.nodes.Expression] to ?{def isIdentifier: ?}
val res1 = cpg.call.name("free").where(_.argument.order(1).isIdentifier).l
                                                       ^
cmd1.sc:1: value isIdentifier is not a member of overflowdb.traversal.Traversal[io.shiftleft.codepropertygraph.generated.nodes.Expression]
val res1 = cpg.call.name("free").where(_.argument.order(1).isIdentifier).l
                                                           ^
Compilation Failed

This should work because isIdentifier returns a Traversal and not a Boolean.

Thank you for the good error report! I can reproduce and will TAL tomorrow.
The issue is somewhat related to the change you mention, but it's actual root is cause is an ambiguous implicit conversion.

@jaiverma this should be fixed in v1.1.43, which is being auto-released shortly.

@mpollmeier thank you, it is working in v1.1.43!


SCP-2692: add reference page on the cost model paramteters

Kenneth, there were a few where I didn't know what to say (marked ???), help me out!

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

there were a few where I didn't know what to say (marked ???)

I don't see any question marks.

Oh, I made them TODO because something didn't like the question marks. I'll ask you tomorrow.

While we're looking at this, it might be worth having a link to the online version in the README file.

While we're looking at this, it might be worth having a link to the online version in the README file.

It's literally the first link in the README :)

While we're looking at this, it might be worth having a link to the online version in the README file.

It's literally the first link in the README :)

Not that README, the other one!

I think the thing about the diagonal is the wrong way round.  I'll open a new PR to fix that. (Sorry for the late review...).


[ClangImporter] Use appropriate link name for export_as

Use appropriate link name for export_as.
Same as https://github.com/apple/swift/pull/15886, but abandoning the other one in favor of doing it on master directly.
rdar://problem/38269782

@swift-ci Please test


Introduce some additional labels in docs

For https://github.com/iiasa/message-ix-models/pull/157, we want to link to the message_ix docs via intersphinx. That works fine for the most part, but we are missing labels for some subsections, so they are not yet reachable via intersphinx. This PR adds these labels.
How to review

Read the diff and note that the CI checks all pass.
Check that the documentation is built without error.

PR checklist

[ ] Continuous integration checks all ✅
~[ ] Add or expand tests; coverage checks both ✅~ Only adding docs labels
[x] Add, expand, or update documentation.
~[ ] Update release notes.~ Only adding docs labels

The macos-py3.8 test is just flaky, so I'd merge without rerunning it to save some minutes.


Run workflow on all open PRs

This runs the build job on all open PRs which will include that from external repos. Addresses issue #33
You may have to update your settings to allow workflows to run - see https://github.com/Matthew-Wise/Umbraco-CSP-manager/settings/actions and likely the section Fork pull request workflows from outside collaborators

Thanks for this, on further reading looking like I always have to hit approve and run, I am not going to merged this, as I think if an edit to the PR was made it would no longer run :(


Make link orange

Change color on dark-theme and light to orange, and delete ("work in progress") on navbar.
Delete picture meteorite of background.
Move the closing sidebar at the top left and move search bar on the left logo github and discord.
Add a button translation.

remove the translator.
Reduce the thickness of the orange bar of the selected sub-section
header : Remove bold for selected section.
change color sidebar (dark and white)

I've finish my tasks:
Put the font Barlow and put bold on the selected sub-section on lateral bar.

remove the underline of homepage and add hover orange on title.
remove bold on paragraph and change the font-size of sidebar.

After review of Fred i remove the extra spaces and extra comas.

Thanks for the changes @Joce31 😎
Could you please sign your commit with a GPG key?

i've finished my tasks of review from Fred.
i've incresead the font-size of navbar as requested by Marine.
i've deleted the font of the meteorit in the "custom.css".


Burrow 1.0 RC slack notifier with webhook

Hi,
in #260 the slack config seems to have moved away from using the webhook url to usimg the chat.postMessage Slack API, but it was more convenient to continue using the webhook url for slack? Seems like https://github.com/linkedin/Burrow/blob/burrow-1.0-RC/core/internal/notifier/slack.go does no allow for this at the moment.

Also, are there reference templates for slack notifier? I can pull them out of the tests or the pre1.0 branch too.

When I was reimplementing it, it seemed like the preferred way from Slack was to use chat.postMessage. As I don't directly use this notifier, I'm not sure of the difference between the two.
As far as templates, you can refer to the others when creating them. The template is used in Slack  to create the actual message that is sent (the text field). So it's pretty much free-form.

I just stumbled on this issue, after I created this PR #275 which kinda addresses this issue.
@toddpalino could you have a look?

Why not just use the http notifier in this case? I never really saw the utility in the slack notifier anyways, as it's just a specialization of the http notifier. We can just remove it entirely and add a doc (and even a sample template) that shows how to send to slack.

Closed by #278


OpenTelemetry support

Support of OpenTelemetry as instrumentation implementation
The OpenTelemetry client that will be used will make use of the prometheus exporter. That means that the documentation section currently built with Prometheus in mind can be reused as is.
Refactoring
To decouple the constants and metrics implementation from the code generation, the current Prometheus support is being refactored into an additional package. Currently the effect of the change can be checked by looking at the diff for the examples/web/cmd/main.go.orig file in the PR.
There is an additional package to import now, and the Init function to call needs to come from that package, and not the autometrics main one.
The reason there are 2 packages to use is mostly that:

the Init, Instrument, and PreInstrument functions can stay lean and only contain logic related to the metrics implementation (the choice between Otel and Prometheus is done at generation time, never at runtime)
the Context structure is still common for both the Otel and the Prometheus implementations, and we cannot reexport/reuse the types easily for both implementations.

Closes #19
Closes #25


Dev preview with big translations file ~500kb breaks project

Environment

Operating System: Linux
Node Version:     v19.8.1
Nuxt Version:     3.3.3
Nitro Version:    2.3.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      vite, components, server, target, head, loading, css, plugins, experimental, modules, content, sitemap, googleFonts, i18n
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://codesandbox.io/p/github/nuxt/starter/csb-cteu3e/draft/wizardly-silence?file=%2Fpackage.json&selection=[{"endColumn"%3A16%2C"endLineNumber"%3A5%2C"startColumn"%3A16%2C"startLineNumber"%3A5}]&workspace=%257B%2522activeFilepath%2522%253A%2522%252Fi18n.config.ts%2522%252C%2522openFiles%2522%253A%255B%2522%252FREADME.md%2522%252C%2522%252Fi18n.config.ts%2522%252C%2522%252Fpackage.json%2522%252C%2522%252Fnuxt.config.ts%2522%255D%252C%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522gitSidebarPanel%2522%253A%2522COMMIT%2522%252C%2522spaces%2522%253A%257B%2522clgh2m5dg00132v6jyq7zsd86%2522%253A%257B%2522key%2522%253A%2522clgh2m5dg00132v6jyq7zsd86%2522%252C%2522name%2522%253A%2522Terminal%2522%252C%2522devtools%2522%253A%255B%257B%2522type%2522%253A%2522TERMINAL%2522%252C%2522shellId%2522%253A%2522clgh2urmr00sn7mgt3jk05u9t%2522%252C%2522key%2522%253A%2522clgh2url001zr2v6j57tqpeu3%2522%252C%2522isMinimized%2522%253Afalse%257D%255D%257D%252C%2522clgh2zro702s42v6jrdoydymg%2522%253A%257B%2522key%2522%253A%2522clgh2zro702s42v6jrdoydymg%2522%252C%2522devtools%2522%253A%255B%255D%252C%2522name%2522%253A%2522New%2522%257D%252C%2522clgh300sb02vd2v6j67op0i1s%2522%253A%257B%2522key%2522%253A%2522clgh300sb02vd2v6j67op0i1s%2522%252C%2522devtools%2522%253A%255B%255D%252C%2522name%2522%253A%2522Preview%2520-%25203001%2522%257D%257D%252C%2522currentSpace%2522%253A%2522clgh2m5dg00132v6jyq7zsd86%2522%252C%2522spacesOrder%2522%253A%255B%2522clgh2m5dg00132v6jyq7zsd86%2522%252C%2522clgh2zro702s42v6jrdoydymg%2522%252C%2522clgh300sb02vd2v6j67op0i1s%2522%255D%252C%2522hideCodeEditor%2522%253Afalse%257D
import { LocaleMessage } from "@intlify/core-base"
import { I18nOptions } from "@nuxtjs/i18n"

export default defineI18nConfig( async (nuxt): Promise<I18nOptions> => ({
     messages:{
       en : await loadLocale("en"),
     },
}))

const loadLocale = async (locale: string): Promise<LocaleMessage> => {
  return new Promise(async (resolve, reject) => {

      const langFile = {
          very_long_message: 'x'.repeat(8*1024 * 500)
      }

    resolve(langFile)

  })
}

Describe the bug
With resonable amount of translations ~500kb I can't run:
 yarn run dev
Additional context
No response
Logs
Nuxi 3.3.3
Nuxt 3.3.3 with Nitro 2.3.3

  > Local:    http://localhost:3000/
  > Network:  http://<IP_ADDRESS>:3000/
  > Network:  http://[2a02:8308:308:a600:b41b:1f16:5da3:332d]:3000/

ℹ Vite client warmed up in 3688ms
[nitro] ✔ Nitro built in 877 ms
[Vue warn]: Property "$t" was accessed during render but is not defined on instance.
[nuxt] [request error] [unhandled] [431]  (431 Request Header Fields Too Large (http://localhost:3000/__nuxt_vite_node__/module/data:text/javascript;charset=utf-8,export%2520default%2520%257B%250A%2520%2520%2522en%2522%253A%2520%257B%250A%2520%2520%2522hot_info%2522%253A%2520(()%253D%253E%257Bconst%2520fn%253D(ctx)%2520%253D%253E%2520%257Bconst%2520%257B%2520normalize%253A%2520_normalize%2520%257D%2520%253D%2520ctx%253Breturn%2520_normalize(%255B%2522Interesting%2520stays%2520in%2520May%2520and%2520summer%2520is%2520starting%2520to%2520fill%2520up.%2520Don't%2520hesitate%2520with%2520your%2520vacation.%2522%255D)%257D%253Bfn.source%253D%2522Interesting%2520stays%2520in%2520May%2520and%2520summer%2520is%2520starting%2520to%2520fill%2520up.%2520Don't%2520hesitate%2520with%2520your%2520vacation.%2522%253Breturn%2520fn%253B%257D)()%252C%250A%2520%2520%2522hot_info_ok%2522%253A%2520(()%253D%253E%257Bconst%2520fn%253D(ctx)

...

 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async Object.fetchModule (./node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:41:14)
  at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:224:46)
  at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:159:14)
  at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:207:14)
  at async evalResource (./virtual:nuxt:/home/vesely/dev/personal/web-penzion/.nuxt/i18n.internal.mjs:389:12)
  at async Module.precompileMessages (./virtual:nuxt:/home/vesely/dev/personal/web-penzion/.nuxt/i18n.internal.mjs:434:33)
  at async __vite_ssr_exports__.default (./�@nuxtjs/i18n/__config__:16:23)
  at async vueI18nConfigLoader (./.nuxt/i18n.options.mjs:20:19)
  at async Module.resolveNuxtI18nOptions (./.nuxt/i18n.options.mjs:23:19)
[Vue warn]: Property "$t" was accessed during render but is not defined on instance.
[nuxt] [request error] [unhandled] [500] _ctx.$t is not a function
  at _sfc_ssrRender (./error.vue:15:47)
  at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:710:17)
  at renderComponentVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:644:16)
  at renderVNode (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:755:22)
  at renderComponentSubTree (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:719:13)
  at ./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:641:29
  at async unrollBuffer$1 (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:865:24)
  at async renderToString (./node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:907:20)
  at async Object.renderToString$1 [as renderToString] (./.nuxt/dev/index.mjs:4383:18)
  at async Object.renderToString (./node_modules/vue-bundle-renderer/dist/runtime.mjs:177:20)

Todo that was probably not checked:
https://github.com/nuxt-modules/i18n/blame/dd40bfea28c829a3ace5c27696301a633f2273c2/src/runtime/internal.ts#L508

same

As a workaround for local development I can recommend setting Server-Side-Rendering to false in nuxt.config.ts (ssr: false).
The issue is in the dynamic module resolution of nuxt when running with ssr enabled - not great, but works for now.

I've fixed this issue.
Please check edge channel 8.0.0-beta.11-28059008.d1499b6 version.
Thanks!

I've fixed this issue. Please check edge channel 8.0.0-beta.11-28059008.d1499b6 version. Thanks!

I tried to avoid this problem by lazily loading translation files

It looks like npx nuxi generate does not work:
` ERROR  [nuxt] [request error] [unhandled] [500] Unexpected token 'export'                                         18:48:08
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap. (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
├─ /i18n/prerender/ae32be2f.js (13ms) (Error: [500] ) `

Please check this commit. New doc info.
https://github.com/nuxt-modules/i18n/commit/f12b041f2c1de04abc9646776c4eae87a9d94779

Thanks @VeselyJan92 really helped me


Enabling jmx causing artemis command not to run

I've created container with ENABLE_JMX_EXPORTER=true option.  Everything is running fine but when connect to container and execute artemis command it throws error.
/var/lib/artemis/bin$ ./artemis
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
	at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at sun.net.httpserver.ServerImpl.bind(ServerImpl.java:133)
	at sun.net.httpserver.HttpServerImpl.bind(HttpServerImpl.java:54)
	at io.prometheus.jmx.shaded.io.prometheus.client.exporter.HTTPServer.<init>(HTTPServer.java:145)
	at io.prometheus.jmx.shaded.io.prometheus.jmx.JavaAgent.premain(JavaAgent.java:49)
	... 6 more
FATAL ERROR in native method: processing of -javaagent failed
Aborted (core dumped)

Any idea on how to fix this error?
I was expecting to see the command line help when I run the artemis command.  If I don't set the ENABLE_JMX_EXPORTER to true then the command works just fine.

Hi @kesavkolla,
I'm afraid I don't fully understand your process or why you manually try to start an already started artemis. Could you please share exact reproduction steps?
Also try to run like this docker run -it --rm -e ENABLE_JMX_EXPORTER=true vromero/activemq-artemis:2.6.4


Build script fixes

change npm link commands to specifically target packages using the @continuedev scope to avoid naming-collisions with external packages with the same names
replace npx pkg with an explicit reference to the pkg executable script within node_modules, again because naming-collisions with the pkg dependency were causing issues.

Nice! Thank you for contributing this back : )


Documentation: show the default css classes on top of the rendered widget

@alexandremeunier had a good idea: actually show the rendered css classes names in the widget demo documentation. Maybe there are some already existing libs to do so.

This seems to have been addressed by @redox already.
See https://github.com/algolia/instantsearch.js/issues/424 for questions about how should handle the issues workflow


When I upload files, where do they live?

are these files Microsoft managed or can they hosted on one of my azure storage resources.

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

ID: 203de00d-2364-ba7a-00e8-b72eac5e4966
Version Independent ID: 0366ab22-d578-9142-34f6-fb25f13af15c
Content: How to create Assistants with Azure OpenAI Service - Azure OpenAI
Content Source: articles/ai-services/openai/how-to/assistant.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@grayjeremy threads, messages, and file related data is stored in Microsoft-managed storage. Bring your own storage is currently not available.

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

@grayjeremy
When you upload files to the Azure OpenAI service, they are stored in a storage account managed by Microsoft. You do not have the option to host these files on one of your own Azure storage resources.
The storage account used by the Azure OpenAI service is managed by Microsoft and is not accessible to customers. However, you can access the files you upload to the service through the OpenAI API.
Let me know if you have any further questions or concerns.

@grayjeremy
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@RamanathanChinnappan-MSFT the data privacy text (https://learn.microsoft.com/en-us/legal/cognitive-services/openai/data-privacy) does not mention anything about the assistant APIs.
How do I answer questions to customers like:

How can I control retention of files?
Who has access to these files?
Is MS-internal access subject to the same rules as the 30 day retention for abuse monitoring? - Especially the clause that only EEA employees would ever access the data
How can I implement data governance over the files uploaded here? Is there a connector for Purview planned? etc.

These are really important questions that my customers want answers for and currently there is no actionable information or documentation available - just some APIs that say "you can upload files here"

Hello @dasMulli,
Please go through below this document
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/assistant#supported-file-types
Please refer the Stack Overflow query for assistance. There, you can find the solution regarding the storage location of files uploaded and saved within Azure OpenAI Assistants.
https://stackoverflow.com/questions/77986927/in-azure-openai-assistants-when-i-upload-a-file-and-save-it-where-is-that-file-s/78020557#78020557


Create codecoverage and test packages for non-windows

PR Summary
Refactor the ci.psm1 to publish the code coverage and test packages.
Allow CodeCoverage configuration on non-windows.
PR Context
We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

@adityapatwardhan, your last commit had 1 failures in PowerShell-CI-static-analysis
Verify Markdown Links.Verify links in /home/vsts/work/1/s/README.md.https://windowsserver.uservoice.com/forums/301869-powershell should work
retry of URL failed with error:
at <ScriptBlock>, /home/vsts/work/1/s/test/common/markdown/markdown-link.tests.ps1: line 113
113:                                 throw "retry of URL failed with error: $($_.Message)"

@PoshChan please try static

@adityapatwardhan, I do not understand: please try static
Commands available in this repo for you:

retry <target> this will attempt to retry only the failed jobs for the target pipeline
rebuild <target> this will perform a complete rebuild of the target pipeline, rerun can be used in place of rebuild
Supported values for <target> which can be a comma separated list are: static,windows,macos,linux,all
get failures this will attempt to get the latest failures for all of the target pipelines
remind me in <value> <units> this will create a reminder that will be posted after the specified duration
<value> is a number, and <units> can be minutes, hours, or days (singular or plural)

@PoshChan please retry static

@adityapatwardhan, successfully started retry of PowerShell-CI-static-analysis

@adityapatwardhan, your last commit had 1 failures in PowerShell-CI-linux
Validate Update-Help from the Web for all PowerShell Core modules..Validate Update-Help for module 'Microsoft.PowerShell.Security' with scope as 'False'
Expected 1, but got 0.
at <ScriptBlock>, /home/vsts/work/1/s/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1: line 181
181:     $helpFilesInstalled.Count | Should -Be $expectedHelpFiles.Count

@PoshChan please retry linux

@adityapatwardhan, successfully started retry of PowerShell-CI-Linux

@adityapatwardhan  should this be 6.2.1-consider?

Marked it for 6.2.1-consider


Update CONTRIBUTING.rst

Is your feature request related to a problem? Please describe.
Currently CONTRIBUTING.rst instructs me to run python setup.py to build and test, but there is no setup.py
Describe the solution you'd like
I would like command line examples on how to build/test/lint the project and the documentation locally.
Describe alternatives you've considered
I have looked at setup.cfg and pyproject.toml. I see that the build tool is flit. I can make up a venv and run flit install --deps all, but then pytest still fails with No module named 'selenium'. I can sort of get a sphinx build of the documentation running with sphinx-build -b html docs /tmp/test but that doesn't pull in the code commentary correctly.

Thanks for alerting me about this. I rewrote this bit, to reflect the modern packaging setup.


when i upload PNG image using refile,minimagick it just goes blank.

when i upload PNG image using refile,minimagick it just goes blank.
features of png image  which goes blank is bellow
black-and-white image
PNG image

sample image
wget -O test.png https://cloud.githubusercontent.com/assets/7065149/24034983/e12bb0a4-0b36-11e7-910f-d62fcc00330e.png
at first, I had doubted this problem is related to imagemagick or libpng version.
but i could not this problem even it change any version.(https://github.com/ImageMagick/ImageMagick/issues/412)
my question is 2

is there anybody who are having the same problem?

could you get me a hint  how to do troubleshooting for resolve this problem?

@negabaro Does this problem only occurs with Black and White images?
Have you tried to test Refile / Imagemagick running at a server, other than your computer?

Closing due to the lack of activity, feel free to reopen if you find this again.


Incorrect method xmldoc comments for Nest.FilterDescriptor.HasParent

Method doc summary is a copy-paste from summary of HasChild<K> (selected lines are incorrect):

@v-karbovnichiy-parc, Which version of NEST are you using?

NEST 1.7.1

Thanks; this is fixed in NEST 2.x but looks like it's still there in the 1.x branch. I'll fix this now for the next release of 1.x.
Thanks again for reporting :+1:

Originally I reported about this code.

Thanks, fixed that too :smile:


MediaPlayer widget

playing a video or an audio is a feature that is very essential and most of apps need it, yet flutter doesn't have a way to handle it without third-party packages, i appreciate those people work on creating those packages but most of them have some flaws, so we just need a one way solution to play media and have controller over it like in notification bar or lock screen and having seek, loop, etc...features.

Hi @hiwa-jalal
video_player is a first party plugin,
what feature are you finding missing?
thank you

oh thanks, and yes i actually find that there is a lot of room for improvement and first i think it's name should be changed to media_player because at first glance you won't even think of it being capable to play audio, and also i think we should be able to control it through notification bar and lock screen and if it can provider a basic player interface like exoplayer does then it will be amazing.

@hiwa-jalal
follow up on the media lock screen request https://github.com/flutter/flutter/issues/40722
and the seek bar request https://github.com/flutter/flutter/issues/33338 (since not implemented, you can consider to use a 3rd party plugin with a seek bar, for example chewie).
Please create separate issues for controls in notification bar and renaming (or other, if they are not already filed).
Closing since initial issue was answered,
if you disagree please write in the comments and I will reopen it
Thank you

thank you.


Case insensitivity

Turn on case insensitivity by default and only on if flag or uppercase in search term

Fixed in latest push


fixes #345: panic when resp == nil

#345

Thanks,
Wouldn't it be better to handle nil yourself in the handler?

Thanks,
Wouldn't it be better to handle nil yourself in the handler?

I think so too, but I think there is another bug corresponding to this one:
If the response is nil the following lines will end in a panic in Line 132:
https://github.com/elazarl/goproxy/blob/6125c262ffb039dd0fdb9ba51987c0ac57b4a124/proxy.go#L130-L132

@elazar-lb @azak-azkaran that's the exact problem. Nil can not be handled by client, that why this pr is necessary

I see, is there a PR solving the panic only?
On Thu, Jul 4, 2019 at 12:42 PM Kobi<EMAIL_ADDRESS>wrote:

@elazar-lb https://github.com/elazar-lb @azak-azkaran
https://github.com/azak-azkaran that's the exact problem. Nil can not
be handled by client, that why this pr is necessary
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/pull/346?email_source=notifications&email_token=AAB7RIVBKJYP3KKHBMYHXEDP5XAWVA5CNFSM4HXO3TE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZG5HWY#issuecomment-508416987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB7RIQVFQ7BKTW5TKMTWK3P5XAWVANCNFSM4HXO3TEQ
.

I think if we move the error handling:
https://github.com/elazarl/goproxy/blob/6125c262ffb039dd0fdb9ba51987c0ac57b4a124/proxy.go#L121-L125
The solution becomes cleaner, what do you think?
I added my proposed solution and a test case in the provided file: 345.txt

@azak-azkaran looks better, i'll update
And yes, it solves the panic


API page on website.

This PR adds an API page to the website, and also fixes #76 .

Would you please remove the twitter part?

I think we should also provide some output example and links example including both human readable version and not.

@PeterDaveHello I'll get that done now.

@willyb321 Btw, would you please the screenshot here so the others can join the discussion easily?  Thanks.

@PeterDaveHello Here is a screenshot of the page currently.

Alright I reckon I've got the examples down.

it comes You can "search" cdnjs via our API: with the url not searching search, should adjustment this part.

Can we just put some examples directly in the same page but not only the links?

Do you mean an iframe or an image or ?

it comes You can "search" cdnjs via our API: with the url not searching search, should adjustment this part.

Fixed.

The output indent looks strange here?

Fixed
@PeterDaveHello

@willyb321 I mean just a code block as the same output from api :)

@PeterDaveHello ah yes didn't think of that, will do.

Ok, code blocks for api are done. Here is a snippet from the page.

Looks like there are some unnecessary blank lines.
I think we can remove (minified) since that's what the API will do originally.
For the human-readable output, let's also apply hightlightjs syntax hightlight.
Please also display the whole url with query strings in examples without just links.

Looks like you cut some of the partial output in the codeblock, I'm not sure if this could be good for us, will think about it, we could work on the other parts first.

We should also update the route in apiServer.js to redirect api.cdnjs.com to here.

@willyb321 btw, please add (I added them for you already) ! in the picture syntax for screenshot so that we can preview it directly, thanks.

Ok will get that done in the morning.

@willyb321 No problem!

@PeterDaveHello Ok, I've done 1,2,3,4. Do tell me if theres anything else you need.

Here is a screenshot for the current page.

Ok will get that fixed. Just commuting atm.

Ok I think thats what you wanted.

@PeterDaveHello do you mean all the url's or just the ones in the example section?

@willyb321 the examples, thanks

@PeterDaveHello ok done.

@willyb321 can we use some more precise query like https://api.cdnjs.com/libraries?search=ractive, so that we don't need to cut out the results in the codeblocks? Thanks.

@PeterDaveHello ok, done.

@willyb321 Thanks for your super prompt reply!

@willyb321 Looks like the highlight isn't working?
BTW, in the examples, would you please move the  link tag from the "text" to the "url"? Thanks.

I would like to update the heading part to:
--
You can query cdnjs via our API as below
Without any query parameters it will return the name and main file URL of every library on cdnjs:
https://api.cdnjs.com/libraries
To search, use:
https://api.cdnjs.com/libraries?search=[query]

API will reture minified result by default, if you wanna have a human readable result, try output=human like so:
->
API will reture minified result by default, if you wanna have a human readable result, try output=human like so:

@PeterDaveHello For the example output been cut out, please add notes about that so that user won't feel strange :0

@PeterDaveHello ok, done!

@willyb321 Since not all of them?

@PeterDaveHello if you are talking about the cut out, I ended up fixing that so that I didn't need to cut out anything.

@willyb321 and the links and highlight :)

@PeterDaveHello oh, oops!

@PeterDaveHello Ok, I've got that done. Sorry about the slow reply, fell asleep lol.

@willyb321 no worry at all, don't need to be nervous :)

The url, fields block, should we use <code> there? I thought the hightlight apply not suitable style to them.

@PeterDaveHello I reckon its fine as is.

The link part in example, actually I hope the <a> for link only apply to the url part inside (&)

@willyb321 For the example output been cut out, please add notes about that so that user won't feel strange :0

This part I didn't see the update yet.

@PeterDaveHello ok so something like this ?

@willyb321

Specific Library Assets (https://api.cdnjs.com/libraries?search=mustcache)

@PeterDaveHello ok thats all done. Here's an image

@willyb321 Thanks

@PeterDaveHello ok so is that all you need?

@willyb321 the indent in human readable result is wrong.

@PeterDaveHello ok that should be better.

@PeterDaveHello Ok, that should now be fixed.

 is a pic

@willyb321 thanks, hope this is the final fix:
The example output in All Libraries part, would you please use the same content for human readable part?
BTW, would you please squash/fixup these commits into a single commit? Thanks.

@PeterDaveHello ok its squashed now, and the example is the same.

Awesome, @willyb321 thank you for your patience and contribution!


Langchain Dependencies Cause Segfaults in Jest

For some reason Langchain modules break my TS tests running Jest, specfically getTexts() from util.ts breaks because it calls new RecursiveCharacterTextSplitter().

This'll hopefully get fixed when Langchain hits 1.0

Sovled! I kept getting a segfault error, turns out jest was having a hard time with imports, so I had to follow: https://jestjs.io/docs/ecmascript-modules and use babel instead of ts-jest. Also needed to configure tsconfig to Langchain: https://js.langchain.com/docs/getting-started/install#esm

Nevermind, still segfaults.


Fix macos

add description

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Fix project view

inside the projector:

[ ] Two countdowns should not overlap if they are both projected in fullscreen-mode
[ ] a countdown should not overlap with the clock, recreatable

message editor:

[ ] messages should have (an optional) title, with which they are identifiable in the projector/detail view. the title should not be displayed when the message is projected but it should be the name the message is listed under

In the 'open project dialog'-dialog if a countdown is already projected the dialog should 'remember':

[ ] if it's fullscreen
[ ] the already slected display type

In the 'edit'-dialog:

[ ] 'countdown time*' should be changed to 'countdown time (m:ss) *'

messages should have (an optional) title, with which they are identifiable in the projector/detail view. the title should not be displayed when the message is projected but it should be the name the message is listed under

This requires a backend change, is this really needed? Currently, the message is identified by its content and it looks sufficient to me.

Additionally, this is a separate feature and should not be mixed with the other bugfixes in this issue.

Okay, it's not necessary. I'll delete it from this issue.


Mixing HTML + JS buttons on the same page results in only the JS buttons rendering

This issue can be seen on https://paybutton.org.

I think this was actually fixed in February and I was just testing on an older build.


Issue with "Classification and Mapping" in @site/docs/incidents/incident-classification-mapping.md

In the Classification section the page, the link in the last sentence - "For information about defining the incident type within the integration settings, see XSOAR Dev Hub." - does not take the reader to a specific example. It takes the user to the main dev hub page. And searching for the specific example from there is non-trivial.
The request is to fix the link so the user is taken to the exact information about 'defining the incident type within the integration settings'.

Page: Classification and Mapping
Source: https://github.com/demisto/content-docs/tree/master/docs/incidents/incident-classification-mapping.md

@urjitgokhale thanks for reporting this. We will add a better link.


How do I combine multiple routeNodes?

I'm creating routes on a separate files like MessagesRoute and UsersRoute.
There, I'm exporting routeNode('messages') & routeNode('users')
Now when I render both<MessagesRoute /> and <UsersRoute /> both of them are activated and even though one matches, other one shows Not Found page.
Is there a way to combine those two nodes? Is there a project (Not example project) using this router?
TIA.

Hi, can you show me some code? React example is here: https://github.com/router5/examples/tree/master/apps/react

@troch thanks for instant reply, here's a POC I wanted to do: https://github.com/cyberhck/router5-poc/tree/e8e80b1672d71669e4099808f9f4fe1e72e2547e
There in src/Routes/ProductRoutes.tsx and ``src/Routes/UserRoutes.tsxI've defined component for routing, but both of them are rendered insrc/App.tsx`, is there something like combine nodes?

I assume you don't want to repeat /users and /products in edit URLs.
export default [
    {name: 'users', path: '/users'},
-    {name: 'users.edit', path: '/users/edit'},
+    {name: 'users.edit', path: '/edit'},
    {name: 'products', path: '/products'},
    {name: 'products.edit', path: '/products/edit'}
-    {name: 'products.edit', path: '/products/edit'}
+    {name: 'products.edit', path: '/edit'}
];

The only reason for nesting routes is not nested URLs, but nested components. routeNode works for nested routes and avoids re-rendering of parts of your UI which are not concerned by a route change, and is used instead of withRoute (which re-render its wrapped component on every single route change).
Your components are not properly connected: App needs to be connected to node '', ProductRoutes needs to be connected to node 'product', etc...
I would encourage you to start with flat routes, use withRoute and as your app grows, start to make optimisations with routeNode and nested routes.

Okay, I made a some changes, basically for now, ProductRoutes and UsersRoutes merged to Routes, https://github.com/cyberhck/router5-poc/tree/e2c48064430521203a40d659e6c6b102ea96c8c6 and App connected to "", (I also tried without connecting), and now the navigation is broken (even when I click on link on /users page, it doesn't actually render anything.

@troch is it required to render inside router.start() method? or is it also possible to render just before calling router.start()?

It doesn't matter, inside or outside.

@troch thanks :) now it's working perfectly, canDeactivate and canActivate handlers are also working great, https://github.com/cyberhck/router5-poc/tree/0.0.1 is a good starting point for someone new to this repo and want to use with TypeScript. Will try router5-redux in a while.


Non-utf8 input on fulltext query in BOOLEAN mode

I am not sure this is a problem on Laravel/Eloquent itself, although I think it could maybe give some help to the developer in case this happens.
The "bad" fulltext boolean query used breaks because part of its mult-byte content is a fulltext operator itself.
Interestingly enough, running the same query via a client i.e TablePlus, the query runs properly - so it must be something on Eloquent <> PHP MySQL Driver <> MySQL to blame here.
> $s = '😊'

> strlen($s)
= 4

> mb_strlen($s)
= 1

> $s[0]
= b"ð"

> $s[1]
= b"Ÿ"

> $s[2]
= b"˜"

> $s[3]
= b"Š"

Assuming that because one of the multi-byte composing bytes is a tilde (~) that is messing with MySQL query interpretation.

I am not sure this qualifies as an issue to be opened here.
Pinging you @driesvints and @tpetry since you have implemented this for visibility in case you have seen/have a previous opinion on this one.

Well, closing this.
Turns out my well lived Laravel application - 6+ years in the making - is running with utf8mb3/utf8mb3_unicode_ci for the connection, as well as all of the current tables also are set up with them
That most likely why I could not reproduce here on the CI the same problem.
Leaving this here, might help someone some sunny day.


[BUG] Build aot file from conduit project not work

In project folder: conduit build -d .
Compiling...
*** Uncaught error
Bad state: Bad state: 'dart2native' failed with the following message: Info: Compiling with sound null safety
/tmp/build/packages/conduit_core/lib/src/runtime/compiler.dart:17:31: Error: Type 'Compiler' not found.
class ConduitCompiler extends Compiler {
^^^^^^^^
/tmp/build/packages/conduit_core/lib/src/runtime/compiler.dart:19:32: Error: Type 'MirrorContext' not found.
Map<String, dynamic> compile(MirrorContext context) {
^^^^^^^^^^^^^
/tmp/build/packages/conduit_core/lib/src/runtime/compiler.dart:48:30: Error: Type 'BuildContext' not found.
List getUrisToResolve(BuildContext context) {
and long long error info....
I build in mac os.
I also tried to build in Docker under Ubuntu 22.04
The result is the same
I also tried building the project with dartaotruntime command.
But got an error "import of dart:mirrors is not supported in the current Dart runtime"
This error is only for Conduit project.
A not Conduit project builds without problems.
There is a possibility to do aot file from Conduit project?

Update Conduit to 4.3.6. - fix problem


Hiero: "OCIO config" setting doesn't work

The "OCIO config" OP setting doesn't work

Workflow between Nuke and Nuke Hiero are now the same, none issue detected with bad colorspace.
Sounds good on my side. Need to be confirmed by people from editing or any people who are comfortable with OCIO in Nuke' environment.

Settings which has been modified appear in the 'TEST_OP2_PUB_23_7' project and need to be pushed on the 'Default' Project once it will be checked and approved.

Value apply in Default ans Silkies


Add kaldi template

Pull Request
Thank you for contributing to @dvcs/gitignore and https://www.gitignore.io.
New or update
Select the appropriate check box for this pull request. This helps when merging to ensure there are no conflicts with other templates or misunderstandings of how thee template list works.
New

[x] Template - New .gitignore template
[ ] Composition - Template made from smaller templates
[ ] Inheritance - Template similar to an existing template
[ ] Patch - Template extending functionality of existing template

Update

[ ] Template - Update existing .gitignore template

Details
Add kaldi template. Basically ignoring exp/ and data/ folders

Thank you for your contribution, @tjysdsg
Can you please elaborate a little, though?
For me it seems like having a two lines gitignore file is not worth the hassle of getting it from an automated tool like https://www.toptal.com/developers/gitignore.


Get-ItemPropertyValue includes an unwanted New-PSDrive name when being invoked and returned as a value for user-defined functions

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
While invoking Get-ItemPropertyValue function with New-PSDrive path as -Path parameter and having the function returned as a value for user-defined functions, PowerShell will include a New-PSDrive name along with the returned value.
Expected behavior
PS> function Get-MimeType {
>>     param([string]$FileExtension)
>>     New-PSDrive -PSProvider Registry -Name HKCR -Root "HKEY_CLASSES_ROOT"
>>     [string]$MimeType = Get-ItemPropertyValue -Path "HKCR:\$($FileExtension)" -Name "Content Type"
>>     Write-Host $MimeType
>>     Remove-PSDrive -Name HKCR
>>     return $MimeType
>> }
PS> [string]$MimeType = Get-MimeType -FileExtension ".pdf"
application/pdf
PS> Write-Host $MimeType
application/pdf

Actual behavior
PS> function Get-MimeType {
>>     param([string]$FileExtension)
>>     New-PSDrive -PSProvider Registry -Name HKCR -Root "HKEY_CLASSES_ROOT"
>>     [string]$MimeType = Get-ItemPropertyValue -Path "HKCR:\$($FileExtension)" -Name "Content Type"
>>     Write-Host $MimeType
>>     Remove-PSDrive -Name HKCR
>>     return $MimeType
>> }
PS> [string]$MimeType = Get-MimeType -FileExtension ".pdf"
application/pdf
PS> Write-Host $MimeType
HKCR application/pdf

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.5
PSEdition                      Core
GitCommitId                    7.4.5
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

The behavior is as designed:
Any output from a function  or script - be it from a PowerShell command, an operator-based expression, or a .NET method call - that is neither captured in a variable nor redirected (sent to a file or via the pipeline to another command) is implicitly output from a script or function.
To simply discard such output, use $null = ....
If you don't discard such output, it becomes part of a script or function's "return value" (stream of output objects), which is not limited to what is passed to an - optional - return statement.
In the case at hand, this applies to the output from your New-PSDrive call.
For more information, see this Stack Overflow answer.


[MB-5824]Truss-IS3 as code owners of cATO related files

Description
Changed codeowners of cATO related files (lint, config) to Truss-IS3
Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-5824

  Generated by :no_entry_sign: dangerJS against 30e75d3c32c28207e1db2a3b0806472d44007a8d


Kaggle issue

Hello, so I am having an issue running EasyDel on Kaggle TPUs, namely, that the jupyter kernel dies while importing the libraries.

!pip install jax[tpu]==0.4.17 -f https://storage.googleapis.com/jax-releases/libtpu_releases.html -U -q
!pip install tensorflow --upgrade -q

use this and the issue will be fixed

!pip install jax[tpu]==0.4.17 -f https://storage.googleapis.com/jax-releases/libtpu_releases.html -U -q
!pip install tensorflow --upgrade -q

use this and the issue will be fixed

I think I was missing the tensorflow upgrade.
Trying it right now.


Incorrect information regarding max number of conditions and actions per rule

Unless I'm doing something wrong, I seem unable to add more than 4 conditions and 3 actions as shown in this screenshot. The documentations says 10 conditions and 5 actions (maximum) per rule.
I'd love to update the docs, but I'm hoping I'm wrong and I can have more conditions and actions per rule :D

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

ID: a2dc930c-33a3-d54e-2253-1b1b5a693c17
Version Independent ID: 7dc5aee5-f473-10c8-5299-d5d0b52b7077
Content: Standard rules engine reference for Azure CDN
Content Source: articles/cdn/cdn-standard-rules-engine-reference.md
Service: azure-cdn
GitHub Login: @asudbring
Microsoft Alias: allensu

@IrisClasson
Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@IrisClasson This is a duplicate of #60436. We are aware of this incorrect statement, and action is on the doc author to update the doc.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Don't require a value passed for the --use-embedded-db

That PR was not merged

Ah right. I lost track


[WFLY-14958] Remove old unused private code

Fixes https://issues.redhat.com/browse/WFLY-14958

@bstansberry Hello Brian, tests for this PR passed, PR is approved. Could you please check and merge?

@boris-unckel Merged.  Thanks!


docs: note about testNamePattern on detox test

[x] This is a small change

Description:
I came across the fact that the DetoxCLI documentation does not indicate that you can pass the --testNamePattern flag directly. I decided to fix this point in the documentation

I won't work this way - detox test CLI passes through only unknown arguments.
In your pull request, you make --testNamePattern a known argument to Detox, and now it stops being passed to the test runner since you are expected to write now your own logic.
I don't think that the suggested solution fits the current state of things.
Maybe you could check if there is any postscriptum API in yargs so that we just can print some explanatory message.
I'll keep this pull request closed until you find another solution.
Thanks for looking into this.


Update redux-actions Reducer definition

This is needed to match redux definitions changed in v2.4.0.
State can be S or void.
Resolves issue #1963

@dignite Seems the change is causing the specs to fail, we can't merge this in until they pass.

Thanks for the bump @GAntoine I hadn't noticed myself. Haven't had time to look into it yet

I don't mind, I'm a bit too new at flow and didn't manage myself in my attempts. Will check out your solution!


feat(algebra/pi_instances): more automation

Expanded the applicability of pi_instance
TO CONTRIBUTORS:
Make sure you have:

[x] reviewed and applied the coding style: coding, naming
[x] for tactics:

[x] added or adapted documentation in tactics.md
[x] write an example of use of the new feature in tactics.lean

[x] make sure definitions and lemmas are put in the right files
[x] make sure definitions and lemmas are not redundant

For reviewers: code review check list

@jcommelin  Thanks!
@johoelzl Thanks for the comments!


Use common filepath for root certificate

Rather than tons of conditional logic throughout the code, use a single
wellknown path for root cert. For custom setups, we will symlink the
cert to that location
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test release-notes_istio

lint_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test release-notes_istio

lint_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test lint_istio

unit-tests_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test release-notes_istio

lint_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test lint_istio

unit-tests_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test unit-tests_istio

integ-security-k8s-tests_istio
2a92bd2e863c0d7c44a67cc1fd08bb048ed707c9
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm @myidpt does this make sense? not sure if its simpler or more complex..

@howardjohn: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Temporary Fix to Scrapbook

It isn't really a fix, simple a place holder

📝Changed routes:

/

(view full size)

Commit 9871d829697b485d301d2e705e41305ad8eb5200 (https://summer-git-hide-scrapbook-temp.hackclub.dev).

hi Lachlan, or is this a bot?

Merging

This is a bot I don’t remember setting up :joy: anyway, fixed in #29, there was a one-character typo breaking it


A way to update value using the previous one

Hello. I've not found a way to update Left(prev_value) to Right(new_value) in case when I need the previous value to create the new one. In Option we have the method take that replaces an old value with None, and returns the old one to us. It would be nice to have something like this:
pub fn morph(&mut self, f: F, g: G) -> Either<L, R>
where
    F: FnOnce(L) -> R,
    G: FnOnce(R) -> L

Now to do this, I have to use Option wrapping Either to be able to have the third None state.
struct Data {
    member: Option<Either<L, R>>
}

impl Data {
    fn update_member(&mut self) {
        self.member = self.member.take().map(
            |member| member.map_either(
                |old_value| create_new_value(old_value),
                |old_value| create_new_value(old_value)
            ).flip()
        );
    }
}

But actually I don't need it, and it makes me write more code for checking the option's state later. I just want to have a member with two correct states: L and R.
Thanks

This is a generally difficult thing to do, taking values from &mut for replacement -- see:
https://smallcultfollowing.com/babysteps/blog/2018/11/10/after-nll-moving-from-borrowed-data-and-the-sentinel-pattern/
Either can't really make this any easier itself, as it would face all the same limitations, with no knowledge of what's safe or desirable for any given L or R. Using Option::take is an example of that "sentinel" pattern in the blog, but maybe in your particular case, L or R might have a cheap empty state that you could use as a temporary instead.

Thank you for the link.
It looks like now it can't be implemented in a reasonable way. Actually it possible to implement a struct wrapper that hides None sentinel from the user:
struct EitherEx<L, R> {
    value: Option<Either<L, R>>
}

impl<L, R> EitherEx<L, R> {
    pub fn get(&self) -> &Either<L, R> {
        value.as_ref().unwrap()  // or even unchecked, because we should guarantee correctness
    }
    pub fn morph(...) {...}  // now it is possible to implement this like in the example above
}

Also I think it would be possible to implement this if we could add a private enum element that the user can't get access to. I  found some pages about this: one, two. Perhaps one day we'll see it in rust :)


checking cooldown

why the package checks cooldown:saved-at, cooldown:invalidated-at, and cooldown:seconds every time query requested where I am not using this feature in my model cache

@yassir3wad Thanks for highlighting this  possible issue. Can you provide the eloquent query you are running? That will help me look into it. Thanks!

@mikebronner the query is simple Country::get(), the previous image was captured from laravel telescope

Same issue after installing on Laravel 5.8 and using latest Telescope. Extended model with BaseModel as instructed.

@mikebronner you just fixed this with 0.4.10 and forward

@mycarrysun Love it when that happens! :) Closing for now. Please reopen if this recurs.

Hi,
today I face the same problem with laravel 8,
I try to log the return of "getCacheCooldownDetails"  and the return array is all null
The query is simple that just use Model::take(100)->get()
And here is the log:
[2022-12-20 09:15:07] local.INFO: getCacheCooldownDetails
[2022-12-20 09:15:07] local.INFO:
[2022-12-20 09:15:07] local.INFO:
[2022-12-20 09:15:07] local.INFO:

Here is my edit of getCacheCooldownDetails func.
    protected function getCacheCooldownDetails(
        Model $instance,
        string $cachePrefix,
        string $modelClassName
    ) : array {
        Log::info('getCacheCooldownDetails');
        Log::info($instance->cache()->get("{$cachePrefix}:{$modelClassName}-cooldown:seconds"));
        Log::info($instance->cache()->get("{$cachePrefix}:{$modelClassName}-cooldown:invalidated-at"));
        Log::info($instance->cache()->get("{$cachePrefix}:{$modelClassName}-cooldown:saved-at"));
        return [
            $instance
                ->cache()
                ->get("{$cachePrefix}:{$modelClassName}-cooldown:seconds"),
            $instance
                ->cache()
                ->get("{$cachePrefix}:{$modelClassName}-cooldown:invalidated-at"),
            $instance
                ->cache()
                ->get("{$cachePrefix}:{$modelClassName}-cooldown:saved-at"),
        ];
    }

@joe820912boy did you set the model to use cachecooldown? I believe cooldown will only work if explicitly set on the model.

@mikebronner yes, I have set the cachecooldownseconds,
    use Cachable;
    // protected $cachePrefix = "thoth8";
    protected $cacheCooldownSeconds = 300;

and in following function, I can see the cooldownseconds with "300" in my log
    public function getModelCacheCooldown(Model $instance) : array
    {
        if (! $instance->cacheCooldownSeconds) {
            return [null, null, null];
        }
        Log::info($instance->cacheCooldownSeconds);
        $cachePrefix = $this->getCachePrefix();
        $modelClassName = get_class($instance);
        [$cacheCooldown, $invalidatedAt, $savedAt] = $this
            ->getCacheCooldownDetails($instance, $cachePrefix, $modelClassName);

        if (! $cacheCooldown || $cacheCooldown === 0) {
            return [null, null, null];
        }

        return [$cacheCooldown, $invalidatedAt, $savedAt];
    }


Fix/Ogmios WebSocket close logging

Context
Currently, we're logging the whole WebSocket object as an info message on any close event, which is cumbersome and invalid given a particular closure is actually an error. There's also some uncertainty about reconnection behaviour, however this PR is scoped just to address the logging issue.
https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1
Proposed Solution

Add a util to createInteractionContextWithLogger, that includes the capability to later include a reconnect handler.
Refactor the invalid implementations, without introducing restart logic, which will be considered in a later PR

@mkazlauskas @mirceahasegan I just rebased as the original commits were not signed. Please review and approve again


--curl flag to print out curl cmd

https://github.com/moul/http2curl

Usually support requests require the offending curl command, so having this feature will be a force multiplier for getting FSO support - more straightforwardly, the feature also makes it transparent that it's not e.g. a bug with fsoc itself to folks less familiar with this tool.

In progress, see PR #54

Implemented in v0.32.0. Thank you @cuichenli!


prometheus-operator-monitoring-operator constantly gets OOMKilled in v2.2.2

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Enable cluster monitoring, wait some time (I noticed it the next day or so)
Result:
prometheus-operator-monitoring-operator constantly gets OOMKilled:
Name:               prometheus-operator-monitoring-operator-757cc74b7f-vb4j8
Namespace:          cattle-prometheus
Priority:           0
PriorityClassName:  <none>
Node:               jupyterhub-01/<IP_ADDRESS>
Start Time:         Tue, 16 Apr 2019 12:11:16 +0200
Labels:             app=prometheus-operator
                    chart=prometheus-operator-0.0.2
                    pod-template-hash=3137730639
                    release=monitoring-operator
Annotations:        cni.projectcalico.org/podIP: <IP_ADDRESS>/32
Status:             Running
IP:                 <IP_ADDRESS>
Controlled By:      ReplicaSet/prometheus-operator-monitoring-operator-757cc74b7f
Containers:
  prometheus-operator:
    Container ID:  docker://cfc708bd13870b4a889193774afae4d5e986dc12b40c4de926b156959975cc28
    Image:         rancher/coreos-prometheus-operator:v0.29.0
    Image ID:      docker-pullable://rancher/coreos-prometheus-operator@sha256:709595f835167800bf67bd39b2f3cba2d3c02e1efde688eb7ffe0359aad2f305
    Port:          8080/TCP
    Host Port:     0/TCP
    Args:
      --kubelet-service=cattle-prometheus/expose-kubelets-metrics
      --log-format=logfmt
      --log-level=info
      --prometheus-config-reloader=rancher/coreos-prometheus-config-reloader:v0.29.0
      --config-reloader-image=rancher/coreos-configmap-reload:v0.0.1
      --labels=monitoring.coreos.com=true
      --crd-apigroup=monitoring.coreos.com
      --manage-crds=false
      --with-validation=true
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    137
      Started:      Thu, 18 Apr 2019 14:00:00 +0200
      Finished:     Thu, 18 Apr 2019 14:00:11 +0200
    Ready:          False
    Restart Count:  71
    Limits:
      cpu:     200m
      memory:  100Mi
    Requests:
      cpu:        100m
      memory:     50Mi
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from prometheus-operator-monitoring-operator-token-2ghtg (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  prometheus-operator-monitoring-operator-token-2ghtg:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  prometheus-operator-monitoring-operator-token-2ghtg
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  beta.kubernetes.io/os=linux
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason   Age                       From                    Message
  ----     ------   ----                      ----                    -------
  Warning  BackOff  4m52s (x1507 over 5h45m)  kubelet, jupyterhub-01  Back-off restarting failed container

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):
v2.2.2 single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory):
5x VM, 6 CPUs, 12 GiB
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:11:31Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.9", GitCommit:"16236ce91790d4c75b79f6ce96841db1c843e7d2", GitTreeState:"clean", BuildDate:"2019-03-25T06:30:48Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client:
 Version:           18.09.5
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        e8ff056dbc
 Built:             Thu Apr 11 04:44:28 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.4
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       d14af54
  Built:            Wed Mar 27 18:01:48 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Related to #19693

Close in favor of https://github.com/rancher/rancher/issues/19693


Make MPI and mpi4py and opt-in dependency

Context for changes
PR #47 enabled MPI to improve performance by adding mpy4py as a development requirement to FlamingPy. However, this requires that users install MPI which should be optional and is only supported on linux platforms.

Improvements:

mpi4py is no longer a development requirement
CI test check that code executes properly with and without MPI

Documentation changes:

Adds a section explaining how to install and use MPI along with FlamingPy

Example usage and tests

[x] Not Applicable

Performance results justifying changes

[x] Not Applicable

Workflow actions and tests
A new case is added to the CI test matrix strategy where MPI is or is not installed. This is in order to check that MPI is not a hard dependency and all code executes correctly with or without it.
Expected benefits and drawbacks
Expected benefits:

Again, mpi4py is no longer a development requirement. Users can opt-in.

Possible drawbacks:

None

Related Github issues

[x] Not Applicable

Checklist and integration statements

[x] My Python and C++ codes follow this project's coding and commenting styles as indicated by existing files. Precisely, the changes conform to given black, docformatter and pylint configurations.
[x] I have performed a self-review of these changes, checked my code (including for codefactor compliance), and corrected misspellings to the best of my capacity. I have synced this branch with others as required.
[x] I have added context for corresponding changes in documentation and README.md as needed.
[x] I have added new workflow CI tests for corresponding changes, ensuring codecoverage is 95% or better, and these pass locally for me.
[ ] I have updated CHANGELOG.md following the template. I recognize that the developers may revisit CHANGELOG.md and the versioning, and create a Special Release including my changes.

Excellent work @sduquemesa. I liked MPI to be everywhere but I now agree this must be optional even for Linux users as it is customary. @maxtremblay has also mentioned previously we need to make MPI optional.
I'll try to fix the failing tests and merge. There is definitely a bug for non-MPI calculations as you correctly pointed out.


brew install kgen

What do you think of supporting kgen from the command line similar to fez?

Yes, I thinks it's necessary to generate new projects with custom template and there is no reason to keep one installation by project.

Awesome.  I will take a look at this today.

Good job !  :gift:

Good job !  :gift:


Consider using resolution instead of scaleDenominator

I know that there is a legacy of scaleDenominator in OGC specs, but I'm wondering if there has been any discussion about starting fresh on this spec.
The concept of "scale" doesn't apply well to digital maps.  Broadly speaking, a rendering client may not be able to determine the physical pixel size of a display device.  Newcomers to the Tiles spec may scratch their heads for a while trying to figure out how the server is supposed to know the pixel size of the display if the client can't even reliably determine it.  After digging for a while through other OGC specs, they may discover the magic 0.28 mm "standardized rendering pixel size" and copy this into their code.
Since 0.28 mm will rarely (never? - try to find a 90.7 PX / inch device here http://screensiz.es/) be the physical size of a pixel, the scaleDenominator has no real meaning and only serves as a source of confusion for those that assume it does.
Instead of using the confusing scaleDenominator and requiring that implementors discover the magic 0.28 mm number, tile levels could be described in terms of resolution (number of map units per pixel).  It is the resolution that a client needs to know in order to render tiles on a map.

Annex D of 2D-TMS exposes 2 columns one for pixel size (so called "resolution" next to the scaleDenominator.
Historically we use scaleDenominator and 0.28 because WMS 1.1-1.3 and SLD uses it. We wanted to be consistent with it.
Pixel size is a "true" for all devices that are directly using "one pixel in the viewport"="one pixel in the tile". This is "one way of doing this" but not necessarily the only one.
In the WMS meeting 2020/08/06 we make a motion:
"We will add "Pixel Size" in projected coordinates (as defined in 2D TMS standard) to the TileMatrix description (UML, XML and JSON encodings). Both Pixel Size and ScaleDenominator will be required
Moved by Jeff Harrison
Seconded by Jerome St.Lou
Discussion: Name? Resolution, Projected Pixel Size,
NOTUC
We will close the issue when this is applied to 2D TMS.

We recognize that there is a "true resolution" of the data and we expect the API Common will address or provide that in the description of the collection (included in part 2)

Good to hear that there is support for requiring resolution (or whatever it will be named).  This makes it possible for clients to render tiles without unnecessary dependencies.
Making scaleDenominator required adds additional dependencies for clients.  Theses are dependencies that are not required to render tiles.  Can you describe the reasoning for requiring these?

Good to hear that resolution will be required (with this or some other name).  Thanks for considering the minimal client / no dependency case.

Any movement on this? Getting it in the spec? This is a really great decision, would be good to get it published, so that OpenLayers can get add this as a new tile source, and people can start to build simpler implementations.

Action for the editor: add "resolution"/"pixelsize" to tilematrix as well as in TileMatrixSetLimits. Both are mandatori.

I took some time but this is finally done everywhere in the document schemas and examples.

Thanks for the update, @joanma747.

For anybody else who may be reading, are there people that are implementing the changes to this spec?  I'm wondering if changes to the spec like this (adding cellSize or the change to pointOfOrigin and cornerOfOrigin) are being implemented by anybody as they are being specified.


Open new tabs next to the active tab

Currently the addon opens new tabs at the end of the tab list which becomes problematic when there are a lot of tabs open and the active tab is not the last one. Opening new tabs right next to the currently active tab might be better.
Thanks for this great addon!

That's actually a great idea. I'll look into it when I get the chance!


Add support for Llama2, Palm, Cohere, Anthropic, Replicate, Azure Models - using LIteLLM

This PR adds support for 50+ models with a standard I/O interface using: https://github.com/BerriAI/litellm/
ChatLiteLLM() is integrated into langchain and allows you to call all models using the ChatOpenAI I/O interface
https://python.langchain.com/docs/integrations/chat/litellm
Here's an example of how to use ChatLiteLLM()
ChatLiteLLM(model="gpt-3.5-turbo")
ChatLiteLLM(model="claude-2", temperature=0.3)
ChatLiteLLM(model="command-nightly")
ChatLiteLLM(model="replicate/llama-2-70b-chat:2c1608e18606fad2812020dc541930f2d0495ce32eee50074220b87300bc16e1")

@gharbat @ah7255703 can i get a review on this PR ?
happy to add docs/testing if this initial commit looks good to you

enums sounds like a great idea ! where in the code should i make the change ?

we could allow this to be set in llm-server/Dockerfile

keys are standardized to PROVIDER_API_KEY
so COHERE_API_KEY, ANTHROPIC_API_KEY, REPLICATE_API_KEY etc
see example:
https://docs.litellm.ai/docs/providers/replicate

Yes I think Dockerfile would work

Defining it in the common.env file would be preferable, as it will be loaded automatically into the environment keys.


Option to Show DuplicateHider Copies in Details Panel

Feature Description
After fiddling around with this for a while, I quite like this theme in comparison to base eMixedNite, but would like this one feature ported over if possible.
In base eMixedNite, DuplicateHider's alternate game copies can be shown in the details panel and hidden in grid view, resulting in this, where I can click the buttons to switch which version is displayed:

I would appreciate if this could make its way into this theme.
Screenshots
No response

That would be nice


Not working

I could be doing a stupid
I copied and pasted from the RM and have this component

<Countdown from="2022-08-22 07:55:00" dateFormat="YYYY-MM-DD H:m:s" zone="Asia/Hong_Kong" let:remaining>

        {#if remaining.done === false}
        {remaining.months} months
        {remaining.weeks} weeks
        {remaining.days} days
        {remaining.hours} hours
        {remaining.minutes} minutes
        {remaining.seconds} seconds
        {:else}

The time has come!

        {/if}

</Countdown>

But it just displays The time has come!.
If you get around to fixing it that would be great.

Check PR, ps I did not eat because this seemed more fun


Composer package

Subject?

now the composer is not connected. I will add soon.

added composer. https://github.com/ismail0234/phalcon-bb-debugger#composer-install-files

Also you add specific PHP module, in current case: ext-phalcon

@Jeckerson thank you. my added.


Add GBIF to the metadata sources

Description of feature
Add GBIF to the set of sources queried by the genome metadata subworkflow

To close this issue you will need to download and parse a json file from GBIF and feed the parsed file into the combine metadata process  in the genome_metadata subworkflow. This will most likely need it's own custom process as you actually need to fetch and parse two files to get the information we need in a 2 step process. First query https://api.gbif.org/  using genus and species https://api.gbif.org/v1/species/match?verbose=true&genus=Felis&species=catus and then use the usageKey id returned by this to do a species lookup https://api.gbif.org/v1/species/2435022 from here you can get the authorship field which is what we want to retrieve


There is no closing pop-window button

Repro steps:
• Navigate to https://makecode.adafruit.com/beta
• There is a pop-window on the page
Except result:
There should have 'Agree' and 'Not agree' button on the pop-window
Actual result:
There is no 'Agree' and 'Not agree' button on the pop window, so user don't know how to close it

This is the standard behavior for cookie pop up on Microsoft sites.

From: Helen09<EMAIL_ADDRESS>Sent: Tuesday, February 13, 2018 6:51:59 PM
To: Microsoft/pxt
Cc: Subscribed
Subject: [Microsoft/pxt] There is no closing pop-window button (#3874)
Repro steps:
• Navigate to https://makecode.adafruit.com/betahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmakecode.adafruit.com%2Fbeta&data=04|01|jhalleux%40microsoft.com|f6eb7aa99ecb411028b608d57355eb3a|72f988bf86f141af91ab2d7cd011db47|1|0|636541735215279091|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=VDMtJFatHY3GCuXH9w6qBzgAWTcUDffHDYVJ3syDfjQ%3D&reserved=0
• There is a pop-window on the page
Except result:
There should have 'Agree' and 'Not agree' button on the pop-window
Actual result:
There is no 'Agree' and 'Not agree' button on the pop window, so user don't know how to close it
[ud]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F23466737%2F36185183-a9037e98-10ec-11e8-8547-562c07138ee3.png&data=04|01|jhalleux%40microsoft.com|f6eb7aa99ecb411028b608d57355eb3a|72f988bf86f141af91ab2d7cd011db47|1|0|636541735215279091|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=8UUP8MSJWSzaLXhkaIfVqP1TuF2sDN1h2sw43ttXcuU%3D&reserved=0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F3874&data=04|01|jhalleux%40microsoft.com|f6eb7aa99ecb411028b608d57355eb3a|72f988bf86f141af91ab2d7cd011db47|1|0|636541735215279091|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=yczofZAn4ewd7jdpjK031Eldl5bj8f9EJBxAdxe%2FVYo%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KUxOxe8OYzyTKvClGx2L3666lHV7ks5tUkpPgaJpZM4SEuSe&data=04|01|jhalleux%40microsoft.com|f6eb7aa99ecb411028b608d57355eb3a|72f988bf86f141af91ab2d7cd011db47|1|0|636541735215279091|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=TSl%2F3HIIanXceCfQj6HKY9%2B%2FQHTVzwWo4HyEr8hWuTg%3D&reserved=0.

This is as per Microsoft policy


Naming Convention Issue

From @abhaldar on February 11, 2018 18:56
Minor Naming Fix for AntiForgery package
Currently -> AutoValidateAntiforgeryTokenAttribute
ShouldBe -> AutoValidateAntiForgeryTokenAttribute
Copied from original issue: dotnet/cli#8590

Hi, the naming scheme we prefer is with the lower-case f because we consider antiforgery to be a single term. Some attributes in MVC use a capital F for historical reasons.
cc @rynowak @mkArtakMSFT


Tabs broken in "Mobile clients" modal dialog on download page

When you click on the "Mobile clients" button here https://owncloud.org/install/#, the desktop client tab in the modal dialog is non functional.
when you click on desktop clients straight away, both tabs work as expected.
I see this in Chromium 57 fwiw.

@dschmidt nice find!
@agssl could you please take a look?

seems fixed


Performance test Project for service bus track 1 and track 2

Create track 1 performance test sub module.

Create track 2 performance test sub module.

fixes #9919

@hemanttanwar, your PR is failing because azure-storage-perf needs to be added to the additional modules
    AdditionalModules:
      - name: azure-storage-perf
        groupId: com.azure

50% reviewed, will loop back.
The comments above, please apply them to other classes too, where ever the pattern is repetitive.