Error: The requested module 'solid-js/web' does not provide an export named 'memo'

I'm using Solid with Astro in my project. When I use ark in a component that runs on the server (doesn't have client:only directive) I get this error:
/node_modules/.pnpm/@ark-ui+solid@0.0.0-rc-20230403193437_solid-js@1.6.16/node_modules/@ark-ui/solid/dist/environment/environment.mjs:1
import { createComponent, memo, use, template } from 'solid-js/web';
                          ^^^^
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'memo'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async nodeImport (/node_modules/.pnpm/vite@4.2.1/node_modules/vite/dist/node/chunks/dep-79892de8.js:54039:21)
    at async eval (/src/pages/_Editor.tsx:24:31)
    at async instantiateModule (/node_modules/.pnpm/vite@4.2.1/node_modules/vite/dist/node/chunks/dep-79892de8.js:53996:9)

I'm using your default Accordion example:
// Accordion.tsx
import {
  Accordion,
  AccordionTrigger,
  AccordionItem,
  AccordionContent,
} from '@ark-ui/solid'

export const CustomAccordion = () => {
  return (
    <Accordion>
      <AccordionItem value="panel-1">
        <AccordionTrigger>
          <button>Panel 1 trigger</button>
        </AccordionTrigger>
        <AccordionContent>Panel 1 content</AccordionContent>
      </AccordionItem>

      <AccordionItem value="panel-2">
        <AccordionTrigger>
          <button>Panel 2 trigger</button>
        </AccordionTrigger>
        <AccordionContent>Panel 2 content</AccordionContent>
      </AccordionItem>
    </Accordion>
  )
}

// /pages/index.astro
---
  import { CustomAccordion } from "./Accordion"
---
<CustomAccordion client:load />

ark version: 0.0.0-rc-20230403193437 (the latest rc version)

Well, solid doesn't have memo it only has createMemo

Should be resolved in the latest version.

@cschroeter the new version is not published yet.
Temporary solution:
# NPM
npm i "https://gitpkg.now.sh/chakra-ui/ark/packages/solid?main"

# PNPM
pnpm add "https://gitpkg.now.sh/chakra-ui/ark/packages/solid?main"

# Yarn
yarn add "https://gitpkg.now.sh/chakra-ui/ark/packages/solid?main"

Can you try with<EMAIL_ADDRESS>?


Language Server Protocol for TLAPM

The changes are over #83 and #91. Closes #90 and #94. The corresponding client part for the VSCode extension is already merged as https://github.com/tlaplus/vscode-tlaplus/pull/307.

It invokes the parser directly (as a library function) to analyze the document structure and then invokes tlapm as a sub-process.
The changes to the tlapm are:

Accept a file to check from a stdin. This allows the LSP server to check unsaved documents.
Accept a file to check as a string when calling the TLAPM parser as a library. Used by the LSP server to locate proof steps.
The location tracking for the QED step was broken in the parser. Now that's fixed. Used in the LSP server to show the proof status.

The LSP server's part requires OCaml-5.1 because I use Eio for concurrency. I made it optional so the TLAPM can still be compiled in older OCaml versions.

From the functionality perspective:

Proof checking can be invoked by pressing ctrl+g+g or via the code action (yellow lamp along the cursor position).
Proof status is shown by marking document lines in different colors; the hover explanations are also present.
Failed proofs are shown as diagnostics.
Progress of the proof checking is shown (status bar). The operation can be canceled.
If a new proof-checking command is invoked while the old one is still running, the old invocation is canceled automatically.

Now that #83 and #91 are merged, could you rebase this PR? This will make reviewing easier.

Rebased it now.

One of the tests started to fail. That's test/fast/regression/setEuclid_test.tla, it fails with
File "./setEuclid_test.tla", line 364, characters 9-10:
[ERROR]: Could not prove or check:
           ASSUME NEW CONSTANT Input,
                  InputAssump ==
                    /\ Input \subseteq Nat \ {0}
                    /\ Input # {}
                    /\ IsFiniteSet(Input),
                  NEW CONSTANT defaultInitValue,
                  NEW VARIABLE S,
                  NEW VARIABLE gcd,
                  NEW VARIABLE pc,
                  TypeOK ==
                    /\ /\ S \subseteq Nat \ {0}
                       /\ S # {}
                       /\ IsFiniteSet(S)
                    /\ pc = "Done" => gcd \in Nat \ {0}
                    /\ pc \in {"lbl", "Done"},
                  Inv == /\ TypeOK
                         /\ GCD(S) = GCD(Input)
                         /\ CorrectTermination,
                  Inv ,
                  Next ,
                  CardThm
           PROVE  Cardinality(S) = 1 => S = {CHOOSE t \in S : TRUE}
File "./setEuclid_test.tla", line 1, character 1 to line 379, character 77:
[ERROR]: 1/104 obligations failed.
There were backend errors processing module `"setEuclid_test"`.

From this log, it looks like it started to fail after the smt-fix branch was merged.
https://github.com/tlaplus/tlapm/commits/main
Do you have a clue where to look for the reason?

I'd say the issue is that `CardThm' is not expanded, how come?

Can it happen not because CardThm has not expanded but because some cases for the CHOOSE handling are disabled in https://github.com/tlaplus/tlapm/pull/55/files?

I don't know about that but the theorem is certainly necessary for proving this step, since none of the backends handle the Cardinality operator natively. So I'd first try to establish why the obligation only shows the name of the theorem, not the assertion (the PM is supposed to expand theorem names).

Sharing some findings. The CardThm is expanded for some provers (zenon, isabelle), e.g.
@!!BEGIN
@!!type:obligation
@!!id:98
@!!loc:364:9:364:11
@!!status:being proved
@!!prover:isabelle
@!!meth:auto; time-limit: 150
@!!obl:
ASSUME NEW CONSTANT Input,
       NEW CONSTANT defaultInitValue,
       NEW VARIABLE S,
       NEW VARIABLE gcd,
       NEW VARIABLE pc,
       /\ /\ /\ S \subseteq Nat \ {0}
             /\ S # {}
             /\ IsFiniteSet(S)
          /\ pc = "Done" => gcd \in Nat \ {0}
          /\ pc \in {"lbl", "Done"}
       /\ GCD(S) = GCD(Input)
       /\ CorrectTermination ,
       Next ,
       \A T :
          IsFiniteSet(T)
          => (/\ Cardinality(T) \in Nat
              /\ Cardinality(T) = 0 <=> T = {}
              /\ Cardinality(T) = 1 <=> (\E x \in T : T = {x}))
PROVE  Cardinality(S) = 1 => S = {CHOOSE t \in S : TRUE}

@!!END

But for smt, it is not expanded.
Also, the step that fails now succeeds in the "pre smt-fix version" even without CardThm theorem at all.
      <3>1. Cardinality (S) = 1 => S = {CHOOSE t \in S : TRUE}
        BY (*CardThm*) DEF Inv, TypeOK

This probably confirms the need for the smt-fix.

CardThm is not expanded in the error message but it is expanded in the obligation sent to the prover.
I have confirmed that the failure is triggered by #55, particularly by the removal of the (unsound) rewrite of
x = CHOOSE y : P(y) to \E z : P(z) => P(x).
I found out two things:

the obligation fails because of "internal timeout", which most probably means that the rewrite engine is now looping.
the result of the rewrite rule is nowhere to be found in the input to the SMT solver.

I'll continue my investigations.

