Enhancement: Migrate repository to UAL-ODIS

Summary
It's been decided to migrate from ualibraries to UAL-ODIS.
Objectives
Full transfer with branches, issues, PR and project boards. Settings may need to be manually transfer over
Proposal

[x] Move forked copy from UAL-ODIS to a personal copy. I suggest mine
[x] Perform transfer and confirm transfer was successful
[x] Update local dev environments

[x] Chun's
[x] Damian's

[x] Update for patron1 deployment
[x] Update ReQUIAM for new deployment path (Issue no. 137)

Testing notes
Already tested transfer here
No branch deployment here.

@astrochun you asked me to create this issue, but we forgot you had created it last week in our triage meeting. I have updated the description and I'm closing it now.


[UI Enhancement] - Enhance the hero section and please fix the responsive issues

You can also add your own ideas

@thecuriousteam please assign to me task and slove the problem.

create Enhance the hero section  fix the responsive

HI @thecuriousteam  we can enhance it  by keeping a navbar as currently there is no navbar and instead of using of sign in and sign up button  we can keep it up on navbar it will look better.
plz assign this task to me

Yes @siddhanttomar2003 you can start working on it
Instructions
You can start working on it by taking latest pull from main branch

[ ] Please raise pull request to main
[ ] Please read the contributors guidelines Contributing Guidelines.
[ ] Please follow the code of conduct Code Of Conduct
[ ] Don't Forget to join onboarding group for knowledge flow and direct conversation and support from admins
[ ] Link Curious Developers Community - Curious Connect
[ ] Please attach the screenshots and video of the development work once it is done
[ ] Contributions more than 3 will be awarded a certificate of appreciation from curious ecosystem
[ ] please mail to<EMAIL_ADDRESS>for claiming certificate and please attach your issue number

if any help required reach-out to admins or mentors in the onboarding group default meeting link and approach to admins - GOOGLE MEET Issue Discussion Google Meet
Respect Co Developers And Please Reach-out to admins if any issues

I would like to work on this . Please could you assign me this issue under GSSOC'24

@Kalyan9064 you can start working on this


Feature/use mutation

This PR introduces generation for react-query mutations.
An example mutation from CW4Group is generated as follows:
export interface Cw3FlexMultisigProposeMutation {
  client: Cw3FlexMultisigClient;
  options?: Omit<UseMutationOptions<ExecuteResult, Error, Pick<Cw3FlexMultisigProposeMutation, "args">>, "mutationFn">;
  args: {
    description: string;
    latest?: Expiration;
    msgs: CosmosMsgForEmpty[];
    title: string;
  };
}
export function useCw3FlexMultisigProposeMutation({
  client,
  options
}: Omit<Cw3FlexMultisigProposeMutation, "args">) {
  return useMutation<ExecuteResult, Error, Pick<Cw3FlexMultisigProposeMutation, "args">>(({
    args
  }) => client.propose(args), options);
}

Using this hook would look like:
const { signingClient, address } = useWallet() // ex
const multisigClient = new Cw3FlexMultisigClient(signingClient, address, '<multisigAddress>')

const proposeMutation = useCw3FlexMultisigProposeMutation({
  client: multisigClient,
  options: {
    onSettled: (data, error, _, __) => toastExecuteResult(data, error)
    onSuccess: (data) => console.log(data)
  }
})

const onSubmit = (values) => {
  // advised not to use mutateAsync because then error handling is your job
  // https://tkdodo.eu/blog/mastering-mutations-in-react-query#mutate-or-mutateasync
  proposeMutation.mutate({ ...values })
}

return (<form .......onSubmit={onSubmit}>
    ...
    {/* redundant, but just an example */}
    {mutation.isError && (
Proposal failure : {proposeMutation.error.message}
)}
    <Button type="submit" isLoading={proposeMutation.isLoading} />
  </form>

Note: this PR already has changes from #35 so will need to wait until that one is merged.

Hm actually I think it would be better to generate it like this:
export interface Cw3FlexMultisigProposeMutation {
 client: Cw3FlexMultisigClient;
  description: string;
  latest?: Expiration;
  msgs: CosmosMsgForEmpty[];
  title: string;
}
export function useCw3FlexMultisigProposeMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, Cw3FlexMultisigProposeMutation>, "mutationFn">) {
  return useMutation<ExecuteResult, Error, Cw3FlexMultisigProposeMutation>(({
    client, ...args
  }) => client.propose(args), options);
}

Now, using the hook would look like:
const { signingClient, address } = useWallet() // ex
const multisigClient = new Cw3FlexMultisigClient(signingClient, address, '<multisigAddress>')

const proposeMutation = useCw3FlexMultisigProposeMutation({
  onSettled: (data, error, _, __) => toastExecuteResult(data, error)
  onSuccess: (data) => console.log(data)
})

const onSubmit = (values) => {
  // advised not to use mutateAsync because then error handling is your job
  // https://tkdodo.eu/blog/mastering-mutations-in-react-query#mutate-or-mutateasync
  proposeMutation.mutate({ client: multisigClient, args: values })
}

return (
<form .......onSubmit={onSubmit}>
    ...
    {/* redundant, but just an example */}
    {mutation.isError && (
Proposal failure : {proposeMutation.error.message}
)}
    <Button type="submit" isLoading={proposeMutation.isLoading} />
  </form>
)

