Transition works nicely but only on enter-active

Description
I've implemented a nice transition between the website pages, but it only works on enter-active while leave-active is being ignored. Have no problems with it on NuxtJS.
Steps to reproduce
This is my template:
<template>
  <div>
    <page-header/>
    <transition name="fade" appear>
      <main>
        <slot />
      </main>
    </transition>
    <page-footer/>
  </div>
</template>

and this is my CSS:
<style>
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}
</style>

I'd tried everything with CSS and template but without any results, always getting only entering transition. Am I missing something here?
Environment

Libs:
- gridsome version: v0.6.7
- @gridsome/cli version: v0.2.1

Browser:
- [X] Chrome (desktop) version 76.0.3809.100 (64bit)
- [X] Firefox version 68.0.2 (64-bit)

For Tooling issues:
- Node version: v10.16.0
- Platform:  Linux, elementary OS 5.0 Juno (64bit), Ubuntu 18.04.2 LTS based, Linux 5.0.0-25-generic

Thank you for your time and effort.
Cheers,
Siniša Perović

At the moment Gridsome only supports enter transitions.
https://gridsome.org/docs/page-transitions

Sorry, I must have missed that. Thank you for your time and effort.
Best regards,
Sinisa Perovic
Webshaped Business OÜ
Web: https://www.webshaped.biz
E-Mail<EMAIL_ADDRESS>SkypeID: sinisaperovic
Telegram: @sinisaperovic
On Sun, 18 Aug 2019 at 21:03, Marcus Geißler<EMAIL_ADDRESS>wrote:

At the moment Gridsome only supports enter transitions.
https://gridsome.org/docs/page-transitions
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gridsome/gridsome/issues/611?email_source=notifications&email_token=ABTTUUL7FYKSD5PORKEOEBTQFGMJDA5CNFSM4IMFENZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RGBJA#issuecomment-522346660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABTTUUMUOGIOBLK6KJCB6ILQFGMJDANCNFSM4IMFENZA
.


Added entity view for Azure Repo Pull Requests

Signed-off-by: Andre Wanlin<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Added entity view for Azure Repo Pull Requests

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@marleypowell here's the PR to add the entity view for Pull Requests, could you give it a look over, please? Most of the maintainers will be gone this week but I think that give me time to make adjustments to this after your review

@freben this is now in a place where you or any of the other maintainers can take a look when you have time, please :)

@awanlin FYI #7672 may conflict with this PR as it's changing the location of some of the types that you've updated. Are you okay for my PR to merge first?

@marleypowell @Rugvip I've rebased to get the changes to use the new azure-devops-common and also the suggestions that were made recently. Can you take another look? Would be cool to get this into the next release if possible 😎

@freben @Rugvip please hold off on this PR, @marleypowell has pointed out a larger issue I need to fix. Sorry for all the noise :(

Alright, ready for another review @marleypowell, @freben, @Rugvip

Thanks for the reviews @freben, @benjdlambert, and @marleypowell! I've made the changes could you take another look, please? Thanks in advance! :)


Suggest

Suggest
1.Interactor holds presenter reference, is it possible memory leak?
2.BaseInteractor no reuse of the thread pool, the performance may not be good?

Yes, it holds the Presenter reference, but it's not a strong reference. I have been using this approach in about three apps I have made, those
apps were analyzed using  Canary Leak from Square and it passed well.

About this one, you are on the right, I have to analyze a little bit the performance impact of this.

I will take a look deep further the next week, and I will tell you about it. This can be improved, sure.
Thank you very much for your suggestions!

I have been looking a little about 2. Seems that the correct way to implement the method run in background to be optimized it's this one:
public class BaseInteractor {

   protected void runInBackground(@NonNull Runnable runnable) {
       Preconditions.checkNotNull(runnable, "Runnable shouldn't be null");
       final Executor executor = Executors.newFixedThreadPoolExecutor(5);

       executor.execute(runnable);

       if (!executor.isShutdown()) {
           executor.shutdown();
       }
    }
       .....
}

Today I will change the BaseInteractor class!

This is the new approach in BaseInteractor class:
public class BaseInteractor {
    private static final int NUMBER_OF_THREADS = 5;

    private ScheduledExecutorService scheduledExecutor = Executors.newScheduledThreadPool(NUMBER_OF_THREADS);
    private ExecutorService executor = Executors.newFixedThreadPool(NUMBER_OF_THREADS);
    private Handler handler = new Handler(Looper.getMainLooper());

    private ScheduledFuture<?> scheduledFuture;

    protected void runOnUiThread(@NonNull Runnable runnable) {
        Preconditions.checkNotNull(runnable, "runnable shouldn't be null");

        handler.post(runnable);
    }

    protected void runOnBackground(@NonNull Runnable runnable) {
        Preconditions.checkNotNull(runnable, "runnable shouldn't be null");

        if (executor.isTerminated()) {
            executor = Executors.newFixedThreadPool(5);
        }

        final Future<?> task = executor.submit(runnable);

        if (task.isDone()) {
            executor.shutdown();
        }
    }

    protected void runScheduledTaskOnBackground(@NonNull Runnable runnable, @NonNull Long time, @NonNull TimeUnit unit) {
        Preconditions.checkNotNull(runnable, "runnable shouldn't be null");
        Preconditions.checkNotNull(time, "time shouldn't be null");
        Preconditions.checkNotNull(unit, "unit shouldn't be null");

        scheduledFuture = scheduledExecutor.schedule(runnable, time, unit);
    }

    protected void cancelScheduledTask() {
        if (null != scheduledFuture) {
            scheduledFuture.cancel(true);
        }
    }
}

Moved from Executor to ExecutorService, in order to make easy to reuse the Thread Pool.

@jtyang If you want to probe this new approach you can do it, by following the steps from here https://jitpack.io/#BlackBoxVision/mvp-helpers/-SNAPSHOT

@jtyang Closing this issue since there's no activity. If you need something else please, re open it, or create a new issue! :smile:


Add Releases and Changelog when larger changes are made

For many admins, we watch these documentation repos for new management preferences and changes.  However, there currently isn't a way to be automatically notified of these from this repo.
When changes are made to the documentation with preference additions and changes, it would be really helpful to add these to a change log under this repo's releases so that we can be notified when these occur.  This way we can we use the 'Releases' notification option.  This is similar to what is done with Firefox in their policy-templates repo: https://github.com/mozilla/policy-templates/releases/tag/v1.16

Additionally, this would help track these larger changes over time.

@apizz Cleaning up some older issues.
Thank you for your feedback.  Currently, we do not have anything on our short-term roadmap regarding new features to notify users about documentation updates but I have passed your suggestions on to the team.


XPS Support

Hi team,
Do you have any plan to support the XPS backend??
Thanks!

2 things:

Yes 😄
It is still experimental from skia side - https://skia.org/user/api/canvas#skxps

Right now I am in the process of updating the underlying skia to the next version (m57) and this uses a new build system. So the first v1.57.0 release may or may not have XPS, but I think the next version (v1.57.1) should have.
The build changes are fairly large as they don't really have great support for non macOS/Android devices. Thus, I have been adding iOS/tvOS and doing quite a bit for UWP.

Well, that was easy :) Should be there in the next release.


Todays totals wrong

Description
For a couple of weeks/months the Integrations displays incorrect sums for "Today Production/Usage/etc"  for a device that's called "deye_12k".
Here is the "Today's Production" as a example.

Could someone please point me to what I am doing wrong?
The WiFi connectivity is excellent, also I am using the SG04LP3 yaml file.
Reproduction Steps
Just gathering data, the current sensor data like production, consumption, battery SOC, seems to be fine.
Log
home-assistant_solarman_2024-10-17T09-18-25.668Z.log
Version
24.10.16

So that means that your device caused it.
You will have to correct your history using Developer tools >> STATISTICS >> Total Production >> Graph icon and find the time when this occurred and fix it.

OK, interesting, thank you.
Problem is that I can't seem to find the time that the error occured, pretty sure that this happened last month, then I look into the history of last month I can't find anything

I am currently trying to use the "Fix Issue" function as I seem to have tons of them.

You have to correct it using that icon on the right. There you will see datetime picker and timestamps with values...

OK, thank you for all of your help but I need to bug you once more but this.
Do I just need to find one occurance of this or the first one around a month ago?
I've tried to google this but can't really find the answer, sorry to bug you teaching me how troubleshoot HA.
Here is my example, yesterdays export to grid

I couldn't even fully charge my 14,6kWh battery, no way my system has exported +70kWh.
Do I just correct/guess these values or do I need to find the first occurance os these spikes?
Is there a way to just delete the historic values and just start from scratch?

íYou need to fix all occasions when this fluke happened. So it depends of how many times it happened. If you click on that bottom left button called OUTLIERS or something like that and will be lucky it will show you all the occasions when irregular delta was detected and you fix them it should be enough.
So let's say you see for example in some time +13 kWh you correct it to 0 kWh and so on.