I built the LSP server following the instructions here (plus the modification I mentioned in #97 which is needed to build tlapm on my machine), to test out the VSCode extension. I've been having issues with proof steps that rely on Isabelle. For instance, the following proof obligation (where seq is defined as << >>) that goes through in the most recent TLAPS distribution fails with false:
ASSUME NEW CONSTANT S,
       IsFiniteSet(S),
       1..Len(<<>>) = {}
       Isa
PROVE \E seq \in Seq(S) :
         /\ Len(seq) = 0
         /\ \A i, j \in 1..Len(seq) : i # j => seq[i] # seq[j]

Another type of failure I've observed is exemplified by the following:
ASSUME NEW CONSTANT ... (a number of constants not relevant to the obligation),
       NEW VARIABLE pc,
       NEW VARIABLE ... (variables in algvars)
       NEW VARIABLE arg,
       NEW VARIABLE ret,
       NEW VARIABLE P,
       P \in SUBSET ConfigDomain ,
       [Next]_algvars \o <<pc, arg, ret, P>> ,
       UNCHANGED (algvars \o <<pc, arg, ret, P>>)
PROVE  P = P'

Here it is clearly the case that UNCHANGED P but this version of TLAPS is unable to infer this from UNCHANGED (algvars \o <<pc, arg, ret, P>>) – SMT times out. But this is not a problem in the most recent TLAPS distribution, where the obligation is easily resolved by SMT.
I'm not sure if these are known problems but I figured I'd report them here in case they weren't.

Hi @uguryavuz, I had no problems with Isabelle in this branch (on Linux). The following theorem is checked via the LSP server. I had to move the Isa method from the assumptions to the BY clause.
---- MODULE test_a ----
EXTENDS TLAPS, Naturals, FiniteSets

THEOREM
    ASSUME NEW CONSTANT S,
        IsFiniteSet(S),
        1..Len(<<>>) = {}
    PROVE \E seq \in Seq(S) :
            /\ Len(seq) = 0
            /\ \A i, j \in 1..Len(seq) : i # j => seq[i] # seq[j]
    BY Isa
====

The obligation is resolved by Isabelle (proved isabelle[auto; time-limit: 30; time-used: 0.2 (1%)]).
I don't have a Mac to check how does it run on it :/

That fails immediately for me. I ran tlapm in command line and noticed the following line in the output:
Unknown logic "TLA+" -- no heap file found in:
  /Users/uguryavuz/.isabelle/Isabelle2011-1/heaps/polyml-undefined_unknown-platform
  /Users/uguryavuz/.opam/tlapm/lib/tlapm/backends/Isabelle/heaps/polyml-undefined_unknown-platform

which tells me that my workaround to get Isabelle to build causes some problems.
As an attempt to fix this, I merged the changes in isabelle2020-dune to this branch and built again. This did not work either – now I'm no longer observing that error but this instead:
### Missing Isabelle component: "/Users/uguryavuz/.opam/tlapm2020/lib/tlapm/backends/Isabelle/contrib/vscodium-1.70.1"

Any suggestions on how I could fix this?

I gave up on trying to build tlapm and tlapm_lsp on my local machine for the time being and tried it out in a docker, but I'm still having some issues. I followed the instructions on a fresh Debian docker container and ran into no issues while building. tlapm builds without issues and I'm no longer having any issues with Isabelle. However, I don't seem to be able to run tlapm-lsp.
I can verify that it has been built successfully by running opam exec -- tlapm_lsp --help -- however I don't seem to be able to run the LSP itself:
u1@9cf03ae221a0:~/opt/tlapm$ opam exec -- tlapm_lsp --stdio
tlapm_lsp: internal error, uncaught exception:
           Unix.Unix_error(Unix.EINVAL, "io_uring_queue_init", "")
           Raised by primitive operation at Uring.create in file "lib/uring/uring.ml", line 398, characters 14-54
           Called from Eio_linux__Sched.with_sched in file "lib_eio_linux/sched.ml", line 534, characters 8-53
           Called from Dune__exe__Tlapm_lsp.Cli.term.combine in file "lsp/bin/tlapm_lsp.ml", line 90, characters 28-57
           Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
           Called from Cmdliner_term.ret.(fun) in file "cmdliner_term.ml", line 33, characters 25-32
           Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 34, characters 37-44

The exit status is 125.

@damiendoligez, it seems I updated the PR according to all the comments. Thanks; they were all helpful.

Minor regression: https://github.com/tlaplus/tlapm/pull/149


Plugins JSON spec.

Allow full configuration of external plugins via a JSON document.
Opening the possibility of out of the host plugins and TLS configurations.
Signed-off-by: David Calavera<EMAIL_ADDRESS>

I'm +1 on design, we're going to need something richer at some point.

Ping @cpuguy83 @diogomonica WDYT?

I've rebased this PR to use the tlsconfig package that @tiborvass and @estesp added.

LGTM

LGTM


chore(deps): update terraform terraform-ibm-modules/powervs-infrastructure/ibm to v7

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/powervs-infrastructure/ibm (source)
module
major
6.0.0 -> 7.0.0

Release Notes

terraform-ibm-modules/terraform-ibm-powervs-infrastructure (terraform-ibm-modules/powervs-infrastructure/ibm)
v7.0.0
Compare Source
Features

Allows user to specify the compute profile (cores and memory) for network services Intel VSI.(690c464)
Upgraded VPC  Landing zone version to v6.0.0
Upgraded IBM TF provider version to v1.69.2

BREAKING CHANGES
⚠⚠

If you were to upgrade from a previous version to this version, Jump Server and Network services Intel Virtual Server Instances will be destroyed and recreated. A fully supported migration method will be available shortly. If recreating Intel VSIs is going to impact day-to-day operations, we suggest to hold off upgrading to this version until there is a fully supported migration path.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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

GitHub release
v3.1.0

Your semantic-release bot :package::rocket:


tests: patch dns-operator when running over OpenShift

When running over OpenShift need to patch the CRD of dns-operator in
order order to configure extra DNS entry for testing. Using 'jq' utility
to simplify JSON parsing.
See "DNS Operator in OpenShift Container Platform" in OpenShift's
documentations for examples.
Signed-off-by: Shachar Sharon<EMAIL_ADDRESS>

/retest centos-ci/sink-clustered/mini-k8s-1.23

I'll give the centos ci one more chance. :-)
If it doesn't work again I can just merge this since the CI is not really testing this part of the script.


Please have a beer with Ansgar

Long time no see.  :-)
Sorry for the abuse of your ticket tracker, hehe.

Just DM me on Twitter :wink:


Add transferring to the bank

@Rockefay Backend done.
I added new event type to src/EurobusinessHelper.UI.ASP/app/src/Services/Hubs/Types/types.ts and handled its logging.
To do on FE: add another button with transfer in the place from the ss below:

BE call is done accordingly to player transfer, but with the property accountId left empty

@Rockefay Continue working on the created branch, when the feature is done we'll merge both FE and BE in this PR


Improve NavMeshHelper

NavMeshHelper needs several improvements, it's not as useful as the visualisation in RecastDemo.
Some todos:

[ ] draw tile boundaries
[ ] support visualising poly regions

Consider just implementing duDebugDraw and using recastnavigation's debugging utilities: https://github.com/recastnavigation/recastnavigation/blob/main/DebugUtils/Include/DebugDraw.h#L34

Some progress implementing duDebugDraw:

https://github.com/isaac-mason/recast-navigation-js/tree/feat/duDebugDraw

duDebugDrawRawContours

https://recast-navigation-js.isaacmason.com/?path=/story/debug-three-debug-drawer--poly-mesh

0.25.0 of recast-navigation/three has a new DebugDrawer class
Still a WIP - some TileCache methods need to be exposed to support visualising TIleCache intermediates.

duDebugDrawRawContours

this is amazing!

The debug helpers can still use more improvement, and TileCache helpers should get exposed but the helpers released in v0.25.0 were a huge leap forward.
Closing this issue and opening a new one for TileCache helpers.


Trying to get in touch regarding a security issue

Hi there,
I couldn't find a SECURITY.md in your repository and am not sure how to best contact you privately to disclose a security issue.
Can you add a SECURITY.md file with an e-mail to your repository, so that our system can send you the vulnerability details? GitHub suggests that a security policy is the best way to make sure security issues are responsibly disclosed.
Once you've done that, you should receive an e-mail within the next hour with more info.
Thanks! (cc @huntr-helper)

You mean again a prototype pollution issue? I don't have time for those nonsense.


Use v-show instead of v-if for width-based condition

Fixes

Fixes #882 by @sarayourfriend
Description

This PR does two things:

replace v-show directives with a condition based on width(isSmall) with v-if to ensure that the server-rendered markup matches the client-rendered markup. I'm not sure that this is the best solution for all of these places, but it fixes the warnings.
Replace the helpText options api based computed with a composition api based computed. I'm not sure it's needed, but I added it because the warning specifically was about t not being defined (I guess it's i18n $t?)

Testing Instructions

Open the audio search page by going to http://localhost:8443/search/audio?q=bird on a desktop and look at the console. It should not display any warnings.
Checklist

[ ] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@WordPress/openverse-developers Can this get another review? The related issue is critical (SSR audio page crashes) and would be nice to fix before we deploy the new version of the frontend now that the wporg theme is updated.

I see the same locally @krysal. I can't find a reason for it though :confused:

Thank you for catching this, @krysal !
It was rendering the 'small' layout that doesn't have waveform and controller on SSR, because by default on the server we set the size to mobile. I've added the check for user agent to layout calculation, and set it to s only for mobile user agents.


Update @replayio/playwright

This one makes sure that the @replayio/reply (transitive dependency) gets updated too (u can see the change in the lockfile).
With this one, I can record this repo and I get recordings. Some fail at times when the metadata's size gets exceeded. We know about the issue and we are in the process of figuring out the solution.

Failed:
https://github.com/bvaughn/react-resizable-panels/actions/runs/9003551222/job/24734429716?pr=353

FWIW - the errors above were caused by missing API key on the fork. The alpha version of the plugin didn't benefit from the recent improvements to error reporting in this situation (those were just merged to main).


Enable service team to contribute tests/samples for other SDKs in mgmt SDK apps

In current design, it seems service team only need to provide the tests & samples for dotnet.
I think we should encourage service team to add tests/samples for all SDKs though this is not required.

@lirenhe Has this requirement confirmed with sdk owners? Currently, service team doesn't need to provide the test/samples for mgmt sdk (except dotnet).

This is suggested not required for service team and we need to notify them for this step.

Notification about the step has been added in the SDK Release apps


WIP containerfile no contaienrs storage

containers storage setting is breaking with BIB

Opened https://github.com/containers/ai-lab-recipes/pull/176 which should allow users to easly switch out the from image in the Makefile


Open same origin link in browser

I'm working on native apps using Turbo and I'm trying to get some of my links to open in external browser on the native device. I know that cross-origin links open in browser instead of inside the app, can this behavior be forced for same origin links (via data attribute)?

You can route URLs via the Path Configuration and do whatever you want from there.
This will route URLs with paths ending in /new to an in-app browser.
{
  "rules": [
    {
      "patterns": [
        "/new$"
      ],
      "properties": {
        "presentation": "external"
      }
    }
  ]
}

func session(_ session: Session, didProposeVisit proposal: VisitProposal) {
    visit(url: proposal.url, action: proposal.options.action, properties: proposal.properties)
}

private func visit(url: URL, action: VisitAction = .advance, properties: PathProperties = [:]) {
    let viewController = VisitableViewController(url: url)
    if properties["presentation"] as? String == "external" {
        let safariViewController = SFSafariViewController(url: url)
        navigationController.present(safariViewController, animated: true)
    } else if action == .advance {
        navigationController.pushViewController(viewController, animated: true)
    }

    // ...
}

I also wrote about this on my blog: https://masilotti.com/turbo-ios/url-routing/


When select/unselect any option of multiple select component inside any styled component, the dialog is closing automatically.

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
Steps:

Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
I want to use multiple select component inside custom styled component in simple React project. When I use select component alone, there is no problem. Dialog is closing after clicking outside or select box. But when I use select component inside any styled component, (even it has no style rule) after select/unselect operation, dialog is closing immediately.
Your environment 🌎
No response

Please provide a CodeSandbox reproducing the issue. The issue template is a good starting point.


Always convert line endings in postBuild to unix

We should filter/convert the line endings in postBuild as that seems to cause problems (see https://github.com/jupyter/repo2docker/issues/237#issuecomment-373446647)
Is there a docker option to have it convert line endings on COPY or do we have to convert it before copying or add a tool like dos2unix to the container?

I dunno if we should do this, since then you end up with a postBuild file
that works on binder but not locally when run as a script (if I understand
correctly). Perhaps a better error message?
On Thu, Mar 15, 2018 at 11:35 AM, Tim Head<EMAIL_ADDRESS>wrote:

We should filter/convert the line endings in postBuild as that seems to
cause problems (see #237 (comment)
https://github.com/jupyter/repo2docker/issues/237#issuecomment-373446647
)
Is there a docker option to have it convert line endings on COPY or do we
have to convert it before copying or add a tool like dos2unix to the
container?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter/repo2docker/issues/263, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB23odrwiUv2PwYCwNkj9A5SA0N9NMuks5terRkgaJpZM4SsrPt
.

--
Yuvi Panda T
http://yuvi.in/blog

I think the problem is that when you checkout a repository on windows you get \r\n as line endings in your files. When you COPY the file into the container (which assumes \n because it is Ubuntu) we are now looking for an executable called /bin/bash\r. Which is where the error comes from.
git generally does the right thing when you checkout files and converts the line endings. In our case that is the source of the problem though.
Explicitly converting to \n inside the container should be "the right thing" to do.

yeah the problem is that it will work locally, but not on binder, because the environment binder uses (ubuntu) is different from the one on your computer (windows). I'm of two minds on this, since from the user's perspective, it's feels like it "should" work, but from a developer perspective it's important for users to know the ramifications of file endings.
@betatim what are your intuitions on this? I think I'm generally a +1 so long as we keep a list of "changes we will make to your repo" that we can tell users

I think currently repo2docker will not work on windows because the files get checked out with \r\n, then copied into a docker container (which is linux) and assumes \n. So I think we should always convert inside the container. On binderhub, OSX and linux it would be a no-op as files already have the correct line endings.


啥时候能升级下laravel框架到最新，目前5.2太老了

啥时候能升级下laravel框架到最新，目前5.2太老了，很多好的插件没有用上

很期待您的pull request.

We come across this project and think it worthy to get it up-to-date, it's not easy though.
Here are some critical challenges and possible solutions as we're working on the update:

code styles
Before huge refactoring/updating, it's good to have a consistent code style so that we won't mess up details and concentrate on the high level. Here's a preflight PR for this https://github.com/lxerxa/actionview/pull/127

jenssegers/laravel-mongodb
Note that laravel-mongodb is having breaking changes in a future release. And so far, before version 4 is released, Laravel 6 is the latest level it supports. (See https://github.com/jenssegers/laravel-mongodb#laravel-version-compatibility) This means we'll easily move forward to Laravel 6 first.

chumper/zipper
This package is no longer maintained (https://github.com/Chumper/Zipper#note) and we should seek for an alternative. Hopefully madnest/madzipper is a good candidate.

framework level update
The official document has a checklist for this. But it seems jumping from 5.2 to 6.x is not easy because there are many minor version between them. A feasible plan is as follow:

create a brand new Laravel 6 project;
list all newly added files to the Laravel 5.2, which can be simply copied to the new project:
git diff --name-only --diff-filter=A<PHONE_NUMBER>1d8fb60106536f7d169e9d4b2b4415..8871f9a9d918c601ef7e997ea648bfc775666814
list all modification except for creating:
git diff --diff-filter=CDMRTUXB<PHONE_NUMBER>1d8fb60106536f7d169e9d4b2b4415..8871f9a9d918c601ef7e997ea648bfc775666814
We checked this are no more than 1k lines, so it's not pretty hard to port to the newer version.

so difficult

很期待您的pull request.

已更新PR


(SciTE4AutoHotkey) Outdated

Checklist

[X] I have checked the moderation queue that no new version has been submitted (only visible when logged in), or the submitted package version has failed the automated checks.

Please navigate to the following link to view the moderation queue.

[X] I have verified that the new version is a stable release.
[X] I have looked to see if there are any Bug reports that prevents a new version being submitted and that no existing Outdated Reports have been created.
[X] I have verified the new version has a Windows binary (EXE or MSI installer, Zip or other archive, etc).

New Software Version
3.1.0
Download location
https://www.autohotkey.com/scite4ahk/dl/s4ahk-install.exe
Package Page
https://community.chocolatey.org/packages/scite4autohotkey

There is most likely quite a bit of work needed to get this updated, and I think it is unlikely it will happen. Nonetheless, I will mark this as an up for grabs if anyone is interested in updating this manual package.


Unable to unmarshall pg array

Seems like you forgot to implement unmarshallArray method for pg platform, so the default split is used.
Stack trace
 ValidationError: Invalid enum array items provided in SomeEntity.values: [ '{first', 'second}' ]
    at EnumArrayType.convertToDatabaseValue (/code/node_modules/@mikro-orm/core/types/EnumArrayType.js:24:23)
    at /code/node_modules/@mikro-orm/core/hydration/ObjectHydrator.js:72:96

To Reproduce
enum SomeEnum {
  First = 'first',
  Second = 'second'
};

...

  @Enum({ items: () => SomeEnum, name: 'some', array: true, nullable: false })
  some!: SomeEnum[];

Additional context
PostgreSQL
Versions

Dependency
Version

node
16.13.1

typescript
4.5.4

mikro-orm
4.5.10

your-driver
pg

Afaik the driver should give us array, not a string - that is how it works in postgres, we shouldnt get serialized array at all. Arrays definitely work fine in postgres, so this might be enum array issue. Still feels weid, full repro welcome.

create type mikro_orm_test as enum ('first', 'second', 'third');

create table mikro_orm_test_table (
    id serial not null primary key,
    values mikro_orm_test[]
);

insert into mikro_orm_test_table (id, values)
select 1, array['first', 'second']::mikro_orm_test[]

import { Entity, Enum, PrimaryKey } from '@mikro-orm/core';

enum Value {
  First = 'first',
  Second = 'second',
  Third = 'third',
}

@Entity({ tableName: 'mikro_orm_test_table' })
export class TestEntity {
  @PrimaryKey({ name: 'id' })
  id!: number;

  @Enum({ name: 'values', items: () => Value, array: true })
  values!: Value[];
}

    @InjectRepository(TestEntity)
    private readonly testRepository: EntityRepository<TestEntity>,

    ...

    const entity = await this.testRepository.findOne({
      id: 1,
    });

That is definitely not supported, you cant use native enums in pg.

But it is native pg enums. What do you mean?

Oh, got it, thank you

Can you try to add that unmarchall method locally to see if its just about that? Native pg enums are not supported mainly due to schema diffing, but if this is just about runtime issues, we can definitely do something about that.

Looks like it works fine, but not sure it will cover all potential use cases


Issues with private registry github app

Feedback
Hi!
We are trying to set up the private registry with a github app and we are facing issue regarding the app.
We followed this https://docs.terrakube.io/user-guide/vcs-providers/github-app to create the VCS provider with the following parameter

We named the app Terrakube (OrganizationName)
Set the home page url to our api url endpoint
set the correct privilege for the app
generated the private key and put it into terrakube with the correct pkcs8 format
and allowed it on all our repos

we then followed this https://docs.terrakube.io/user-guide/private-registry/publishing-private-modules to set up the module. We set the following parameter

github url to the repo that stores the modules
set a prefix tag for the repo
base path for the module is /modules/mymodule/
When we validate the config it creates the module with the version already present, however when we create a new tag version it is never taken into account by the module and never appear in the UI and we keep having this log in the API logs

2024-10-18T18:18:00.242Z  INFO 1 --- [ryBean_Worker-2] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-10-18T18:18:00.242Z ERROR 1 --- [ryBean_Worker-2] o.t.a.plugin.scheduler.module.CacheJob   : Updating module index for Weezevent/database/aws
2024-10-18T18:18:00.242Z ERROR 1 --- [ryBean_Worker-2] o.t.a.plugin.scheduler.module.CacheJob   : Cannot invoke "org.terrakube.api.rs.vcs.GitHubAppToken.getToken()" because "gitHubAppToken" is null

It is very strange and we have trouble identifying where it could come from ?
Do you have any clue for us please ?
Regards ! :)

Did you install the app in your github organization?

Yep we did ! We give it privileges to all repositories

Did you use command for the private key?
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in my-terrakube-app.private-key.pem -out pkcs8.key

yep we did ! and put the output key from pkcs8.key into the terrakube VCS provider

Can you create a workspace using the github app and run a plan just to check if the connection is working correctly?

I just created a VCS workspace, set default path as / in the repository, there is no terraform at the root of the repository but I suppose it tells us that the vcs connection is working correctly ?

I just created a VCS workspace, set default path as / in the repository, there is no terraform at the root of the repository but I suppose it tells us that the vcs connection is working correctly ?

Use some folder that has some terraform file, run a plan and it should fail but you should be able to see some terraform related error because of some missing parameters related or something like that.

Just performed what you asked ! I have no issues and the plan display successfully !

Can you try creating a module again?

I think maybe Terrakube generates the github token correctly when you create a workspace, after creating one workspace your modules creation should work.
I guess there is some logic missing to generate the token if you create a module right after the VCS connection is created

Just to clarify @BenjaminDecreusefond , module creation is working fine after you tested the workspace creation, right?

The module creation was working fine before the workspace creation. The issue that I had and that i still have is that now, my module is created on Terrakube with all tags present on the repository. However, if now I push a new tag, Terrakube will never see and don't update the tag list.
Maybe I can try using a oauth app ?

XD now I get it sorry
You won't be able to see new tags immediately there is an internal job that refresh tags every five or three minutes

Oh !
It's been 4 hours 😅

It is related to this issue from some time ago
https://github.com/AzBuilder/terrakube/issues/479#issuecomment-1712316376

Do you think the error
2024-10-18T20:06:00.181Z  INFO 1 --- [ryBean_Worker-9] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-10-18T20:06:00.182Z ERROR 1 --- [ryBean_Worker-9] o.t.a.plugin.scheduler.module.CacheJob   : Updating module index for Weezevent/certificate/aws
2024-10-18T20:06:00.182Z ERROR 1 --- [ryBean_Worker-9] o.t.a.plugin.scheduler.module.CacheJob   : Cannot invoke "org.terrakube.api.rs.vcs.GitHubAppToken.getToken()" because "gitHubAppToken" is null
2024-10-18T20:06:00.182Z  INFO 1 --- [ryBean_Worker-9] o.terrakube.api.rs.module.GitTagsCache   : vcs using GITHUB
2024-10-18T20:06:00.182Z ERROR 1 --- [ryBean_Worker-9] o.t.a.plugin.scheduler.module.CacheJob   : Updating module index for Weezevent/database/aws
2024-10-18T20:06:00.182Z ERROR 1 --- [ryBean_Worker-9] o.t.a.plugin.scheduler.module.CacheJob   : Cannot invoke "org.terrakube.api.rs.vcs.GitHubAppToken.getToken()" because "gitHubAppToken" is null

could have an incidence ?

Hey @stanleyz do you have any idea about this one? it looks related to the changes related to github app in this class
https://github.com/AzBuilder/terrakube/blob/14a48ca003928a7a6f431d6de18c641fa3607103/api/src/main/java/org/terrakube/api/rs/module/GitTagsCache.java#L181
It looks like a bug but I am not sure

Happy to help if needed ! :)

Happy to help if needed ! :)

By the way using oAuth app should work for you as a work around

Yep, thank you I think that's what we're going to do for now !

Great ! I can confirm you it works like a charm with Oauth app ! thanks you very much !

Btw not sure if it is normal but during debugging I tried to click on the edit client button in the VCS providers tab of organization but it seems like nothing happens. I check in the network tab and when I click the button no call are being made so I wonder if this button has been implemented ?

this one ! :)