awesome work! It looks like useQuery also was modified, was that intentional?
-return useQuery<MemberResponse, Error, MemberResponse, (string | undefined)[]>(["cW4GroupMember", client.contractAddress], () => client.member({
+return useQuery<MemberResponse, Error, MemberResponse, (string | undefined)[]>(["cW4GroupMember", client.contractAddress, JSON.stringify(args)], () => client.member({


Add WHMCS Releases

Sane:
WHMCS releases so the files can be curl'ed easily

Addressed for now, but checking on further details if it's really beneficial for future releases.


typescript backstretch support

please support typescript definitely typed file

Typescript outputs to Javascript. This plugin is written in JavaScript. This is out of the scope of the project.


move db pure implementation modules into their own namespace

I have moved the pure implementation of the DB layer to Cardano.Walletl.DB.Pure namespace

Issue Number
ADP-1784

bors r+

bors r+

bors r+


Update sql-server-transaction-locking-and-row-versioning-guide.md

is it the right statement?!
INSERT INTO dbo.employee
SET name = 'New' WHERE ID = 5;
@PRMerger14

@mohammad-hekmat  Thanks for the contribution. I think the statement was confused between and UPDATE and an INSERT. I like your change, but should we reverse your values to match the column names you listed in the same order:
(Id, Name) VALUES(6, 'New');

@mohammad-hekmat : Thanks for your contribution! The author, @rothja, has been notified to review your proposed change.

@rothja  Thanks for answering. I changed it.

@mohammad-hekmat  Thank you. I'm signing off on this fix. #sign-off


Issue #41: Removed unneeded uses of 'this' in FrameHelp

Issue #41.

Coverage remained the same at 14.463% when pulling fbcd6164d04d4ceb34ae6eae6bafe20ff25ef755 on FridaTveit:RemoveUnneededThisInFrameHelp into 445505861f08683e3984ebe22951d6911adc8bc2 on oskopek:master.

Coverage remained the same at 14.463% when pulling 3ed6f14233c8bedc5d4213eb324049ae94bab1a7 on FridaTveit:RemoveUnneededThisInFrameHelp into f826fa79d9df6ba17cf7f65da002836a07179dcf on oskopek:master.

Merged, thanks @FridaTveit :) If you want, add yourself to the contributor list https://github.com/oskopek/javaanpr/blob/master/AUTHORS.adoc :+1:


[Feature]: Support trusted ca certificates

Is there an existing issue already for this feature request/idea?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?
It is only supported to use self-signed server and, or client certificates.
https://cloudnative-pg.io/documentation/1.22/certificates/
Describe the solution you'd like
I would like to use trusted ca certificates.
E.g.  Certificates issued by letcsencrypt (cert-manager)
Describe alternatives you've considered
Terminate TLS connection on ingress controller.
Additional context
Application requires trusted ca certificates to connect to database. Self-signed certificates are not supported.
Backport?
N/A
Are you willing to actively contribute to this feature?
No
Code of Conduct

[X] I agree to follow this project's Code of Conduct

related https://github.com/cloudnative-pg/cloudnative-pg/issues/3503

Indeed, #3503 is still relevant.

Would also be curious about the potential support for this? I see that there was a PR #4940 but it was closed?


New feature request

Hello, would you mind if I create PR for:

checking status of message
checking quota
testing key

sure, that would be great! please also include tests with your new code.

Also, I would rewrite textbelt.go because currently textbelt.com is not working without the key.

no activity for awhile now; closing.


Combine wait-invoice and fetch CLI commands

First time users of our CLI alway get confused by having to receive money over LN, which requires:
(1) ln-invoice to generate invoice
(2) wait-invoice to wait for it to be paid and claim the funds in the contract
(3) fetch to get your balance to update
Perhaps we should just have fetch look for any ConfirmedInvoies in the DB and try to complete them. Then the flow would just require steps (1) and (3).

Hi @justinmoon, I can take a look at this one.

Assigned

There's a question of who the audience is for this CLI. For developers, it can be nice to have a fetch command that makes the steps involved in ecash issuance and redemption a little clearer.
But for end-users, we might want to just fetch out updated balance and try to complete pending incoming contracts any time the CLI starts up?

Implicit behavior like that is bad for CI testing. The CLI client is first and foremost a low-level tool for debugging and testing imo.
We could put the low level interfaces into a subcommand and build a high level interface next to it. The question is if it's worth it. Originally clientd was supposed to fill that gap: have a long-running daemon that drives forward payments in the background and can be queried via a CLI client (or an electron app too).

For now, perhaps we could remove the wait-invoice command and just have fetch look in the database for any ConfirmedInvoiceKey and try to claim the contracts using claim_incoming_contract? You'll see there is a long-standing TODO in claim_incoming_contract so save whether the invoice was paid or not. If you added this, then you could filter the ConfirmedInvoiceKey records using that. Also, you could just filter out any invoices that are expired.

Implicit behavior like that is bad for CI testing. The CLI client is first and foremost a low-level tool for debugging and testing imo.

I don't know. It is useful in scripting, and operating the fedimint. Sometimes I'm a developer and need a precise behavior, and sometimes I'm a distracted user, who just wants to get the job done and doesn't remember all the low level details. Most Unix tools tries to be like that, IMO.
Seems to me like the default behavior should be user friendly and handy, while we should have commands and flags available to allow precise control and scripting.
So we probably want a standalone wait-invoice, while we could have fetch (just fetch notes) and refresh or update (doing bunch of things together that make sense for the user). Or we could add some flags to disable automatic extra-fetching behavior.

This user-friendly client could also talk to a block explorer to automatically get peg-in proofs and drive forward peg-ins in the background.

You'll see there is a long-standing TODO in claim_incoming_contract so save whether the invoice was paid or not

I could try adding this in. Which DB key prefix would we use for that?

Also, you could just filter out any invoices that are expired

I'll go with this approach in the first instance and then use the saved info from the DB if I manage to include that part.

ConfirmedInvoiceKey contains be able to return all (ContractId, ConfirmedInvoice) pairs in the local client database.
You can use ConfirmedInvoiceKey.invoice.is_expired() to filter out the expired invoices. Then use ContractId as the argument to claim_incoming_contract().

As discussed with @justinmoon, this is no longer required.

Will fix this in the new client


RunnablePassthrough().pick() not working as expected

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
const chain = RunnableSequence.from([
        {
          context: retriever.pipe(formatDocumentsAsString),
          input: new RunnablePassthrough().pick("input"),
        },
        generalPrompt,
        ollama,
        new StringOutputParser(),
      ]);

const stream = await chain.stream({ input: lastUserMessage, chat_history: history });

Error Message and Stack Trace (if applicable)
Failed to process the request text.replace is not a function   {
"stack": "TypeError: text.replace is not a function\n    at OpenAIEmbeddings.embedQuery
Description
I want to select a specific input from my .invoke or .stream in the RunnableSequence

When using pick, the entire argument is being passthrough

as if I did
const chain = RunnableSequence.from([
        {
          context: retriever.pipe(formatDocumentsAsString),
          input: new RunnablePassthrough(),
        },
        generalPrompt,
        ollama,
        new StringOutputParser(),
      ]);

const stream = await chain.stream({ input: lastUserMessage, chat_history: history });

System Info
typescript, "langchain": "^0.1.37",

Seems like the solution is this
new RunnablePassthrough().pick(["input"])

takes an array of string instead of a direct string


Kartkraft is sending motion while in pause menu

Hi guys,
I got the following ticket from a customer:
Hi there...
While Pausing the game (latest version), Kartkraft keeps sending a jerking motion every 6 seconds or so instead of completely pausing.
I am wondering if you guys can have look into it, please.
Another possibility is add a field to the telemetry to identify if the game is in pause. So I could filter this on my side.

At present the only data sent while paused is the track config. The track config is currently sent every 5sec, containing the name of the track and the number of sectors. It sounds like whichever plugin you are using is not checking for the presence of motion data before updating hardware. If no motion is found within the package the motion rig should not be updated.
A python example:
if motion:
  #update the motion rig hardware here
else:
  #do nothing. no motion data was received

See also:
https://github.com/black-delta/kartkraft-telemetry/blob/master/Examples/Python/ListenForTelemetry.py
If you're using an external plugin, best to follow up with them so they can fix this issue.
Having said that, we will be adding more output data soon with a flag showing game state. e.g. paused, in pits etc. But this problem should be solvable immediately without that new data.

let me give it a try


Add zstd:chunked compression to built images.

There's a long arc of changes in container tooling to support zstd:chunked compression that supports better compression and better download capabilities in clients. However, old versions of docker (pre-2023) don't support it, which has held up adoption.
The request here is to add zstd:chunked compression in addition to the normal gzip compression for images when we push an OCI image index - so that new clients can take advantage of it, and old clients don't break. To illustrate, for an ordinary multi-arch image index, you would have 4 entries, one for each arch. The idea here is to have 8 entries, one for each arch with gzip compression, and one for each arch with zstd:chunked compression.
Idea number 1: I looked, and buildah manifest push has a --add-compression zstd:chunked option which (I think) will automatically add the extra image manifests on push.
However, I think we might have issues with image provenance. In a Konflux multi-arch build pipeline, we build each arch separately in a buildah task. Those produce image manifests, and their digests are recorded and provenance information is associated with them. We then produce the image index, record its digest, and record stuff there too.
When we validate an image at release time, we ensure that we can find provenance for both the image index as well as all of the referenced image manifests.
If we "magically" add an extra four manifests when we create the image index, then our policy check will fail unless their digests and pullspecs are somehow also exposed, so that chains can attest to their origin.
Idea number 2: Instead, perhaps our buildah tasks should be modified to first push the image with gzip compression, and then call buildah push again with a --compression-format zstd:chunked option to generate the second image manifest then, earlier in the process. Our buildah task would need to expose both digests.. hm.
Idea number 3: Perhaps we should add a new intermediary task that accepts the digest of the image-manifest producing buildah task as a param, pulls it, and then re-pushes it with zstd:chunked. This new task would expose the pullspec and digest of the zstd:chunked manifest as a result, which will induce chains to record provenance for it. The task that builds the image index would then take 8 inputs instead of 4. All 8 would be explicitly added to the image index.

Idea 1: It should be possible to modify the image index generation to add this functionality (optionally?) if desired. I added functionality last week to expose all image manifests linked to Chains: https://github.com/konflux-ci/build-definitions/pull/1204/files. We will need to be sensitive to the Tekton results limitations. Some users were hitting the limitation for the buildah task when we referenced 3-4 base images in the BASE_IMAGE_DIGESTS. This isn't a direct comparison because the quota for results was split across multiple task steps for buildah.
Since this change has already been made to the image index generation, its behavior would be consistent if any other approach is taken instead/in addition to the first idea.
Idea 2: This could potentially work. If Chains is able to generate provenance for recursive images as well as sign all image manifests then we could even add these multiple images within a common Image Index, merging all Image Indexes in multi-arch situations. Exposing multiple digests from buildah tasks would be hard because we currently have an assumption of one artifact being produced per pipeline. We would likely need a solution for that assumption before this approach can be implemented.
Idea 3: This is likely more feasible than number 2 due to the fact that we wouldn't be returning multiple references from a single task. The output from this task would need to be represented in the Image Index generation, so skipping of the task would mean that there are no results and therefore the image index generation would be skipped since all inputs are not present. This may be possible to work around with some form of matrix build which runs for each compression output desired. Then you would always have some results to be consumed by the image index task.

What would this look like in the registry?
We want an Image Manifest for each platform and each layer compression type. For example:

Image Manifest for amd64 with layers compressed with gzip
Image Manifest for amd64 with layers compressed with zstd:chunked
Image Manifest for ppc64le with layers compressed with gzip
Image Manifest for ppc64le with layers compressed with zstd:chunked
and so on

image_manifest_count = platforms_count + compression_type_count
Then we need to bring those altogether with an Image Index (aka Manifest List). For that, I don't believe we can have multiple entries for the same platform. The registry might allow you to create it, but it would be ambiguous to clients which Image Manifest to pick. Needs testing. The safest approach IMO is to provide an Image Index per compression type. In this case, we would have one Image Index that references the Image Manifest using gzip compression layers, and another Image Index for zstd:chunked compression.
We may want to consider this to be configurable for users. Let them decide which compression they want to use, one or both.
One approach could be to modify the buildah Task to handle this. It may produce multiple Image Manifests depending on the values of the COMPRESSION parameter, for example.
The Task that builds the Image Index can operate in a similar fashion. Where it could have a parameter for the gzip Image Manifests, IMAGES, and another parameter for the zstd:chunked  Image Manifests, ZSTD_IMAGES. (Or it could just one big list and sort them out accordingly.) (NOTE: Emitting all the Image Manifest digest from this Task was added as a workaround to make Chains work properly with the Matrix feature. It is absolutely not necessary otherwise.)
We need to think about how the Image Manifests and Image Indexes are tagged in the registry if both compression types are in use. Use a convention? Leave it up to the user?
There's also the question about which image ref becomes the one that gets promoted to the application snapshot.

Then we need to bring those altogether with an Image Index (aka Manifest List). For that, I don't believe we can have multiple entries for the same platform. The registry might allow you to create it, but it would be ambiguous to clients which Image Manifest to pick. Needs testing.

@rhatdan tells me that clients that do support zstd:chunked will prefer the zstd:chunked manifests if they can find them. The older pre-2023 docker client will select whatever manifest it finds first for its arch, so we need to ensure that the gzip compression option comes first in the list for each platform.

ack. I couldn't quite get buildah manifest push --add-compression zstd:chunked to work. Keep getting the error Error: preparing instances for copy: EnsureCompressionVariantsExist is not implemented for CopySpecificImages. But that's likely a me problem.
Let's operate under the assumption that a single Image Index is sufficient.
Idea 1

However, I think we might have issues with image provenance. In a Konflux multi-arch build pipeline, we build each arch separately in a buildah task. Those produce image manifests, and their digests are recorded and provenance information is associated with them. We then produce the image index, record its digest, and record stuff there too.

As long as the new digests appear somewhere in a type-hint result of a TaskRun or the PipelineRun, Chains should sign them and add them to the SLSA Provenance. To clarify, Chains only ever generates a single SLSA Provenance for a PipelineRun. If adds all the image references to the subject list of the SLSA Provenance and attaches it to each of the image references. This seems like a reasonable thing to do.
Idea 2
This seems similar to Idea 1 but the zstd:chunked digests are recorded by the buildah Task instead of the build-image-manifest.
I think between the two, I like this one better because it's more isolated. The conversion happens when the image is built. (Also, I couldn't get buildah manifest push to make the conversion so I don't know for sure if that will work. If that's not possible, I believe that would rule out Idea 1.)
I don't necessarily think that emitting multiple image references from a single buildah Task is a problem. AFAIK, Konflux only cares about the image reference on the PipelineRun result. As long as that is still a single ref, i.e. Image Index, then it doesn't really matter how many image refs the TaskRuns emit. NOTE: With any of these approaches there's likely some Pipeline changes required by the users. We should try to make things as backwards-compatible as possible.
Idea 3
A dedicated Task for this seems overkill. What if someone only wants images with zstd:chunked compression?


[DO NOT MERGE] Plan 525 session status edit (1.7)

waiting on decision on what to do about dropped status and removing spacetime


Maven plugin executions not respecting pluginManagement

Which version and edition of Flyway are you using?
9.22.2
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Maven plugin
Which database are you using? (Type & version)
PostgreSQL 15.3
Which operating system are you using?
Linux LDV161 6.2.0-34-generic #34~22.04.1-Ubuntu
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Defined a  section in parent POM. Executed mvn flyway:info.
<pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.flywaydb</groupId>
                    <artifactId>flyway-maven-plugin</artifactId>
                    <version>${flyway.version}</version>
                    <configuration>
                        <baselineOnMigrate>true</baselineOnMigrate>
                        <url>${database.url}</url>
                        <user>${database.user}</user>
                        <password>${database.password}</password>
                    </configuration>
                    <dependencies>
                        <dependency>
                            <groupId>org.postgresql</groupId>
                            <artifactId>postgresql</artifactId>
                            <version>${postgresql.version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

What did you expect to see?
No plugin executions happening since there are no plugin configurations in module POMs.
What did you see instead?
A flyway execution for every module (including the parent) printing errors about not finding migrations.
Maven output:
[INFO] --- flyway:9.22.2:info (default-cli) @ pim-parent ---
[INFO] Flyway Community Edition 9.22.2 by Redgate
[INFO] See release notes here: https://rd.gt/416ObMi
[INFO]
[ERROR] Skipping filesystem location: /home/claussni/Projects/CMR/pim/src/main/resources/db/migration (not found)
[INFO] Database: jdbc:postgresql://localhost:5432/pimdb (PostgreSQL 15.3)
[INFO] Schema version: 1
[INFO]
[INFO] +----------+---------+-----------------------+----------+---------------------+----------+----------+
| Category | Version | Description           | Type     | Installed On        | State    | Undoable |
+----------+---------+-----------------------+----------+---------------------+----------+----------+
|          | 1       | << Flyway Baseline >> | BASELINE | 2023-10-07 16:49:04 | Baseline | No       |
+----------+---------+-----------------------+----------+---------------------+----------+----------+

[INFO]
[INFO] ---------------------< de.slub-dresden.pim:common >---------------------
[INFO] Building pim.common 1.0.0-SNAPSHOT                                 [2/4]
[INFO]   from common/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- flyway:9.22.2:info (default-cli) @ common ---
[ERROR] Skipping filesystem location: /home/claussni/Projects/CMR/pim/common/src/main/resources/db/migration (not found)
[INFO] Database: jdbc:postgresql://localhost:5432/pimdb (PostgreSQL 15.3)
[INFO] Schema version: 1
[INFO]
[INFO] +----------+---------+-----------------------+----------+---------------------+----------+----------+
| Category | Version | Description           | Type     | Installed On        | State    | Undoable |
+----------+---------+-----------------------+----------+---------------------+----------+----------+
|          | 1       | << Flyway Baseline >> | BASELINE | 2023-10-07 16:49:04 | Baseline | No       |
+----------+---------+-----------------------+----------+---------------------+----------+----------+

[INFO]
[INFO] -------------------< de.slub-dresden.pim:admin-web >--------------------
[INFO] Building pim.admin-ui 1.0.0-SNAPSHOT                               [3/4]
[INFO]   from admin-web/pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- flyway:9.22.2:info (default-cli) @ admin-web ---
[ERROR] Skipping filesystem location: /home/claussni/Projects/CMR/pim/admin-web/src/main/resources/db/migration (not found)
[INFO] Database: jdbc:postgresql://localhost:5432/pimdb (PostgreSQL 15.3)
[INFO] Schema version: 1
[INFO]
[INFO] +----------+---------+-----------------------+----------+---------------------+----------+----------+
| Category | Version | Description           | Type     | Installed On        | State    | Undoable |
+----------+---------+-----------------------+----------+---------------------+----------+----------+
|          | 1       | << Flyway Baseline >> | BASELINE | 2023-10-07 16:49:04 | Baseline | No       |
+----------+---------+-----------------------+----------+---------------------+----------+----------+

[INFO]
[INFO] ----------------------< de.slub-dresden.pim:core >----------------------
[INFO] Building pim.core 1.0.0-SNAPSHOT                                   [4/4]
[INFO]   from core/pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- flyway:9.22.2:info (default-cli) @ core ---
[INFO] Database: jdbc:postgresql://localhost:5432/pimdb (PostgreSQL 15.3)
[INFO] Schema version: 1
[INFO]
[INFO] +-----------+---------+-----------------------+----------+---------------------+--------------------+----------+
| Category  | Version | Description           | Type     | Installed On        | State              | Undoable |
+-----------+---------+-----------------------+----------+---------------------+--------------------+----------+
| Versioned | 1       | init schema           | SQL      |                     | Ignored (Baseline) | No       |
|           | 1       | << Flyway Baseline >> | BASELINE | 2023-10-07 16:49:04 | Baseline           | No       |
+-----------+---------+-----------------------+----------+---------------------+--------------------+----------+

Executed mvn flyway:info.

Requested explicit goal and not lifecycle phase.

@pzygielo As far as I understand the given command executes an explicit goal not bound to a lifecycle phase.
What did you expect instead?


Fix E2BIG error in pre-commit

When pre-commit runs a command, it tries to avoid putting too many arguments on the command-line by splitting up the arg list.  To do so, it needs to take into account the number of arguments that are on the command itself, in addition to the args it will add for the files it needs to process.  If the command in .pre-commit-config.yaml calls a subcommand that has more arguments, then pre-commit's calculation of how many args it needs to leave for the call itself will be wrong, and we get E2BIG.
The hack is to just inline whatever subcommand gets called into .pre-commit-config.yaml.  Quite annoying and duplicative, but it appears there's no way around it.  See https://github.com/pre-commit/pre-commit/issues/2841
Checklist

[ ] I have added tests
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

annoying and duplicative

You can avoid the duplication by making the package.json script call pre-commit run instead

I don't think that works because we want to support additional args and no args ets


confy: 0.7.0 -> 0.7.1

Description of changes
Changelog: mostly translations, metadata and source formatting changes.
In the nix file, I have sorted dependencies, clarified that the license is GPL3 or later, added mainProgram and switched to the finalAttrs pattern.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3366


[hotfix-#1748][starrocks] Add table structure cache

Add table structure cache

Purpose of this pull request
Added configuration for isCacheTableStruct and checkStructFirstTime to reduce database interaction
Which issue you fix
#1748
Checklist:

[ ] I have executed the 'mvn spotless:apply' command to format my code.
[ ] I have a meaningful commit message (including the issue id, the template of commit message is '[label-type-#issue-id][fixed-module] a meaningful commit message.')
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have checked my code and corrected any misspellings.
[ ] My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.)

LGTM


trying to custumize table column width

Hi ,
I want to give custom width for every column as per some bigger text, but by default it is taking some fixed width  "min-width: 10em;" is there any way i can solve it ?

Hi,
You would override the width using simple CSS. Use the same value for width, min-width, and max-width to get consistent results across browsers.
The example application shows an example of this, it defines a "w2" class that is 20em and is applied to two columns in the example grid. You can see it here and look at the source code to see how it works:
https://github.com/richardtallent/vue-scrolling-table-sample

It worked,
Thanks


Configuration of buildroot-bzimage.bin

I'd like to customize the Buildroot example image at https://k.copy.sh/buildroot-bzimage.bin. Is the Buildroot configuration available, @v86? :) Thanks!

See https://github.com/copy/v86/issues/725#issuecomment-1307807275

Thanks! :)


Attempting to send an error response partway through encoding a data command response crashes

Problem
Steps to reproduce:

git checkout 9be31d7a0f1f267507e750d83e7e10018642add2
./gn_build.sh (or whatever way you want to build chip-tool
scripts/examples/gn_build_example.sh examples/ota-provider-app/linux/ out/apps chip_config_network_layer_ble=false
In a separate terminal, out/apps/chip-ota-provider-app
out/debug/standalone/chip-tool pairing onnetwork 0 20202021 3840 ::1 5540

The ota provider app crashes, like so:
* thread #3, queue = 'com.zigbee.chip.framework.controller.workqueue', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100013ee6 chip-ota-provider-app`emberAfSendDefaultResponseWithCallback(cmd=0x00000001000e8df0, status=EMBER_ZCL_STATUS_FAILURE, callback=0x0000000000000000)(chip::MessageSendDestination const&, EmberApsFrame*, unsigned short, unsigned char*, unsigned char)) at util.cpp:820:10
   817
   818 	    // If the Disable Default Response sub-field is set, Default Response commands
   819 	    // are only sent if there was an error.
-> 820 	    if ((cmd->buffer[0] & ZCL_DISABLE_DEFAULT_RESPONSE_MASK) && status == EMBER_ZCL_STATUS_SUCCESS)
   821 	    {
   822 	        return EMBER_SUCCESS;
   823 	    }

with a null cmd->buffer.

The stack:
  * frame #0: 0x0000000100013ee6 chip-ota-provider-app`emberAfSendDefaultResponseWithCallback(cmd=0x00000001000e8df0, status=EMBER_ZCL_STATUS_FAILURE, callback=0x0000000000000000)(chip::MessageSendDestination const&, EmberApsFrame*, unsigned short, unsigned char*, unsigned char)) at util.cpp:820:10
    frame #1: 0x0000000100013e76 chip-ota-provider-app`emberAfSendImmediateDefaultResponseWithCallback(status=EMBER_ZCL_STATUS_FAILURE, callback=0x0000000000000000)(chip::MessageSendDestination const&, EmberApsFrame*, unsigned short, unsigned char*, unsigned char)) at util.cpp:793:12
    frame #2: 0x0000000100014029 chip-ota-provider-app`emberAfSendImmediateDefaultResponse(status=EMBER_ZCL_STATUS_FAILURE) at util.cpp:798:12
    frame #3: 0x0000000100016b3f chip-ota-provider-app`emberAfOperationalCredentialsClusterCertificateChainRequestCallback(endpoint=0, commandObj=0x00000001000e5e38, certificateType='\x02') at operational-credentials-server.cpp:529:9
    frame #4: 0x000000010001d603 chip-ota-provider-app`chip::app::clusters::OperationalCredentials::DispatchServerCommand(apCommandObj=0x00000001000e5e38, aCommandId=2, aEndpointId=0, aDataTlv=0x00007000084af480) at IMClusterCommandHandler.cpp:584:21
    frame #5: 0x000000010001e355 chip-ota-provider-app`chip::app::DispatchSingleClusterCommand(aClusterId=62, aCommandId=2, aEndPointId=0, aReader=0x00007000084af480, apCommandObj=0x00000001000e5e38) at IMClusterCommandHandler.cpp:809:9
    frame #6: 0x000000010002ae1b chip-ota-provider-app`chip::app::CommandHandler::ProcessCommandDataElement(this=0x00000001000e5e38, aCommandElement=0x00007000084af610) at CommandHandler.cpp:106:9
    frame #7: 0x0000000100029705 chip-ota-provider-app`chip::app::Command::ProcessCommandMessage(this=0x00000001000e5e38, payload=0x00007000084b0678, aCommandRoleId=HandlerId) at Command.cpp:112:15
    frame #8: 0x000000010002a587 chip-ota-provider-app`chip::app::CommandHandler::OnInvokeCommandRequest(this=0x00000001000e5e38, ec=0x00000001000e4928, payloadHeader=0x00007000084b0128, payload=0x00007000084b0678) at CommandHandler.cpp:48:11
    frame #9: 0x000000010002e65c chip-ota-provider-app`chip::app::InteractionModelEngine::OnInvokeCommandRequest(this=0x00000001000e5e20, apExchangeContext=0x00000001000e4928, aPayloadHeader=0x00007000084b0128, aPayload=0x00007000084b0678) at InteractionModelEngine.cpp:215:48
    frame #10: 0x000000010002f09d chip-ota-provider-app`chip::app::InteractionModelEngine::OnMessageReceived(this=0x00000001000e5e20, apExchangeContext=0x00000001000e4928, aPayloadHeader=0x00007000084b0128, aPayload=0x00007000084b0678) at InteractionModelEngine.cpp:324:16
    frame #11: 0x000000010007bfc7 chip-ota-provider-app`chip::Messaging::ExchangeContext::HandleMessage(this=0x00000001000e4928, messageCounter=0, payloadHeader=0x00007000084b0128, peerAddress=0x00007000084b03d0, msgFlags=(mValue = 0), msgBuf=0x00007000084b0678) at ExchangeContext.cpp:461:27
    frame #12: 0x000000010007e67a chip-ota-provider-app`chip::Messaging::ExchangeManager::OnMessageReceived(this=0x00000001000e4750, packetHeader=0x00007000084b0200, payloadHeader=0x00007000084b0128, session=SessionHandle @ 0x00007000084aff98, source=0x00007000084b03d0, isDuplicate=No, msgBuf=0x00007000084b0678) at ExchangeMgr.cpp:303:30
    frame #13: 0x000000010008f7b8 chip-ota-provider-app`chip::SessionManager::SecureMessageDispatch(this=0x00000001000e3780, packetHeader=0x00007000084b0200, peerAddress=0x00007000084b03d0, msg=0x00007000084b0678) at SessionManager.cpp:488:14
    frame #14: 0x000000010008eed8 chip-ota-provider-app`chip::SessionManager::OnMessageReceived(this=0x00000001000e3780, peerAddress=0x00007000084b03d0, msg=0x00007000084b0678) at SessionManager.cpp:331:9
    frame #15: 0x0000000100093c03 chip-ota-provider-app`chip::TransportMgrBase::HandleMessageReceived(this=0x00000001000e3718, peerAddress=0x00007000084b03d0, msg=0x00007000084b0678) at TransportMgrBase.cpp:66:26
    frame #16: 0x00000001000b250d chip-ota-provider-app`chip::Transport::Base::HandleMessageReceived(this=0x00000001000e3740, source=0x00007000084b03d0, buffer=0x00007000084b0678) at Base.h:92:20
    frame #17: 0x00000001000b21fe chip-ota-provider-app`chip::Transport::UDP::OnUdpReceive(endPoint=0x0000000101005000, buffer=0x00007000084b0678, pktInfo=0x00007000084b0680) at UDP.cpp:120:10
    frame #18: 0x0000000100063c98 chip-ota-provider-app`chip::Inet::IPEndPointBasis::HandlePendingIO(this=0x0000000101005000, aPort=5540) at IPEndPointBasis.cpp:1130:9
    frame #19: 0x0000000100065314 chip-ota-provider-app`chip::Inet::UDPEndPoint::HandlePendingIO(this=0x0000000101005000, events=(mValue = '\x01')) at UDPEndPoint.cpp:938:26
    frame #20: 0x00000001000652a9 chip-ota-provider-app`invocation function for block in chip::Inet::UDPEndPoint::Bind(.block_descriptor=0x000000010130c110) at UDPEndPoint.cpp:258:19
    frame #21: 0x00007fff67372658 libdispatch.dylib`_dispatch_client_callout + 8
    frame #22: 0x00007fff67374818 libdispatch.dylib`_dispatch_continuation_pop + 414
    frame #23: 0x00007fff673844be libdispatch.dylib`_dispatch_source_invoke + 2084
    frame #24: 0x00007fff67377af6 libdispatch.dylib`_dispatch_lane_serial_drain + 263
    frame #25: 0x00007fff673785d6 libdispatch.dylib`_dispatch_lane_invoke + 363
    frame #26: 0x00007fff67381c09 libdispatch.dylib`_dispatch_workloop_worker_thread + 596
    frame #27: 0x00007fff675cca3d libsystem_pthread.dylib`_pthread_wqthread + 290
    frame #28: 0x00007fff675cbb77 libsystem_pthread.dylib`start_wqthread + 15

What happens here is we land inside emberAfOperationalCredentialsClusterCertificateChainRequestCallback and start writing our response.  We do:
   497 	    SuccessOrExit(err = commandObj->PrepareCommand(cmdParams));

then we try to call GetProductAttestationIntermediateCert on dacProvider, and that fails because it's a chip::Credentials::UnimplementedDACProvider.  So we SuccessOrExit(err), land in the exit: block, and do emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_FAILURE).
That lands us eventually in emberAfSendDefaultResponseWithCallback, we call chip::app::Compatibility::IMEmberAfSendDefaultResponseWithCallback to handle things, and that returns false because currentCommandObject->AddStatusCode fails due to the TLV writer not being in a good state for whatever AddStatusCode is trying to do, because we had already started writing command response bits into it.
We then press on to the ember default response handling bits and crash.
Proposed Solution
Several things need to happen:

Fix IMEmberAfSendDefaultResponseWithCallback to only return false if currentCommandObject == nullptr.  That should fix the crash, at least, but the actual command response bits will still be broken.
Decide whether the CommandHandler API will support this use case of starting a response, then hitting an error and trying  to send a failure status instead.

If supported, fix the CommandHandler API accordingly.  Add a test that exercises this via TestCluster + yaml.
If not supported, document clearly that no fallible operations other than TLV bits are allowed to happen between the PrepareCommand call and the FinishCommand call.  Fix the opcreds cluster to follow the API constraint.

@carol-apple @mrjerryjohns @yunhanw-google @erjiaqing

I think 2) makes the most sense in the short-term.
#8893 and moving to cluster objects will certainly make the encoding of responses 'API atomic', preventing the possibility of this particular situation from happening.
What should happen though if as part of encoding the cluster object, the TLV operation fails, for a reason other than bugs (e.g trying to write out too big a list)? I presume in that case, we should just terminate the interaction as opposed to attempting to encode a status element?

This is fixed now given we use cluster objects.

It's not, because you can still end up trying to send a status response in the middle of encoding a cluster object if you implement its Encode and it does interesting work (like groups cluster does).
We need to really sort out the "who will send the status response" bits and then make sure everyone is doing the right thing.

I think https://github.com/project-chip/connectedhomeip/issues/8893 fixed this sufficiently.  In particular, AddResponseData can never leave us in a bad state now, because it rolls back on failure.


(maint) Use @object_class in ADSIObject.parse_name error msg

This was overlooked in the Windows ADSI User/Group refactor.

CLA signed by all contributors.

:+1:


Autocorrect image names if they are correctable

Closes #106
Instead of just telling the user about the error, we check the shape of the input and

lower the first character if it's alphanumeric and uppercase
replace any non-alpha, non-number, non-dash/dot/underscore character with a dash
error if the first character is anything non-viable

If we had to normalize at all, we log a message so the user can potentially do something about it.

should I rebase to v0.1 or keep it on main?

IMO this one can wait but I wouldn't object to "servicing" for it.

rebased on top of v0.1


homebridge-config-ui-x does not see latest nodeJS installation

Current Situation
Config-ui-x does show in the Status page under System Information that there is currently nodejs v22.11.0 installed and as path Users/USERNAME/.nvm/versions/node/v22.11.0/bin
I installed nodejs with nvm package manager as described on their website for macOS
I manually updated nodejs with nvm and I can see in finder there are two folder under: Users/USERNAME/.nvm/versions/node/ v22.11.0 & v22.12.0
How do I tell homebridge-config-ui-x that there is a newer version downloaded/installed on my Mac?
Logs
No response
Config
No response
Homebridge UI Version
4.65.2
Homebridge Version
1.8.5
Node.js Version
22.12.0
Operating System
macOS
Environment Info
Using hb-service
Raspberry Pi Model
None

I believe NodeJS is picked up from the path, but I could be wrong.  Check out what the homebridge plist shows, it is in the directory /Library/LaunchDaemons/

I believe NodeJS is picked up from the path, but I could be wrong. Check out what the homebridge plist shows, it is in the directory /Library/LaunchDaemons/

Hi,
thanks for the answer. com.homebridge.server.plist points to :
<key>PATH</key>
 <string>/Users/USERNAME/.nvm/versions/node/v22.11.0/bin:

<key>ProgramArguments</key>
 <array>
<string>/Users/USERNAME/.nvm/versions/node/v22.11.0/bin/node</string>
<string>/Users/USERNAME/.nvm/versions/node/v22.11.0/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js</string>

Could I edit the .plist and exchange 22.11.1 with 22.12.0 or would that break something?

You should be able to just edit the plist - is it generated when you installed homebridge.

You should be able to just edit the plist - is it generated when you installed homebridge.

I tried it with no success, it does not see the latest version, even after restarting hb-ui-x and homebridge itself.
I found this the wiki and also how to fix it by reinstalling everything. As currently everything is working just fine, I guess, I will just leave it as it is.


fix some bugs of plugsched service

This commit fixes some bugs of plugsched service. See commit log for details.

the commit log is poorly written
why need to unload module on service stop?
dynup/kpatch@8909e63

For Kpatch, some hotfix modules cannot be unload because of security reasons. Different from kpatch, for the plugsched, when the scheduler module is installed and uninstalled is optional to users.

/retest

/retest


added screenshot

There was an error while validating job f7cf32a5-cc21-4a38-b9f0-770b48fb21e5 Message:Error clonning repositoryDetails:System.ArgumentException: Error clonning repository ---> System.Exception: Error when trying to initialize shared repository ---> LibGit2Sharp.NotFoundException: Branch 444 not found. Available branches:
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetBranch(Repository repo, String name)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass3e.b__3d()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction(Action action)    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.InitializeSharedRepository(String url, IDictionary2 branches, String sharedRepoPath)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.VerifySharedRepository(String url, IDictionary2 branches, String tempPath)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.VerifySharedRepository(String url, IDictionary2 branches, String tempPath)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository()
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetTreeAsync(String path, Boolean includeSubDirectories, String excludePath, IList1 extensionWhiteList)    at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.ListSourceControlFilesCommand.Do(IDictionary2 context)
at Microsoft.LightweightJobEngine.Core.Language.JobWorkflow1.RunCommands(Guid jobId, IDictionary2 context, CancellationTokenSource cancelSignal)


Add support for organizations feature

Fixes #55

@e-lippmann thank you very much for looking into this. I am honestly quite embarrassed by how many mistakes there are on the models... I'll fix those up right away 😞


Name the dashboard page of hotel

hotel.dev instead of localhost:2000, would make it easier to find it

@JanStevens if you go to hotel.dev i'll already find hotel's dashboard...
maybe u forgot to configure your proxy to allow .dev domains, no?
Check the instructions here

Oké then the logging when starting hotel should also point to hotel.dev
instead of local host:2000
On Thursday, 4 August 2016, Rafael Amorim<EMAIL_ADDRESS>wrote:

@JanStevens https://github.com/JanStevens if you go to hotel.dev i'll
already find hotel's dashboard...
maybe u forgot to configure your proxy to allow .dev domains, no?
Check the instructions here
https://github.com/typicode/hotel/blob/master/docs/README.md
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typicode/hotel/issues/119#issuecomment-237610679, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABeBg-obCaRBQWVbaQWLC7L4SyyN-ueLks5qchYVgaJpZM4JaUun
.

--
~Jan Stevens

@JanStevens actually local .dev domains are optional...
hotel only tunnels (and manage) a tcp service to a port...
so, logs showing localhost:2000 is pretty much correct since hotel's proxy to .dev domains have not being started until then, and so, .dev domains are not yet working...
and since "system widely" proxy configuration is not required for the domains to work, you can get false negatives if you try to check for the proxy but the user has configured it only for a single tab in chrome.

Fair enough, thanks for the explanation 😀
On Thursday, 4 August 2016, Rafael Amorim<EMAIL_ADDRESS>wrote:

@JanStevens https://github.com/JanStevens actually local .dev domains
are optional...
hotel only tunnels (and manage) a tcp service to a port...
so, logs showing localhost:2000 is pretty much correct since hotel's proxy
to .dev domains have not being started until then, and so, .dev domains are
not yet working...
and since "system widely" proxy configuration is not required for the
domains to work, you can get false negatives if you try to check for the
proxy but the user has configured it only for a single tab in chrome.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typicode/hotel/issues/119#issuecomment-237663174, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABeBgyjP7uI2qsx-_ELpN0vb-UGfUQxVks5qckIWgaJpZM4JaUun
.

--
~Jan Stevens


WIP: Update to latest zig and remove submodules

Hey there
Removed submodules in favor of what?
Please split zig update and this in two commits
A big diff is incoming because i rewrote the ast. A lot of this might need to be redone. Maybe wait a bit?

@vesim987 until build.zig.zon files work with proxies I won't migrate to it


Old Package at PyPI

Hello, the package available at PyPI is kinda of old.
Because the module bitfinex/client.py there doesn't have the class TradeClient yet.
Thanks.

Sorry, I just see that there is already an issue regarding this[1], with more than 1 yr old hehe.
Thx.
[1] - https://github.com/scottjbarr/bitfinex/issues/6

I did a hackish workaround, might help someone:
FROM python:3.6.1-slim

MAINTAINER Rafael Capucho<EMAIL_ADDRESS>WORKDIR /usr/src/app
EXPOSE 5000
COPY . .


Feature Request - unused variables\ functions

It would be cool if it is possible to grey out unused variables and functions, I think the function grey out can be done easily, as the support for 'find all references' is there, so it should be an extension ontop of that, i would suggest that it requires a hotkey to trigger so it does not slow down normal text processing.

Like this http://fsprojects.github.io/VisualFSharpPowerTools/syntaxcoloring.html#Graying-out-unused-declarations ?

yes like that but perhaps at the function level and variables inside bindings? for example imagine function f that is not used anywhere in your code base, it'd be neat if you could know this without hunting through stuff, or will this cause more issues than the benefits it adds?

FYI, adding warnon:1182 into the project option helps somewhat with un-used variable warnings.

Currently we highlight (in gray) unused private and internal: module/class let bindings, class methods, record fields, DU cases, local let bindings and unused open declarations (maybe some other categories). Doing the same solution-wide is so expensive (we would have to parse and check all projects which references the current one), that we intentionally cut it from the beginning.

hmmm, I guess for some reason even though I have the 'grey out' box ticked in the F# Power options, it does not do this? is there some combinative setting that needs also to be selected (I have some stuff disabled). I know powertools is working as I see the depth colorizer

@xenocons You need to enable Syntax Coloring to see those greyed out values/bindings.

aha! thank you!!


N Queen in C language

Implementation of N Queen problem in C language.

Thanks for the contribution! Please add a test file, so that I may merge it.
Discussion of the test requirement can be found here: https://github.com/kennyledet/Algorithm-Implementations/issues/459

Hello! I've gone through #459 few times in the last few day. But unfortunately I can't really figure out what I should do. I need some guidance here.
By going through source code of other people I'm guessing that I need to add a file in which the program goes through all the possible input data sets. Correct me if I'm wrong and if I missed any thing mention it. Thank you.

Thanks for the amendment! Your tests are a good start; it would be preferable for them to use assert statements.
Please see this comment for further details: https://github.com/kennyledet/Algorithm-Implementations/pull/486#issuecomment-148065159

I'm not an expert in C. Today for the first time I learned that there is a function called assert in C. Can't really figured out how can I compare two string using it[After wasting the whole day]. So, I wrote my own function based on string compare function in C. Probably this is the worst way to write a test file. Please don't yell at me, this is the first time I'm writing a test file I'll accept any suggestion to improve it.

Hi @RCMainak, if the test you want to write involves comparing strings you should assert that strcmp returns 0 when comparing the strings that should be equal.
Some pointers to improve your code:

nQueens is a would be hard to test since it does not return anything, it just prints to stdout. I would return the solutions or -1 in case of error.

Consider including error checking inside nQueens. That way you could also get rid of the flag global variable

Consider using more descriptive variable names. k, i, n and j tells nothing, and makes it hard to understand what they're suppose to do.

Thank you for the advice @dalleng. I'll remember those advice and try to implement those in my future wok.
Can anyone check last commit. If it is okay or not.

seems like Kennyledet is not active and most of the PRs are still on hold.
I'm maintaining the fork at https://github.com/pravsingh/Algorithm-Implementations. Please do send the PRs to this fork.
lets continue with the mission Kennyledet started with.

Hello @pravsingh I checked out your fork, seems legit. All the best :+1:
I am not sure if I can contribute since I never learned how to write tests for my code (I know it's bad). I would like to suggest one small thing, you may consider modifying the README file to clearly state what's happening. Thank you for taking the initiative to continue the movement :smile:


my client will pay for help on a similar photoshop script

Hello,
I would like to know if you are open to freelance work to develop a gui or cli script for my client to use making images out of composite layers in a psd.  It could enhance this project I'd imagine.
Thanks!
Jorge Vicens
<EMAIL_ADDRESS>

I'd be curious to know what exactly you mean by composite layers, as I understand them, they are just multiple layers combined (which would already be supported by this script).
But feel free to message me on LinkedIn with more details.


Feat: support remote cluster client

The RemoteClusterClient will use a separate RESTMapper for each cluster. Therefore, it will be possible for the multicluster client to get the accurate api information for each cluster and do not always require hub cluster should include all apis.

what's benifit from using remote cluster client?

See https://github.com/kubevela/kubevela/pull/6008
With remote cluster client, KubeVela users will not be asked to install CRD on the hub cluster first before using it in managed cluster. Only the managed cluster will be asked to install the CRD.


refactor: optimize render path and improve type safety

This PR addresses the following things:

Optimize rendering code path.
Improve query config type safety.
Reduce hydration bundle size by 40%.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Setup.py of pipenv fails with latest version (11.1.5)

Environment

OS Type : python docker image (running from bitbucket pipeline)
Python version: 3.5.1
Pipenv version: 11.1.5

Expected result
Install pipenv using pip install pipenv --upgrade and start using pipenv
Actual result
pip install pipenv --upgrade
Collecting pipenv
  Downloading pipenv-11.1.5.tar.gz (4.1MB)
    Complete output from command python setup.py egg_info:
    error in pipenv setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in pathlib;python_version<"3.4" at ;python_version<"3.4"

Steps to replicate
Install docker image python:3.5.1
pip install --upgrade pip
# on the image, this installs pip 8.1.2. I get the same result with the older version 7.1.2. This build pipeline worked fine until a few hours ago.
pip install pipenv --upgrade

Upgrade your version of setuptools, we use the modern syntax for conditional dependencies

Thanks, upgrading setuptools fixed the issue!


Next version brings breaking changes, what should we do?

The next version of the URL shortener leverage Azure Active Directory (AAD) for authentication. This will be incompatible with the current version.
What should we do!

Tag this version and continue on v2. (meaning v1 will still be available but not updated)
Move this "flavor" into a different branch?
Just move on and cause push the breaking changes
other?

+1 for "Tag this version and continue on v2. (meaning v1 will still be available but not updated)"
if not then at least: Move this "flavor" into a different branch? and keep that branch (mark it for non deletion) ;-)

V2.0 is out!


Feature Request: Getting controls of ObjectPageLazyLoader when unstashed via Event or Promise

The official samples for sap.uxap.ObjectPageLazyLoader illustrate an easy scenario to lazily load the sub-sections when scrolling. For that  sap.uxap.ObjectPageLazyLoader with stahed="true" is used. This works just fine!
However, when doing so the controls inside the ObjectPageLazyLoader elements (declared in the XMLView) will only be available via this.getView().byId("myControlInsideAObjectPageLazyLoader") after the user has scrolled to the sub-section. In other words, the controls may not be available in onInit()! That also means you can’t get the control(s) in onInit() or in a corresponding route's matched handler, i.e. in order to change their bindings.
I'd have expected to have some kind of Event which is fired after the controls are unstashed (well, I'd prefer a Promise) so that I can get the control(s) byId() inside the controller. I've checked all current code and it seems that there is nothing available so far. This makes the ObjectPageLazyLoader quite hard to use in many scenarios.
So the Feature Request is an API to get the controls wrapped into ObjectPageLazyLoader from inside the controller in a safe and clean way, maybe via some kind of "unstashed" Event or a Promise).
Does that sound reasonable?

Hello @nzamani ,
Thank you for share your enhancement proposal. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards, Diana

Hello,
Since there is no response from the author for more than four weeks I'm closing the ticket.
Regards,
Plamen Ivanov


fix consumer processError in the service bus example

In the new version (7.0.0) of Azure Service Bus, the method processError of the class ServiceBusClientBuilder has the input parameter with a different type.
It has been changed from Consumer<Throwable> to Consumer<ServiceBusErrorContext>.
You can see this commit.
I notice that the README has not been updated. Therefore, I fix the consumer processError
from
Consumer<Throwable> processError = throwable -> {
    logError(throwable);
    metrics.recordError(throwable);
};

to
Consumer<ServiceBusErrorContext> processError = errorContext -> {
    logError(errorContext.getException());
    metrics.recordError(errorContext.getException());
};

I also added two missing semicolons in the definition of functions.
Fix for #17490

@frascu Thank you for creating pull request to fix readme. I appreciate it.
I have created issue for this https://github.com/Azure/azure-sdk-for-java/issues/17932 .
We will fix this via using embedme tool which uses compiled java source code to embed source code into readme.  so this problem never happens again.
you can see other example in readme which uses embed me. For example following ... You can add this code sample in ReadmeSamples.java and use embedme like below.

ServiceBusSenderClient sender = new ServiceBusClientBuilder()
    .connectionString("<< CONNECTION STRING FOR THE SERVICE BUS NAMESPACE >>")
    .sender()
    .queueName("<< QUEUE NAME >>")
    .buildClient();

Since you seem interested to make changes in our repo. Let me know if you are interested to this change as I explained above?
Otherwise I can take care of it as well.

Here is details about embedme tool https://github.com/Azure/azure-sdk-for-java/issues/7152  and https://www.gitmemory.com/issue/Azure/azure-sdk-for-java/7154/698798116
Let me know if you need any help in setting this up.

@hemanttanwar
I can take care of this change.
I understood how to apply embedme and how to test in my local environment.
Thank you for your feedback and your support.

@frascu Awesome. Thank  you for taking this work.

I created a new method in ReadmeSamples and I linked it to section README.
With this method, I added an import that involved the updating of the number lines for the other embedme snippets.
I tested using the command npx embedme README.md and the README is correctly updated.

I created a new method in ReadmeSamples and I linked it to section README.
With this method, I added an import that involved the updating of the number lines for the other embedme snippets.
I tested using the command npx embedme README.md and the README is correctly updated.
The failed test seems not related to these commits. Do you confirm?

@frascu Don't worry about one failure, It is random. I restarted , It should pass. I gave one comment in ReadmeSamples.java for you to change.


Zaps received show as zero when using phoenixd

When using phoenixd as the backend alby is showing the received transactions as zero

balance in alby hub is showing the right value
phoenixd shows the transactions normally

thanks for reporting. This is likely because this is still part of the fee credit. we currently can not show the fee credit as you also can not spend those. I assume once you have enough sats they show normally.

I'm still having this problem.
Looking at phoenixd it's not because of fee credit
Querying proenixd api show me the right values and using zeus nwc connection also shows the right values
Looking at the nwc database all values in the amount_msat column I receive is zero

Solved in the 1.7.3 release. Thank you.

ah, great! thanks for reporting and checking again!


Overlapping Cards on Tablet Dimensions (640px to 715px)

SMALL BUG:
There is an issue where the two cards ("Social Street Smart" and "Djed") overlap when the screen width is between 640px and 715px. This problem occurs on tablet devices or when the browser is resized to these dimensions.
I Can fix this !
Suggested Fix:
Ensure that the cards have adequate spacing and do not overlap by modifying the CSS for the relevant breakpoints (640px to 715px). For example, you can adjust the flex properties or add specific styles for these breakpoints to ensure proper layout.

i would like to work on this issue


libC Kconfig: Do not default to picolibc for native_sim due to GETOPT

Defaulting to picolibc when selecting GETOPT is a bit nicer for users in some cases, but not required.
But too many things require GETOPT (for ex. some SHELL configurations) in combinations with native posix drivers which do not support yet embedded libcs (for ex. the native USB driver) (see https://github.com/zephyrproject-rtos/zephyr/issues/60096 )
Which leads to configurations in those cases which cannot be built. Keep defaulting to the external libC in this case.
This reverts the getop part of this commit:
5f8057e26211e0ce69c782adfbfe511fa27b598d
Fixes #64227

After this patch:
(.venv) ubuntu@intance-1:~/zephyrproject$ zephyr/scripts/twister -p native_sim_64 -b
Renaming output directory to /home/ubuntu/zephyrproject/twister-out.2
INFO    - Using Ninja..
INFO    - Zephyr version: zephyr-v3.5.0-295-g64058f875361
INFO    - Using 'zephyr' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /home/ubuntu/zephyrproject/twister-out/testplan.json
INFO    - JOBS: 8
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
INFO    - Total complete: 2310/2310  100%  skipped: 1716, failed:    0, error:    0
INFO    - 2522 test scenarios (2310 test instances) selected, 1716 configurations skipped (1533 by static filter, 183 at runtime).
INFO    - 594 of 2310 test configurations passed (100.00%), 0 failed, 0 errored, 1716 skipped with 0 warnings in 3051.53 seconds
INFO    - 0 test configurations executed on platforms, 594 test configurations were only built.
INFO    - Saving reports...
INFO    - Writing JSON report /home/ubuntu/zephyrproject/twister-out/twister.json
INFO    - Writing xunit report /home/ubuntu/zephyrproject/twister-out/twister.xml...
INFO    - Writing xunit report /home/ubuntu/zephyrproject/twister-out/twister_report.xml...
INFO    - Run completed


Feature Request & Extension Suggestion

Hi, thank you for this great extension.
If possible, add the ability to right-click on each post to open a new tab with the same name as the original file
Also, if possible, add a feature to download thumbnail previews of videos with the highest quality
I like to open each photo or video in a new tab and save it with the original name.
Best regards

Hmmm, you can drag and drop photos/videos to new tab. It's gonna open default link respone from api and you can save with original name.

Hello, thank you for your reply
I knew that, but if there was an easier way, by putting a shortcut to quickly open in a new tab to save time
Also, is there any hope of putting the download preview thumbnails?
Best regards

If I do that, I must be use another options to select images, because I use right click to select.

@MoonLightStorm  Hey there, I just add new select multi image on Extension (click on Photos  to toggle it) then you can left click to select just like how you select image on Facebook mobile. I will test some options and release version latter.

You can clone branch main and use that.

IDK, I have no issuse.


Detected the new Cloudflare challenge

I wanted to get requests from AnimeUltima, but it gives me an error.
Expected Result
Get requests from AnimeUltima
Actual Result
Got the following error:
cloudscraper.exceptions.CloudflareChallengeError: Detected the new Cloudflare challenge.
Reproduction Steps
Run this code:
import cloudscraper as cfscrape

url = 'https://www1.animeultima.to/a/rezero-kara-hajimeru-isekai-seikatsu-2nd-season_517659'
scraper = cfscrape.create_scraper()
content = scraper.get(url).text

print(content)

System Information
Sys Info(Pastebin)
Debug Log
Log(Pastebin)

This is not a bug nor is it a problem.
This detected cloudflare's v2 challenge , which is not available in the free opensource version, contact me via discord if you wish to discuss a subscription plan to v2 challenges.


Tried in other language

I tried to train FastSpeech2 in other language. In that step using MFA to get alignment, i dont know how to apply for my language?

@cuongnguyengit you need to re-train MFA with your target language or use tacotron 2 for duration extraction.

@rishikksh20
Thanks for reply.
I find this command to train
'mfa train corpus_directory dictionary_path output_directory'
but i dont understand about corpus_directory, dictionary_path.
And how many corpus_directory is enough? where I can find dictionary_path in?
Sorry because of detail question.
I hardly try to learn the TTS task.

@karan-deepsync please look at the above question

Can you help me fixing the problem?
Thanks
Vào 12:04, Th 2, 28 thg 12, 2020 Rishikesh (ऋषिकेश) <
<EMAIL_ADDRESS>đã viết:

@karan-deepsync https://github.com/karan-deepsync please look at the
above question
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rishikksh20/FastSpeech2/issues/26#issuecomment-751576003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZGI7KKDWUZCO2EB2GXQY3SXAGW3ANCNFSM4VINMCJQ
.

Can you help me fixing the problem?
Thanks
Vào 12:04, Th 2, 28 thg 12, 2020 Rishikesh (ऋषिकेश) <
<EMAIL_ADDRESS>đã viết:

@karan-deepsync https://github.com/karan-deepsync please look at the
above question
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rishikksh20/FastSpeech2/issues/26#issuecomment-751576003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZGI7KKDWUZCO2EB2GXQY3SXAGW3ANCNFSM4VINMCJQ
.


AdminUI: Manage quotas on Identity details page

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.

Description

you extracted everything into core, but in core we typically we only have things the are used all over the app.
please move everything back next to the widget where it was used


Unexpected value 'None' of type 'Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.ActionAreaKind

Describe the bug
Upon upgrading from NAV 2018 to BC150, and after solving 2k+ problems, the extension was error-free and ready to publish.
When I tried to publish the extension, I got an error:
The request for path /BC150-Fox/dev/apps?SchemaUpdateMode=forcesync&DependencyPublishingOption=default failed with code 422. Reason: One or more errors occurred.
Unexpected value 'None' of type 'Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.ActionAreaKind'
I couldn't find why this error appeared.
To Reproduce
I don't know the reason behind it.
Expected behavior
Error-free extension to be published successfully
Screenshots

Versions:

AL Language: 4.0.206840
Business Central: 15.0.38951.0

Hi @alimans3, do you have any diagnostic for AL0597?
We have seen this kind of issue when your code is referencing some action in a page extension before it is being declared. For instance:
pageextension 50100 MyPageExt extends "Customer Card"
{
        actions
        {
                modify(MyAction) // Usage before use, results in warning diagnostic AL0597
                {
                       // Some property or trigger changes
                }

               addfirst(Creation)
               {
                        action(MyAction)   // Declaration
                        {
                        }
               }
        }
}

This construct is not allowed. We are currently returning a warning, but we are turning it into an error as it can cause some emit issues similar to the one you are experiencing.
Resolving any warning diagnostics for AL0597 should hopefully be fixing your issue.
If this is not the case, can you provide us with the full stack trace so that we can investigate it further?

Hi @qutreson ,
I don't have any warnings with AL0597 code.
Can you help me with finding the stack trace, I looked into event Viewer and didn't find it.

@alimans3 can you install the latest AL Extension from the VS Code market place (version 2.0.254558)?
It may provide you with better diagnostics in page extensions than the one you have currently installed (version 4.0.206840)

@qutreson I did already try to update the AL Language from the marketplace to version 5 (you mean?) but nothing changed. No new warnings appeared and nothing changed

For anyone experiencing this in the future, the file that caused this error was a page extension to a CardPart adding an action with a trigger OnAction:
`pageextension 50195 "SmallBussRepCatalogExtPag9025" extends "Small Business Report Catalog"
{
layout
{
}

actions
{
    modify(CustomerStatement)
    {
        Visible = false;
    }
    addafter(VendorTop10List)
    {
        action(CustomerStatementMP)
        {
            ApplicationArea = Basic, Suite;
            Caption = 'Customer Statement';
            ToolTip = 'Specifies a list of customer statements.';

            trigger OnAction()
            var
                CodeExt: Codeunit "Codeunits Extension";
            begin
                CodeExt.RunCustomerStatementReport(false);
            end;
        }
    }
}

}`


Tests / illustration for meta language

This task to to add a few meta language examples that serve the purpose of

testing the possible language constructs (like the ones I put for vectors)
illustrating what the meta language can do

In that sense it is both test and language illustration.

rename tests folder to example or syntax_examples
put in files with tests for everything we do in the meta langauge
enums
literals
Instantiating objects via constructors
assignment
...

Think of some clever structure
Note to GSoC students. You can send such an example test patch instead a normal coobook if you wish.
@sanuj @OXPHOS @Saurabh7

@karlnapf Can you please link to your vectors test, I can't seem to find it.  Which tests folder has to be renamed to example or syntax_examples? Were you talking about shogun/examples/meta/generator/tests?

It is here. I put some tests already but need to make things work with travis before merging them.
You can also send PRs here to increase passing tests
https://travis-ci.org/shogun-toolbox/shogun/builds/145334402
https://github.com/shogun-toolbox/shogun/compare/develop...738612febb82

@sorig do we have all meta language constructs covered, or do we need more?


allow no update of option checked state

To allow d2l-filter-dropdown-option to not update the checked state automatically, instead allowing consumer to set selected explicitly. This allows consumer components to not uncheck a menu item when it is clicked multiple times (use case is when one item must always be ckecked).

This seems like it could be confusing to screen reader users.  It is kinda like it's behaving as disabled.  If the menu item behavior support disabled however, that could also be confusing to them, because for the use case mentioned, the disabled state would be changing as they selected/unselect items.  🤔

This seems like it could be confusing to screen reader users. It is kinda like it's behaving as disabled. If the menu item behavior support disabled however, that could also be confusing to them, because for the use case mentioned, the disabled state would be changing as they select/unselect items. 🤔

Ah, you're right, I think we want radio items in our case here instead of checkboxes. We're replacing the dropdowns in the question library import page (see https://qa2020420950g.bspc.com/d2l/lms/qc/main_frame.d2l?ctid=1&ti=51000&ou=123117, select Import --> Browse Existing Questions). Sort is replaced with d2l-sort-by-dropdown, Filter with d2l-filter-dropdown, and Source is kind of a combination of the two, because it should be a menu with radio buttons, but it also needs tabs, so we used d2l-filter-dropdown. Hmmm.

Turns out we can use d2l-sort-by-dropdown-option within d2l-filter-dropdown, does exactly what we want.


Feature Request: Add --skip-validation option to project:deploy

We're in a bit of a bind where there seem to be validation issues on the project, even when the object XMLs were generated by the NetSuite UI and pulled right out of the account via object:import. We can't proceed with these errors, even though the XMLs are probably just fine.
It'd be great if we could either skip validation, or override for a list of validation types and continue to use the CLI to deploy our app. I don't know if this takes the form of a big-hammer --skip-validation option to project:deploy, or if it looks a little more nuanced than that, but some way forward would really be helpful.

@dspadea-9w Thanks for bringing this up.
We will consider this enhancement request for non interactive mode.
But you can already use this functionality in interactive mode.
When you execute suitecloud project:deploy -i you can skip local validation.
Apart from that we know the problems with locall Validations and we are working with relevant teams to make that better.

Thank you @alii-gator! FYI, I tried it and still received validation errors, maybe from server-side validation?
 $ suitecloud project:deploy -i
 PASS  __tests__/sample-test.js
  Basic jest test with simple assert
    ✓ should assert strings are equal (2ms)
  Sample test with provided record module stubs
    ✓ should update Sales Order memo field (2ms)

Test Suites: 1 passed, 1 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        1.364s
Ran all test suites.
? Do you want to validate locally before deploying? No
Content protection was not applied because the hiding.xml and locking.xml files were not found in the "InstallationPreferences" folder of the project. You need to create both files in order to apply content protection.
To learn how to create a hiding.xml file, see https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1515950176.html.
To learn how to create a locking.xml file, see https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1543865613.html.
The deployment process has encountered an error.
2020-07-22 14:22:02 (PST) Installation started
Info -- Account [(PRODUCTION) 1 ? Dev Trailing]
Info -- Publisher ID [com.]
Info -- SuiteApp [com. (0.0.1)]
Info -- Framework Version [1.0]
Validate manifest -- Success
Validate deploy file -- Success
Validate objects -- Failed
Validate files -- Success
Validate folders -- Success
Validate translation imports -- Success
Validate preferences -- Success
Validate flags -- Success
*** ERROR ***

Validation failed.

An error occurred during custom object validation. (custform_snip_id)
Details: cvc-complex-type.2.3: Element 'fields' cannot have character [children], because the type's content type is element-only.
Details: The neverEmpty field is invalid or not supported.
File: ~/Objects/custform_snip_name.xml

2020-07-22 14:22:18 (PST) Installation FAILED (0 minutes 17 seconds)

@dspadea-9w this is server side validation.
You can never skip that. Even when you do local validations, server side validation is always performed.
In this case the validation shown is not correct or we can say false positive. Which will be fixed soon in upcoming release.
If you remove the neverEmpty tag, you will be able to pass this validation.

@dspadea-9w suitecloud project:deploy will now not do local validation unless --validate param is passed.
As is said serverside validation can never be skipped.
If you have need further help please open a new issue.

Thank you, @alii-gator!


Use cfg(target_has_atomic) instead of hard coding which targets support atomics

This has been stable since 1.60.0: https://github.com/rust-lang/rust/pull/93824 The hard coded list is bound to go out of sync with rustc, especially when new targets get added. In fact it is already wildly out of sync. You currently only disable 64-bit atomics for 32bit arm, powerpc and mips, but a lot more targets like riscv32, sparc and thumb also don't support them: https://github.com/crossbeam-rs/crossbeam/blob/5fd21b032388c2e418c7306ba6149e1881943c31/no_atomic.rs#L19-L78 As rustc itself depends on crossbeam, this means it isn't possible to build rustc for targets lacking some atomics until a new crossbeam release with those new targets. Using cfg(target_has_atomic) will immediately work.

cc https://github.com/rust-lang/rust/pull/117170#discussion_r1373230638

This was rendered obsolete by https://github.com/zip-rs/zip2/commit/9438bef0f7577cd7babd3d9bd52d575e71109e9b.


ssl.com root certificate

I received this error when running the following code in MatrixPortal S3.
This MatrixPortal is running the latest version of CircuitPython 8.2.7
I cannot retrieve the JSON response from this curl :
#curl -X GET "https://aeroapi.flightaware.com/aeroapi/flights/search?query=-latlong+"44.953469+-111.045360+40.962321+-104.046577"&max_pages=1"
#-H "Accept: application/json; charset=UTF-8"
#-H "x-apikey:  -an api key-"
Traceback (most recent call last):
  File "adafruit_requests.py", line 515, in _get_socket
OSError: Failed SSL handshake

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "code.py", line 184, in <module>
  File "code.py", line 154, in fetch_flight_data
  File "adafruit_requests.py", line 711, in get
  File "adafruit_requests.py", line 650, in request
  File "adafruit_requests.py", line 496, in _get_socket
RuntimeError: Sending request failed

import board
import os
import ssl
import wifi
import time
import json
import math
import terminalio
import socketpool
import adafruit_requests
import displayio
import rgbmatrix
import framebufferio
import adafruit_display_text.label
import adafruit_json_stream as json_stream
from adafruit_bitmap_font import bitmap_font
from displayio import OnDiskBitmap, TileGrid, Group
from adafruit_matrixportal.matrixportal import MatrixPortal
import microcontroller

# Release any existing displays
displayio.release_displays()

quotes_url = "https://www.adafruit.com/api/quotes.php"

THRESHOLD_DISTANCE = 150  # 5 miles

# font = bitmap_font.load_font("/tom-thumb.pcf")
font = terminalio.FONT
text_color = 0xFC6900  # e.g., Retro Orange
colors = [0xFC6900, 0xDD8000]

# --- Wi-Fi setup ---
wifi.radio.connect(
    os.getenv("CIRCUITPY_WIFI_SSID"), os.getenv("CIRCUITPY_WIFI_PASSWORD")
)
print(f"Connected to {os.getenv('CIRCUITPY_WIFI_SSID')}")

# --- Networking setup ---
context = ssl.create_default_context()

with open("/aeroapi-flightaware-com.pem", "rb") as certfile:
    context.load_verify_locations(cadata=certfile.read())

pool = socketpool.SocketPool(wifi.radio)
requests = adafruit_requests.Session(pool, context)

# --- Matrix setup ---
DISPLAY_WIDTH = 192
DISPLAY_HEIGHT = 64
matrix = rgbmatrix.RGBMatrix(
    width=DISPLAY_WIDTH,
    height=DISPLAY_HEIGHT,
    bit_depth=2,
    rgb_pins=[
        board.MTX_R1,
        board.MTX_G1,
        board.MTX_B1,
        board.MTX_R2,
        board.MTX_G2,
        board.MTX_B2,
    ],
    addr_pins=[
        board.MTX_ADDRA,
        board.MTX_ADDRB,
        board.MTX_ADDRC,
        board.MTX_ADDRD,
        board.MTX_ADDRE,
    ],
    clock_pin=board.MTX_CLK,
    latch_pin=board.MTX_LAT,
    output_enable_pin=board.MTX_OE,
    tile=1,
    serpentine=True,
    doublebuffer=False,
)

# --- Drawing setup ---
group = Group()
# Associate the RGB matrix with a Display
display = framebufferio.FramebufferDisplay(matrix, auto_refresh=False)
# display.show(icon_group)

def degrees_to_cardinal(d):
    dirs = ["N", "NE", "E", "SE", "S", "SW", "W", "NW"]
    ix = round(d / 45)
    return dirs[ix % 8]

seen_flight_numbers = set()  # To keep track of processed flight numbers

bounding_box = {
    "min_latitude": 1.7128,
    "max_latitude": 2.8138,
    "min_longitude": -21.0160,
    "max_longitude": -21.9160,
}

 #curl -X GET "https://aeroapi.flightaware.com/aeroapi/flights/search?query=-latlong+%2244.953469+-111.045360+40.962321+-104.046577%22&max_pages=1" \
 #-H "Accept: application/json; charset=UTF-8" \
 #-H "x-apikey:  -AN API KEY-"

api_url = "https://aeroapi.flightaware.com/aeroapi/flights/search"
username = "A-Name"
api_key = "API-KEY"

def construct_query_string(params):
    return "&".join(f"{key}={value}" for key, value in params.items())

def fetch_flight_data():
    base_url = "https://aeroapi.flightaware.com/aeroapi/flights/search"
    params = {
        "query": f"-latlong+\"{bounding_box['min_latitude']}+{bounding_box['min_longitude']}+{bounding_box['max_latitude']}+{bounding_box['max_longitude']}\"",
        "max_pages": "1"
    }
    headers = {
        "Accept": "application/json; charset=UTF-8",
        "x-apikey": "API_KEY"
    }

    # Construct the full URL with the query string
    full_url = f"{base_url}?{construct_query_string(params)}"

    # Use the requests object that was initialized with a session
    response = requests.get(full_url, headers=headers)

    if response.status_code == 200:
        data = response.json()
        return data
    else:
        print(f"Request failed with status code {response.status_code}")
        return None

def requestTest():
    try:
        #  pings adafruit quotes
        print("Fetching text from %s" % quotes_url)
        #  gets the quote from adafruit quotes
        response = requests.get(quotes_url)
        print("-" * 40)
        #  prints the response to the REPL
        print("Text Response: ", response.text)
        print("-" * 40)
        response.close()
        #  delays for 1 minute
        time.sleep(60)
    # pylint: disable=broad-except
    except Exception as e:
        print("Error:\n", str(e))
        print("Resetting microcontroller in 10 seconds")
        time.sleep(10)
        microcontroller.reset()

while True:
    fetch_flight_data()

I may have transferred this prematurely. I thought it was a cert issue.
@TrevKnows What is the aeroapi-flightaware-com.pem you are using?

Does it work sometimes? The server may have been having issues. You can catch an exception and retry or reload to try again. Networks are unreliable, so you'll likely need to guard against errors like this.

Their server seems to be working fine, but I cannot retrieve JSON data using MatrixPortal, though it works with Postman.

Can you post the .pem file here for the certificate?

Can you post the .pem file here for the certificate?

Here you go!
aeroapi-flightaware-com.pem.zip

@TrevKnows Could you unzip and try this as the certificate you are using instead?
ssl.com-root.pem.zip
This is the root certificate you would use here;
with open("/aeroapi-flightaware-com.pem", "rb") as certfile:
    context.load_verify_locations(cadata=certfile.read())

so unzip, copy it over, and change the above to:
with open("/ssl.com-root.pem", "rb") as certfile:
    context.load_verify_locations(cadata=certfile.read())

The new root cert worked for @TrevKnows. I'll leave this open so we add it to the next iteration of roots.pem.

Fixed by #4. @TrevKnows: CircuitPython 9.0.0 will have this new cert compiled in.


UPGRADE_0_5_NODE: <type 'exceptions.UnicodeEncodeError'> ["UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 3: ordinal not in range(128)\n"]

I got this issue and this is the log file... I really want to import my badges please help!
{
"report": {
"messages": [
{
"messageLevel": "ERROR",
"node_id": "https://miriadax.net/badge-portlet/openbadge?badge=dd7465f5-81cb-45ff-af9b-1f23166291fd&groupId=50942733&locale=es_es",
"name": "UPGRADE_0_5_NODE",
"success": false,
"result": "<type 'exceptions.UnicodeEncodeError'> ["UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 3: ordinal not in range(128)\n"]"
}
],
"warningCount": 0,
"valid": false,
"openBadgesVersion": "0.5",
"validationSubject": "https://miriadax.net/badge-portlet/openbadge?badge=dd7465f5-81cb-45ff-af9b-1f23166291fd&groupId=50942733&locale=es_es",
"errorCount": 1
},
"graph": [
{
"url": [],
"@context": "https://w3id.org/openbadges/v2",
"id": "_:b23110",
"email"<EMAIL_ADDRESS>"telephone": []
}
],
"input": {
"input_type": "url",
"value": "https://miriadax.net/badge-portlet/openbadge?badge=dd7465f5-81cb-45ff-af9b-1f23166291fd&groupId=50942733&locale=es_es"
}
}

Hello,
I got the same issue with 16 badges by MiriadaX
This is the log of the verification of one of my badges:
{
"report": {
    "messages": [
        {
            "messageLevel": "ERROR",
            "node_id": "https://miriadax.net/badge-portlet/openbadge?badge=d334ac5c-acde-4ceb-9c80-b76a9220e878&groupId=79531941&locale=es_es",
            "name": "UPGRADE_0_5_NODE",
            "success": false,
            "result": "<type 'exceptions.UnicodeEncodeError'> ["UnicodeEncodeError: 'ascii' codec can't encode character u'\\xed' in position 3: ordinal not in range(128)\n"]"
        }
    ],
    "warningCount": 0,
    "valid": false,
    "openBadgesVersion": "0.5",
    "validationSubject": "https://miriadax.net/badge-portlet/openbadge?badge=d334ac5c-acde-4ceb-9c80-b76a9220e878&groupId=79531941&locale=es_es",
    "errorCount": 1
},
"graph": [],
"input": {
    "input_type": "url",
    "value": "https://miriadax.net/badge-portlet/openbadge?badge=d334ac5c-acde-4ceb-9c80-b76a9220e878&groupId=79531941&locale=es_es"
}

}

I wrote an email to badgr's support and they answered me this:
"Hello, Ericka
We found a small problem with badges awarded by Miriadax and are working on a fix. Once we push out a fix, you will be able to upload your Miriadax badges to a Badgr backpack. This may take 1-2 weeks. Please hang on to your zipped file and retry later.
We'll let you know once the code has been updated.
Thanks in advance for your patience,
Badgr Support Team"
We must wait until it be repaired cx


cannot find create_incpetion_graph()

It seems that there is no any create_incpetion_graph() definition in fid.py.
Also, the error message from fid_example.py runs as:
AttributeError: module 'fid' has no attribute 'create_incpetion_graph'

Have you met the same problem?

I find the problem. create_incpetion_graph should be modified to create_inception_graph in here and here.

Thanks for spotting this and notifying us. Fixed in https://github.com/bioinf-jku/TTUR/commit/c36fc7438a2cf59d4b38d2ee98d4cc3985b55414 :)


Fix parsing of non-string enum values

JSON Schema v4 allows enum to contain values of any type, explicitly including null.  Swagger v2.0 adopts this definition without change (as far as I am aware) but the parser previously parsed any non-string values as null.  This PR fixes this to return the string representation of non-string primitive values and to warn about unsupported non-primitive values and add test cases to cover these.
For reference, I discovered this issue when attempting to run swagger-codegen against a Swagger declaration with an integer enumeration, which produced the following error:
Exception in thread "main" java.lang.RuntimeException: Could not process model 'MyEnum'.Please make sure that your schema is correct!
        at io.swagger.codegen.DefaultGenerator.generateModels(DefaultGenerator.java:290)
        at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:647)
        at io.swagger.codegen.cmd.Generate.run(Generate.java:223)
        at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:41)
Caused by: java.lang.NullPointerException
        at io.swagger.codegen.DefaultCodegen.postProcessModelsEnum(DefaultCodegen.java:229)
        at io.swagger.codegen.languages.JavaClientCodegen.postProcessModelsEnum(JavaClientCodegen.java:316)
        at io.swagger.codegen.languages.AbstractJavaCodegen.postProcessModels(AbstractJavaCodegen.java:719)
        at io.swagger.codegen.DefaultGenerator.processModels(DefaultGenerator.java:919)
        at io.swagger.codegen.DefaultGenerator.generateModels(DefaultGenerator.java:285)
        ... 3 more

I believe this is not legal in the spec. @webron can you confirm?

@fehguy In the JSON Schema spec or the Open API Spec?  Could you provide a link or an explanation for why you think so?

OpenAPI spec is what the parser works towards, that is the bible for us.  As I said, @webron can help point to the language or clarify any ambiguity

So there are a few parts in the spec that are unfortunately not documented properly, however, not everything that @kevinoid provided is actually supported.
Since null is not a valid value by the spec, it is not valid in enums.
Since mixed types are not supported by the spec, it can be inferred that mixed types for enums are also not supported. This is not clear in the spec, and will be clarified in the next version.
That said, the spec does support homogeneous enums, regardless of the type. So enums of strings, integers, numbers (and, well, even booleans) are supported.

Thanks @webron, I'll update the test to remove MixedEnum.  Could you point me to where in the spec it says that null is not a valid value or that mixed types are not supported?  I must have overlooked that part somehow.

The lack of support for null is a bit hidden, but is suggested in https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterType. While the Schema Object does not document the same restriction, that was the intent.
As mentioned in the original comment, the spec does not document that mixed types are not supported, but they are not.

Ah, I see.  That explains how I missed it.  Thanks @webron!
Also, PR updated.  Any remaining issues for me to address?


Simulator: Log detailed state

See src/testing/README.md for example + explanation.
Motivation: Make the non-debug vopr logs expose useful cluster state (rather than only commits).
(The message/state checksums that part of the existing vopr output are now omitted — they are verbose, and on occasions where they are useful, they can be easily found in the debug logs.)
Previously we logged "maximum commit op by any replica", but now log "commit_max per replica" — the former can be determined from the latter.
Pre-merge checklist
Performance:

[x] I am very sure this PR could not affect performance.

removed from the queu just in case you want to apply some formatting suggestions, but this LGTM as is