Is there a way to just delete the historic values and just start from scratch?

Yes there is a way. If you delete the device from the integration and then again go into STATISTICS page and click on FIX ISSUE and then CONFIRM on all the total sensors which belong to that deleted device. You will essentially delete whole long term statistics (data used in the energy dashboard) of that particular sensor.

I used to have several of these events a day so I chose the "delete historic data" path.
Somehow after deleting the device, dev > statistic > search for device and "fix issues" the data came back as seen as I added that device again.
So I want the more hardcore route (after a full backup) and used the SQLite explorer
SELECT * FROM "statistics_meta" WHERE "statistic_id" = "sensor.deye_12k_today_production";
765 sensor.deye_12k_today_production;
DELETE FROM statistics WHERE metadata_id="765";
SELECT * FROM "statistics_meta" WHERE "statistic_id" = "sensor.deye_12k_total_production";
766 sensor.deye_12k_total_production;
DELETE FROM statistics WHERE metadata_id="766";

I will report back if that helped.
Thank you very much @davidrapan

Somehow after deleting the device, dev > statistic > search for device and "fix issues" the data came back as seen as I added that device again.

When you click on the sensor you see short term statistics. 😉 For energy dashboard are important long term statistics and those are deleted using procedure that procedure.

I totally understand your point and if I would have seen another way I would have taken that.
The only real long term statistic I really need is this:

Since April 2nd my home has used 114kWh from the grid and send 4498 kWh to the grid.


localStorage access is slow

scripts\code.sh
hide viewlet
close all editors
restart profiler, reload, stop profiler
🐌 you see 135ms spend in index.html reading the theme from local storage (I assume the times vary with the size/history of the workspace)

CPU-20170112T105633.cpuprofile.zip

For more reasons that just performance, local storage should be file based.

How is this upstream? Surly local storage is file based (how else should it work) the problem is that we need to load all of local storage to ready a single value. That the local storage API and I don't see that changing. I think we should just stop using locale storage and implement our own storage mechanism.

StorageService#setWorkspaceId "nicely" exposes this and blocks startup

Simple expertement I ran is to start with code-insiders --prof-startup, one time with the LocalStorage folder as it is today (for me ~9MB) and once with a fresh, empty folder. Different is around ~150ms.
with data

without data

@bpasero Unrelated question: what does cleanupWorkspace do and why does it run every time I open a workspace and why does everything need to wait for this?

@jrieken I think it is just the first guy who uses local storage that pays the price of it. If I remove that call, the next one hits it right after:

The cleanup is useful in cases where a folder was deleted and then recreated with the same name. We store the ctime of a folder in local storage and compare it to the ctime of the folder that is opened. If the path is the same but the ctime different, we clear all storage for that workspace early on assuming that the folder was deleted and recreated.

Via https://github.com/Microsoft/vscode/pull/64719, we are not using window.localStorage anymore.


no supported authentication methods available (server sent publickey)

Describe the problem
Fresh install of ubuntu 22.04, applied the ansible playbook. After finish, I am not able to ssh in to the server.
"no supported authentication methods available (server sent publickey)"
Seems to be related to 5.4.2?
What is the best method to fix this issue? I have ran usg hardening within Ubuntu and has no issue with the ssh.
Expected behavior
logged in.
What is version of application which has the issue?
ubuntu 22.04
What was the last working version of the application?
ubuntu 22.04
What type of installation are you running?
OS (setup.py)
What type of device you use to interact with the application?
OS: [e.g. linux, windows, ios]
Example JSON snippet
No response
Anything in the logs that might be useful for us?
Here's a clip of the ssh -v
Authorized uses only. All activity may be monitored and reported.debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/sk/.ssh/id_rsa RSA SHA256:3pKgd4KBSgPZJbeSTA7uBTAA4grtsBEaOGcMACxF5E
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/sk/.ssh/id_ecdsa
debug1: Trying private key: /home/sk/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/sk/.ssh/id_ed25519
debug1: Trying private key: /home/sk/.ssh/id_ed25519_sk
debug1: Trying private key: /home/sk/.ssh/id_xmss
debug1: Trying private key: /home/sk/.ssh/id_dsa
debug1: No more authentication methods to try.
<EMAIL_ADDRESS>Permission denied (publickey).

Additional information
Have tried two fresh install of ubuntu 22.04 on x64 hosts.

Hi @sangraikang
Is your problem still persisting?
Upon a quick inspection, it seems that you are not using a public key when attempting to SSH into the server. By default, SSH is configured for public key authentication, and the logs indicate unsuccessful attempts with the default public keys.
To resolve this, make sure to provide your public key during the SSH login process.

Yes I am still having same issue. The public key is used in the remote server under authorized_keys and it was primary login method before the cis hardening and after it is giving the ssh error.

Hmm, that is strange, never get SSH login problem for a fresh Ubuntu 22.04 installation.
When I mention SSH usage, I'm referring to whether you provide your key with the ssh command using -i ~/.ssh/... when attempting to login to the server.
With the limited information from the logs you provided, it's challenging to pinpoint the location of the problem.
It shouldn't be an issue with cis_ubuntu2204_rule_5_4_2 as it is disabled by default and when i remember correct 5.4.2 is for different login changes not for SSH one.
Are there any additional details in the logs when you attempt to log in via SSH?
Can you access the Ubuntu server in any other way and check the logs on the server side?


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

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

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-operator-controller-tests_istio

integ-pilot-multicluster-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-pilot-multicluster-tests_istio

integ-telemetry-mc-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-telemetry-mc-k8s-tests_istio

gencheck_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test gencheck_istio

release-test_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test release-test_istio

analyze-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test analyze-tests_istio

release-notes_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test release-notes_istio

integ-distroless-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-distroless-k8s-tests_istio

unit-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test unit-tests_istio

integ-security-multicluster-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-security-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-ipv6-k8s-tests_istio

lint_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test lint_istio

integ-security-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-security-k8s-tests_istio

integ-helm-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-helm-tests_istio

integ-multicluster-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-pilot-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

integ-operator-controller-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-operator-controller-tests_istio

integ-pilot-multicluster-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-pilot-multicluster-tests_istio

integ-telemetry-mc-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-telemetry-mc-k8s-tests_istio

gencheck_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test gencheck_istio

release-test_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test release-test_istio

analyze-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test analyze-tests_istio

release-notes_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test release-notes_istio

integ-distroless-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-distroless-k8s-tests_istio

unit-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test unit-tests_istio

integ-security-multicluster-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-security-multicluster-tests_istio

integ-telemetry-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-ipv6-k8s-tests_istio

lint_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test lint_istio

integ-security-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-security-k8s-tests_istio

integ-helm-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-helm-tests_istio

integ-multicluster-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-k8s-tests_istio
239a938dee4ea473c5528b6903638e438e288290
link
/test integ-pilot-k8s-tests_istio

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

/cherrypick release-1.9

/cherrypick release-1.9

@zerobfd: #29644 failed to apply on top of branch "release-1.9":
Applying: initial command scaffolding
Applying: implement tag removal
Applying: Progress on tag list command
Applying: Add scaffolding for istioctl tag apply
Applying: Replace istio.io/rev with label.IstioRev
Applying: Progress on istioctl tag apply
Applying: Unset CA bundle on webhook build
Applying: Pass writer into tests so we can test command output
Applying: Add tests for revision tag command
Applying: Test skip-confirmation text on tagRemove
Applying: Add skip-confirmation tag
Applying: Lint fixes
Applying: Improve func ordering in tag command
Applying: Address PR feedback
Applying: fix spelling error
Applying: implement overwrite flag
Applying: rename webhook client
Applying: return err when tag webhook retrieval fails
Applying: prevent creation of revision tags with same name as an existing revision
Applying: add long text for istioctl tag command group
Applying: various wording improvements
Applying: improve command descriptions and wording
Applying: fix expected test error for tag remove
Applying: add releasenote for revision tag command
Applying: improve command examples and long-form descriptions
Applying: add more detail to long-form command descriptions
Applying: improve error messages
Applying: match up test expected errors with updated error text
Applying: make it so that istioctl cleans up revision tags
Applying: fix unit tests with operator label
Applying: make gen output import ordering
Applying: add revision tag yaml
Applying: begin migrating to use helm rendering
Applying: fix revision tag template to work with helm range scope
Applying: remove unnecessary values
Applying: add RenderManifestFiltered to helm renderer
Applying: test tag webhook creation
Applying: fix bug in Helm template filtering
Applying: refactor to use istioNamespace from command
Applying: add object selectors back to webhook
Applying: make gen changes:
Applying: fix values_types.pb.go merge conflicts
Using index info to reconstruct a base tree...
M	operator/pkg/apis/istio/v1alpha1/values_types.pb.go
M	operator/pkg/apis/istio/v1alpha1/values_types.proto
Falling back to patching base and 3-way merge...
Auto-merging operator/pkg/apis/istio/v1alpha1/values_types.proto
Auto-merging operator/pkg/apis/istio/v1alpha1/values_types.pb.go
CONFLICT (content): Merge conflict in operator/pkg/apis/istio/v1alpha1/values_types.pb.go
CONFLICT (add/add): Merge conflict in operator/pkg/apis/istio/v1alpha1/v1alpha1.pb.html
Auto-merging operator/pkg/apis/istio/v1alpha1/v1alpha1.pb.html
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0042 fix values_types.pb.go merge conflicts
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.9

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