Btw not sure if it is normal but during debugging I tried to click on the edit client button in the VCS providers tab of organization but it seems like nothing happens. I check in the network tab and when I click the button no call are being made so I wonder if this button has been implemented ?  this one ! :)

FYI https://github.com/AzBuilder/terrakube/issues/1096

Hey @stanleyz do you have any idea about this one? it looks related to the changes related to github app in this class
https://github.com/AzBuilder/terrakube/blob/14a48ca003928a7a6f431d6de18c641fa3607103/api/src/main/java/org/terrakube/api/rs/module/GitTagsCache.java#L181
It looks like a bug but I am not sure

looks like so, will take a look later.

Btw not sure if it is normal but during debugging I tried to click on the edit client button in the VCS providers tab of organization but it seems like nothing happens. I check in the network tab and when I click the button no call are being made so I wonder if this button has been implemented ?  this one ! :)

FYI #1096

Ah ok I didn't know sorry !


Refactor error types

osvscanner is getting a large list of "errors", having an individual error for called/uncalled, license violation, vulnerability...etc.
The error type should be reworked to a structure that contain multiple fields to more easily specify and match against the different results.

Also See: https://github.com/google/osv-scanner/blob/854cb01164a268fdff27e5358ef946c15c51ab37/pkg/osvscanner/osvscanner.go#L862-L863


[SPARK-45268][PYTHON][DOCS][FOLLOWUP] Correct the group of equal_null

What changes were proposed in this pull request?
the group of equal_null should be Predicate Functions after https://github.com/apache/spark/commit/6e6ee613a0d36c56d2e522510897818ba1754d56
Why are the changes needed?
to be consistent with SQL side
Does this PR introduce any user-facing change?
yes
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.


[since 2.1.0] NoSuchMethodError:   No virtual method getViewWidget

my app works depend on an third-party library
the library is NOT developed with AndroidX
so I have this config in my gradle.properties
android.useAndroidX=true
android.enableJetifier=true
both my app and the library use ConstraintLayout , so I also have an dependency in app/build.gradle
implementation "androidx.constraintlayout:constraintlayout:2.0.4"

here is the problem  ↓
I've tried many times and found that :
when I use version 2.0.4 or lower , everything works well
but when I use version 2.1.0 or higher , the crash happens

java.lang.NoSuchMethodError: No virtual method getViewWidget(Landroid/view/View;)Landroidx/constraintlayout/solver/widgets/ConstraintWidget; in class Landroidx/constraintlayout/widget/ConstraintLayout; or its super classes (declaration of 'androidx.constraintlayout.widget.ConstraintLayout' appears in /data/app/~~v1a0Bi1CmvvfZ2ykmN94CA==/com.example.sdkdemo-9coDvBRn03a-3DEvbJE6Dg==/base.apk)
at com.douyu.livesdk.floatUI.planB.FloatPlayerView.a(SourceFile:636)
at com.douyu.livesdk.floatUI.planB.FloatPlayerView.a(SourceFile:161)
at com.douyu.livesdk.floatUI.items.RoomItemHolder$1.onClick(SourceFile:76)

I find out the soure code in library and the log located on this line
rootView.getViewWidget(playerView).setDimensionRatio("W,16:9")
rootView is instance of ConstraitLayout

I have no idea except to rollback the version of ConstraintLayout to 2.0.4
I read  up the change log on Wiki but find nothing about it
so I think this might be a BUG
or if there is some other solutions for my issue ?

In general if you depend on a library that uses another library you must all use the same version.
You cannot have two versions of ConstraingLayout (or any library for that matter) in one application.


Increase coverage.

Codecov Report

Merging #54 (85b56a4) into main (c2cfd1c) will increase coverage by 0.89%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   81.26%   82.15%   +0.89%
==========================================
  Files           1        1
  Lines         411      426      +15
  Branches       83       86       +3
==========================================
+ Hits          334      350      +16
+ Misses          9        4       -5
- Partials       68       72       +4

Impacted Files
Coverage Δ

include/matchit.h
82.15% <0.00%> (+0.89%)
:arrow_up:

Continue to review full report at Codecov.

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


Skeletal PPP (Kelvin)

LGTM!
Closes #13

LGTM! Remember to add Closes #13 in PR

I added it already in a commit body, I think should work also?

LGTM! Remember to add Closes #13 in PR

I added it already in a commit body, I think should work also?

Oh I didn't notice that, it should work then


[BUG] Insufficient permissions to AOS shuts down DataPrepper when a dynamic index pattern is used

Describe the bug
As part of the sink initialization process, DataPrepper will attempt to create static indices. This also serves as a permissions check for the DataPrepper -> AOS integration. However, if a dynamic index pattern is used, no indices are created during initialization and instead permissions gaps are exposed at runtime by shutting down the pipeline:
ERROR org.opensearch.dataprepper.pipeline.common.PipelineThreadPoolExecutor - Pipeline [***] process worker encountered a fatal exception, cannot proceed further
java.util.concurrent.ExecutionException: org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [security_exception] no permissions for [cluster:monitor/state] and User [name=***, backend_roles=[***], requestedTenant=null]

To Reproduce
Create a pipeline with an FGAC-enabled AOS sink and a dynamic index pattern. Don't provide sufficient permissions to the pipeline role to ingest data to AOS. Ingest data into the DataPrepper pipeline to cause a crash.
Expected behavior
Similar to the behavior of static indices, DataPrepper should avoid crashing when there is a permissions gap and instead loop while providing helpful messaging to the user so that the issue can be resolved.

Fixed by #3541.


Getting 'Killed' message trying to run sampling.py on 2b-it

I'm running on WSL2/Ubuntu on Win11. Deliberately using CPU mode as my GPU is too weak. Using Python 3.10.12.
Here is the output when trying to run sampling.py:
~/gemma$ python3 examples/sampling.py --path_checkpoint=/home/david/gemma/2b-it/ --path_tokenizer=/home/david/gemma/tokenizer.model
Loading the parameters from /home/david/gemma/2b-it/
I0224 16:15:11.469793<PHONE_NUMBER>51712 checkpointer.py:164] Restoring item from /home/david/gemma/2b-it.
I0224 16:15:27.563535<PHONE_NUMBER>51712 xla_bridge.py:689] Unable to initialize backend 'cuda':
I0224 16:15:27.563766<PHONE_NUMBER>51712 xla_bridge.py:689] Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I0224 16:15:27.568676<PHONE_NUMBER>51712 xla_bridge.py:689] Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
W0224 16:15:27.568863<PHONE_NUMBER>51712 xla_bridge.py:727] An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.
I0224 16:15:27.757100<PHONE_NUMBER>51712 checkpointer.py:167] Finished restoring checkpoint from /home/david/gemma/2b-it.
Parameters loaded.
Killed

Any idea what could be causing it to blow up during sampling?

