BigQuery :: java.lang.NoSuchMethodError: 'java.lang.String com.google.cloud.bigquery.BigQueryOptions.getResolvedApiaryHost(java.lang.String)'

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":

Search the issues already opened: https://github.com/googleapis/java-bigquery/issues
Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform

If you are still having issues, please include as much information as possible:
Environment details

Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
OS type and version: Windows Sprint boot application
Java version: 17
version(s): google-cloud-bigquery:2.38.2

Steps to reproduce

Create BigQuery with option
?

Code example
BigQueryOptions.Builder bigQueryOptions = BigQueryOptions.newBuilder()
                .setProjectId(projectId);

        bigQueryOptions.setRetrySettings(RetrySettings.newBuilder()
                        .setMaxAttempts(10)
                        .setRetryDelayMultiplier(1.5)
                        .setTotalTimeout(Duration.ofMinutes(5))
                        .build())
                .setTransportOptions(HttpTransportOptions.newBuilder()
                        .setConnectTimeout(300000)//5 minutes
                        .setReadTimeout(300000)//5 minutes
                        .build());

        bigQueryOptions.setProjectId(projectId);

        return bigQueryOptions.build().getService();```

#### Stack trace

HttpBigQueryRpc:
this.bigquery = (new Bigquery.Builder(transport, new GsonFactory(), initializer)).setRootUrl(options.getResolvedApiaryHost("bigquery")).setApplicationName(options.getApplicationName()).build();

getResolvedApiaryHost method not present in BigQueryOptions

#### External references such as API reference guides

- ?

#### Any additional information below

Following these steps guarantees the quickest resolution possible.

Thanks!

I also got same issue
BigQuery bigquery = BigQueryOptions.newBuilder().
setCredentials(ServiceAccountCredentials.fromStream(
new FileInputStream(System.getProperty("user.dir") + "\resources\json-files\adc.json"))).build().getService();
Any Resolution???

Until the code is updated to fix the exception you can resolve the issue by downgrading. I just downgraded to version 2.35.0 and don't have the issue anymore

Hi @pramod-prabhakar-kapase-db , @RaymondKADuncan , @RYenike ,
I was not able to reproduce this issue. I created a new maven project and was able to create new BigQuery objects in v2.38.2 and v2.36.0 for both the provided example code and BigQuery bq = BigQueryOptions.getDefaultInstance().getService();.
I suspect that this is caused by a dep issue.
How are you adding google-cloud-bigquery as a dep. in your code? I.e., maven, maven without bom, Gradle, etc.

My project uses maven without the BOM. We're unable to use the BOM because we have our own parent project serving as a BOM and nesting one within another doesn't seem to be supported

Sorry for the late update,
The issue is likely caused by using an older version of the dependencies:
com.google.cloud » google-cloud-core
com.google.cloud » google-cloud-core-http
(There could be potentially more, depending on your maven configuration).
Specifically, google-cloud-core and google-cloud-core-http v2.28.0 and earlier. My suggestion is to update the versions of these dependencies to match with those required by BigQuery.
The command:
mvn dependency:tree can also give a hint to where the dependency versions are coming from.

FWIW had very similar issue, fix was excluding jackson in 3rd parties

There doesn't appear to be an actionable item here for the library, so I'm going to close this issue out.  Guidance related to verifying stale dependencies is still the general resolution here.


Cannot Update or Delete Personal App from Teams

Category

[x ] Question
[ ] Typo
[ ] Additional article idea

Question
I have been developing a SPFx web part - custom Teams Personal App recently.  I have deployed the personal app to the App Catalog of my tenant several times & have uploaded the manually created manifest several times using "Upload a Custom App" from within Teams.  I am now at a point where I can neither Update or Delete my deployed personal app from Teams.  In fact, I can't even Add the app from within Teams any longer.  I get a "Something went wrong" issue".
If I try to re-upload the app, I get:
2020-05-15T21:23:22.251Z Tenant app definition already exists. Error: App already exists
If I try to Update the app, I get:
2020-05-15T22:06:55.705Z Failed to update tenant app package. Error: {"data":{"errorCode":"AppDefinitionDoesntExist","message":"App doesn't exist in the tenant. UserId: 'ade85de8-df98-4457-a6f2-78a7c04ce90d', TenantId: '71794340-c78e-4299-b60b-17d55266d8be', AppId: '862b9d78-16da-4c24-8f49-e60021cd7dca'"},"status":404,"config":{"method":"PUT","transformRequest":[null],"transformResponse":[null],"url":"https://teams.microsoft.com/api/mt/part/amer-02/beta/tenant/apps/definitions/862b9d78-16da-4c24-8f49-e60021cd7dca/appPackage","data":{},"headers":{"Authorization":"pii","X-Skypetoken":"pii","Content-Type":"application/zip","X-Client-UI-Language":"en-us","Accept":"application/json, text/plain, /","X-RingOverride":"ring3_6","x-ms-scenario-id":"511","x-ms-request-id":"ef7d36a32651ce166544bfb6911534f0_512","x-ms-user-type":"user","x-ms-client-type":"web","x-ms-client-env":"msteams-web-prod-usce2-01","x-ms-client-version":"1415/<IP_ADDRESS>0051106","x-ms-client-cpm":"ApplicationLaunch","x-ms-session-id":"ef7d36a3-2651-ce16-6544-bfb6911534f0"},"counter":"apps_definitions_PUT","geoRoutingLookupDuration":0.014999997802078724,"decrementNetworkRequests":null,"hostName":"teams.microsoft.com","requestCreationDuration":0.13000000081956387,"requestStartTime":3145153.0600000117,"responseStartTime":3148729.4350000154,"requestDuration":3576.394999981858},"statusText":""}
If I try to Delete the app, I get:
2020-05-15T22:07:56.481Z ChannelService: Team id undefined was not found
angular.min.js:113
2020-05-15T22:08:00.552Z ngClickDecorator: value not found in enum type. value:
Then the same "App doesn't exist in the tenant." message as above when Updating.
Is there another was to remove the a custom Personal App from Teams in order to start over clean again?
Environment details (development & target environment)

OS: Windows 10
Target Environment: SharePoint Online
Framework: React 16
Browser(s): Chrome v81
Tooling: VS Code & SPFx v1.10.0
Additional details:

Appears to be dupe of an issue that was just resolved. Please confirm dupe of #5686

What do you see if you look at the list of apps installed in your tenant from the Teams Admin Center?

I have experienced this issue in 2 different tenants.
I went into my development tenant->Teams (Web Version)->Apps->Built for MyTenant->Clicked the ellipsis on the personal app for the context menu & was able to successfully delete the app!  Thank you for fixing this!  I go into Teams Admin Center, search for my app, & see the ability to Update & Delete there as well.  I did not try anything here since the issue is resolved "in this tenant".
Tenant #2 (the company I work for ) - In Teams->Apps->Built for MyTenant->Clicked on the ellipsis on the personal app & the context menu on had the "Copy link" option.  Is this a permissions setting?  I asked the global admin to go into the Teams Admin Center & he was successfully able to delete the app.  After this I was able to successfully redeploy the app.
I'm in good shape now.  I believe my issue is resolved in both tenants.  Thanks for your help!


exec.Command cannot get all stdout message

What version of Go are you using (go version)?
go version go1.13.4 darwin/amd64
What did you do?
try to run git command using golang and get the realtime output.
package main

import (
    "fmt"
    "io"
    "log"
    "os/exec"
    "syscall"
)

func output(reader io.ReadCloser) error {
    buf := make([]byte, 1024)
    for {
        num, err := reader.Read(buf)
        if err != nil && err != io.EOF {
            return err
        }
        if num > 0 {
            fmt.Printf("%s", string(buf[:num]))
        }
    }
    return nil
}

func execute() error {
    cmd := exec.Command("git", "clone", "https://github.com/dotnet/runtime.git")

    stdout, _ := cmd.StdoutPipe()
    stderr, _ := cmd.StderrPipe()

    if err := cmd.Start(); err != nil {
        log.Printf("Error executing command: %s......\n", err.Error())
        return err
    }

    go output(stdout)
    go output(stderr)

    if err := cmd.Wait(); err != nil {
        log.Printf("Error waiting for command execution: %s......\n", err.Error())
        return err
    }

    log.Printf("end");

    return nil
}

func main() {
    execute()
}

What did you expect to see?
Cloning into 'xxx'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (43/43), done.
Receiving objects:   0% (805/1567998), 356.01 KiB | 219.00 KiB/s

remote message and progress is missing.
What did you see instead?
Cloning into 'xxxx'...

and nothing more

This looks racey. You might just need to wait for the goroutines to finish printing their output before returning from main.

Also:

It is thus incorrect to call Wait before all reads from the pipe have completed.

https://golang.org/pkg/os/exec/#Cmd.StdoutPipe

Per above, doesn't seem to be a bug in Go here.  The program needs to delay the call to Wait until it has finished reading from stdout and stderr.

@ianlancetaylor i don't think so. the program is still running and keep reading from stdout, if i change my command to any other command, it works properly. it just looks like git doesn't send the remote: xxxxxx to stdout directly. i wrote a sleep program to simulate the delay output, and i can say that it definitely not a "delay issue".

did you try to run my code above?

Your code doesn't compile due to an unused import.
But even if you fix that, running your code is pretty pointless since it's doing something that the docs explicitly say you shouldn't do. Code always needs to be well-formed to be a meaningful reproduction of an issue.
This is well-formed:
package main

import (
	"io"
	"log"
	"os"
	"os/exec"
	"sync"
)

func execute() error {
	cmd := exec.Command("git", "clone", "https://github.com/dotnet/runtime.git")

	stdout, _ := cmd.StdoutPipe()
	stderr, _ := cmd.StderrPipe()

	if err := cmd.Start(); err != nil {
		log.Printf("Error executing command: %s......\n", err.Error())
		return err
	}

	var wg sync.WaitGroup

	wg.Add(1)
	go func() {
		defer wg.Done()
		io.Copy(os.Stdout, stdout)
	}()

	wg.Add(1)
	go func() {
		defer wg.Done()
		io.Copy(os.Stderr, stderr)
	}()

	wg.Wait()

	if err := cmd.Wait(); err != nil {
		log.Printf("Error waiting for command execution: %s......\n", err.Error())
		return err
	}

	log.Printf("end")

	return nil
}

func main() {
	execute()
}

Also note:
The output of git clone depends on whether or not git thinks it's being run in a terminal. The output will not be the same as if you run the git clone command in your terminal directly.
Your output function ignores io.EOF, which causes it to loop infinitely.
There is an easier way to pipe to your stdout/stderr.
package main

import (
	"log"
	"os"
	"os/exec"
)

func execute() error {
	cmd := exec.Command("git", "clone", "https://github.com/dotnet/runtime.git", "--progress")
	cmd.Stdout = os.Stdout
	cmd.Stderr = os.Stderr

	if err := cmd.Start(); err != nil {
		log.Printf("Error executing command: %s......\n", err.Error())
		return err
	}

	if err := cmd.Wait(); err != nil {
		log.Printf("Error waiting for command execution: %s......\n", err.Error())
		return err
	}

	return nil
}

func main() {
	execute()
}

@ccbrown first of all, thanks for pointing out the issues of my code! after testing a couple of times, my conclusion is it may be a git issue, because if i run the git clone command under terminal directly, i don't need to set --progress explicitly, --process is on by default(that is what disturbs me). after adding --progress explicitly, all the codes above can access the realtime output exactly the same as in the terminal now(although my code have some issues). but i am taking the second way of yours, it is more easier and clearer obviously. thanks!

@liesauer I had the same problem in another language today, and I've found a clear explanation here, FYI https://stackoverflow.com/questions/35700994/how-to-capture-git-clone-output-with-fork-exec

@liesauer I had the same problem in another language today, and I've found a clear explanation here, FYI https://stackoverflow.com/questions/35700994/how-to-capture-git-clone-output-with-fork-exec

right, but i don't understand why git outputs the details to stderr.


all_separate_topics are the same

Hi,
I'm very interested on echo information. when I choose the "all_separate_topics" option, I get 3 separate point cloud in ROStopics messages, however when I graph them they contain the same information.

Hi @HaroldMurcia - the three returns do not contain exactly the same information but many of the points will be the same because there were fewer than 3 returns detected. Here is the information from the User Guide:

The evaluation rules for assigning these labels are as follows:

If no return pulses are detected, each of the three return values is 0.
If one or more return pulses are detected:

Return 0: The first return value equals Maximum.
Return 1: The second return value equals Second Strongest. (But if there was only one return pulse, the return value equals Maximum.)
Return 2: The third return value equals Last, which may be equal to Second Strongest or Maximum.


[Python] Log dependencies in runtime environment

Adds logging for packages installed in runtime environment for Python SDK.
Part of #28563

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @tvalentyn

Sure, it is not logged anywhere at this point. I'll add a log for that as well.


Conhost: copy RTF to clipboard

RTF data is now copied to the clipboard. The clipboard format name
used for RTF data is Rich Text Format.
Refactored some code in Clipboard.cpp so that the code for setting
data to the clipboard is re-used. Also, renamed parameter
fAlsoCopyHtml to fAlsoCopyFormatting to make it more generic.
Tested by copying text from console to WordPad. Also verified that
HTML copy is not regressed by copying to Word.
Closes #3560.

Please review! @carlos-zamora @DHowett-MSFT


launch fails, complaining about string value of declarationDir

description
when loading a project with alm, and the tsconfig.json file has an entry for declarationDir, alm complains about the value type.
steps to reproduce

create a new typescript project
add a tsconfig.json file, with declaration set to true, and declarationDir set to some string, e.g. "typings"
navigate to the project directory, and run alm

expected result
alm should be launched with no error regarding the value of declarationDir, as a string value is legal in the latest version of typescript.
actual result
alm starts with the following error:
TSCONFIG: Error Key: 'declarationDir' has a value '"typings"' of an invalid type: string

environment details

operating system: OS X 10.11.6 (15G1108)
node version: 6.9.1
npm version: 3.10.8
tsc version: 2.2.1

Thanks! Fix released with 2.34.0 :rose:

that was quick! thank you :)


Improvements to German translation

Filing based on feedback I received offline on the German translation

synchronisierungsclient should be capitalized: Synchronisierungsclient
Ordner% LocalAppData% has incorrect spacing with "%"
"Anders als bei der Installation des Synchronisierungs Clients bleibt alles anders." --> "Das Verhalten des Synchronisierungsclients ist absolut identisch."
"Automatische Konvertierung von Benutzer auf pro Computer" --> "Automatische Konvertierung von pro Benutzer auf pro Computer"
"befinden" --> "bleiben"

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

ID: 087b8ed9-0b08-88a2-825f-727915801554
Version Independent ID: afd3bb47-f8a7-d1eb-a790-ff49c0794d2f
Content: Install the sync client per machine
Content Source: OneDrive/per-machine-installation.md
Service: one-drive
GitHub Login: @kaarins
Microsoft Alias: kaarins

@officedocsbot assign @scanum

@gacarini Thank you for your help with this and helping improve MS docs.  We will send it to our translation team to sort out as soon as possible.
@OfficeGlobal

@MollyMalone , @lindspea Working on a fix (Bug 3276143)

@gacarini , @MollyMalone The article has been HumanTranslated and published live

@scanum this can be closed thank you.

@gacarini  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


Ability to change host parameter

There are several slack alternatives that include a slack-compatible API. I'm using Rocket.Chat and I would love to use the slack-plugin to handle the notifications. Could someone add a configuration option to change host="slack.com" to my own custom URL?

I would also love to see this.
But I'm not sure if the current implementation of the plugin really would work with Rocket.Chat just by changing the hostname part.
A Rocket.Chat WebHook looks like this:
https://chat.example.com/hooks/<token>

And this plugin seems to post to something like this:
https://chat.example.com/services/hooks/jenkins-ci?token=<token>

See: https://github.com/jenkinsci/slack-plugin/blob/master/src/main/java/jenkins/plugins/slack/StandardSlackService.java#L41
Any idea?

I've already tested it and it works.
I manually changed the url in src/main/java/jenkins/plugins/slack/StandardSlackService.java
String url = "https://rocket.chat.url/hooks/" + token;

recompiled, added the custom-built hpi file and everything works as expected.

Ah cool, sounds great. So basically providing some kind of "Base URL" would work fine. As an alternative for providing the slack subdomain.

It would be great to get feedback from the plugin maintainers about the idea of adding a config property "Base URL" which, if set to a non empty value, is used for the URL instead of generating a slack.com specific one with the "Team Domain" config property.
If you like that idea, I could prepare a pull request for that.

I don't think it would be a big deal to make it configurable.  I'm not against it.  Contributions welcome.

@chkal you can check my PR or the fork itself at https://github.com/cdwv/slack-plugin. I can also send you the compiled plugin - drop me an email at andrzej (at) codewave dot eu

@andrzejwp Thanks a lot. I'm not so familiar with Jenkins plugin development, but I just reviewed the PR and it looks good to me. I'll try to find some time next week to give the plugin try, but I cannot promise anything. Anyway, thanks a lot for PR. :+1:

👍

done?


Tests support

This PR adds support for:

unittests (pytest-powered), and
test running (tox).
There are no useful tests, but the purpose of the PR is to enable others to start contributing unit tests easily.
The CI should also work by the time the PR is merged, but it doesn't work at the time of submission.

Please rebase to updated master branch and then update circle.yml accordingly.


[WIP] Product module docs

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Closing as this branch, and its documentation, is now stale.


scannet test datasets '. segs. json' cannot find

It seems that the. segs. json file has not been published in the scannet test datasets
In scannet_preprocessing.py, It seems to require forced reading
        else:
            segments_test = "../../data/raw/scannet_test_segments"
            segment_indexes_filepath = filepath.name.replace(".ply", ".0.010000.segs.json")
            segments = self._read_json(f"{segments_test}/{segment_indexes_filepath}")
            segments = np.array(segments["segIndices"])
            # add segment id as additional feature
            segment_ids = np.unique(segments, return_inverse=True)[1]
            points = np.hstack((points, segment_ids[..., None]))

Hi!
Yes, you need to create segments for the test set manually and put them in the designated folder.
Best,
Jonas


Adding functionality to plot score versus time

Very basic functionality to take a stored trajectory file and plot score versus time, optionally.

@camizanette - you can start from here. If tests pass quickly I'll merge soon, though over the weekend Travis was having issues so they didn't run quickly.


stub in a best guess at cluster level configuration

Cluster level configuration is a stable, discoverable API in the config.openshift.io group that a cluster admin will expect to use to interact and configure his cluster.  Placing it in one location allows multiple operators and binaries to depend on a single source of truth for information.  It also enable doc-less discovery by a cluster-admin and the divisions here allow individual teams to own their configuration inside of a cluster.  Coupling across multiple processes and future potential for subdivision will become clear.
A cluster-admin will be able to go through a flow like

I want to configure a thing.  What options are available?
oc api-resources --api-group=config.openshift.io - produces a list of high level features like Images, Builds, Networking, IdentityProvider, etc.
oc explain networking.config.openshift.io - produces a list of API files and their documentation (pull open to kube)
oc edit networking.config.openshift.io - to make a change

There is another set of actors as well.  Many settings are actually observed from cluster and cannot reasonably be provided or set by a cluster-admin. For instance, the internalRegistryHostname is known by the image-registry-operator, not the cluster-admin.  To represent this, configuration objects have a spec/status split.  Controller/Operator maintained information lives in status, cluster-admin maintained information lives in spec.  You should not have a field that multi-writer.  If multiple writers, especially one machine and one human, try to coordinate writes on a single field, someone will get confused.
The divisions will be along feature lines, not teams or binaries.  An operator can observe changes to these types to drive behavior.  That observation and wiring is expected to be performed by the feature own in all the binaries that need to react to changes.  For instance, if a change to the network configuration needs to be observed and handled by the kube-apiserver, openshift-apiserver, and openshift-controller-manager, the networking team will make the configuration available and manage the wiring in the individually affected processes.
The expected flow goes something like this:

cluster-admin updates config object foo
operator bar observes the parts it cares about into parameters for the operator configuration resource.  this provides a configuration level (generation), that can later be checked against status.
the operator resource change is observed by the same operator bar and operator bar writes a new configuration for the operand (binary being managed)
the operand consumes the configuration and behaves as requested by the admin via the cluster-config
operator bar indicates the operand is using the requested level in its status (status.generation)

The API for these types will be the main entrypoint of choice for a cluster-admin and must remain stable across releases.  This is in contrast to the on-disk formats for particular binaries which will no longer need stability guarantees since they are operator managed.
This pull provides a first cut at the different buckets of configuration that known today.
/assign @smarterclayton @jwforres @derekwaynecarr

Hm. So should we work towards deprecating the cluster-network-operator CRD and configure it exclusively via this API? Otherwise we have a nasty duplicated data problem.

Hm. So should we work towards deprecating the cluster-network-operator CRD and configure it exclusively via this API? Otherwise we have a nasty duplicated data problem.

You can observe the value from here and bump spec in your operator resource to be able to have a single configuration level to determine whether the operator has observed it.  See https://github.com/openshift/cluster-kube-apiserver-operator/blob/master/pkg/operator/observe_config.go#L197-L258 for example.

Probably should clearly mark "maybe objects" with a comment indicating that they are subject to change (anything outside of the ones we've decided on like Build and Image).

Probably should clearly mark "maybe objects" with a comment indicating that they are subject to change (anything outside of the ones we've decided on like Build and Image).

done

/lgtm
We can iterate in practice

What happened to Cloud?  It seemed useful as long as we handled future case where “external” could be respected to only have meaning for kubelets.  We just deferring to future PR?

Cloud == Infrastructure.
On Thu, Nov 8, 2018 at 9:18 PM Derek Carr<EMAIL_ADDRESS>wrote:

What happened to Cloud? It seemed useful as long as we handled future case
where “external” could be respected to only have meaning for kubelets. We
just deferring to future PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/api/pull/124#issuecomment-437226443, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABG_p42huNwlu5M_wcTbPDPRIdXuIcoxks5utOXagaJpZM4YVE8J
.


Upgrade Firebase Android BoM to v32

It seems this SDK currently uses an outdated version of Firebase BoM 31.4.0 (March 2023) on Android. It should be updated to the latest available version of 32.3.1.
The latest BoM release includes several new features and bug fixes, including https://github.com/firebase/firebase-android-sdk/issues/5266

Just FYI, #375 is a semi-active PR which does the same thing. No clue when it will be merged though (I'm not one of the maintainers). =)


Added script for Vivado project generation

Here I have added a script from the official 0.94 version of RedPitaya that allows one to recreate the Vivado project, also including the custom PyRPL code.

Cool, thanks a lot! There is already someone else who asked for this feature yesterday! I will merge it once I have the travis unit test running again.

Great, I'm glad it was helpful!

Hi again, Leonhard! Was it possible for you to merge the project generation file? I just stumbled across it again, and remembered this pull request =)

merged into develop-0.9.3


cancel write requests when deadline exceeded

Let's say this is WIP, but I'm putting it here to get some feedback.
I've been running bazel-remote as a cas for buildfarm using the grpc endpoint, and I have noticed some uploads have been getting stuck in a loop.
 This will leave the disk cache in a state where the upload is "in progress", but never finishes or errors. At this point I can see a half uploaded .tmp file.
Since the disk cache thinks the upload is still in progress, subsequent attempts to upload the file are discarded, yet responded to with success. Bazel will then attempt to read the file it thinks it just uploaded, see its not in the cas, and the process repeats itself.
It doesn't seem like bazel-remote handles grpc deadlines anywhere, but I'm not familiar enough with grpc to know if Recv() handles that internally.
I haven't been able to test this yet, but I will try to reproduce this tomorrow with this change.

@slofurno So if we can detect the client cancelled the upload we can just delete the upload completely from the CAS so next client won't find it in progress or anywhere and re-upload, right ?

Improved the test to hopefully make it more clear what is going on
Recv does return an error when the deadline is exceeded, all that was missing before was a call to close the pipewriter. Just closing that with an error is enough to ensure the disk cache winds up in the correct state.
If you run the TestGrpcByteStreamDeadline test with CloseWithError commented out, you will see how the second write appears to be successful, but the cache still thinks the upload is in progress.

@mostynb let me know if there is something else i can improve on this pr

Sorry for the delay, I will try to look at this soon.

Pushed to master with minor modifications to the commit message. Thanks for contributing this subtle but important fix!


Write scan result object to a file.

As a data engineer I want to write the scan results object to a file via an API.
It should write the errors, measurements and the test_results.
Optional - choice of output format as a parameter to the API.

This is relevant to #504, the outputs of a scan is input for a diff.


ECS task definition cpu/memory

refs #3222
The rules around this are a little confusing. I haven't covered all the use cases, but I think this is an improvement.
Going from https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.htm
Task Definition

When you register a task definition, you can specify the total cpu and memory used for the task. This is separate from the cpu and memory values at the container definition level. If using the EC2 launch type, these fields are optional. If using the Fargate launch type, these fields are required and there are specific values for both cpu and memory that are supported.

Container Definition
cpu

This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level cpu value.

memory

The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.

If using the Fargate launch type, this parameter is optional.

If using the EC2 launch type, you must specify either a task-level memory value or a container-level memory value. If you specify both a container-level memory and memoryReservation value, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance on which the container is placed. Otherwise, the value of memory is used.

memoryReservation

If a task-level memory value is not specified, you must specify a non-zero integer for one or both of memory or memoryReservation in a container definition. If you specify both, memory must be greater than memoryReservation. If you specify memoryReservation, then that value is subtracted from the available memory resources for the container instance on which the container is placed. Otherwise, the value of memory is used.

@ipmb Hi there. This had gone a bit stale.  I brought in the latest changes from master and re-ran CI.  The tests are still failing based on some of the changes you introduced.  Please let us know if you're still interested in working on this or if you've moved on.  Thanks.

Thanks @bpandola! I am still interested (I maintain this patch locally), but time has been hard to come by. I'll do my best.

Closing this due to lack of activity.  Feel free to update and re-open any time.


2.7.7: Analysis interval is ignored

Whether I set the interval to 30 minutes, 60 minutes or leave it a Auto the interval used/displayed is ~45 minutes
24 hours log data
Ahh the parameter is not set, from the PAL.log:

Name                           Value

AllCounterStats                False
AnalysisInterval               AUTO
BeginTime
DisplayReport                  True

The defined interval configuration Is present in the argument list before the powershell script is executed, but the script always uses "AUTO"

Correct and I'm sorry, this is a known bug. I will likely fix this in PAL 3.0.

Still open error :(

This bug is caused by the paramaeter name mismatch for Interval:
In vb the parameter is passed in as "Interval"
In Pal.ps1 the parameter is called "AnalysisInterval" and it's default value is "AUTO"
Since it never gets updated it stays as "AUTO"
A quick fix is to change the paramater in PAL.ps1 to Interval and then add a line to assign it over to the variable used through out the code
$AnalysisInterval=$Interval
There is also a loose assignment in the code that works if you use the above workaround
$global:AnalysisInterval = $Interval
To be safe, chould change it to
$global:AnalysisInterval = $global:oPal.ArgsProcessed.AnalysisInterval


Container : delete header footer default hieght 60px

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

existing css(el-footer,el-header) default height
style default height , Can only be fixed height


Deplyoment error

Error: ENOENT: no such file or directory, open '/app/frontend/dist/index.html'
at Object.openSync (node:fs:590:3)
at readFileSync (node:fs:458:35)
at file:///app/server/index.js:182:15
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
at /app/node_modules/express/lib/router/index.js:286:9
at param (/app/node_modules/express/lib/router/index.js:365:14)
at param (/app/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/app/node_modules/express/lib/router/index.js:421:3)
at next (/app/node_modules/express/lib/router/index.js:280:10)
at SendStream.error (/app/node_modules/serve-static/index.js:121:7)
at SendStream.emit (node:events:513:28)
at SendStream.error (/app/node_modules/send/index.js:270:17)
at SendStream.onStatError (/app/node_modules/send/index.js:417:12)
at onstat (/app/node_modules/send/index.js:722:26)
at FSReqCallback.oncomplete (node:fs:202:21)
Hi,
I m getting this error after the deployment, can you please help to fix it?
Thank You!

Thank you so much!


Community Showcase Repo

Lot of you have been creating amazing apps, blog posts, videos related to embedchain
Creating a GitHub repository to collate all these.
When the repository grows bigger, will create an endpoint like embedchain.ai/showcase to host all these.

Created this repo: https://github.com/embedchain/community-showcase
It contains all the videos, blogs and apps that I could find so far.
If you are reading this comment and have seen an app or created one, please raise a PR on community-showcase repo or open an issue there.


i18n(fr): update guides/internationalization.mdx

Description (required)

Add changes from #9224 to Fallback section in guides/internationalization.mdx

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/internationalization.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


chore: bump deps

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Allow to be used within frameworks

Hi, First of all I must to say this Lib is Just AWESOME!..
One thing is that in my project I'm using a framework to share functionality between extensions and the App, said that I want to keep every single localization string within the framework so it can be used by all the extensions and the App itself.
But at the moment it's not working because the generated code are not public.

Hey! Thank you for the kind words.
You are right - this is something that should be done. I made it public to the master ; it is needed change - you can download the new version and it should work :)
Have a nice day and let me know if it is okay so I can close it!
Jiri

@JiriTrecak  works like a charm!!!, thanks! :+1:

Glad to hear :)


Add UI support for batch document upload

Feature description
Currently batch document upload (#404) is only available via the REST API. We should also support this with the UI.
Value and/or benefit
It will allow faster upload of documents with the UI for deployment where there is non-negligible latency associated with calls to the database.
Anything else?
No response

Fixed in #443.


DBZ-6642 Upgrade kcctl to 1.0.0.Beta3

https://issues.redhat.com/browse/DBZ-6642

@gunnarmorling IIRC there is no Jira for that but yes, we'd like o have all containers multiplatform. It is just not a priority but PR's always welcome :-)

Ok, gotcha :)

Message ID: @.***>


[WIP] - OC-2, OC-3, OC-4, OC-8, OC-9

Tasks:

OC-2, OC-3, OC-4, OC-8, OC-9

Updates

[x] File upload to S3
[x] UI - File upload modal
[x] File text processing
[x] Assign Orchid users to a publication at creation
[x] UI - Search through the Orchid users

Hi @alexandru-patrascu-wingravity and @danielberigoi,
I agree with Daniel's feedback - mostly stylistic changes, otherwise it looks very clean and functional.
I also like the extra clean up effort put into app structure and the inconsistent file upload routines.
I ported the storage lib from Azure to AWS a few weeks back but it didn't work consistently so nice to see that addressed.

Hi @alexandru-patrascu-wingravity and @danielberigoi,
I agree with Daniel's feedback - mostly stylistic changes, otherwise it looks very clean and functional.
I also like the extra clean up effort put into app structure and the inconsistent file upload routines.
I ported the storage lib from Azure to AWS a few weeks back but it didn't work consistently so nice to see that addressed.
PS any ideas on how to pass an env var value to React are welcome :)

On it xD

@vot Env variables can be passed to react by prefixing them with "REACT_APP_". Made the change to read the ORCHID_OAUTH_CLIENT_ID from the .env file.
More info here: https://create-react-app.dev/docs/adding-custom-environment-variables#what-other-env-files-can-be-used

Merging this as we've already had the necessary discussions about this.
Massive amount of stuff done here - thanks :)
Vot


Cannot open 'All_objects.pd'

When I try to open 'All_objects.pd', Pd just crashes with no error message to indicate what the problem might be. I ran Pd with '-verbose' and captured the output (see attached file), but I don't know if it contains anything useful. I'm running on Windows 7, SP 1 (64-bit) under Pd v0.51.3 (64-bit).
error.txt

are you trying else 1.0 beta 36?
this test patch loads fine here on my, we'd have to load each object, one by one, to see which one blows up pd in windows :(

Yes, that's the latest version available in Deken for Windows. I'll see if I can narrow it down.

What does the "gotcha" message mean? I see that in the console log I attached, but I don't know if it's anything to be concerned about.

If I try to open the help files for [grain.live~], [grain.sampler~] or [grain.synth~] then Pd crashesl. I can open [grain.live~] and [grain.sampler~], though, but not [grain.synth~].


Tractus-X Open Refinement

Description
Since we want to improve the functionality of Catena-X/Tractus-X and strengthen our community, we do the refinement together in an open way. Everybody is welcome. Use the meeting to share your ideas, thoughts ...
Every voice is important. Use it.
Impact
Additional information

[ ] https://github.com/eclipse-tractusx/tractusx-edc/issues/651
[ ] https://github.com/eclipse-tractusx/item-relationship-service/issues/185

Just an example, can be closed


Unhandled KeyError in Post.location when Instagram returns broken location data

Describe the bug
I found a post that has a location tagged, but when the location is accessed, Instagram does not return the expected /explore/location/<id> page. Instaloader expects there will always be valid location data and directly accesses fields in the location metadata response, leading to KeyErrors.
The post: https://www.instagram.com/p/CVX6Q3EAlG_/
The expected location page: https://www.instagram.com/explore/locations/257207787/st-augustine-florida/
For whatever reason, Instagram doesn't return expected fields like lat or lng, raising unhandled KeyErrors when Instaloader tries to build the PostLocation namedtuple. Here's the post's loc field after the location metadata request:
{"id": 257207787,
 "has_public_page": True,
 "name": "St. Augustine, Florida",
 "slug": "st-augustine-florida",
 "address_json": {
    "street_address": "",
    "zip_code": " 32084",
    "city_name": "",
    "region_name": "",
    "country_code": "",
    "exact_city_match": false,
    "exact_region_match": false,
    "exact_country_match": false
    }
}

To Reproduce
post = Post.from_shortcode(L.context, 'CVX6Q3EAlG_')
print(post.location)

Expected behavior
Either Post.location should return None as no valid location could be found, or return a namedtuple with whatever location data can be gleaned from Instagram's malformed response and None for remaining fields.
Error messages and tracebacks
Traceback (most recent call last):
  File "<truncated>/scrape.py", line 124, in <module>
    if post.location is not None:
  File "<truncated>\venv\lib\site-packages\instaloader\structures.py", line 633, in location
    loc['lat'], loc['lng'])
KeyError: 'lat'

Instaloader version
4.9b1, although I'd be surprised if the same behavior is not present on the latest full release

Thanks for reporting! This is fixed in Version 4.8.2.


⚠ Ilenpaycoid has degraded performance

In 1d75c83, Ilenpaycoid (https://ilenpay.co.id) experienced degraded performance:

HTTP code: 200
Response time: 2113 ms

Resolved: Ilenpaycoid performance has improved in df4904d after 15 minutes.


The MySql 5.5.40 download URL is broken for me

Not sure anyone notices when there are pervasive binary caches, but I've been getting 404s for a few days now.

It looks like the website links to http://cdn.mysql.com/archives/mysql-5.5/mysql-5.5.40.tar.gz now. I'm not sure how best to update the mirrors file to point at the new location without rebuilding the world, though. I can change it to a fixed url for now. Anyone have opinions?

Changes in mirrors and URLs don't cause any rebuilds. That's the main point why fetchurl is a fixed-output derivation.


Tagged searches via notes in admin

For: https://www.pivotaltracker.com/story/show/98300716
Doing a search for [<something>] will look only in admin notes fields for [<something>].  This allows admins to "tag" petitions and find them later.  It's an exact match using a SQL LIKE statement, and we sanitize it to assume that <something> is a single "tag". (e.g. spaces are allowed in tag names and we strip extra [] from the search so that [foo] [bar] will end up as a search for [foo bar].

If we had more time a full tagging system using something like acts_as_taggable_on or whatever might be a better, more manageable, solution.

Love the minimal viability!
:+1:

Other that minor comments :+1:

Merged in b670dae9fb4e7ae69d6a251a85fee34cb7659516


"placeholderAlignment: .center" and "textAlignment: .center" don't line up if TextView frame is tall

Use .top

Did that fix your problem?

Yes, looks like setting the placeholder to .top and the textAlignment to .center worked great. Thanks!


Implement isNumeric() for toNumber() to make compatible old browser

Make it compatible with some old browsers. Modified PR from this.
Used jQuery's isNumeric() function.

Hi @dongseok0 , in an effort to clear up older issues/PRs we are pinging back to know if you are still tracking this request.
To give a little bit of context, recently a decision was made in the project to make the development more active and the first task is to clear up older PRs like this one to see if the OP is still interested in keep it going.

Closing due to the lack of feedback from the OP. If you want to work in the PR again, feel free to comment here to open up the discussion again.


webpack4: Error--Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

I am using webpack 4 with npm -v 6.9.0 and getting the error below when I run my webpack
node_modules\webpack\bin\webpack.js:90
let notify =
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:404:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:429:10)
at startup (node.js:139:18)
at node.js:999:3

looks like you need to upgrade nodejs

I am using the latest nodejs v10.16.0 with npm 6.9.0 so what version should I upgrade to?

I have upgraded my Nodejs to Node.js v12.5.0 and running webpack  "webpack 4.35.0", but still getting the same error

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.

but it's not completed, there's not even an answer here...


Adding support for cp_sultry_b8a

Hi,
First of all, thanks for this amazing resource. It's been extremely useful for someone coming back to the game like me :)
Would it be possible to add cp_sultry_b8a to the list of supported maps? As it's now in the map pool for both rgl and etf2l.
I'm also interested in a detailed procedure on how to convert maps for usage in dribble.tf. I've tried converting and importing sultry into the project myself, but I faced a number of errors during playback and didn't have time to pursue solving them. I'm not entirely sure how the map boundaries are computed, or which import/export settings to use in bspsrc/plumber; having those detailed in the readme would be much appreciated!
Thanks again.

Hi, I've just submitted a pull request which added support for sultry, villa, and reckoner. Those should be added soon. I can try to make a tutorial style video on how I've been converting the textured maps in the coming months.
Each map is different in which textures/features will cause export errors, usually there will be a handful of features that I just put into a non-export folder and that solves the issue. For bspsrc check out comments from @bryjch at https://trello.com/c/HjvgbMBl/8-world-how-to-import-map-models
Original map boundaries were pulled from demos.tf source and were created by IceWinds https://boundaries.demos.tf/.
I've found you can just grab the values from the x/y positions of the farthest objects in blender which is easier.

@dylansq Did you end up creating the tutorial on how to add new map support?
I'm trying to see if I can make this work for rocket jump demos :)


permission denied for sequence sessions_id_seq

Possibly related to #2
I am trying to run Miniflux as a non-superuser (hence only having CREATEROLE and CREATEDB permissions). I have made 'miniflux' the owner of the 'miniflux2' database and given all privileges on the tables within that database.
However, as long as 'miniflux' user does not have 'SUPERUSER' privileges as well, it appears it is impossible to log in as the user is confronted with a message regarding the sequence sessions_id_seq.
The problem is "resolved" when executing:
CREATE USER miniflux WITH SUPERUSER CREATEROLE CREATEDB;
Error Message (Web GUI):

Internal Server Error: unable to create user session: pq: permission denied for sequence sessions_id_seq

PostgreSQL Version
psql --version
psql (PostgreSQL) 9.6.8

PostgreSQL Users
miniflux2=# \du
miniflux  | Create role, Create DB                                     | {}
postgres  | Superuser, Create role, Create DB, Replication, Bypass RLS | {}

Miniflux Version
miniflux --version
2.0.3

Steps to Reproduce
runuser -l postgres -c 'psql'
    CREATE DATABASE miniflux2;
    CREATE USER miniflux WITH SUPERUSER CREATEROLE CREATEDB;
    \q

runuser -l postgres -c 'export DATABASE_URL="postgres://miniflux:"xxxxxxxxxxxxx"@localhost/miniflux2?sslmode=disable" | miniflux -migrate'

psql -h localhost -p 5432 -U postgres -W miniflux2
    ALTER USER miniflux WITH CREATEROLE CREATEDB;
    ALTER DATABASE miniflux2 OWNER TO miniflux;
    GRANT ALL PRIVILEGES ON TABLE categories, enclosures, entries, feed_icons, feeds, icons, integrations, schema_version, sessions, user_sessions, users TO miniflux;

This is not really a problem related to Miniflux itself but to the way your configured the permissions on your database. You should make sure the sequences are accessible to the miniflux postgres user as well.


how to write value field in "RUN" json when testcase is a golang source code?

@liangchenye If the engine should have a step to complie the source code(some testcase should not be scripts, but using golang)
So, my question is, how to write "value" field below in this case?who will do the call and compile job?
@liugenping
"Run"

The case developer should tell the host operation systems and the containers which commands should be used to run the test. The commands could be used directly or wrapped by a script. By default, after ruuning all the command, the test system will continue to the 'Collect' part.

"Run": [
            {
                "hostA": {
                    "run": null
                }
            },
            {
                "DockerA": {
                    "run": {
                        "type": "cmd",
                        "value": "ping -c 1 -s 1500 <IP_ADDRESS>"
                    }
                }
            }
        ]

@liugenping @wangkirin  I have disscussed with @liangchenye, the json file used in monitor(using cadvisor) should be wrote in the form like the example of
ocp-testing/Cases/Benchmark/monitor/cpumonitor/Benchmark-monitor-cpumonitor-totalusage-docker.json


rustywind: init at 0.16.0

https://github.com/avencera/rustywind
Description of changes
closes #237807

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.05 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.

Result of nixpkgs-review pr 237825 run on aarch64-darwin 1

1 package built:

rustywind


[stable/orangehrm] Update MariaDB dependency version

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
This PR updates the OrangeHRM chart dependency: MariaDB

/ok-to-test
/lgtm


logging-commands.md: fix heading for PrependPath

@mahilleb-msft, Thanks for the contribution! I hope to see more contributions from you in the future :)


[Move analyzer] Added a more meaningful missing manifest message #233_133

Motivation
A missing manifest message should be more meaningful to allow developers to act on it more easily.
Have you read the Contributing Guidelines on pull requests?
Yes

/canary

:broken_heart: Test Failed - ci-test

/canary

:sunny: Canary successful

/land


Add base actions and base readme

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@6978884). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop       #2   +/-   ##
==========================================
  Coverage           ?   26.32%
  Complexity         ?       83
==========================================
  Files              ?       35
  Lines              ?      471
  Branches           ?       50
==========================================
  Hits               ?      124
  Misses             ?      321
  Partials           ?       26

Continue to review full report at Codecov.

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


port: [#4369] Prompt validation of confirm prompt in chatbot is not working for newly added language (#6554)

Fixes # 4369
#minor
Description
This PR adds the recognizeLanguage property in the PromptOptions interface.
It also updates the onRecognize method of the ConfirmPrompt class to use this property solving the issue when a ConfirmPrompt is used along with a TranslationMiddleware.
Specific Changes

Updated PromptOptions interface adding the recognizeLanguage property.
Updated the onRecognize method of the ConfirmPrompt class using the new property.
Added a unit test in confirmPrompt.tests to cover the new test case.

Testing
These images show how the sample bot recognizes the option in French.

/promoted 4388


with 3node cluster setup deployed on k8s, periodically we are facing issue with server admin credentials

Hi Team,
We have a 3 node cluster with couch version 3.2.1 deployed on k8s cluster.
The db was working working totally fine for about 4-6 weeks, post which, we started getting issue, wherein few databases were not getting load  with error "This database failed to load" . On further investigation , found out that on clicking on different icons we were getting issue, "you are not a server admin"
Post which, when we checked the /opt/couchdb/etc/local.d/password.ini file, we found out that chttpd_auth and coucdb uuid was missing from password.ini file
The above issue we are facing only with multi node couch cluster.
Can someone please help with this? or how do we make sure, the 3 node cluster is running without any issue!
Thanks
pallavi C

Any updates on this?

@cpallavi  make sure all the nodes in the cluster share the same config file (ini) passwords, server uuids values and cookie secret, and of course Erlang cluster cookies so that nodes can communicate with each other.  It sounds like it may be a kube issue, maybe it's not mounting the volume correctly?


[Image Resizer] Auto focus custom width/height field

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
To automatically select the number in the textfield in the Image Resize App when clicked on, so it can be quickly changed and does not require an additional click to clear the field first before entering the value.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

@enricogior This is the same issue as e.g. ColorPicker. We're using a TextBox for the custom resolution entry, we should swap them out for NumberBox. Agree?

Definitely!

@niels9001
sure.

This is now fixed in 0.37 https://github.com/microsoft/PowerToys/releases/download/v0.37.0/PowerToysSetup-0.37.0-x64.exe


Error When Running in Docker

2021-10-26 09:20:47,190 PM INFO  [server] starting<EMAIL_ADDRESS>server
2021-10-26 09:20:47,193 PM INFO  [config] reading config file
2021-10-26 09:20:47,194 PM ERROR [server] Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:723:3)
at tryReadSync (node:fs:433:20)
at readFileSync (node:fs:479:19)
at module.exports (/zipline/src/lib/readConfig.js:31:17)
at /zipline/server/index.js:37:15
at Object. (/zipline/server/index.js:138:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)

What OS are you running on?

Ubuntu 21.04

Not sure why this is happening, make sure the directory has full permissions.

Closing due to inactivity


"xlsx-style" don't work ws['!rows'] = wsrows;, how fix it?

if I use library js-xlsx
var wsrows = [
	{hpt: 12}, // "points"
	{hpx: 16}, // "pixels"
	,
	{hpx: 24, level:3},
	{hidden: true}, // hide row
	{hidden: false}
];
ws['!rows'] = wsrows;

work
if lilbrary xlsx-style, row props ignored in document

https://github.com/soldemuth/js-xlsx/tree/add-td-ht (https://github.com/protobi/js-xlsx/pull/94)

@soldemuth  Working


build error - target names may not contain ' '.

bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
ERROR: /tensorflow/BUILD:27:1: //tensorflow:all_files: invalid label 'TensorFlow-Examples/examples/1 - Introduction/basic_operations.py' in element 4 of attribute 'srcs' in 'filegroup' rule: invalid target name 'TensorFlow-Examples/examples/1 - Introduction/basic_operations.py': target names may not contain ' '.

Hm, I can't find basic_operations.py in our repo. I suspect you might have some local changes, possibly intermingled from https://github.com/aymericdamien/TensorFlow-Examples

thanks! rm -rf TensorFlow-Examples solved the issue.


RHIDP-3970 - Authentication - Authenticating with Microsoft Azure

Authentication - Chapter 4 - Authenticating with Microsoft Azure

IMPORTANT: Do Not Merge - To be merged by Docs Team Only
Version(s): 1.3

Issue: https://issues.redhat.com/browse/RHIDP-3970

Link to docs preview: https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-492/authentication/#assembly-authenticating-with-microsoft-azure

Reviews:

[ ] SME: @ mention assignee
[ ] QE: @ mention assignee
[ ] Docs review: @ mention assignee
[ ] Additional review: @mention assignee (by writer)

Additional information:

@JessicaJHee @albarbaro Updated the procedure according to the screencast recorded by @albarbaro. Can you review again?

/cherry-pick release-1.3


Select2 Sortable

Hi,
Could you integrate this?
https://github.com/reduxframework/select2-sortable

I replaced select2 with this one: http://brianreavis.github.io/selectize.js/
It supports sortables by default, so it's now integrated.
Please note however that there's currently a bug with the implementation:
The options are saved properly, but when they are displayed they are swon in the default order. I'll fix that soon. :)


Adding capabilty for creating custom ACL categories as well as setting custom and existing ACL categories

Overview
This pr is in relation to issue #96.
This is designed to allow the capability of creating and setting custom ACL categories. This also allows setting existing ACL categories to commands.
This is not a breaking change as all fields that have been created in the macros are optional which means that developers will only need to add the field at the end of the commands if they want to add acl categories and can leave it as it was if they don't.
Testing
Tested by amending ACL example. This involved creating three new commands with the sole purpose of assigning ACL categories to them.
In the setup we define two new custom ACL categories called custom_acl_one and custom_acl_two. The next important part is that in the command definition in the valkey_module macro we assign the desired ACL's to the commands. We test that these ACL's are assigned correctly by adding a new test in integration.rs where we get the list of commands associated with the ACL's and determine if the new commands show up correctly.

Looks like the DCO check needs to be handled with the right signoff
Regarding the min compatibility, it could be good to create an issue where document a better approach in general within the SDK for specifying min compat on functions / macros. Right now, looks like we need to specify multiple versions. This should be simplified to only require the min compatibile version and not the versions afterwards which still support it

@zackcam - can you add required-features = ["min-redis-compatibility-version-7-2"] to Cargo.toml for call example?  Since

@zackcam - can you add required-features = ["min-redis-compatibility-version-7-2"] to Cargo.toml for call example? Since
Updated so we now have both 8-0 and 7-2 in the feature flags as a temporary workaround while the feature flags dont take into account version below them

let's add min-valkey-compatibility-version-8-0 in not(any above pub fn register_commands( on line 495 in commands.rs.

Latest push: ran cargo fmt --all and added min-valkey-compatibility-version-8-0 for pub fn register_commands(


Add Roles enum to User Model

Currently, bc_obps/registration/api/user.py uses enum vaues from  from registration.enums.enums import Roles but,...
B.C.
"...I think we actually could use the role choices in the User model (I'm not sure why it isn't already like that, maybe we thought we'd have a ton of roles?).
It could look like this..."
class User(UserAndContactCommonInfo):
"""User model"""
class Roles(models.TextChoices):
CAS_ADMIN = "cas_admin"
...
...
app_role = models.ForeignKey(
AppRole,
choices=Users.choices,
on_delete=models.DO_NOTHING,
related_name="users",
db_comment="The role assigned to this user which defines the permissions the use has.",
)

We just need to remove AppRoles from enums.py file

Closing as discussed during refinement. @sepehr will take care of the twist he suggested above.


fix set-asciidots-dir.sh

Sorry. I originally gave you the wrong command on accident

No worries, thanks @aaronduino !


Dual can port ESP32-C6 board

@zeroomega
Email me at<EMAIL_ADDRESS>if you want a RejsaCAN v6.0 board 👍
Some pictures https://github.com/MagnusThome/RejsaCAN-ESP32/tree/main/Code Examples/RejsaCAN v6.x - ESP32-C6 - DUAL CAN self test

Hi Magnus,
Thanks for the introduction.
I already have my own boards now so I don't need additional C6 boards. I saw you have SD card slots in your board. Are u using it as a CAN data logger?

Nice looking board you have. What do you use the dipbswitches for?
I made my C6 board mainly out of curiosity about the dual TWAI controllers plus a challenge I gave myself to make a really small board, and my first ever four layer board 🙂 My plan is to place one as MITM on the bus up to the instrument cluster to be able to show things, while on track, that are not available in the cluster normally. But just right now I don't have a car with a CAN based cluster 😅 SD slot is just a "good to have", never know what strange ideas I might come up with 😁 It was fun designing a reeeeally small housing for it to.

Dipswitch is to turn on/off CAN bus terminal resistor. Turn ON the board regardless of ignition signal, setup analog data CAN ID, etc. The main use case for my board is to read 5V analog input and send them to CAN for oil pressure data logging. I am not sure if you a following GR86/BRZ oil starvation issue https://youtu.be/4Jk5WTWoqt4 , he used my board (though a previous version) and I have a few friends also purchased my board for the same purpose. The board will copy car's CAN bus data to 2nd CAN bus, which connects to a dedicated CAN datalogger like AIM Solo DL2. And the analog data will only be sent to the 2nd CAN bus as well, leaving car's can bus untouched to avoid potential issues.
The dual CAN on ESP32C6 is quite useful, I am planning to use it to reverse engineer some CAN protocol on my car using MINT approach but I was too busy recently.
For dashboard, I used an off the self Lilygo S3 TDisplay module. It doesn't have a CAN transceiver but it has BLE, so I just use that to receive CAN data from my board. It works well for me.

I do have some plan to build a SoC platform based dashboard because most MCU+Display has too little memory and graphic libs like lvgl is too slow. The current candidate is Allwinner T113, which has 2 CAN bus and 128MiB ram. But bootstrapping it is way more difficult than just using a ESP32.
The ESP-IDF 5.2 is not yet released so I doubt there are a lot of people using it. And I think starting from ESP-IDF v5, the code quality is becoming worse. I might migrate to STM32G473 platform in the future.

We have a fun hobby :-D

https://www.youtube.com/watch?v=dpaOF7OZ8Pg


Run Validators on Pyrmont

Is your feature request related to a problem? Please describe.
We want to add lodestar validators to Pyrmont to test out validator capabilities (#1811)
Describe the solution you'd like

[ ] sync 2 pyrmont beacon nodes
[ ] submit 32 deposits
[ ] run 16 validators per node
[ ] Monitor included attestations + blocks

Describe alternatives you've considered

Ask someone in eth2 community for a few exported validators

On going effort


Css missing in bower.json

In bower.json the css is missing, so grunt doesn't import it

Fixed now.


Babili support

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request

Versions.
@angular/cli: 1.0.0
node: 7.4.0
os: win32 x64
@angular/common: 4.0.3
@angular/compiler: 4.0.3
@angular/core: 4.0.3
@angular/flex-layout: 2.0.0-beta.8
@angular/forms: 4.0.3
@angular/http: 4.0.3
@angular/platform-browser: 4.0.3
@angular/platform-browser-dynamic: 4.0.3
@angular/router: 4.0.3
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.3
@angular/language-service: 4.0.3
Desired functionality.
I would like to have opt-in babili support when building from AngularCLI.
This would allow to compile and minify ES2015 code.
Currently, only Uglify is supported, which only supports ES5
Check https://github.com/babel/babili
Mention any other details that might be useful.
#2907 is related

There's a https://github.com/webpack-contrib/babili-webpack-plugin but as far as I can tell it's not a drop-in replacement for Uglify really.

Consolidating this with #2907, discussion will continue there.

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Add Nmap

chocolately already has a package for nmap: https://chocolatey.org/packages/nmap

the nmap package includes ncat.exe, which would basically address #22

added to the repo but not automatically installed in the malware analysis distort


Where do I see docs for all stdlib methods / properties?

e.g. when i see
def process(input, ctx):
  util.foo(input.body)

where do i learn about .body, where do i learn about util.foo?
is there a naming convention that's used, if i wanted to suggest a new util method for inclusion how do i do that? is there a review process?

maybe
https://starlarky-devel.readthedocs.io/en/latest/autoapi/pylarky/model/http_message/index.html
?
On Wed, Feb 3, 2021 at 7:22 PM Marshall Jones<EMAIL_ADDRESS>wrote:

e.g. when i see
def process(input, ctx):
util.foo(input.body)
where do i learn about .body, where do i learn about util.foo?
is there a naming convention that's used, if i wanted to suggest a new
util method for inclusion how do i do that? is there a review process?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/verygoodsecurity/starlarky/issues/44, or unsubscribe
https://github.com/notifications/unsubscribe-auth/APYGUESNMHR5CWGGTODYGQTS5IHFRANCNFSM4XCA3NOQ
.

That’s the docs after the methods are written Blaise. I’m looking for the roadmap of utils well provide and the naming conventions we use to write them.
I don’t want to have to constantly review the docs. I would prefer to see the proposed roadmap of functionality and how customers will interact.
How do I make sure we don’t mix camel and snake case for instance?

I don’t want to have to constantly review the docs. I would prefer to see the proposed roadmap of functionality and how customers will interact.
How do I make sure we don’t mix camel and snake case for instance?

I have it on good authority that @aslepakurov is the contact for larky grammar

@aslepakurov can you help?

@mjallday is this the same as #62 ?

yes, it's close enough that once #62 is complete my question is answered.
#62 would need to include all future looking capabilities as well tho such as #50, and everything else tagged api.

Docs is are already in works, including for stdlib


[BUG] <Some abnormal errors were not captured and handled, resulting in system information leakage.>

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
http://xxxx.com/cloudPolicy/n/te"'st/unsignedd .
The security engineer used the above url to conduct penetration test and found that,some abnormal errors were not captured and handled, resulting in system information leakage.

Expected Behavior
Capture errors and do not output sensitive information such as system information and internal stacks.
Steps To Reproduce
No response
Environment
ShenYu version(s): all version.

Debug logs
No response
Anything else?
No response

I  will fix this.

Merged, see https://github.com/apache/shenyu/pull/4709 .


EOmaps v6.0.2

🔨 fixes

fix removing deleted layers with the companion widget

Codecov Report

Merging #142 (73d5e35) into master (ff9080f) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #142   +/-   ##
=======================================
  Coverage   77.13%   77.13%
=======================================
  Files          19       19
  Lines        8100     8100
=======================================
  Hits         6248     6248
  Misses       1852     1852

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


bug t2t-datagen freezes on multiprocessing generation

Description
I created a multiprocess_generate supporting problem, using ChoppedTextProblem as a template.
When I actually run the generation, it eventually froze. I used Pyrasite to get stack dumps from the running process. The stacks that weren't waiting in multiprocessing ended like this:
  File "/usr/lib64/python3.6/multiprocessing/popen_fork.py", line 66, in _launch
    self.pid = os.fork()
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/c_api_util.py", line 50, in __del__
    c_api.TF_DeleteGraph(self.graph)

I found a tensorflow issue: tensorflow/tensorflow#8220 which isn't exactly relevant, but it says not to use tensorflow with multiprocessing.
This happened close to the end of generation, so I believe it freezes when the first, or first few, processes try to shut down, when they all try to delete the same (default) TF graph, that t2t-datagen doesn't even use.
TensorFlow and tensor2tensor versions

tensorflow==1.7.0
tensor2tensor==1.5.7

The only subclass of ChoppedTextProblem is languagemodel_wiki_xml_v8k_l1k so I'm trying data generation for that problem to see if it also hangs/errors.


Add List Class Command

@qinxutan qx, you can make use of the checkstyle from IP to ensure that at least majority of the errors are caught locally. Similarly, u can also keep building gradle from time to time to see if you have any issues with compilation and checkstyle.


Custom list name prefix

This adds an configurable list prefix that will show in Home Assistant Todo's to aid in identifying lists. The default it is blank/nothing.
This can be useful in households where multiple people may want to have access to their shopping list, such that you could then have them named freds shopping list and maria's shopping list. Without this, you would just have two lists called shopping list, which would get confusing. It can also be useful when you may have multiple lists synced from different services to be able to differentiate them.
This is the default behaviour in some other list integrations such as anylist, that adds a hard coded Anylist to each list.
I had a go at the translations using google translate so they may be a little bit off.
Also, regarding generating a new token, I didn't have any luck with the method in the readme because I had different versions. I did find a much easier method using a docker container as outlined here https://github.com/fcastilloec/gkeep-list-sync/blob/218f1ff0af82b1815e0903a62d40f585ea623f7d/README.md#authentication-options

hmm no luck. can't get the test environment running on local pc so just had a quick stab at fixing the test. can try again later, but there is an issue with @pytest.mark.asyncio not working with localhost :(

ok so got them working. raised a new bug regarding localhost issue https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/issues/178
I also removed @pytest.mark.asyncio marker from tests. as from https://pypi.org/project/pytest-asyncio/0.20.1/
When the mode is auto, all discovered async tests are considered asyncio-driven even if they have no @pytest.mark.asyncio marker.
I was also getting an unusual timezone error until I installed tzdata, so I added that to requirements.txt

Thanks, just a couple of quick thoughts:

The docker container is probably a better solution than the existing script, I'll see about adding that to the docs.

There was a reason for the @pytest.mark.asyncio. The tests would randomly fail due to Home Assistant running clean up code in the background. This was the solution I found. I think there was another uglier workaround but it was a couple months ago so I'm not sure I remember what it was. I just need to test things out to see if this reoccurs.

I ran into the same "test tried to use a socket" issue, if I remember correctly it was an issue specific to Windows. I think this was a relevant issue https://github.com/microsoft/vscode-python/issues/22383. I believe everything worked when I ran under Linux.

Overall the code looked good from the quick look I took at it. I'm not near a computer now but once I get a chance I just want to double check that the tests don't start failing due to removing the mark.asyncio. I think it occurred based on whether you ran the tests individually or all at once from what I remember.

Looks good, thank you.


Closes #43

Expose the checks used by the check container and check operator actions in their help outputs

Example of the output:
$ ./preflight check operator -h
This command will run the Certification checks for an Operator bundle image.
The checks that will be executed are the following:
- ValidateOperatorBundle
- ScorecardBasicSpecCheck
- ScorecardOlmSuiteCheck
- OperatorImageSourceRegistryCheck
Usage:
preflight check operator  [flags]
Flags:
-h, --help   help for operator
$ ./preflight check container -h
This command will run the Certification checks for a container image.
The checks that will be executed are the following:
- HasRequiredLabel
- BasedOnUbi
- HasLicense
- HasMinimalVulnerabilities
- HasUniqueTag
- HasNoProhibitedPackages
- RunAsNonRoot
- LayerCountAcceptable
Usage:
preflight check container  [flags]
Flags:
-h, --help   help for container

I don't have write access to this repository so someone else needs to merge this for me, please


add YAML support

Details
Adds YAML support for the Pulumi Service Provider. Originally was under the impression that YAML would work out of the box, however YAML requires the GetSchema GRPC call to return the actual schema, since otherwise YAML has no way of determining the schema. The other languages worked just fine because they have SDKs which already know the schema.
Fixes: https://github.com/pulumi/pulumi-pulumiservice/issues/58
Testing

$ cd examples/yaml-teams
$ pulumi up

Additionally, added test runner for yaml-teams examples and github actions config as part of this PR.

I noticed that the Java test suite is also running the YAML tests for some reason. Once CI is green this should be good to go though!

Good catch. looks like i messed up the build tag comment. did // go:build yaml instead of //go:build yaml 😵💫


Multi instances setup

Hello !
Sorry, but I don't understand exactly how to run multi instance servers.
I tried to run two servers with two services in the docker-compose and in two separate files but it doesn't work.
In each times, the second instance is stuck after this lines :
The VNC desktop is:      <IP_ADDRESS>:0
PORT=5900
2022-08-10 16:10:06,989 INFO success: conanexilesController entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-08-10 16:10:06,990 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

I have respected the multi instance setup.
How to do it ?
Thank you.

i have found the file docker-compose_multi-instances.yml. Sorry for the inconvenient.
Thank you for your great work.


Arrow functions in hooks

When I use arrow functions in hooks, for example beforeValidation, doesn't work for me.

Example code?

const Member = db.define('member', {
        timestamp: {
            type: 'date',
            time: true,
            required: true
        },
        email: {
            type: 'text',
            required: true,
            unique: true
        },
        password: {
            type: 'text',
            required: true
        },
        firstName: {
            type: 'text',
            required: true,
            mapsTo: 'first_name'
        },
        lastName: {
            type: 'text',
            required: true,
            mapsTo: 'last_name'
        },
        privileges: {
            type: 'boolean',
            required: true,
            defaultValue: false
        }
    }, {
        hooks: {
            beforeValidation: () => {
                this.timestamp = new Date();
            },
            beforeSave: function() {
                this.password = passwordHash.generate(this.password);
            }
        },
        methods: {
            authenticate: function(pass) {
                return passwordHash.verify(pass, this.password);
            }
        }
    });

If I use beforeValidation with arrow function, function doesn't run.
If I change it to:
beforeValidation: function() {
    this.timestamp = new Date();
}

it works. But I want use arrow functions everywhere in my code. Is that possible here?

Nope. Have a read of https://strongloop.com/strongblog/an-introduction-to-javascript-es6-arrow-functions/.
Fat arrow functions will not work because they do not have their own this and so this.timestamp will assign timestamp to the parents this.
fn = (b) => console.log(this.a, b)
fn.call({ a: 3 }, 2)

> undefined 2

Regular functions work as expected:
fn = function (b) { console.log(this.a, b) }
fn.call({ a: 3 }, 2)
> 3 2

=> functions are not intended as a replacement for function.

Oh, didn't know about it. Thanks for clarification. ;)


Team section on landing page

A few people have joined the team recently so it's a good opportunity to add a dedicated section. As of right now we only have this section that highlights the community:

Example: https://www.radix-vue.com/

Hey @benjamincanac it looks great! Supose we can close this for now 😄


AttributeError: module 'tensorflow' has no attribute 'GraphDef'

The syntax has changed in V2 of tf.
Here's the correct piece:
tf.compat.v1.GraphDef()   # -> instead of tf.GraphDef()
tf.compat.v2.io.gfile.GFile()   # -> instead of tf.gfile.GFile()

PR https://github.com/nikitakit/self-attentive-parser/pull/44 would fix this, it's just waiting on a merge from @nikitakit apparently.

Hi @nikitakit,
Is this issue fixed?

I'm facing the same issue.  Is there any chance this will be fixed soon?

I'm facing the same issue. Is there any chance this will be fixed soon?


add image support

It's more or less about uploading image with txn.add_image() and then builder.push_image() but we also need to decode those images (there are some rust crates but maybe it would be better to use imagemagick or some other system library, I'd love to avoid increasing binary size)
related to #39

Going to work on this one.

done (memleaky), we are using piston-image (like servo)


Missing Class or Namespace for "AuthenticationToken" in documentation:

[Enter feedback here]
Class or Namespace for "AuthenticationToken" is missing in documentation:
public async Task<AuthenticationToken> GetAuthenticationToken()
return new AuthenticationToken
    {
        DisplayName = result?.Account?.Username ?? "",
        ExpiresOn = result?.ExpiresOn ?? DateTimeOffset.MinValue,
        Token = result?.AccessToken ?? "",
        UserId = result?.Account?.Username ?? ""
    };

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

ID: 0df49cfd-7591-447c-8ec6-c97285ba93e8
Version Independent ID: 0df49cfd-7591-447c-8ec6-c97285ba93e8
Content: Add authentication to your .NET MAUI app
Content Source: articles/mobile-apps/azure-mobile-apps/quickstarts/maui/authentication.md
Service: mobile-services
GitHub Login: @adrianhall
Microsoft Alias: adhal

It is included, with the following statement:


[Move] Focus Punch doesn't track on "warmup"

This may apply to all 2 turn moves. The move is not tracked during the first turn of the move.

Just to update on the current situation with this issue
As of tracker v0.5.0 2-turn moves do get tracked during their charging turn, as the trigger for tracking a move is now checking if current pp is less than the move's max. Don't know/remember if they weren't being tracked during the charging turn before.
Focus punch however does not lose pp until it actually goes off at the end of the turn, so we'd need to have some workaround to tell when the charging animation of focus punch goes off in order to track it properly

Config for reproducing this issue
Game: FireRed v1.0
Random Seed:<PHONE_NUMBER>2595
Settings String: 320WRIEEjIBAAQABwCRAAKeBnsEiAEAFAACCQAuEgAAAAAABRi45ATkAYYICTIGBAIyEwUAEEZpcmUgUmVkIChVKSAxLjCmGjJx+xZz7w==
Ledyba has Focus Punch in this seed and is one of the starters

Reopening because the current solution fails under some conditions:

If both you and opponent have the move Focus Punch,, and...
you use Focus Punch, they do not, and...
the punch message appears, but you check if opponent has the punch move (true), therefore it gets tracked incorrectly (they never used it).


Roll Flutter Engine from f794e6719d3c to 330a5b3c619b (1 revision)

https://github.com/flutter/engine/compare/f794e6719d3c...330a5b3c619b
2024-04-23<EMAIL_ADDRESS>[Impeller] add test case for path that explicitly closes at origin. (flutter/engine#52314)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Import 1731 1885 1960 1980

Imports CircleCI improvements

Merged in https://github.com/pytorch/vision/commit/7d2e56a149b3456f326663dcc4e084048ff81642


Resource directories are not copied

Since version 0.3.0 it is not possible to copy whole resource directories to the build directory.
This doesn't work any more:
<resource>
    <targetPath>/data</targetPath>
    <directory>${project.basedir}/data<directory>
</resource>

The problem was introduced with 62eaa8a8fda7200fd041387400894d908a9f975c
https://github.com/spotify/docker-maven-plugin/blob/master/src/main/java/com/spotify/docker/BuildMojo.java#L640
if (copyWholeDir) {
        copiedPaths.add(separatorsToUnix(targetPath));
 } else {
        for (String included : includedFiles) {
          final Path sourcePath = Paths.get(resource.getDirectory(), included);
          final Path destPath = Paths.get(destination, targetPath, included);
          getLog().info(String.format("Copying %s -> %s", sourcePath, destPath));
          // ensure all directories exist because copy operation will fail if they don't
          Files.createDirectories(destPath.getParent());
          Files.copy(sourcePath, destPath, StandardCopyOption.REPLACE_EXISTING,
                     StandardCopyOption.COPY_ATTRIBUTES);

          copiedPaths.add(separatorsToUnix(Paths.get(targetPath, included).toString()));
     }
}

If copyWholeDir was set, the logic for copy Files will be skipped.

As temporary workaround one can use version 0.2.13.

0.2.13 doesn't have the correct behavior either. When a resource directory is copied, the resulting Dockerfile should look like this:
ADD /local-path/ /docker-path/

Instead, version 0.2.13 adds an ADD statement for each file in the directory. This is a problem because each ADD statement creates an intermediate container, and there can only be 127 of those for any given docker image. So you're limited to adding 127 files.

What I can say. My original PR that can be checked here https://github.com/oberthur/docker-maven-plugin/blob/master/src/main/java/com/spotify/docker/BuildMojo.java works. During PR review maintainers has decided to propose many optimizations to my code and one of this broke this functionality.

I think #157 fixes this and #146, @dawidmalina if you don't mind taking a look at that PR I'd appreciate any review.

:+1:


Delete .kdev4 files

I'm not familiar with .kdev4  files, should they be part of the repository?

They seem to be project files of KDevelop, an editor/IDE.
Such files are generally system- and person-specific, and they can be safely deleted.
We should also add them to the .gitignore.


Issue with format and oneOf

What version of Ajv are you using? Does the issue happen if you use the latest version?
4.10.0
Ajv options object (see https://github.com/epoberezkin/ajv#options):
ajv.addFormat('numeric', v => {
  return !isNaN(parseFloat(v)) && isFinite(v)
})

JSON Schema (please make it as small as possible to reproduce the issue):
{
      type: 'object',
      additionalProperties: false,
      required: [
        'id',
      ],
      properties: {
        id: {
          oneOf: [
            { format: 'numeric' },
            { type: 'array', items: { format: 'numeric' } },
          ]
        },
      }
    }

Data (please make it as small as posssible to reproduce the issue):
{ id: ['1', '2'] }

Your code (please use options, schema and data as variables):
/* eslint-env mocha */
const assert = require('assert')
const Ajv = require('ajv')
const ajv = new Ajv()

ajv.addFormat('numeric', v => {
  return !isNaN(parseFloat(v)) && isFinite(v)
})

describe('ajv lib', () => {
  it('oneOf', () => {
    const validator = ajv.compile({
      type: 'object',
      properties: {
        id: {
          oneOf: [
            { format: 'numeric' },
            { type: 'array', items: { format: 'numeric' } },
          ]
        },
      }
    })

    const validation = validator({ id: ['1', '2'] })

    assert(validation, JSON.stringify(validator.errors))
  })
})

Validation result, data AFTER validation, error messages:
      AssertionError: [{"keyword":"oneOf","dataPath":".id","schemaPath":"#/properties/id/oneOf","params":{},"message":"should match exactly one schema in oneOf"}]

What results did you expect?
It should validate. format and oneOf doesn't seem to work properly/the way I thought it would.
Are you going to resolve the issue?
If you confirm this is an issue I'll try to help out any way I can.

The schema { format: 'numeric' } does not require that the data is a string, it is valid for all other data types, including arrays. That's not an ajv issue, it's per spec.
You need to change it to { type: 'string', format: 'numeric' } (in both branches of oneOf).
Also anyOf is more efficient, so unless you need to ensure that only one subschema is valid (when it is not always the case from the design) it is better to use anyOf.

@epoberezkin Thank you for the quick response!
But if I manually run the numeric filter function with the data ['1', '2'], it returns false. What am I missing?

Ah nevermind. Add custom  format to validate strings

Format keyword is validated (and the function is called) only if the data is a string. All other data types pass format validation (the function is not called).


slpMempoolIgnoreList is limited to 10,000 items

slpMempoolIgnoreList is limited to 10000 items, with blocks larger
than 2MB this number may need to be larger.  When this limit is exceeded
every non-SLP zmq transaction notification (prior to block) will cause
a RPC call to getRawTransaction().  To fix this, we will want to switch to
using a raw transaction hex notification, rather than txn hash notification,
raw transaction hex notification.
https://github.com/simpleledger/SLPDB/blob/894d147a67931964320aad9eccf445f1bc9775a1/bit.ts#L148

slpMempoolIgnoreList.includes does a linear scan, we can probably improve this by creating a slpMempoolIgnoreSet as well and doing lookups from that, as in we add a txid to both the List and the Set, then once the list is over N size we just do Set.delete(List.shift());
Using this with 1 million txids (100x increase in size) i have timing of 1ms vs 26ms for running has/includes on something this size.
It would be nice if N size was operator configurable for low memory applications (or for easy upgrade with bigger blocks).

Closing as this solved this issue, ty @blockparty-sh


[Event Request]Page 9231 "Items by Location Matrix" - OnAfterMatrixOnDrillDownSetFilters

Request a new event in function MatrixOnDrillDown in page 9231 "Items by Location Matrix" - OnAfterMatrixOnDrillDownSetFilters:
local procedure MatrixOnDrillDown(ColumnID: Integer)
begin
    ItemLedgerEntry.SetCurrentKey(
      "Item No.", "Entry Type", "Variant Code", "Drop Shipment", "Location Code", "Posting Date");
    ItemLedgerEntry.SetRange("Item No.", "No.");
    ItemLedgerEntry.SetRange("Location Code", MatrixRecords[ColumnID].Code);

    OnAfterMatrixOnDrillDownSetFilters(Rec, ItemLedgerEntry, ColumnID);        //NEW

    PAGE.Run(0, ItemLedgerEntry);
end;

//NEW
[IntegrationEvent(true, false)]     //NOTE IncludeSender = true
local procedure OnAfterMatrixOnDrillDownSetFilters(var Item: Record Item; var ItemLedgerEntry: Record "Item Ledger Entry"; ColumnID: integer)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


after using the socket, the network interface has to poll the nic

This is required to flush all send buffers, which could be used by the socket interface.

bors r+


Execute only one command

Hello,
I've returned to fiddling with this tool, and I found a bug. I'm not sure if it's the minecraft version that did it (1.19.81) but when I try to use the code, if I lanch multiple blocks one after the other, only the first one get executed (and sometime executed partially)
Exemple:

This code, only place one single grass block:

and this one:

Only teleport the agent, but then it won't move
If there is any log to send or anything, I'll send them
Hope you have a nice day!

Hi,
I can't reproduce your issue. I have minecraft bedrock to last version (v1.19.81).
When i reproduce same blocks as you indicate, it's perform correctly.
You should have a log in console output.
Something like :
Enter '/connect <IP_ADDRESS>:19135' to establish a connection.
If connection established, CodeConnectFix will connect to localhost:19131 and forward messages
<- [2] connected
-> [2] command: 823fb4f0-64f6-4224-a8b9-4ee08eba726e geteduclientinfo
-> [2] version: 1
<- [2] commandResponse: 823fb4f0-64f6-4224-a8b9-4ee08eba726e 0
<- [2] version: 17039360
-> [2] keyExchange: 7dfaf921-bebd-4457-b9a2-d0d7abb6e400
-> [2] command: 66a81d18-d6b3-474f-abdf-2a812b08c221 agent create
<- [2] completeEncryption
<- [2] commandResponse: 093b11f6-7948-4af2-bf76-63ddba33685e 0
<- [2] commandResponse: 66a81d18-d6b3-474f-abdf-2a812b08c221 0
-> [2] subscribe: MultiplayerRoundEnd
-> [2] subscribe: AgentCommand
-> [2] commandLegacy: 0 geteduclientinfo
-> [2] command: 1 geteduclientinfo
<- [2] commandResponse: 1 0
-> [2] subscribe: MultiplayerRoundStart
-> [2] subscribe: PositionCommand
-> [2] command: 5 getlocalplayername
<- [2] commandResponse: 5 0
-> [2] subscribe: PlayerMessage
-> [2] command: 11 agent create
<- [2] commandResponse: 11 0
-> [2] command: 12 agent tp
<- [2] commandResponse: 12 0
<- [2] event: PlayerMessage
-> [2] command: 13 closechat
-> [2] command: 14 fill ~5 ~ ~5 ~5 ~ ~5 grass 0 replace
<- [2] commandResponse: 13 0
<- [2] commandResponse: 14 -2147352576
-> [2] command: 15 fill ~5 ~15 ~5 ~5 ~10 ~5 sand 0 replace
<- [2] commandResponse: 15 0
<- [2] event: PlayerMessage
-> [2] command: 16 closechat
-> [2] command: 17 agent tp
<- [2] commandResponse: 16 0
<- [2] commandResponse: 17 0
-> [2] commandAgent: 18 agent move forward
<- [2] commandResponse: 18 0
<- [2] commandAgentResponse: 18 move
-> [2] commandAgent: 19 agent move forward
<- [2] commandResponse: 19 0
<- [2] commandAgentResponse: 19 move
-> [2] commandAgent: 20 agent move forward
<- [2] commandResponse: 20 0
<- [2] commandAgentResponse: 20 move
-> [2] commandAgent: 21 agent move forward
<- [2] commandResponse: 21 0
<- [2] commandAgentResponse: 21 move
-> [2] commandAgent: 22 agent move forward
<- [2] commandResponse: 22 0
<- [2] commandAgentResponse: 22 move
<- [2] event: PlayerMessage
-> [2] commandAgent: 23 closechat
-> [2] commandAgent: 24 fill ~5 ~ ~5 ~5 ~ ~5 grass 0 replace
<- [2] commandResponse: 23 0
<- [2] commandResponse: 24 0
-> [2] commandAgent: 25 fill ~5 ~15 ~5 ~5 ~10 ~5 sand 0 replace
<- [2] commandResponse: 25 0

Perhaps, it's a speed issue (my pc is a bit old and slow).
Do you see same trace ?

No, I only see the first command being called and executed, even in the log:
Enter '/connect <IP_ADDRESS>:19135' to establish a connection.
If connection established, CodeConnectFix will connect to localhost:19131 and forward messages
<- [1] connected
-> [1] command: 7c7832fc-9e8e-408d-ad37-719ddc3b3de1 geteduclientinfo
-> [1] version: 1
<- [1] commandResponse: 7c7832fc-9e8e-408d-ad37-719ddc3b3de1 0
<- [1] version: 17039360
-> [1] keyExchange: 947406e1-8aeb-4604-8b3e-16a7519a9668
-> [1] command: f88a8c13-9eb2-440d-884b-1aebd50908f8 agent create
<- [1] completeEncryption
<- [1] commandResponse: a3c9e22c-7680-4901-8eba-f9da2005da70 0
<- [1] commandResponse: f88a8c13-9eb2-440d-884b-1aebd50908f8 0
-> [1] subscribe: MultiplayerRoundEnd
-> [1] subscribe: AgentCommand
-> [1] commandLegacy: 0 geteduclientinfo
-> [1] command: 1 geteduclientinfo
<- [1] commandResponse: 1 0
-> [1] subscribe: MultiplayerRoundStart
-> [1] subscribe: PositionCommand
-> [1] command: 5 getlocalplayername
<- [1] commandResponse: 5 0
-> [1] subscribe: PlayerMessage
<- [1] event: PlayerMessage
-> [1] command: 7 closechat
-> [1] command: 9 agent create
<- [1] commandResponse: 7 0
<- [1] commandResponse: 9 0
-> [1] command: 10 agent tp
<- [1] commandResponse: 10 0
And then nothing. It just stops.
If I execute the command again nothing happens. I have to re-enter the code interface, stop the code, relaunch the code, and then I can execute the first line again, but only the first line.
My pc and internet both are good, and I allowed your patch through the firewall, so I don't think it's that?

Mhh, it's strange.
Looks like makecode is not executing the following commands.
But, i don't quite understand why.

I have push a new version with a "DEBUG mode" for additionnal information.
You must define an enviroment variable before run 'CodeConnectionFix'.
On windows, open a cmd.exe in CodeConnectionFix directory. Type 'SET NODE_END=development', then run CodeConnectionFix.exe or npm start.
I'm not sure if it can help to understand what wrong.

Well, while running the command, when trying using npm it told me the node.js wasn't installed. Which I thought weird because it didn't need it before?
But anyway, I went to install the version that was mentioned on the main page, and now it works with the debug version?
I'm not sure if it's the debug, the node or something else, but it works, so I'm happy XD
Do you want the logs anyway?

I have updated package dependency, so perhaps it's fix your issue.
npm command is for run directly from repository source code.  NodeJs must be installed.
But if you run windows executable CodeConnectionFix.exe you don't need NodeJs installed (everything is included in the executable).
But if it's work, it's not necessary to send debug log :)