@zerobfd: #29644 failed to apply on top of branch "release-1.9":
Applying: initial command scaffolding
Applying: implement tag removal
Applying: Progress on tag list command
Applying: Add scaffolding for istioctl tag apply
Applying: Replace istio.io/rev with label.IstioRev
Applying: Progress on istioctl tag apply
Applying: Unset CA bundle on webhook build
Applying: Pass writer into tests so we can test command output
Applying: Add tests for revision tag command
Applying: Test skip-confirmation text on tagRemove
Applying: Add skip-confirmation tag
Applying: Lint fixes
Applying: Improve func ordering in tag command
Applying: Address PR feedback
Applying: fix spelling error
Applying: implement overwrite flag
Applying: rename webhook client
Applying: return err when tag webhook retrieval fails
Applying: prevent creation of revision tags with same name as an existing revision
Applying: add long text for istioctl tag command group
Applying: various wording improvements
Applying: improve command descriptions and wording
Applying: fix expected test error for tag remove
Applying: add releasenote for revision tag command
Applying: improve command examples and long-form descriptions
Applying: add more detail to long-form command descriptions
Applying: improve error messages
Applying: match up test expected errors with updated error text
Applying: make it so that istioctl cleans up revision tags
Applying: fix unit tests with operator label
Applying: make gen output import ordering
Applying: add revision tag yaml
Applying: begin migrating to use helm rendering
Applying: fix revision tag template to work with helm range scope
Applying: remove unnecessary values
Applying: add RenderManifestFiltered to helm renderer
Applying: test tag webhook creation
Applying: fix bug in Helm template filtering
Applying: refactor to use istioNamespace from command
Applying: add object selectors back to webhook
Applying: make gen changes:
Applying: fix values_types.pb.go merge conflicts
Using index info to reconstruct a base tree...
M	operator/pkg/apis/istio/v1alpha1/values_types.pb.go
M	operator/pkg/apis/istio/v1alpha1/values_types.proto
Falling back to patching base and 3-way merge...
Auto-merging operator/pkg/apis/istio/v1alpha1/values_types.proto
Auto-merging operator/pkg/apis/istio/v1alpha1/values_types.pb.go
CONFLICT (content): Merge conflict in operator/pkg/apis/istio/v1alpha1/values_types.pb.go
CONFLICT (add/add): Merge conflict in operator/pkg/apis/istio/v1alpha1/v1alpha1.pb.html
Auto-merging operator/pkg/apis/istio/v1alpha1/v1alpha1.pb.html
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0042 fix values_types.pb.go merge conflicts
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.9

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

@zerobfd: new issue created for failed cherrypick: #30217

In response to this:

/cherrypick release-1.9

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

@zerobfd: new issue created for failed cherrypick: #30217

In response to this:

/cherrypick release-1.9

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


restarting container results in not being able to contact KDC realm

When I restart docker and the container I'll eventually run into an issue where I'm unable to connect to the KDC realm. When I enter the restarted container and attempt to run kinit admin I encounter this:
kinit: Cannot contact any KDC for realm 'BUBBA.NET' while getting initial credentials

I suspect that when I restart docker I'm getting a new IP address for the container and this is causing an issue with configuration files such as /etc/resolv.conf, perhaps. I'll look into it further but was wondering if your script /usr/sbin/ipa-server-configure-first took this into account?
NOTE: looking through my container that resulted from the restart I noticed that it now has IP <IP_ADDRESS> but previously had <IP_ADDRESS> when looking through the log file /var/log/krb5kdc.log, for example.

The ipa-server-configure-first will update the DNS record for its own hostname in the DNS. If you manually set /etc/resolv.conf on the host running the FreeIPA container to point to the container, then yes, you will need to update it to match the new IP address.
Alternatively, you should be able to run the container with -p 53:53 -p 53:53/udp and point the /etc/resolv.conf to <IP_ADDRESS> or the IP address of the host -- iptables should route the traffic to the container then.

I've been setting up the container like so:
$ export IP=<IP_ADDRESS>; docker run -e IPA_SERVER_IP=$IP \
  -e FORWARDER=<IP_ADDRESS> -p $IP:53:53/udp -p $IP:53:53 \
  -p $IP:80:80 -p $IP:443:443 -p $IP:389:389 -p $IP:636:636 -p $IP:88:88 -p $IP:464:464 \
  -p $IP:88:88/udp -p $IP:464:464/udp -p $IP:123:123/udp -p $IP:7389:7389 \
  --name ipa -ti -h ipa.bubba.net -e PASSWORD=secretpass centos/freeipa:latest

I'm able to restart it fine, but if I stop/start dockerd and then restart it and it doesn't get the same IP it won't start back up. Here's the output from the logs after restarting dockerd.
FreeIPA server is already configured, starting the services.
Starting [ntpd.service]
Starting [certmonger.service]
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Starting [ipa-dnskeysyncd.service]
Starting [rhel-domainname.service]
domainname: you must be root to change the domain name
Starting [sssd.service]
Starting [ipa.service]
Existing service file detected!
Assuming stale, cleaning and proceeding
Starting Directory Service
Starting krb5kdc Service
Starting kadmin Service
Starting named Service
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone <IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.ip6.arpa/IN: loaded serial 0
zone <IP_ADDRESS>.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
Starting ipa_memcached Service
Starting httpd Service
Starting pki-tomcatd Service
Failed to start pki-tomcatd Service
Shutting down
kill: sending signal to 190 failed: No such process
Java virtual machine used: /usr/lib/jvm/jre/bin/java
classpath used: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
main class used: org.apache.catalina.startup.Bootstrap
flags used:
options used: -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
arguments used: stop
Aborting ipactl
kinit: Cannot contact any KDC for realm 'BUBBA.NET' while getting initial credentials
; Communication with <IP_ADDRESS>#53 failed: timed out
could not talk to specified name server
FreeIPA server started.
Starting interactive shell.

I just realized that you must have added $IPA_SERVER_IP  to your repo but the official image from the docker registry (hub.docker.com) is lacking this change. Currently downloading from your repo and rebuilding to see if that fixes my issue.

The images at https://registry.hub.docker.com/u/adelton/freeipa-server/ have been rebuilt.


Improve Monitor Query metrics example in README

While thinking about https://github.com/Azure/azure-sdk-for-net/issues/29584, I saw an opportunity to add clarity in the Monitor Query README.

API change check
API changes are not detected in this pull request.


create the project overview UI

should contain

the project name
invite users
change labels (add, delete, edit)
upload photos buttons
overview labeling progress (overall photos vs photos labelled)
download labels button

8h


[BUG] Distribution loss seems to spawn tensors on cpu and gpu device

What happened + What you expected to happen
i tried to run (with cuda enabled) the tutorial for intermittent timeseries  https://nixtla.github.io/neuralforecast/examples/intermittentdata.html and couldnt execute the tutorial completely. When i try to execute the fit method, an error gets thrown:

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

Re-running the tutorial with another loss defined e.g. with the neuralforecast.losses.pytorch.MQLoss, the model trainings runs just fine! So i suppose there is a bug with the DistributionLoss which is used in this tutorial.
The logs are the following:

File ~/Pycharm_projects/paretos-demand/.venv_test/lib/python3.9/site-packages/pytorch_lightning/trainer/call.py:287, in _call_strategy_hook(trainer, hook_name, *args, **kwargs)
284     return None
286 with trainer.profiler.profile(f"[Strategy]{trainer.strategy.class.name}.{hook_name}"):
--> 287     output = fn(*args, **kwargs)
289 # restore current_fx when nested context
290 pl_module._current_fx_name = prev_fx_name
File ~/Pycharm_projects/paretos-demand/.venv_test/lib/python3.9/site-packages/pytorch_lightning/strategies/strategy.py:367, in Strategy.training_step(self, *args, **kwargs)
365 with self.precision_plugin.train_step_context():
366     assert isinstance(self.model, TrainingStep)
--> 367     return self.model.training_step(*args, **kwargs)
File ~/Pycharm_projects/paretos-demand/.venv_test/lib/python3.9/site-packages/neuralforecast/common/_base_windows.py:424, in BaseWindows.training_step(self, batch, batch_idx)
420     _, y_loc, y_scale = self._inv_normalization(
421         y_hat=outsample_y, temporal_cols=batch["temporal_cols"]
422     )
423     outsample_y = original_outsample_y
--> 424     distr_args = self.loss.scale_decouple(
425         output=output, loc=y_loc, scale=y_scale
426     )
427     loss = self.loss(y=outsample_y, distr_args=distr_args, mask=outsample_mask)
428 else:
File ~/Pycharm_projects/paretos-demand/.venv_test/lib/python3.9/site-packages/neuralforecast/losses/pytorch.py:897, in poisson_scale_decouple(output, loc, scale)
895 rate = output[0]
896 if (loc is not None) and (scale is not None):
--> 897     rate = (rate * scale) + loc
898 rate = F.softplus(rate) + eps
899 return (rate,)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