I am getting same error.
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:59<00:00, 14.83s/it]
WARNING:root:Some parameters are on the meta device device because they were offloaded to the disk and cpu.
/usr/local/lib/python3.9/dist-packages/transformers/generation/utils.py:1178: UserWarning: Using the model-agnostic default max_length (=20) to control the generation length. We recommend setting max_new_tokens to control the maximum length of the generation.
warnings.warn(
Killed

Thinking it's some kind of resource exhaustion issue that's causing the process to just die.

I am also on WSL, it stated experimental, probably not fully tested or funcational?

I had a similar issue running it on the Transformers library. It turns out it was only resource exhaustion as commented above, in particular, the process ran out of memory to allocate resources.
You can run this https://stackoverflow.com/questions/624857/finding-which-process-was-killed-by-linux-oom-killer to confirm if that was the reason of the killed process.
Also, if you are using WSL you have to confirm that you are actually getting the full 4 + 16 GB of RAM you are mentioning. You can do so with something like this https://learn.microsoft.com/en-us/answers/questions/1296124/how-to-increase-memory-and-cpu-limits-for-wsl2-win

Hi @davidebbo,
Could you please confirm if this issue is resolved for you with the above comment ? Please feel free to close the issue if it is resolved ?
Thank you.

I have not had a chance to try this lately, so I cannot confirm that it is resolved. Feel free to close the issue if you feel that it is. Thanks!

Closing this issue due to lack of recent activity,  Please feel free reopen if this is still a valid request. Thank you!


Suggestions for improvement

The settings of the "Volume Control" are not saved.
After some time you will be thrown from Discord for no reason inactive or not.

I will try to reproduce the second one. What would help, if you enable debug logging in the teamcord settings and append the teamspeak log file (%appdata%\TS3Client\logs) when this happens again.

Debug I have still switched on. As soon as it happens again I will provide the logs.


Allow named servers in imagebuilding-demo hub

Self-merging as it's for a demo hub. I'll open a PR later adding 'for demo hubs, when actively working on them' to the criteria for self-merges.


[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.

@Maruthi125 Hello, you did not provide a description for the issue, but I believe you are getting a deprecation warning when running on a more recent version of Maven (3.9.x). This should have already been addressed in the 3.8.2 version of our plugin. Can you please provide what version of our plugin you were using, and what version of Maven? And if you were not on 3.8.2, please move up and verify the warning no longer occurs. Thank you.

Closing since there has been no response. Please reopen with more detail if the problem persists on the 3.8.2 release of Liberty Maven plugin.


Rework merkle tree implementation to use io.Reader instead of byte array

MerkleTree implementation requires the entire content of ext4 file
system to be read into a byte array when computing cryptographic digest.
This PR reworks the existing implementation to work with io.Reader
interface instead.
Additionally update the existing usages of MerkleTree with the new
MerkleTreeWithReader implementation.
Signed-off-by: Maksim An<EMAIL_ADDRESS>

@dcantah up 😄, @microsoft/containerplat more eyes are welcome

awesome


Empty database file created

Hello, my sql file is empty i am using following config:
i am using my alias from bootstrap.php
Yii::setAlias('@backup', dirname(dirname(__DIR__)) . '/backup');
in config/main.php
'modules' => [
        'db-manager' => [
            'class' => 'bs\dbManager\Module',
            'path' => '@backup',
            'dbList' => ['db'],
            'as access' => [
                'class' => 'yii\filters\AccessControl',
                'rules' => [
                    [
                        'allow' => true,
                        'roles' => ['@'],
                    ],
                ],
            ],
        ],

in console config
'modules' => [
        'db-manager' => [
            'class' => 'bs\dbManager\Module',
            // path to directory for the dumps
            'path' => '@backup',
            // list of registerd db-components
            'dbList' => ['db'],
        ],
    ],

i am getting result :

php yii dump/create -db=db -gz -s
Storage component is not configured.
Dump successfully created.

gzip file is created but with 0b size

mysqldump and gzip are installed and configured properly

same as mine empty why?

Same as mine, why i get empty dump database

I think the problem is that the extension needs for creocoder\flysystem\LocalFilesystem to be installed and configured when it should be used in any class which extends from flysystem.
Check:
https://github.com/Beaten-Sect0r/yii2-db-manager/blob/a9fc346b7fa65d2deabb0e1aaa92206bd2b732a6/src/commands/DumpController.php#L104


Tools API must return true if artifact (jar, war, ...) have been transformed

This is already implemented.


Enumerated Lambda

Within a multi-line lambda enum declaration, the formatter is inserting a line break after the parent following the constant identifier.
From this source, which passes checkstyle:

  CLASS_FORMATTER((s, r, a) -> {
    return (r.getSourceClassName() != null) //4 space indent
         ? s.append(INDENT_SPACES).append(r.getSourceClassName())
         : (r.getLoggerName() != null) ? s.append(INDENT_SPACES).append(r.getLoggerName()) : s;
   }),

formatter renders:
  CLASS_FORMATTER(
      (s, r, a) -> {
        return (r.getSourceClassName() != null)
            ? s.append(INDENT_SPACES).append(r.getSourceClassName())
            : (r.getLoggerName() != null) ? s.append(INDENT_SPACES).append(r.getLoggerName()) : s;
      }),

Checkstyle:

Warning 	indentation 	Indentation 	'lambda arguments' has incorrect indentation level 6, expected level should be 10.
Warning 	indentation 	Indentation 	'block' child has incorrect indentation level 8, expected level should be 12.

Checkstyle 8.18's suggestion to increase the indent is not consistent with Google Style and does not cause it to pass.
Google Style Guide 4.8.1 has nothing to say about enumerations that have field members, but when discussing body declarations it has the body's opening brace on the same line as the as the identifier:
private enum Answer {
  YES {
    @Override public String toString() {
      return "yes";
    }
  },

Formatter doesn't seem to be breaking any Google rules, although I understand one its goals is to pass checkstyle as published.  Should this be handled here or in checkstyle?   My preference would be to for formatter to accept the unbroken declaration because it puts the parameters on the same line as the constant identifier, and because the closing paren + brace is flush with the block containing the declaration, signaling that the following declaration is not part of it.

All the formatting this plugin done is performed by the Google Formatter - this is just a wrapper to get it to work in Maven. If you have issues regarding the actual formatter, I suggest you head over to their own repo (https://github.com/google/google-java-format). Thanks!


More documentation on rules

Could there be a bit more documentation on rules? I'm not clear just from the example tag[nohash]&project[myproj], how rules are specified. Is tag a hashtag, or an element named tag in the frontmatter? I realise fitting all this in the settings box might be hard, but maybe a documentation page?
Also, "create folders if they don't exist" mentions "capture groups", which I assume means I can somehow refer to moving any project to a folder with the name of the project? How's that work (if I'm guessing right)?

What is the projects?


NCSA formatting

https://github.com/spdx/license-list/blob/788e54b566dc78358e3e1c3f9b7187ad4005114e/NCSA.txt#L5
Developed by: <<var;name=organization;original=<Name of Development Group> <Name of Institution> <URL for Development Group/Institution>;match=.+>>

It seems everywhere else these are on separate lines, eg

http://otm.illinois.edu/disclose-protect/illinois-open-source-license
https://opensource.org/licenses/NCSA
https://github.com/llvm-mirror/lldb/blob/master/LICENSE.TXT

Should the SPDX template add newlines between each of the "Developed by" fields?

in terms of matching, this won't matter as any white space is treated the same.  If this is an aesthetic issue, we can certainly change it to look better!

I'd like it to look better/like it does as used in the wild.
Reason: I'd like to use SPDX as a canonical collection of license texts, not only for matching, but for use, and I'd like to use texts from that collection with a minimum amount of application-specific munging. But maybe this is totally unimportant to SPDX and it should ignore anything that doesn't improve matching.

moved to an issue in xml repo, so this gets addressed there :)


feat(#1): works

closes #1
History:

feat(#1): #[ignore]
feat(#1): no print
feat(#1): run
feat(#1): panice
feat(#1): trail off
feat(#1): run all if none
feat(#1): clean

PR-Codex overview
This PR introduces a mechanism for conditionally running tests in Rust based on tags, similar to JUnit's tagging system. It adds functionality to ignore tests that do not match the specified tag and updates the README with relevant instructions.
Detailed summary

Updated README.md to explain the motivation behind the tool.
In src/lib.rs, added logic to check for the test attribute and handle tag-based test ignoring.
Enhanced the test output message for clarity on tag mismatches.
Added a license block and test cases in tests/integration_tests.rs for fast and slow tags.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Oops, I failed. You can see the full log here (spent 4s)
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1172
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri Sep 27 19:44:26 UTC 2024
+ uptime
 19:44:26 up 1 min,  0 users,  load average: 0.86, 0.28, 0.10
+ cat
.rultor.yml in h1alexbel/home doesn't allow h1alexbel/tagrs to use its assets (there are 5 friends), see http://doc.rultor.com/reference.html#assets
+ exit -1
'cid' file is absent, most probably the Docker container wasn't started correctly

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 20min)

@rultor release, tag is 0.0.1

@rultor release, tag is 0.0.1

@h1alexbel OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.1

@h1alexbel Done! FYI, the full log is here (took me 24min)


Map string <-> ettBinary, []byte -> ettBitBinary

Implement encode/decode for the types below without affecting node logic. (All tests pass)
Mapping Types

Golang Type
ETF  Type

string
binary

[]byte
bitBinary

Pros:

[x] Support longer strings (now max length is<PHONE_NUMBER>, previously was 65535)

Cons:

[x] []byte are now sent as ETF bit_binary with bits set to 8. (Overhead of 1 byte)

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

explanation https://github.com/halturin/ergo/pull/68#discussion_r680967840 why this approach can't be accepted

First off, thanks so much for the great work on this library.
I hope to be able to bring to light the extensive research done by the elixir team with regards to interoperability with Erlang.
Please see https://github.com/halturin/ergo/pull/68#discussion_r681109604 on why this approach should be accepted.

I'll let the creator of Erlang explain further:

https://elixirforum.com/t/why-are-charlist-and-string-co-existing-in-erlang/31566

Two different erlang authors interfacing to lua<-> erlang.
Both came to the same conclusion  independently, that erlang's binary-strings should be mapped to lua "string", and erlang's list-strings should be mapped to lua lists.
https://github.com/rtraschke/erlang-lua#value-translation-from-erlang-to-lua
https://github.com/rvirding/luerl/wiki/0.7-Data-representation#data-types
https://github.com/rvirding/luerl/wiki/0.7-Data-representation#strings

Because Lua doesn't have binary type. Anyway, you may want to try my implementation in the 'otp2324' branch. See README file there.

Ruby has byte arrays.
See how types are mapped:
http://www.erlang-factory.com/upload/presentations/36/tom_preston_werner_erlectricity.pdf

Who said that's a good mapping? :)
Feel free to make a fork with data mapping you like. This PR won't be accepted. I've made etf.String and etf.Charlist to support interaction with Erlang/Elixir and it should be enough for that.


Make "clear all" filter button clear all active filters

@sirtastic : this not a bug; you created the line of code for the clear all button and just never hooked into actual js functionality.

commit c83b085b67c6ddd8f74b054220cbc89f1b3e1591
Date:   Wed Aug 5 15:20:17 2015 -0700
Support 'Clear all' button in find-results. Resolves #39 (github)


Could show more detail about the course?

I wanna what you have learn about Python, could you show more about it?

The Python Programming course is designed to introduce students to the fundamentals of programming using the Python language. The course covers essential programming concepts, problem-solving techniques, and hands-on coding exercises to develop practical programming skills.

I wanna what you have learn about Python, could you show more about it?

The Python Programming course is designed to introduce students to the fundamentals of programming using the Python language. The course covers essential programming concepts, problem-solving techniques, and hands-on coding exercises to develop practical programming skills.

I wanna what you have learn about Python, could you show more about it?

In fact, I haven't learned much about python. Most of the codes I write so far are not optimal solutions, but as a learner, I will continue to forge ahead.


porter-footer.md: Debbuging

Add instructions for connecting USB to Micro-B USB
cable to Renesas Porter board for serial
debugging.
Signed-off-by: Leon Anavi<EMAIL_ADDRESS>

Hi Leon.
+1 for me
A question: TL;DR: the organisation of documents and folders should follow the TOC of a whole guide formed by concatenating the MD files.
Why did you separated the "board" document and the "footer" one initially ? I mean: having some generic documents assembled with only one specific may be easier ?
If you look at a typical website with no merging capability, this forces to create 2 entries in the TOC - see here for example: http://docs.iot.bzh/docs/getting_started/en/dev/ => I had to separate things in 2 sections: "Getting started" and "Known issues". If it's what we want, then renaming the "footers" to "-troubleshooting.md", stored in a "troubleshooting" subfolder would make things clear.
But Maybe we could simply have a single document for each board and the TOC would be simpler and the reader would have everything related to a given board in the same document.
Note that your current organisation is ok for me for the webdocs tool I'm working on, as we can merge multiple MD files before generating HTML. But that's not always the case (mkdocs or RTD may not support this). And for maintenance, having the MD files follow roughly the TOC of a full guide is easier.
I hope I'm clear in my explanations :)

Hi @kooltux,
The generic guide for building AGL has the following major sections for each supported hardware platform:

Download the source code
Build, flash and boot AGL for the specified platform
Troubleshooting
Additional notes for the specified platform (for example specific troubleshooting guidelines, remarks and debugging instructions )

The 2nd and 4th section are very specific depending on the hardware therefore I have written them in separated sections in the markdown files from directories machines and footers. This way there is no duplication of information. Script generate-getting-started.sh and pandoc take care of merging all these sections together.
The final result is a single document with the exact steps for a certain hardware platform. The document is nice and tidy. It is easy to maintain it. There is no copy & paste between different documents. Furthermore it is very convenient for the users because they have the exact steps in a single place.
Best regards, Leon

Hi Leon,
On the website, that's different: we don't want to make a TOC with a section for each board where the generic instructions would be repeated first.
Do we really have to create one document per board or could we have a single document with a generic part at the beginning and 1 section per board after that, containing specific stuff & trouble shooting all stored in a single file ?
I think that using pandoc and a few scripts is just convenient from time to time but not the right solution at the end: the documentation must be handled with a dedicated tool that will handle more than transforming mardown into html or pdf.
So the documentations files should be structured with those publshing tools in mind: whether it's mkdocs, readthedocs or the tool 'webdocs' I'm working on.
BR
Stephane

Hi @kooltux,
In my opinion based on my personal experience, it is always easier for the users to have all exact steps in a single document.
There are very specific instructions for booting, debugging, configuration and troubleshooting for each supported by AGL at the moment.  I expect that over the time AGL will support more and more boards therefore it will be very inconvenient to have a mega document with instructions for all boards.
I prefer to have a single document with the exact steps for each board that AGL supports. Using markdown files + pandoc seems an easy way to maintain the documentation source splitted over several files and to generate a single document for each board out of it.
Anyway, this is just my opinion. The discussion about the new organization of the documentation are a bit out of the scope of the patches in this GitHub pull request. I hope the GitHub pull request will be soon merged because it contains valuable technical information.
Thanks, Leon

True: I'm out of scope :)

Thanks for merging the changes :)
Best regards, Leon


Revised Studio Metrics and AddClass pages for SSR instead of CSR

We are about 2x's as fast as we were with CSR! Still experiencing slower load times (~4.5s for both pages), getting the tip from Lighthouse to reduce unused JS from the metrics/page.tsx in particular. Would appreciate any feedback on how to continue to speed this up!

Revisions made for reducing load of database fetch queries.


Add funcionality to expand and collapse notes

It would be great to have the opportunity to collapse and expand the notes, one by one or all together at once.
Great job.

In the new version, you have the possibility to expand, minimize, hide and show notes.
Thanks for your interest :)


Deleting a graph point from DoubleTrack object causes a segfault.

Right clicking to remove a graph point will cause a segfault and cause the application to crash.

I fixed this! It turned out that I was placing the last iterator from vector of graph points which was uninitialized when I should have been placing the second to last iterator  which actually was the reference to the new graph point pushed into vector.


White screen after updating Whatsapp

I updated 'whatsapp' on 2.2039.9 but when I start the program I see only a white screen.

Same issue in the latest version - 2.2041.7

I had the same issue and I've worked around it by changing the shortcut from <drive>\scoop\apps\whatsapp\current\Whatsapp.exe to <drive>\scoop\apps\whatsapp\2.2049.10\Whatsapp.exe

I had the same issue and I've worked around it by changing the shortcut from <drive>\scoop\apps\whatsapp\current\Whatsapp.exe to <drive>\scoop\apps\whatsapp\2.2049.10\Whatsapp.exe

I had the same issue and I've worked around it by changing the shortcut from <drive>\scoop\apps\whatsapp\current\Whatsapp.exe to <drive>\scoop\apps\whatsapp\2.2049.10\Whatsapp.exe

I had the same issue and I've worked around it by changing the shortcut from <drive>\scoop\apps\whatsapp\current\Whatsapp.exe to <drive>\scoop\apps\whatsapp\2.2049.10\Whatsapp.exe

Problem and above mentioned workaround persist in version 2.2147.16.

There's one (ugly) way to solve this - by modifying the created shortcut to replace 'current' with the '$version' in post_install. Refer to https://stackoverflow.com/a/534409

I still experience this issue with the latest whatsapp from the latest scoop and had to bounce back to choco to get around it.

I still have this problem in version 2.2325.3, running Whatsapp.exe directly from the ~\scoop\apps\whatsapp\2.2325.3\ directory produces the same. Am currently using the Microsoft Store version (which I would rather not as it uses the new framework or whatever and is incredibly slow)

@Cornelius-Figgle I still experience this too.
@rashil2000 Could this issue be reopened? Or would it be preferable to open a new issue?


Module not found in versions 1.2.x

This just in: Worked fine in v1.1.0, v1.2.0 and v1.2.1 gives Module not found: [module name given in toml].

@janikarh can you confirm that the module(s) listed are available from within the same venv as portray?

@timothycrosley In this case the module is just a single app.py file on the project root. Only thing which changed between, is that I upgraded portrayversion.

Thanks for the additional information! I have some ideas I'll look into.
I know this is almost certainly related to the switch from pdoc3 to pdocs: https://timothycrosley.com/project-3-pdocs however as detailed in the blog, it's a necessary change for licensing reasons

Confirmed this is a difference between how pdocs and pdoc3 handle a module available in the ran directory but not on the path:
timothyedmundcrosley@pop-os:~/Projects/portray/test_non_path_project$ pdocs server my_program
Module not found: my_program
timothyedmundcrosley@pop-os:~/Projects/portray/test_non_path_project$ pdoc3 my_program
Module my_program
=================

Functions
---------

`my_method()`
:

Fix incoming

This should be fixed in the just released 1.2.4: https://timothycrosley.github.io/portray/CHANGELOG/#124-september-5-2019.
Thank for your patience, and please let me know if you still experience the issue in the new release.
Thanks!
~Timothy

I can confirm that the fix worked in my test cases.


[kotlin] Update 1.6.21

https://github.com/JetBrains/kotlin/releases/tag/v1.6.21

Looks good to me


Change Licence to 2017

Just keeping everything up to date

There's a lot more than one file with "Copyright (c) 2016 The crouton Authors".

@Alfriadox,
See https://github.com/dnschneid/crouton/pull/3005#issuecomment-308283173
-DennisL

Ok, thank you
On Oct 22, 2017 12:46 PM, "DennisL"<EMAIL_ADDRESS>wrote:
@Alfriadox https://github.com/alfriadox,
See #3005 (comment)
https://github.com/dnschneid/crouton/pull/3005#issuecomment-308283173
-DennisL
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/pull/3471#issuecomment-338491469,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKenPfAG6KeSqigCpBF8WJhzkX5x_hBQks5su3FegaJpZM4QBwZz
.


Update version on homepage

Coverage remained the same at 76.08% when pulling 93b3f03aef666c3530f29fa5e8365c70cc9a031c on dd/update-version into a9065b07dea8c09e0a0c81b1119c74771720ffb2 on master.


Set Unicode by default

I found that new opcode writes REChar(OpKind_Char+StrLen), so in non unicode mode we have small limit of StrLen ~250.

Let's set define Unicode. for this you must delete old FPC from CI.
let's add Error() when length overflows that limit

fixed by #110.


[C] Convert AERON_GET_AND_ADD_INT64 and AERON_GET_AND_ADD_INT32 from macro to inline function

With this patch, the usage also are simplified.

We want to keep the current arrangement of macros. Thanks, but no.


More on interpreting heap profile output

Sorry for spam, more updates

Its not spam, love getting help on the docs!


Parse const generic argument as ExprVerbatim when building without feature(full)

Use the verbatim variant idea from #251 to parse a braced expression in #263 as just a verbatim tokenstream expression.

I think it might be better to add support for the minimum set of variants required to parse { EXPR }. I can imagine people using custom derive wanting to be able to interpret Foo<A, { X + 1 }>
It'd be good to know how much new stuff we'd have to pull in to enable that.

I guess I have the opposite perspective. Typically in custom derives you just need the field types to be shuffled from the input to the right places in the output. In that sense the following field types are basically equivalent and you wouldn't need to look inside the tokens of either.
#[derive(Serialize)]
struct Mystor {
    g: Foo<{X + 1}>,
    m: Foo!{X + 1},
}

But I just remembered we already parse a subset of expressions in array lengths, like [u32; X.bits]. That same subset could work here with everything else being verbatim tokens.

You make a good point. I'm tempted now to see if we can improve build performance in non-full builds by not building any Expr variants other than ExprVerbatim and perhaps Lit.

Triage: still not available yet in nightly.

This was implemented in syn 1.0.59 (58bbe7f5a4568cdda7e761ee649945283ca8417d).


Fix BaseParsers ws parser to not match newlines.

In lift-markdown, BaseParsers was using a regex containing \v to indicate a
vertical tab. As of Java 8, \v refers to a character class that contains all
vertical whitespace, including newlines. We now explicitly use the unicode
value for vertical tab in the regex, fixing the failing test in Java 8 and
generally making things work as expected.
See initial report from @farmdawgnation .

:+1:


Updates the cron schedule docs with the correct DoW

Updates to correct value. Reported from https://github.com/dapr/dapr/pull/8112

Credit @WhitWaldo


[WFLY-18010] Upgrade jose4j to 0.9.3

https://issues.redhat.com/browse/WFLY-18010
Release Notes (for 0.9.0, 0.9.1, 0.9.2, 0.9.3):
https://bitbucket.org/b_c/jose4j/wiki/Release Notes

Thanks @fjuma and @jamezp


remove unneeded (string) casting before cast to int in ToInt filter

[x] Is this related to quality assurance?

Thanks, @samsonasik


Dart port?

I really like the dart programming language, but the official (and only) argument parser is really bad. Could there be a port?

Hello @Taitep
Original python mother project of docopt seems stopped... #371
But, some member of the project, may have the granted permission to create a new sub-project on the toplevel docopt github account.
Are you the one that will do the porting?
For golang for example, the port is almost a verbatim transform from the python source, including some non-sens text parsing that have been kept. :shrug:
The the parsing method is a bit difficult to handle and require some skill. Transforming it to another language has proved to be working though. I'm the maintainer of the bash version docopts now written in golang.  I dont' have any github permission outside of my repository though. I plan to totally rewrite the parser to have full control on error reporting.  I'm actually stopped. But I may start again at spring. I read a lot of the actual parser and I got a draft of my new parser, though it's sill a PoC.
What do you need to start?
Regards,
Sylvain.


Support differently-sized items in the list

Is your feature request related to a problem? Please describe.
Currently, we are using react-easy-sort for a list of elements with different height. Dragging them around moves items around, but they are moved by wrong distances (see attached screen cast).
Describe the solution you'd like
Ideally, react-easy-sort should by default support items of variable height/width and allow to drag them around with no problems.
Describe alternatives you've considered
NA
Additional context
https://user-images.githubusercontent.com/4501047/150535566-a9118628-0ce2-4688-ab88-9f4624517890.mov

+1


Sort out the Strongbox performance issues

Task Description
Strongbox have some performance issues after migrating to JanusGraph+Cassandra:

build time increased for continuous-integration/jenkins/pr-head
about 3x build time increased for Cold phase of /strongbox-against-strongbox-from-sources
about 2x build time increased for Warm phase of /strongbox-against-strongbox-from-sources

Tasks
The following tasks will need to be carried out:

[x] Disable automatic JanusGraph schema creation ( #1755 )
[ ] Make a list of the longest running tests .1
[x] Reduce JanusGraph queries per HTTP request for .2 and .3 (@sbespalov)
the log clearly shows that each query takes from 30 to 200 ms, also there is 200ms for transaction commit
[ ] Reduce JG commit time, currently it's about 200ms per request

[x] Get rid of RemoteArtifact inheritance ( #1761 )
[x] Drop the uuid index for LayoutArtifactCoordinatesEntity based vertices
[x] improve ArtifactIdGroupRepository.findArtifactsGroupWithTag query with Vertex Centric index by tag
[x] improve JG+Cassandra configuration
[ ] use Cassandra as external service (#1790)

[ ] Extract ArtifactArchiveListing into standalone vertex ( #1752 )
[x] Reduce the Gremlin query complexity for ArtifactCoordinates hierarchy queries ( #1787 )
[x] Improve performance by customizing Cassandra and JanusGraph settings (#1791)

Task Relationships
This task:

Is a sub-task of: #1649

Help

Our chat
Points of contact:

@carlspring
@sbespalov
@steve-todorov

@sbespalov  @steve-todorov : What is the status of this task? Could it now be considered complete?

need to clarify whether we use standalone Cassandra with with proper JG settings for sb-against-sb in Jenkins and how it affected on build times.


Strange errors when running a mostly UI based project

Godot version
v4.0.beta14.official [28a24639c]
System information
Mac
Issue description
I have a UI project I've recently converted from 3.5.1 to 4.beta.14, and I find these errors popping up whenever I start the project.

visibility_changed
size_flags_changed
minimum_size_changed
The error pointed out is:
https://github.com/godotengine/godot/blob/master/core/object/object.cpp#L1270
Yet no callstack is given.
Steps to reproduce
I'm not exactly how to reproduce this as it's not present in another project.
I'm interested in trying to figure out why the error appears, but I guess I will have to recompile the engine to get deeper debugging on that?
Minimal reproduction project
I won't upload my full project here, but interested in solutions to debug these three errors.
I would assume it's something to do with an old node that I ported over from 3.5.1, but without deleting and re-adding all nodes in the project, might there be some easier way to test for where this is coming from?

Please note that I do not use any of these signals in my project, this is some Godot core node using such I guess.

Could be related?
https://github.com/godotengine/godot/issues/51543

@tavurth have you tried with the latest version?

@akien-mga unfortunately I'm blocked from using the latest update for my projects until we can resolve this issue:
https://github.com/godotengine/godot/issues/73824
Unfortunately I don't have enough time to test sources outside my project scope at the moment.

Still present v4.0.rc3.official [7e79aead9] except now I have a new one about blender.

I'm not sure but if the error is "signal is already connected", then maybe it means the error occurs because you're trying to connect a signal twice?

@coppolaemilio I've narrowed this down to the TabContainer component.
I had a node tree like this:
TabContainer
  Tab(Control)
  Tab(Control)

I deleted the TabContainer and created a new one with the same attributes. The errors are now gone.
I would assume this is a migration script bug, but I will close this issue. If you feel it should still be open please let me know.

I now have no errors at all somehow! 🥳


New version: MSI.Kombustor.4 version <IP_ADDRESS>

Pull request has been created with komac v2.0.3 :cherries:

Resolve: https://github.com/microsoft/winget-pkgs/issues/137774

Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


Update README.md

The default option is what most customers are using as a template.
account_type = "billing" does not trigger core_access_enabled see here
as a result I see many customers coming through missing the majority of the permisssions

Lots of customers coming through missing the following permissions is the key issue
https://github.com/VerticeOne/terraform-aws-vertice-integration/blob/4816f4439f95bd0d26b1a401ad77d9fe13e4c695/modules/vertice-governance-role/iam_policies.tf#L194-L248


Counting sort ruby

Counting Sort In Ruby

Thanks for contributing

:+1:

Please Have a look to my other pull requests .


WIP: Scheduler fails to register as framework if logstash role isn't defined

On minimal configuration, with only file input enabled, the scheduler fails to register the framework

Marathon task JSON:
{
  "id": "/logstash-scheduler",
  "cpus": 0.2,
  "mem": 256.0,
  "instances": 1,
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "mesos/logstash-scheduler:latest",
      "network": "BRIDGE"
    }
  },
  "env": {
    "ZK_URL": "zk://<IP_ADDRESS>:2181/mesos",
    "LOGSTASH_ELASTICSEARCH_URL": "http://<IP_ADDRESS>:33000",
    "LOGSTASH_HEAP_SIZE": "256",
    "LOGSTASH_EXECUTOR_IMAGE": "mesos/logstash-executor",
    "LOGSTASH_EXECUTOR_VERSION": "latest",
    "EXECUTOR_HEAP_SIZE": "128",
    "ENABLE_SYSLOG": "false",
    "ENABLE_FILE": "true",
    "EXECUTOR_FILE_PATH": "/Users/vik/projects/cs/devbox/sources/mesos-elk-demo/build/elk.log, /Users/vik/projects/cs/devbox/sources/mesos-elk-demo/build/*/*.log"
  }
}

stderr output of the task
I0121 09:02:52.177243    34 sched.cpp:1024] Got error 'Role 'logstash' is not present in the master's --roles'
I0121 09:02:52.177374    34 sched.cpp:1805] Asked to abort the driver
I0121 09:02:52.179143    34 sched.cpp:1070] Aborting framework '

and the process does not register as Mesos framework

A quick fix might be to change the mesos role, by adding MESOS_ROLE=* to env object.

The suggested configuration change help. The executor registers now with Mesos Master and framework starts. However I'd expect Scheduler to check if role logstash is defined and then, if present, use it

I don't think that's the right approach.
We'll use the user defined role (in --mesos-role=S)

@sadovnikov I'm pretty confident it'll work on a default cluster now (with no logstash role) as long as syslog and collectd input plugins are disabled.


linear-gradient does not work with CSS Variables

Bug Report
Ionic version:

[x] 4.x
Current behavior:

When creating a button using --color and --border-color cannot be set to linear-gradient. The only variable that displays a gradient is --background for solid fill buttons.
Expected behavior:

When setting --border-color: linear-gradient(...) the gradient should appear on the line around the outlined button, however it just displays as the primary color from the global CSS Variables.
Steps to reproduce:

Create an ion-button with fill="outline". In the CSS set ion-button variable --border-color: linear-gradient(to left, #fff 0%, #000 100%);
Related code:

ion-button.login {
    position: absolute;
    right: 4in;
    top: .1in;
    width: 2in;
    height: .5in;
    font-weight: bolder;
    --border-color: linear-gradient(to left, #fff 0%, #000 100%);
}

<ion-button class="login" shape="round" fill="outline" (click)="login()" box-shadow="false">
    Log In
</ion-button>

Other information:

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.10.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.1
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.3.0

System:

   NodeJS : v10.14.2 (/usr/local/bin/node)
   npm    : 6.7.0
   OS     : macOS Mojave

Thanks for the issue!
So, that gradient doesn't work as a border color on a native button either. As far as I know you can't pass a gradient to border-color, see this blog here: https://css-tricks.com/gradient-borders-in-css/
However, you can use a border-image. The downside is it won't work with border-radius. There are resources available online though with workarounds to this (one is mentioned in the blog above).
In your case your best bet would likely be to just add the border-image to the ion-button itself and hide our border color, so the following CSS:
ion-button.login {
  border-style: solid;
  border-width: 2px;
  border-image: linear-gradient(to left, #fff, #000);
  border-image-slice: 1;

  --border-color: transparent;
}

with the HTML:
<ion-button fill="outline" class="login">
  Ionic Border Gradient
</ion-button>

I don't think border-image is a CSS variable we will be adding. We like to keep our CSS variables limited to things we are overriding, but it's not totally out of the question.
I created a Codepen representing the different examples of a native button and Ionic button: https://codepen.io/brandyscarney/pen/aXjryX?editors=1100


[AMBARI-24260] Ambari shows success when HBase Decommission/Recommission operations fail

What changes were proposed in this pull request?
If HBase Decommission/Recommission operation fails with non zero exit code, that component still gets decommissioned/recommissioned. We need to handle this failure and not transition the state to Decommissioned/Recommissioned when the respective operation fails
How was this patch tested?
UI unit tests:
21840 passing (27s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3283/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3292/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3304/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3305/
Test PASSed.


Update docs formatting for Ecto.Changeset.cast_assoc/3

The underscore in the string key is starting italicized formatting and messing up that section.
Before

After

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Poxmox Integration

It would be great if they integrate VPS Proxmox api to manage client-side and administrator.

Hello, I'm coding this module at the moment! A first version will be ready over the next few months. Id appreciate if you could be a tester then... but the first version will be quite rudimentary

scith: I am happy to test as well.

Hi @scith
Great if you are adding Proxmox support.
May we ask more details about it?
I'll also help with testing.

Hi @fossxplorer
Yes sure. I'm using the Proxmox PHP API https://github.com/CpuID/pve2-api-php-client
I'm using a dedicated plugin rather than a server lib because of the limitations detailed here: https://github.com/boxbilling/boxbilling/issues/431#issuecomment-183879705
The Proxmox hypervisors can be put in groups and the new orders are automatically allocated to one of the servers that has empty slots based on the rule chosen (fill the least filled server / fill up each server in turn)
The user can access the VNC console from the panel.
It is quite limited at the moment because the administration is quite tedious (I don't retrieve the available images, nodes, etc...) so it's done manually
Hopefully I'll have something for you to test in the next following months

Any news on this ? :D

Won't be until this summer I'm afraid...

Yay! Waiting for this 👍

@scith Please let us know if you got something, i'm ready to test and give you feedback :)

Thanks for the support! I'm trying to ship an alpha by mid-July. I've been busy on other projects sorry.

Very nice theme @scith <3 and thanks for investement :D

@scith
mid-July fits very good to me. Now i need to start playing with Promox in the meanwhile, i'm pretty new to it.
Also the boxbilling theme looks awesome, will hopefully give it a try as well. THX A LOT!

I'm almost there... A few more tests to run
However, I face one major problem: How do I assign an IP to a LXC or QEMU VM? Or how do I retrieve the IP that has been assigned to the VM?
Without this information, I can't send the login details to the customer, which is embarassing...
Thanks

You should store it somewhere in a admin area, and virtual mac adress too (for providers like OVH) :)

Yep this I am doing already. The database and the admin panel can store the IP.
However, I don't know how to retrieve the IP of the VM I just created for the customer. Or instead how to allocate an IP to the order and then assign it to the VM.
I would like to send an automated email to the client with the IP of his/her VM and the login details

OK so here is the alpha version of my Proxmox module: https://github.com/scith/BoxBilling_Proxmox

See issues for the things left to be done... I need help on these.
Please post your issues on the module git and feed your changes back as the module is GPL.
Thanks for the support and the testing @ikhode @Toggie @fossxplorer @melvincornelissen @Technowix


Cannot open file n_structure_<.>.json

Hello,
I am having an issue when adding this plugin that when I run the 'flutter pub add image_editor_pro' command stating that
Cannot open file, path = 'C:\Users\user\Documents\flutter.pub-cache_temp\dir3ec2f2b5\test\fixtures\invalid\n_structure_<.>.json' (OS Error: The filename, directory name, or volume label syntax is incorrect.

Same error here after flutter 2.5 upgrade. Downgrading to 2.2.3 solves it, if that is an option. Would be nice, if Flutter 2.5 would be supported in the future.

Thanks!


[Bug]: Hardcoded partition on policies causes failure on gov cloud

Welcome to Amazon SSP EKS Accelerator!

[X] Yes, I've searched similar issues on GitHub and didn't find any.

Amazon EKS Accelerator Release version
3.5
What is your environment, configuration and the example used?
Terraform:
Terraform v1.0.10
main.tf from https://github.com/aws-samples/aws-eks-accelerator-for-terraform/tree/main/examples/eks-cluster-with-new-vpc
What did you do and What did you see instead?
What did I do:
Try to deploy to govCloud based on getting started documentation example
What did you expect to happen:
Cluster get created
What happened:
Error : error creating IAM Policy aws002-preprod-dev-eks-lb-controller-irsa: MalformedPolicyDocument: Partition "aws" is not valid for resource "arn:aws:ec2:::security-group/*"
There are policies that appear to have the partition hardcoded to aws which will not work in govcloud
Additional Information
No response

Similar error found later on:
Error: error reading IAM Role Managed Policy Attachment (aws002-preprod-dev-eks-aws-node-irsa:arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy): couldn't find resource


add ref docs for node label

adds examples for --label-add
Signed-off-by: Charles Smith<EMAIL_ADDRESS>

ping  @dongluochen , @aaronlehmann , @thaJeztah , this is to take care of the node label update side of https://github.com/docker/docker/pull/24397

ping @thaJeztah , should we just close this until node update is settled. looks like that PR has the commandline ref docs. Can add the example after: https://github.com/docker/docker/pull/24397

@sfsmithcha ^^ there, I fixed it :wink: I prefer to keep it open so that we can keep track of what's still needed before GA

thanks @thaJeztah! I'm actually including the example in the node management docs that are WIP too.

@sfsmithcha oh, right; whatever you prefer in that case. Overall, smaller PR's are easier to get in, but if it conflicts with your work on the node management docs, then feel free to close

ping @thaJeztah , @dongluochen PTAL. This adds the example info to docker node update reference. It also includes the information about adding multiple labels & labels with keys/empty values.

@sfsmithcha thanks! Left some comments; for a future update, we should include --label-rm somewhere as well

thanks @thaJeztah , updated per your comments. will leave --label-rm for another update.

CI is failing, but LGTM once the link is fixed

thanks @thaJeztah that bit didn't turn up in local test


New version: dotenvx.dotenvx 1.11.3

New version: dotenvx.dotenvx 1.11.3
Microsoft Reviewers: Open in CodeFlow

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-08-28 16:30:54.282 [FAIL] Installer failed security check. Url: https://github.com/dotenvx/dotenvx/releases/download/v1.11.3/dotenvx-1.11.3-windows-x86_64.zip Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 891.)

@stephengillie how can it be failing a security check? there are no security issues: https://www.virustotal.com/gui/url/2d5a829fc81042ecd6319a7a9debfa38134a0ac2bc4da0c5acdaeb0c21aa44f0?nocache=1

/azp run

could this be related to it being a cli rather than a windows form?
related: https://github.com/microsoft/winget-pkgs/pull/169603 and https://github.com/microsoft/winget-pkgs/pull/169176

No, this is definitely failing a Defender or similar scan. Based on the 80004005 code, it might be reporting that the installer file has already been quarantined or deleted.

ok i will add a defender check to our github actions pipeline if i can - to try and debug. but isnt virustotal also/already a defender check? that is passing.

Oh - maybe the zip file was quarantined or deleted. I don't work directly with the pipeline VMs, so I'm not completely sure of the OS state from these logs alone.

what does quarantined mean in this context and how can i repair that? seems like i have no control over this process? is there someone i can talk to who runs the vms?

Quarantined refers to the antivirus application moving a file to another location, to prevent it from being executed. We could request advice from internal team members, who do work with the VMs - but please understand these VMs are just running common Defender scans, and that our team doesn't work directly with the Defender teams. We also have no control over the outcome of Defender scans.
I have heard (and seen screenshots) from other community members, who have submitted their packages to a Defender or similar website, and after a confirmed negative result, had their package pass and become merged. But again, I haven't worked directly with these and this is all I know of them.

ok i will hope for that then currently. frustrating process. i've also submitted to microsoft's security intelligence for whitelisting - where it has been deemed to have no malware.

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\dotenvx.dotenvx__DefaultSource\dotenvx.exe returned exit code: 1
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\dotenvx.exe returned exit code: 1

(Automated response - build 891.)

thank you @stephengillie


unable to register and login properly after fresh installation and registration

When i installed all and tryied to signup it did not show any error message

Did you followed all the steps.
You better attach a screenshot of your console.

you still need help or its working now ?

I have followed all steps my app is running but when i try to signup api is not responding . I mean it moving moving .... and after few minutes it redirect on home page with 401 error

can you please attach screenshot of your console and network tabs.
It would be easy to figure out the problem.

i face same problem

make sure you have updated the APP_URL in .env file

I have checked and followed the steps several times. I have verified the APP_URL in .env file, APP_URL=http://localhost:8000. But I still cannot login

@tangoun can you please attach the screenshot for console and network tabs.

Thank for respond. Please check the attachment

Console Firebug in Firefox

Console in Chrome

Network in Chrome

I'm unable to view the response in console.
add my skype<EMAIL_ADDRESS>I will try to help you.

Thank.
I have uploaded this project.
Please help to check via this url: http://laravelreact.thizmorning.com/
After I register, errors in console

Hi @tangoun please make sure you set your APP_URL=http://laravelreact.thizmorning.com
And you have set proper permissions for your storage folder.
sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cache

Thank you.
It works online. after I updated APP_URL=http://laravelreact.thizmorning.com
but this project does not work in my local with APP_URL=http://localhost:8000
I don't know what the problem between online and local.

You need to make sure if your project is working on 8000 port in your local environment.

In local I run command: php artisan serve, it works with 8000 port, as you can see in my capture images above. That's ok. I'll figure it out. thank you for your prompt response.

You are welcome.