Versions / Dependencies
python: Python 3.9.16
libs: neuralforecast 1.5.0
os: TUXEDO OS 2
Reproduction script
import pandas as pd
from datasetsforecast.m5 import M5
import numpy as np
Y_df, _, _ = M5.load(directory='./', cache=True)
Y_df['ds'] = pd.to_datetime(Y_df['ds'])
Y_df = Y_df.query('unique_id.str.startswith("FOODS_3")')
Y_df['unique_id'] = Y_df['unique_id'].astype(str)
Y_df = Y_df.reset_index(drop=True)
nf = NeuralForecast(
models=[
AutoNHITS(h=28,loss=DistributionLoss(distribution='Poisson', level=[80, 90], return_params=False), num_samples=5),
AutoTFT(h=28, loss=DistributionLoss(distribution='Poisson', level=[80, 90], return_params=False), num_samples=2),
],
freq='D'
)
nf = NeuralForecast(models=models, freq='D')
nf.fit(df=Y_df)
Issue Severity
High: It blocks me from completing my task.

Hi @RobertHaase,
Thanks for reporting the bug. I believe we solved it in the main branch:
!pip install git+https://github.com/Nixtla/neuralforecast.git
We will update the installation instructions.

Yes, it solves the bug!
This bug report can be closed then. Thanks for your help!

Hey @RobertHaase,
You must also add a minimal comment to the last forecast parse line.
# cv_df.columns = cv_df.columns.str.replace('-median', '')

The correctly running tutorial is already in the main branch.
https://github.com/Nixtla/neuralforecast/blob/main/nbs/examples/IntermittentData.ipynb


ActiveRecord 3.2?

Will this gem work with ActiveRecord 3.2? If so, can the dependecies be updated to include 3.2?

+1 :)

I haven't tested with 3.2, but it someone wants to confirm it works before I can get to it (time is more limited these days) I'll be happy to update the Gemspec.

I am getting this error: NameError: uninitialized constant ActiveRecord::Associations::ClassMethods::JoinDependency so I don't think it will work with 3.2. I will try to figure out how to fix this.

Ignore me. For some reason the app where I was tested this used a very old version of meta_search.

This would be awesome, specially for Active Admin!

thanx for new version. it's working fine now.


🪲[Blog Content]: Content not assigned properly inside Blog read

Steps to check the behavior:
https://akshitagupta15june.github.io/PetMe/blogs/dan.html
Here's How it can be solved:

Hey @akshitagupta15june please assign me to solve this

Go for it!

Please add level GSSoC


Not working above other components.

Works on Component with No Elements as said in example. But not working above the elements, even after changed z-index.

I'm the one who did mistake.

Did you solve this issue? I'm trying to use this on a Modal with a high z-index, but couldn't find a way to pass a higher z-index to the confetti div

Did you solve this issue? I'm trying to use this on a Modal with a high z-index, but couldn't find a way to pass a higher z-index to the confetti div

I removed the  z index values which I gave to the other elements.


Fix ldapsearch flags

The syntax for ldapsearch was changed, -h is no longer an option, and to use -H you must put ldap:// before the host IP.

This change does not modify or interact with nmap, and only interacts with ldapsearch flags.


[Dewhale] implements #9

[Dewhale] This PR implements #9, created by Dewhale.

[Dewhale]: Certainly! Below is the JSX code for a static React component that simulates the described UI. Since the component is static and does not accept any props, the form will not actually update the JSON in real-time. However, I've structured the code to show how the UI would look and where the dynamic behavior would be implemented if it were a fully functional application.
This code creates a two-column layout with a form on the left and a textarea on the right. The textarea is populated with a static JSON string to simulate the dynamic behavior. In a real application, you would use state and event handlers to update the JSON output based on user input.


Project Accordians

Problem: project accordians are going away too quickly
Solution: figure out what is happening with the blur and fix it

nicely done


[Azure Container Apps - Azure Container Apps] API Review

New API Review meeting has been requested.
Service Name: Azure Container Apps - Azure Container Apps
Review Created By: Rajneesh Mitharwal
Review Date: 09/26/2024 04:00 PM PT
Release Plan: 1418
PR: https://github.com/Azure/azure-rest-api-specs/pull/29258
Hero Scenarios Link: here
Core Concepts Doc Link: here
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Cancelled by: Rajneesh Mitharwal


Python releaser not finding version.py with path option

It seems like the combination of this.gh.findFilesByFilename + this.addPath when this.path is defined here produces an extra path prefix
I can take a stab at fixing it but not sure what the best solution is:

s/path: this.addPath(path)/path: path/ in the python releaser
try to build some logic detecting this.path already in file in addPath (seems error prone)
add a prefix?: string parameter to findFilesByFilename and return the results relative to that path prefix?

whether or not #3 is a solution you might want to consider passing in path:prefix to the github code search

Seeing an issue as well on https://github.com/googleapis/python-crc32c/pull/44/files where it isn't finding our version in setup.cfg

@crwilcox I don't think I'm understanding what happened to you in that PR you've linked, it doesn't appear to be related to path issues (also it looks like the subsequent update worked? https://github.com/googleapis/python-crc32c/pull/46).
The version # that is proposed in synth.py and the CHANGELOG is based on the branch names of prior releases, or prior tags that were published, if no appropriately named branch can be found.
If you're still having problems like you've linked to above, mind opening a separate issue?


How to configure Bloodhoud with prefetch to select only strings that starts with string?

q = "al"
matches = ["Alabama", "Alaska"] instead of ["Alabama", "Alaska","California"]

In using a non-bloodhound search routine, one only need add ^ before the regex expression.  Maybe not much help if you are committed to Bloodhound, but it works for me.

@SFSailor  Could you please tell me where you updated the code?
@aberbenni Did you fix the issue? if so, please share how you did?


Images in stylesheets

I have tried a few different ways to get images in stylesheets working, but haven't figured it out yet. Do you have any tips for how the path should be structured?
Here is my structure

web
-- index.html
-- styles/
-- styles/main.css
-- images/
-- images/background.jpg

The HTML loads fine, and if I include the styles directly in the index.html file, the image loads... just not from the main.css stylesheet.
I have tried ../images/background.jpg and ./images/background.jpg
Any tips?

this appears to be a problem with a symlink on my system.
Sorry, disregard.


How to install in airgap environment?

Hi there,
I am new to Kubit. Any pointer is well appreciated.
I need to install Kubit on to a private AKS or on jump server that is not connected to internet. Can any one please advise, how I can install this on client jump system or on AKS without internet connection?
Regards,
Sreeram

Installing kubit (or any external software) into an airgapped environment will be dependent on your own/organisation's requirements.
It is likely you will have to retrieve the image of kubit you want to use and copy it into an internal registry which is accessible by your AKS cluster.


Add option to load schemas from file in generate command

Background
This PR will allow users to load schemas from a JSON file when running generate command, hence skipping the manual data entry. This will make it easy to move from one project to another that has shared schemas
Sample usage
kirimase generate -f <path-to-schema.json>

Notable changes

Added Zod
Added new options -f, --from-file to generate command
Moved table column types definition from src/types.d.ts to src/utils.ts so it can be reused in schema validation
The buildSchema will process array of schemas instead of a single one. The generateResources will process the schema array one by one
The printGenerateNextSteps function now process schema array. The output is updated accordingly

Input sample
Here's a sample of a valid schema.json (basically the shape of Schema)
[
  {
    "tableName": "products",
    "fields": [
      { "name": "name", "type": "varchar", "notNull": true },
      { "name": "price", "type": "number", "notNull": true }
    ],
    "index": "name",
    "belongsToUser": false,
    "includeTimestamps": true,
    "children": []
  }
]

Validation
This PR also comes with the necessary validation such as requiring the table name to be snakeCase. The validation is done by Zod. If errors are present in the schema, Kirimase will stop the execution and log the errors appropriately, such as
[
  {
    "message": "Field name must be in snake_case if more than one word.",
    "field": "fields.0.name",
    "tableName": "products.product_discounts.product_discount_analytics"
  },
  {
    "message": "Table name must be in snake_case if more than one word, and plural.",
    "field": "tableName",
    "tableName": "products.productReviews"
  }
]

Note on using Zod
Since strict mode is not enabled in this project, we will not be able to fully utilize Zod, such as type inferring

this is pretty great @akmalmzamri ! I am also interested in this for a project of mine, perhaps we can connect if you are also still interested in this? Can you send me a dm on twitter or an email<EMAIL_ADDRESS>cheers Flip


Lingering in PUSH-PULL patterns

Related to #83.
Add an option to set linger in PUSH sockets.

This was merged in #96.
@Flood1993 Should we consider setting a default value greater than 0? I was thinking about this and actually, this only comes into play when shutting down (closing agents), so for normal communications we will not break any ZMQ good practices, but when shutting down we may avoid some nasty blocking issues...

You are right, since it is only important on shutdown, it would make sense to have a default timeout. What would be an appropiate value?

@Flood1993 I'd say a value that does not annoy the user too much while waiting... 1 second? Maybe even less. :thinking:


error: xdr processing error: xdr value invalid | Bug Report

as reported here in discord: https://discord.com/channels/897514728459468821/966788672164855829/1240783985370595429
you can't invoke hello world from 20.3.4 on testnet
maybe we need to use v21 for p21?
Hey guys I'm p[robably doing something wrong.
I deploy it, it returns the contract key, but I can't invoke
soroban contract deploy
--wasm target/wasm32-unknown-unknown/release/hello_world.wasm
--source bob
--network testnet
CA2PGFVXARVLBJHITPJLCMTKL2VNO32HYUES5RJRT3CHK35IOFDPG2S6
soroban-hello-world soroban contract invoke
--id CA2PGFVXARVLBJHITPJLCMTKL2VNO32HYUES5RJRT3CHK35IOFDPG2S6
--source bob
--network testnet
--
hello
--to RPC
error: xdr processing error: xdr value invalid

🔗 Discuss this issue on Discord

I can confirm that I was able to invoke with soroban 21.0.0-preview.1, so my guess is that the XDR was updated and now the old version doesn't work.  Though I thought it was supposed to be backward compatible @leighmcculloch


Update README.md

Official documentation of the Android_ID.
` (without spaces) are treated as comments and won't be rendered, so please don't edit the text inside these blocks since your modifications won't be visible. If you want the text to be visible, remove `< !--` and `-- >` tags.
-->
Description
Every app is getting it's own ID, because of security and privacy reasons.
Instead of using the Android ID app just read the Android ID directly out of the filesystem.
This is the root Android ID and should work in general.

Proposed solution

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (e.g., refactoring, documentation etc.)

Additional context

Checklist

[ ] I have read the contributing guidelines
[ ] I have performed a self-review of my own code (added comments, corrected misspellings etc.)
[ ] My code follows the style guidelines of this project
[ ] I have made corresponding changes to the documentation (if appropriate)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes

Thanks!


Support to route AudioMixer channel(s) to multiple spatial 'speakers'

Good evening,
I am building a VR DJ application. Multiple AudioSources, representing turntables, are mixed together using Unity's AudioMixer, and are then sent out of the AudioMixer's master channel. I would like to route the AudioMixer's master channel to multiple 'speakers', each with an effect on them ( LPF for subs and HPF for PA's ). If possible, I do not want to use multiple AudioSources to achieve the effect of additional speakers ( my current implementation ), because updating every individual AudioSource.timesamples is slow. I would like to use only the PCM Data from the Audio Thread from a single audio source, for many speakers. I would like to keep high-quality real-time spatial audio. Is this currently possible?
Thank you!

@davidhaley Just so that I understand this correctly, can you confirm if the following is what you're trying to achieve?

An Audio Mixer emits multi-channel output.
A separate effect is applied to each channel of the output.
Each channel of this output is spatialized separately, from a different position, and the spatialized results are mixed.
The mixed, spatialized output is sent to the master output (the speakers, essentially).

Correct me if I've misunderstood something here. A couple of questions:

What kind of effects do you want to apply in step 2? Something from Steam Audio? Or just general effects like low-pass filters?
Do you need control over the 3D positions from which each channel is spatialized in step 3?

Generally speaking, this functionality is not currently available out of the box in the Steam Audio plugin for Unity. At this time, you will probably need to write a Unity mixer plugin in C++, that does this for you, particularly step 2. For step 3, you can use the Virtual Surround Effect in the Steam Audio API from within your mixer plugin, or multiple Object-Based Binaural Effects if you need control over the 3D positions of each channel.
Do let me know if you had something else in mind.


Alternate communication channel?

Communicating through Github issues is not great. Maybe we could settle on some other communication mechanism to coordinate development?
Mailing list, IRC channel, something else...?

Seems like people like gitter. I'd like an option which has good mobile support, but honestly I'm not picky. To you have a preference?

Added benefit of gitter is that neovim uses it for their communication

That said, mobile for gitter is very bad
Sent with GitHawk

I don't really have a preference, other than I'd rather use an open source solution (so I'd prefer not to use Slack, Discord, etc).
We could try gitter and reevaluate some time from now, I guess?

That sounds good to me. I'll figure out how to add a readme link later today

I can start by creating the neovide "community" in gitter. Or would you rather create it yourself?

Nope, I'm good. go for it.
Thanks,
Keith

From: Jon Valdés<EMAIL_ADDRESS>Sent: Tuesday, February 4, 2020 3:38:34 PM
To: Kethku/neovide<EMAIL_ADDRESS>Cc: Keith Simmons<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Kethku/neovide] Alternate communication channel? (#110)
I can start by creating the neovide "community" in gitter. Or would you rather create it yourself?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Kethku/neovide/issues/110?email_source=notifications&email_token=AAZLN333W5W4CY4DMEI6G5TRBHG4VA5CNFSM4KP4KMVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZDG7Y#issuecomment-582103935, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAZLN3YZN4YCEY42MXEWWJLRBHG4VANCNFSM4KP4KMVA.

Hummm do you know if the community can be linked to the repo later?

If not, maybe you should create it instead

No idea. Let me take a look

Sent with GitHawk

It's supposed to make a PR to add the gitter badge
Sent with GitHawk

mobile for gitter is very bad

I use the web app on mobile browser. It's ok. Typically these chats aren't high traffic, or for deep conversations mobile is unpleasant no matter what service you use..

Done. Added a link to gitter in the readme


React SSR rendering Error

Issue Type

[x] Bug report
[ ] Feature request
[ ] Question / support request
[ ] Other

Description
While using SSR Rendering in my React App i get the following Error:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\mypath\node_modules\react-medium-image-zoom\dist\index.js from C:\mypath\index.js not supported.
Instead change the require of C:\mypath\node_modules\react-medium-image-zoom\dist\index.js in C:\mypath\index.js to a dynamic import() which is available in all CommonJS modules.

@draro What version are you using? The latest major version is only using esmodules.

@rpearce , sorry i forgot to add it in the issue:
"react-medium-image-zoom": "^5.2.0",

@draro This project only exports an ESModule, and it sounds like you're trying to require('react-medium-image-zoom') in a CommonJS environment. If that's the case, I don't think there's anything to fix on this side.
I'm going to close this for now, but if you can provide a simple way to reproduce this issue (like an example project or precise steps), I can see what I can do to help.


REGRESSION: wgpu panic BadDisplay after winit 0.30 on Asahi Linux OpenGL

Bevy version
I first found the bug when trying the 0.14 release candidates. I ran a git bisect and tracked down the problem to the commit which updated bevy to use winit 0.30. So all Bevy versions that are based on winit 0.30 are affected.
Bevy 0.13.x (and commits before the winit 0.30 update) are not affected.
Relevant system information
SystemInfo { os: "Linux 39 Fedora Linux Asahi Remix", kernel: "6.8.10-400.asahi.fc39.aarch64+16k", cpu: "Icestorm-M1-Pro", core_count: "10", memory: "30.9 GiB" }
AdapterInfo { name: "Apple M1 Pro (G13S C0)", vendor: 65541, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }

Asahi does not have a GPU Vulkan driver yet (though probably will soon…) and this bug makes Bevy unusable.
What you did
Run any bevy app or example.
You need --features wayland and WGPU_BACKEND=gl to run Bevy on Asahi. Bevy chooses CPU Vulkan over OpenGL by default for some reason, and X11 with Gl backend does not work.
WGPU_BACKEND=gl cargo run --features wayland --example 3d_scene

What went wrong
Bevy immediately crashes with various systems in the Render schedule panicking. The panic comes from wgpu unwrapping a BadDisplay error related to calling eglMakeCurrent. Something must be going wrong with how winit and wgpu interact in  Bevy.
2024-06-19T11:15:27.791229Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (1)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::create_surfaces`!
2024-06-19T11:15:27.794062Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::render_asset::prepare_assets<bevy_render::texture::image::GpuImage>`!
2024-06-19T11:15:27.794372Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (0)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_pbr::render::light::prepare_lights`!
2024-06-19T11:15:27.794516Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (1)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::render_asset::prepare_assets<bevy_sprite::mesh2d::material::PreparedMaterial2d<bevy_sprite::mesh2d::color_material::ColorMaterial>>`!
2024-06-19T11:15:27.794976Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (2)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::render_asset::prepare_assets<bevy_pbr::material::PreparedMaterial<bevy_pbr::pbr_material::StandardMaterial>>`!
2024-06-19T11:15:27.795235Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (1)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::render_asset::prepare_assets<bevy_render::mesh::mesh::GpuMesh>`!
2024-06-19T11:15:27.795881Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::view::prepare_view_uniforms`!
2024-06-19T11:15:27.795956Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (0)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::globals::prepare_globals_buffer`!
2024-06-19T11:15:27.796070Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_pbr::render::skin::prepare_skins`!
2024-06-19T11:15:27.796160Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (1)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
2024-06-19T11:15:27.796272Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_pbr::render::fog::prepare_fog`!
Encountered a panic in system `bevy_pbr::ssr::prepare_ssr_settings`!
2024-06-19T11:15:27.796741Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'main' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_pbr::cluster::prepare_clusters`!
2024-06-19T11:15:27.796812Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (0)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
2024-06-19T11:15:27.798305Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (1)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_core_pipeline::core_3d::prepare_core_3d_depth_textures`!
2024-06-19T11:15:27.799596Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (3)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
Encountered a panic in system `bevy_pbr::light_probe::upload_light_probes`!
called `Result::unwrap()` on an `Err` value: BadDisplay
2024-06-19T11:15:27.800186Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (2)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::view::visibility::range::write_render_visibility_ranges`!
Encountered a panic in system `bevy_render::batching::gpu_preprocessing::write_batched_instance_buffers<bevy_pbr::render::mesh::MeshPipeline>`!
2024-06-19T11:15:27.800911Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread 'Compute Task Pool (3)' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_sprite::render::prepare_sprite_image_bind_groups`!
2024-06-19T11:15:27.802199Z ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent
thread '<unnamed>' panicked at /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.19.4/src/gles/egl.rs:295:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
Encountered a panic in system `bevy_render::renderer::render_system`!

Additional Information
winit 0.30.2 is broken on aarch64 and does not compile. winit 0.30.0, 0.30.1, and git main, compile successfully. You have to force cargo to use one of those versions, in order to compile bevy successfully and to reproduce this bug.

FWIW I can reproduce this exact same behavior on x86.

Reproduced on nixos x86 with AMD graphiscs. I am using a dev-shell so adding vulkan-loader to the derivation allowed bevy to use vulkan and fixed the issue.

SystemInfo { os: "Linux 23.10 Ubuntu", kernel: "6.5.0-44-generic", cpu: "Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz", core_count: "4", memory: "11.5 GiB" }
AdapterInfo { name: "Mesa Intel(R) HD Graphics 2000 (SNB GT1)", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "OpenGL", driver_info: "3.3 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1", backend: Gl }
by default :
cargo run --example 3d_gizmo
bevy choose :
--features x11
WGPU_BACKEND=gl
what works for me :
WGPU_BACKEND=vulkan cargo run --features wayland --example 3d_gizmos
with a terrible performance and this warning :
WARN bevy_render::renderer: The selected adapter is using a driver that only supports software rendering. This is likely to be very slow. See https://bevyengine.org/learn/errors/b0006/

SystemInfo { os: "Linux 23.10 Ubuntu", kernel: "6.5.0-44-generic", cpu: "Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz", core_count: "4", memory: "11.5 GiB" } AdapterInfo { name: "Mesa Intel(R) HD Graphics 2000 (SNB GT1)", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "OpenGL", driver_info: "3.3 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1", backend: Gl }
by default : cargo run --example 3d_gizmo
bevy choose : --features x11 WGPU_BACKEND=gl
what works for me : WGPU_BACKEND=vulkan cargo run --features wayland --example 3d_gizmos
with a terrible performance and this warning : WARN bevy_render::renderer: The selected adapter is using a driver that only supports software rendering. This is likely to be very slow. See https://bevyengine.org/learn/errors/b0006/

I would try this and see if it resolves the issue for you:
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt-get update
sudo apt-get upgrade

I was having a similar issue when using an NVIDIA GPU + Vulkan (although I was falling back to llvmpipe) and the solution was to install newer mesa drivers.

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt-get update
sudo apt-get upgrade

I think my device primarily supports Opengl
vulkan works terribly.
I did update the mesa drivers although my Ubuntu version is 23.10
kisak-mesa supported versions:
`--- Support status ---
Bionic (18.04) - Discontinued - Long term users can use kisak-mesa stable
Focal (20.04) - Supported
Jammy (22.04) - Supported
Mantic (23.10) - End of Life (Removal after 2024-08-14)
Noble (24.04) - Preliminary support (Not tested locally)
`
and still getting the issue :
ERROR wgpu_hal::gles::egl: EGL 'eglMakeCurrent' code 0x3008: eglMakeCurrent     thread 'Compute Task Pool (1)' panicked at /home/marwan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/egl.rs:296:14: called Result::unwrap()on anErrvalue: BadDisplay note: run withRUST_BACKTRACE=1environment variable to display a backtrace Encountered a panic in systembevy_render::view::window::create_surfaces!


Test build failed.

Hey everyone,
I get this error when I try to run and build the tests:
Start  1: test_activation
1/12 Test  #1: test_activation ..................***Exception: Other  0.28 sec
FAILED: /ROCm/MIOpen/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()
Error: The binary is incorrect or incomplete. Finalization to ISA couldn't be performed.
Build Program Failure

OS: ubuntu 16.04
ROCm Kernel:  4.11.0-kfd-compute-rocm-rel-1.6-180
GPU: WX 7100
The build process crashed on this line:
clhelper.cpp:88:
auto status = clBuildProgram(program, 1, &device, params.c_str(), nullptr, nullptr);
When I build HelloWorld to test if ROCm succesful installed, I get no error, although HelloWorld.cpp contains the same function.
HelloWorld sample:
wget https://raw.githubusercontent.com/bgaster/opencl-book-samples/master/src/Chapter_2/HelloWorld/HelloWorld.cpp
 wget https://raw.githubusercontent.com/bgaster/opencl-book-samples/master/src/Chapter_2/HelloWorld/HelloWorld.cl

The output of cmake -DMIOPEN_BACKEND=OpenCL ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OPENCL: /usr/lib/libOpenCL.so
-- OpenCL backend selected.
-- AMDGCN assembler: MIOPEN_AMDGCN_ASSEMBLER-NOTFOUND
-- Build with miopengemm
-- Found OpenSSL: /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so (found version "2.0.0")
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  Imported targets not available for Boost version 106400
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:140 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  Imported targets not available for Boost version 106400
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:140 (find_package)

-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Clang tidy not found
-- Clang tidy checks: *,-android-cloexec-fopen,-cert-err60-cpp,-cert-msc30-c,-cert-msc50-cpp,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-optin.performance.Padding,-clang-diagnostic-deprecated-declarations,-clang-diagnostic-extern-c-compat,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-google-explicit-constructor,-google-readability-braces-around-statements,-google-readability-todo,-google-runtime-int,-google-runtime-references,-hicpp-braces-around-statements,-hicpp-explicit-conversions,-hicpp-signed-bitwise,-hicpp-special-member-functions,-hicpp-use-equals-default,-hicpp-use-override,-llvm-header-guard,-llvm-include-order,-misc-macro-parentheses,-misc-misplaced-const,-misc-misplaced-widening-cast,-modernize-loop-convert,-modernize-pass-by-value,-modernize-use-default-member-init,-modernize-use-emplace,-modernize-use-equals-default,-modernize-use-transparent-functors,-performance-unnecessary-value-param,-readability-braces-around-statements,-readability-else-after-return,-readability-implicit-bool-cast,-readability-implicit-bool-conversion,-readability-misleading-indentation,-readability-named-parameter
-- Could NOT find LATEX (missing:  LATEX_COMPILER)
Latex builder not found. Latex builder is required only for building the PDF documentation for MIOpen and is not necessary for building the library, or any other components. To build PDF documentation run make in /ROCm/MIOpen/doc/pdf, once a latex builder is installed.
-- MIOpen_VERSION= 1.1.3
-- CMAKE_BUILD_TYPE= Release
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- MIOpen linking OpenCL: /usr/include
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
WARNING: Target "MIOpenDriver" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
-- Generating done
-- Build files have been written to: /ROCm/MIOpen/build
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OPENCL: /usr/lib/libOpenCL.so
-- OpenCL backend selected.
-- AMDGCN assembler: MIOPEN_AMDGCN_ASSEMBLER-NOTFOUND
-- Build with miopengemm
-- Found OpenSSL: /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so (found version "2.0.0")
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  Imported targets not available for Boost version 106400
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:140 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  Imported targets not available for Boost version 106400
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:140 (find_package)

-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Clang tidy not found
-- Clang tidy checks: *,-android-cloexec-fopen,-cert-err60-cpp,-cert-msc30-c,-cert-msc50-cpp,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-optin.performance.Padding,-clang-diagnostic-deprecated-declarations,-clang-diagnostic-extern-c-compat,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-google-explicit-constructor,-google-readability-braces-around-statements,-google-readability-todo,-google-runtime-int,-google-runtime-references,-hicpp-braces-around-statements,-hicpp-explicit-conversions,-hicpp-signed-bitwise,-hicpp-special-member-functions,-hicpp-use-equals-default,-hicpp-use-override,-llvm-header-guard,-llvm-include-order,-misc-macro-parentheses,-misc-misplaced-const,-misc-misplaced-widening-cast,-modernize-loop-convert,-modernize-pass-by-value,-modernize-use-default-member-init,-modernize-use-emplace,-modernize-use-equals-default,-modernize-use-transparent-functors,-performance-unnecessary-value-param,-readability-braces-around-statements,-readability-else-after-return,-readability-implicit-bool-cast,-readability-implicit-bool-conversion,-readability-misleading-indentation,-readability-named-parameter
-- Could NOT find LATEX (missing:  LATEX_COMPILER)
Latex builder not found. Latex builder is required only for building the PDF documentation for MIOpen and is not necessary for building the library, or any other components. To build PDF documentation run make in /ROCm/MIOpen/doc/pdf, once a latex builder is installed.
-- MIOpen_VERSION= 1.1.3
-- CMAKE_BUILD_TYPE= Release
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- MIOpen linking OpenCL: /usr/include
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
WARNING: Target "MIOpenDriver" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
-- Generating done
-- Build files have been written to: /ROCm/MIOpen/build

Wondering if there is a residue in ~/.cache from previous hardware/software versions.
Try remove ~/.cache folder and repeat the same test.

thank you @rgiduthuri for your answer.
Now I get 92% tests passed, 1 tests failed out of 12
The error still persists in test_bn_spatial_test
Start  4: test_bn_spatial_test
 4/12 Test  #4: test_bn_spatial_test .............***Exception: Other  0.41 sec
FAILED: /ROCm/MIOpen/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()

2 errors generated.

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
 Build Program Failure

The kernel failed to compile. If you build with “make tests” then run the specific test_bn_spatial_test in the debugger, can you see what kernel call is failing and perhaps dump the tensor input size.
Get Outlook for iOShttps://aka.ms/o0ukef

From: reger-men<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 2:56:45 PM
To: ROCmSoftwarePlatform/MIOpen
Cc: Subscribed
Subject: Re: [ROCmSoftwarePlatform/MIOpen] Test build failed. (#21)
thank you @rgiduthurihttps://github.com/rgiduthuri for your answer.
Now I get 92% tests passed, 1 tests failed out of 12
The error still persists in test_bn_spatial_test
Start  4: test_bn_spatial_test
4/12 Test  #4: test_bn_spatial_test .............***Exception: Other  0.41 sec
FAILED: /ROCm/MIOpen/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()
2 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Build Program Failure
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ROCmSoftwarePlatform/MIOpen/issues/21#issuecomment-338504496, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMNUGZtNs6bk6Xvz99WJlXYKvmIVAcvyks5su539gaJpZM4QByVh.

The error coming when trying cache the binary: binary_cache.cpp:24 boost::filesystem::create_directories(p);
I try to reinstall boost lib and relink boost_system, maybe it could help.

This is the output of: ./build/bin/test_bn_spatial_test
FAILED:/ROCm/MIOpen-master/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()
/tmp/OCL17328T3.cl:160:24: error: use of unknown builtin '__builtin_amdgcn_mov_dpp'
    *value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
                       ^
/tmp/OCL17328T3.cl:168:23: error: use of unknown builtin '__builtin_amdgcn_readlane'
    *value = as_float(__builtin_amdgcn_readlane(as_int(*value), 63));
                      ^
/tmp/OCL17328T3.cl:168:23: note: did you mean '__builtin_amdgcn_mov_dpp'?
/tmp/OCL17328T3.cl:160:24: note: '__builtin_amdgcn_mov_dpp' declared here
    *value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
                       ^
/home/foreman/sources/stream/opencl/compiler/clc2/ocl-headers/build/lnx64a/B_rel/opencl12_builtins.h:5511:39: note: expanded from macro 'as_float'
#define as_float(x) __builtin_astype((x), float)
                                      ^
2 errors generated.

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
 Build Program Failure
Forward Train Spatial Batch Normalization:
Input tensor: 4, 64, 28, 28
terminate called after throwing an instance of 'miopen::Exception'
  what():  /ROCm/MIOpen-master/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()
/tmp/OCL17328T3.cl:160:24: error: use of unknown builtin '__builtin_amdgcn_mov_dpp'
    *value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
                       ^
/tmp/OCL17328T3.cl:168:23: error: use of unknown builtin '__builtin_amdgcn_readlane'
    *value = as_float(__builtin_amdgcn_readlane(as_int(*value), 63));
                      ^
/tmp/OCL17328T3.cl:168:23: note: did you mean '__builtin_amdgcn_mov_dpp'?
/tmp/OCL17328T3.cl:160:24: note: '__builtin_amdgcn_mov_dpp' declared here
    *value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
                       ^
/home/foreman/sources/stream/opencl/compiler/clc2/ocl-headers/build/lnx64a/B_rel/opencl12_builtins.h:5511:39: note: expanded from macro 'as_float'
#define as_float(x) __builtin_astype((x), float)
                                      ^
2 errors generated.

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
 Build Program Failure
Aborted (core dumped)

It looks like your platform does not support hardware instructions such as readlane and DPP.
Can you run clinfo as tell me what gfx version you have? I should say something like: gfx803, or gfx900.
A workaround right now is to toggle off these hw instructions in the kernel file by uncommenting:
//#ifdef AMDGCN
//#undef AMDGCN
//#endif
In MIOpenBatchNormBwdSpatial.cl and MIOpenBatchNormFwdTrainSpatial.cl
This should activate the fall back logic that does not use those instructions.
Get Outlook for iOShttps://aka.ms/o0ukef

From: reger-men<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 9:42:30 PM
To: ROCmSoftwarePlatform/MIOpen
Cc: Lowell, Daniel; Comment
Subject: Re: [ROCmSoftwarePlatform/MIOpen] Test build failed. (#21)
This is the output of: ./build/bin/test_bn_spatial_test
FAILED:/ROCm/MIOpen-master/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()
/tmp/OCL17328T3.cl:160:24: error: use of unknown builtin '__builtin_amdgcn_mov_dpp'
*value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
^
/tmp/OCL17328T3.cl:168:23: error: use of unknown builtin '__builtin_amdgcn_readlane'
*value = as_float(__builtin_amdgcn_readlane(as_int(*value), 63));
^
/tmp/OCL17328T3.cl:168:23: note: did you mean '__builtin_amdgcn_mov_dpp'?
/tmp/OCL17328T3.cl:160:24: note: '__builtin_amdgcn_mov_dpp' declared here
*value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
^
/home/foreman/sources/stream/opencl/compiler/clc2/ocl-headers/build/lnx64a/B_rel/opencl12_builtins.h:5511:39: note: expanded from macro 'as_float'
#define as_float(x) __builtin_astype((x), float)
^
2 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Build Program Failure
Forward Train Spatial Batch Normalization:
Input tensor: 4, 64, 28, 28
terminate called after throwing an instance of 'miopen::Exception'
what():  /ROCm/MIOpen-master/src/ocl/clhelper.cpp:101: Error Building OpenCL Program in BuildProgram()
/tmp/OCL17328T3.cl:160:24: error: use of unknown builtin '__builtin_amdgcn_mov_dpp'
*value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
^
/tmp/OCL17328T3.cl:168:23: error: use of unknown builtin '__builtin_amdgcn_readlane'
*value = as_float(__builtin_amdgcn_readlane(as_int(*value), 63));
^
/tmp/OCL17328T3.cl:168:23: note: did you mean '__builtin_amdgcn_mov_dpp'?
/tmp/OCL17328T3.cl:160:24: note: '__builtin_amdgcn_mov_dpp' declared here
*value += as_float(__builtin_amdgcn_mov_dpp(as_int(*value), 0x111, 0xF, 0xF, 0));
^
/home/foreman/sources/stream/opencl/compiler/clc2/ocl-headers/build/lnx64a/B_rel/opencl12_builtins.h:5511:39: note: expanded from macro 'as_float'
#define as_float(x) __builtin_astype((x), float)
^
2 errors generated.
error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
Build Program Failure
Aborted (core dumped)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ROCmSoftwarePlatform/MIOpen/issues/21#issuecomment-338533536, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMNUGenGMBnBzWOmxjHl0WzF4skJ-L9Rks5su_0WgaJpZM4QByVh.

@daniellowell, the output of clinfo return:
Number of platforms:				 1
  Platform Profile:				 FULL_PROFILE
  Platform Version:				 OpenCL 2.0 AMD-APP (2442.7)
  Platform Name:				 AMD Accelerated Parallel Processing
  Platform Vendor:				 Advanced Micro Devices, Inc.
  Platform Extensions:				 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices

  Platform Name:				 AMD Accelerated Parallel Processing
Number of devices:				 1
  Device Type:					 CL_DEVICE_TYPE_GPU
  Vendor ID:					 1002h
  Board name:					 AMD Radeon (TM) Pro WX 7100 Graphics
  Device Topology:				 PCI[ B#2, D#0, F#0 ]
  Max compute units:				 36
  Max work items dimensions:			 3
    Max work items[0]:				 256
    Max work items[1]:				 256
    Max work items[2]:				 256
  Max work group size:				 256
  Preferred vector width char:			 4
  Preferred vector width short:			 2
  Preferred vector width int:			 1
  Preferred vector width long:			 1
  Preferred vector width float:			 1
  Preferred vector width double:		 1
  Native vector width char:			 4
  Native vector width short:			 2
  Native vector width int:			 1
  Native vector width long:			 1
  Native vector width float:			 1
  Native vector width double:			 1
  Max clock frequency:				 1243Mhz
  Address bits:					 64
  Max memory allocation:<PHONE_NUMBER>
  Image support:				 Yes
  Max number of images read arguments:		 128
  Max number of images write arguments:		 8
  Max image 2D width:				 16384
  Max image 2D height:				 16384
  Max image 3D width:				 2048
  Max image 3D height:				 2048
  Max image 3D depth:				 2048
  Max samplers within kernel:			 16
  Max size of kernel argument:			 1024
  Alignment (bits) of base address:		 2048
  Minimum alignment (bytes) for any datatype:	 128
  Single precision floating point capability
    Denorms:					 No
    Quiet NaNs:					 Yes
    Round to nearest even:			 Yes
    Round to zero:				 Yes
    Round to +ve and infinity:			 Yes
    IEEE754-2008 fused multiply-add:		 Yes
  Cache type:					 Read/Write
  Cache line size:				 64
  Cache size:					 16384
  Global memory size:<PHONE_NUMBER>
  Constant buffer size:<PHONE_NUMBER>
  Max number of constant args:			 8
  Local memory type:				 Scratchpad
  Local memory size:				 32768
  Max pipe arguments:				 0
  Max pipe active reservations:			 0
  Max pipe packet size:				 0
  Max global variable size:			 0
  Max global variable preferred total size:	 0
  Max read/write image args:			 0
  Max on device events:				 0
  Queue on device max size:			 0
  Max on device queues:				 0
  Queue on device preferred size:		 0
  SVM capabilities:
    Coarse grain buffer:			 No
    Fine grain buffer:				 No
    Fine grain system:				 No
    Atomics:					 No
  Preferred platform atomic alignment:		 0
  Preferred global atomic alignment:		 0
  Preferred local atomic alignment:		 0
  Kernel Preferred work group size multiple:	 64
  Error correction support:			 0
  Unified memory for Host and Device:		 0
  Profiling timer resolution:			 1
  Device endianess:				 Little
  Available:					 Yes
  Compiler available:				 Yes
  Execution capabilities:
    Execute OpenCL kernels:			 Yes
    Execute native function:			 No
  Queue on Host properties:
    Out-of-Order:				 No
    Profiling :					 Yes
  Queue on Device properties:
    Out-of-Order:				 No
    Profiling :					 No
  Platform ID:					 0x7f384e1cf478
  Name:						 Ellesmere
  Vendor:					 Advanced Micro Devices, Inc.
  Device OpenCL C version:			 OpenCL C 1.2
  Driver version:				 2442.7
  Profile:					 FULL_PROFILE
  Version:					 OpenCL 1.2 AMD-APP (2442.7)
  Extensions:					 cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event

Ellesmire is gfx803 so that should be ok.  I don't know if you have another OpenCL device that is being targeted by the compiler.
As for the workaround, there is actually a bug there. Looks like:
#ifdef __AMDGCN__
...
#endif

Needs to be in three other places in those files:
MIOpenBatchNormFwdTrainSpatial.cl
Start Line 157:
#ifdef __AMDGCN__
static inline void dppRegReduce64(_FLOAT* value, _FLOAT scale)
...
#endif

End line 216
MIOpenBatchNormFwdTrainSpatial.cl
Start Line 776:
#ifdef __AMDGCN__
    unsigned int segment = MIO_BN_GRP1 >> 6;
#endif

End line
MIOpenBatchNormBwdSpatial.cl
Start line 151
static inline void dppRegReduce64(_FLOAT* value, _FLOAT scale)
...
#endif

You can add those manually and rebuild, or wait for my fix on the github MIOpen later today.
Daniel Lowell

The output of:
rocm_agent_enumerator -t all
Intel(R) Xeon(R) CPU E5-1620 v4 @ 3.50GHz
gfx000
gfx803

Hey @reger-men  where did you get your OpenCL?
You should be using  rocm-opencl and rocm-opencl-dev with MIOpen.
I noticed you have:
-- Found OPENCL: /usr/lib/libOpenCL.so

In your cmake output. The install director for rocm-opencl is /opt/rocm/opencl

When I compile with: cmake -DMIOPEN_BACKEND=OpenCL -DOPENCL_LIBRARIES=/opt/rocm/opencl/lib/x86_64/libOpenCL.so DOPENCL_INCLUDE_DIRS=/opt/rocm/opencl/include ..
I get:
FAILED: /home/lashab/Desktop/OpenVX/WorkPlace/ROCm/MIOpen-master/src/ocl/handleocl.cpp:274: clGetPlatformIDs failed. 0
...
The following tests FAILED:
	  1 - test_activation (SEGFAULT)
	  3 - test_bn_peract_test (SEGFAULT)
	  4 - test_bn_spatial_test (SEGFAULT)
	  5 - test_check_numerics_test (SEGFAULT)
	  6 - test_conv (SEGFAULT)
	  7 - test_custom_allocator (SEGFAULT)
	  8 - test_main (SEGFAULT)
	  9 - test_pooling_test (SEGFAULT)
	 10 - test_soft_max (SEGFAULT)
	 11 - test_tensor_ops (SEGFAULT)

The OpenCL lib in /usr/lib is an link to /opt/rocm/opencl/lib/x86_64/libOpenCL.so

$ cat /etc/OpenCL/vendors/amdocl64.icd
libamdocl64.so

What do get when you run the above command?
I would delete the symlink, remove OpenCL from your system, either manually, or using
sudo apt-get remove rocm-opencl*

Then add it back in.

Thanks @daniellowell for your support. There were many dependencies in my operating system.
I reinstall Ubuntu 16.04 and I install ROCm. Now it work.
I think my mistake was, that I install AMDAPPSDK alongside ROCm.


strict mode setting of cucumber is ignored

Problem
The wdio-cucumber-framework does pass the strict option (true/false), but ignores the result. This happens due to the fact that cucumber handles each individual step result regardless of the strict mode setting, but in the end determines the feature result and checks for the strict mode option.
You can see it here in the cucumber project:
https://github.com/cucumber/cucumber-js/blob/master/lib/cucumber/runtime/features_runner.js#L6
https://github.com/cucumber/cucumber-js/blob/master/lib/cucumber/runtime/features_result.js#L22
Suggestion
The reporter should check for the strict mode option and overwrite the step result in case the step is undefined or skipped/pending to fail

PRs welcome

@timbru31 is this still a valid issue with latest cucumber-js?

I can't answer this question, since I'm not using cucumber-js currently.

ok, let's close this then. Happy to reopen if someone has the same issue with the latest updates.


pghoard_restore not updating download progress

When restoring a backup, I'm not getting any feedback about the download progress.    In a separate window I'm watching du -sh /var/lib/pghoard/default/basebackup_incoming/ and it's definitely downloading the backup.  Anybody else experience this before?

Once the download completes, the download progress goes away and reports the downloaded completed as expected

Pretty sure this is fixed in latest master can we close this

This should be fixed yes, feel free to reopen if there is any problem left.


fixed gridkeys layout on 256 grid and double trigger scroll

Fixed grid keys layout mapping on the 256 grid size.
Assigned the new q7layout a dynamic size based on the grid_device.cols/rows.
fixed the double triggering that happens when scrolling the keycap up and down.
test case:
tested with 256 grid.
tested with 64 grid.
tested with no grid.
NOT tested with midigrid devices
(I've had previous experiences where the midi grid and grid devices did not have the same grid device object properties and caused scripts to crash. please if possible test with a midi grid option)

thanks!
iirc midigrid was misbehaving in some situations (some scripts not others). never got to investigate much.


Improved digital IO interface

Improve capability to specify i/o at specific times in traj

Would be good to sync with what's going on over at fzi-robot-interface-proposal.

Would be good to sync with what's going on over at fzi-robot-interface-proposal.


please consider to add it to mac brew!

it's very userful. but waste a lot of time compile on macbook.
could somebody help add it to homebrew for mac user

Sorry, I don't own a Mac. If anyone is interested, feel free to contribute and maintain a brew package.