[fix][broker] Fix race condition while updating partition number

Motivation
We use latest to copy subscriptions from another topic; there is a gap between the topic creation and subscription. In this period, If some new producer sends messages to the new topic partition. There may look like some messages are lost on the user side.
Because there is a new topic partition, I think it's Ok to change earliest to latest.
Modifications

Use earliest instead of latest.

Verifying this change
It's hard to add the test case.

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #19199 (c930a84) into master (b05fddb) will decrease coverage by 8.40%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #19199      +/-   ##
============================================
- Coverage     45.64%   37.23%   -8.41%
+ Complexity    11043     1988    -9055
============================================
  Files           773      209     -564
  Lines         74463    14450   -60013
  Branches       8018     1577    -6441
============================================
- Hits          33986     5380   -28606
+ Misses        36687     8487   -28200
+ Partials       3790      583    -3207

Flag
Coverage Δ

unittests
37.23% <ø> (-8.41%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...he/pulsar/client/impl/PartitionedProducerImpl.java
30.34% <0.00%> (-5.13%)
:arrow_down:

...va/org/apache/pulsar/client/impl/ProducerImpl.java
15.66% <0.00%> (-1.17%)
:arrow_down:

.../pulsar/client/impl/ProducerStatsRecorderImpl.java
84.04% <0.00%> (-0.62%)
:arrow_down:

...ulsar/client/impl/TransactionMetaStoreHandler.java
0.00% <0.00%> (ø)

.../apache/pulsar/broker/admin/impl/ClustersBase.java

...pulsar/broker/admin/impl/PersistentTopicsBase.java

.../metadata/v2/TransactionBufferSnapshotSegment.java

...a/org/apache/bookkeeper/mledger/ManagedCursor.java

...pulsar/broker/TransactionMetadataStoreService.java

...e/pulsar/common/naming/NamespaceBundleFactory.java

... and 558 more

LGTM


Pre post

Option for post layer norm.

@hpasapp one last thing: can we add normalize_after to the torchscript unit test?
:P

@hpasapp one last thing: can we add normalize_after to the torchscript unit test?
:P

addressed in 265f75d

Amazing @hpasapp :) 🎉


[Slider] Fix thumb creating scroll overflow

I messed up the rebase to next, so this PR is this one, but based into next branch, sorry :-/
https://github.com/mui-org/material-ui/pull/14523

[x] I have followed (at least) the PR section of the contributing guide.

Today I found an issue with the slider inside an scrollable area (a dialog)
The more to the right the thum was, the more scroll area that would be shown in the dialog, such as here:

Apparently the issue is that the thumb uses a width/height of 100% + a transform, which would transform it to be outside of the track area.
The fix I applied was setting the width and height to 0, while using the top and left properties to position the thumb wrapper, therefore it never exceeds the track area.
I tried the dev docs example page and it seems to work ok.
PS: I tried playing with overflow hidden, but it did not help.
Fixes #13455

Same error in argos as the other PR, the broken image being cut because of the overflow hidden

@xaviergonz Thank you for working on this :+1:  This issue has troubled us for some time now.

My pleasure!

I just encountered this issue and found this PR been merged just within an hour. Lucky me!
Thank you @xaviergonz for this.

I was a bit disappointed when I first red the description, but then saw that you manage to keep transform ans still fix the issue. Awesome work!


cannot import name 'Paragraph' from 'manimlib.mobject.svg.text_mobject'

from manimlib.imports import* throwing above mentioned error.
On the repository i am not able to find the file code_mobject.py whereas after downloading the package using pip, i do see this file in my local machine.

Update your source code and reinstall it.


[chloggen] Support linking to the issue in the changelog

Adds a new configuration setting issue_link, which specifies a template where the issues are hosted, for example: https://github.com/open-telemetry/opentelemetry-go-build-tools/issues/{{issue}}.
If this setting is specified, the issue numbers in the changelog will be formatted as links to the issue. If the setting is not specified, there is no change how the changelog entries are printed currently.
Resolves: #488

Thanks @andreasgerstmayr!

Superseded by #501.


Unable to resolve type while building object with type

I want to bind GameTreePanel with the AdaptiveTest for unit test, and I get no error during compiling, but when I run the test code, there is an error
Zenject.ZenjectException : Unable to resolve type 'GameTreePanel[]' while building object with type 'IntegrationTests.AdaptiveTest'.
Object graph:
AdaptiveTest

Here is part of my code:
"AdaptiveTest.cs"
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Zenject;

using UnityEngine;

namespace IntegrationTests {

[TestFixture]
public class AdaptiveTest : ZenjectIntegrationTestFixture {

    [Inject]
    private ISession session;

    [Inject]
    private DifficultyMap difficultyMap;

    [Inject]
    private GameTreePanel[] gameTreePanels;

    GameRequirements[] gameRequirements = new GameRequirements[6];

    GameModel[] gameModels = new GameModel[6];

    StandardModel[] standardModels = new StandardModel[6];

    GameRoundModel[] gameRoundsModels = new GameRoundModel[6];

    [SetUp]
    public void Init() {

        // Container.Bind<GameTreePanel>().FromNewComponentOnNewGameObject().AsTransient();

        Container.Bind<GameTreePanel>().FromNewComponentOnNewGameObject().AsTransient();
        }
}

"GameTreePanel.cs"

using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using Zenject;

public class GameTreePanel : MonoBehaviour {
	public GameRequirements gameReqs;

	public bool GameLocked {
		get {
			if(difficultyMap != null) {
				return difficultyMap.FindGameReq(gameReqs.gameType).IsLocked;
			}
			return true;
		}
	}

	[SerializeField]
	private GameObject lockedObject;

	[SerializeField]
	private GameObject[] stars;

	private Vector3 mouseClickedPos;
	private float clickThreshold = 10.0f;

	//Zenject
	private FadeUI loadingPanel;
	private UserSubMenu userSubMenu;
	private SurveyManager surveyManager;
	private ISession session;
	private DifficultyMap difficultyMap;
	private LoadingAnimation loadingAnimation;

	[Inject]
	public void Construct(
		FadeUI aLoadingPanel,
		UserSubMenu aUserSubMenu,
		SurveyManager aSurveymanager,
		ISession aSession,
		DifficultyMap aDifficultyMap,
		LoadingAnimation aLoadingAnimation
	) {
		loadingPanel = aLoadingPanel;
		userSubMenu = aUserSubMenu;
		surveyManager = aSurveymanager;
		session = aSession;
		difficultyMap = aDifficultyMap;
		loadingAnimation = aLoadingAnimation;
	}

	#region getters/setters
	public GameObject[] Stars {
		get { return stars; }
	}
	public GameObject LockedObject {
		get { return lockedObject; }
	}
	#endregion

	public void Awake(){
		for (int i = 0; i < stars.Length; i++) {
			Color c = stars[i].GetComponent<SpriteRenderer>().color;
			c = Color.gray;
			stars[i].GetComponent<SpriteRenderer>().color = c;
		}
	}

	void Update(){
	}

	...
}

My best guess is that it's because you're using an array instead of a list to inject GameTreePanel.  Can you try changing it to a List<GameTreePanel> instead?
I think we should change Zenject to support arrays though so this could be considered a bug

Fixed


[SMALLFIX] Check the low watermark is smaller than the high watermark

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18569/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18570/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18572/
Test PASSed.


@gnilekaw: Revert my last PR

I must have accidentally updated the whole shrinkwrap to include a new version of coffeescript that chokes on this line because from is a new keyword for CS loops.

Mergin' and PRing proper install


Import CID library and use real CIDs

The core Granite code treats CIDs as opaque, but higher level components will need to compute CIDs, e.g. of the power table. The most pragmatic option is probably to use the CID type (even though Granite could use []byte).

After beginning this, I was dissatisfied with the array of dependencies brought in by the go-cid package. Considering CIDs are entirely opaque for this protocol, I will instead replace the simple string typedef with an opaque struct. This will bring a little type safely, while being an easy type to convert actual CIDs (or Lotus TipSetKey or similar) into.

I'm going to re-open this issue because it has come up a few times with respect to power table CIDs. Especially in the context of finality certificates as it would be nice if they were "proper" IPLD.

I have a few error messages that would be nicer with go-cid (base32 encoded CIDs). Not critical, but a semi-decent reason.
We have some objects (finality certificates & tipsets) that include these CIDs and cross boundaries to and from the client. It would be nice to not have to convert types here.
The DagCBOR encoding of finality certificates is going to be incorrect unless we use go-cid (CIDs won't be marked as CIDs).
We're already importing go-cid via cbor-gen. We've already discussed this little fact, but at the time, we didn't have any additional reasons to switch to it. Now, IMO, we do.

I'm happy to take this if there are no objections.

Ok. I would still like to avoid importing CID in the core protocol module if possible, but fine to use it in the integration parts. If we used a Go workspace, we could more easily enforce this.

That's going to be tricky unless we have a separate TipSet type for finality certificates versus messages (which would be more of a pain than its worth, IMO).

Sure, just because I would like it doesn't mean we can do it.


Remove phased-out bintray repository and upgrade to proguard 7.1.0-be…

Remove phased-out bintray repository and upgrade to proguard 7.1.0-beta3 as it is the only one available at the moment on maven central.
I bumped the bug fix version and suffixed it with -beta as the proguard version is beta.
This is a temporary fix for issue #133

Thanks!

Could you deploy the snapshot on maven central, I'm probably not the only one having a broken pipeline because of this missing dependency (base). Thanks


No switch of view modes

now properly switches view mode, regardless of current view
https://github.com/chrisgrieser/shimmering-obsidian/releases/tag/1.5.3

I do not think, it works. If I am in preview mode, it opens a 2nd panel in preview mode, too.

Hmm, I cannot reproduce the issue. Could you open the debug log (cmd + D in the workflow), run odual, and copy the debugging log?
Also, could you tell me what your default new pane mode is (under Obsidian Settings ➞ Editor), whether you have the "force view mode" plugin installed?
Furthermore, when you are triggering odual, how many panes do you have open?

[21:19:28.935] STDERR: Shimmering Obsidian[Run Script] grep: /Users/nwehrle/Users/nwehrle/Library/Mobile Documents/iCloud~md~obsidian/Documents/MDVault/.obsidian/app.json: No such file or directory
grep: /Users/nwehrle/Users/nwehrle/Library/Mobile Documents/iCloud~md~obsidian/Documents/MDVault/.obsidian/workspace: No such file or directory

/Users/nwehrle is twice in the path

But the configuration in the alfred plugin looks OK.

🤔
Could you make a screenshot of your workflow configuration settings?

v1.53

Maybe you can provide a debug build with extended logging? Can give a helping hand here.

No need, I already found out what the issue is. Have some day-job stuff to do, will release the fix later today :)

Day job .. I guess I know what you mean :)

The problem actually affected a few more commands :S
Nevertheless, fixed in release 1.6.1


Fix secure boot

SInce we started embedding grub artifacts in auroraboot (https://github.com/kairos-io/AuroraBoot/pull/102/files#diff-36043890c52c8201a8bc84238c219be45ce07bf172d89f693c7c54ffe70d046eR33), we no longer get the one from the distro so the OS and the shim are signed by 2 different keys. This may have broke secure boot in images built with latest auroraboot.
Let's look into it and if this is the case, we should not embed such artifacts but rather install the distro ones in the base images.

I was mistaken, the file we are bundling is the hybryd_boot.img which refers to booting under BIOS not under EFI.
For EFI we still use the grub.efi provided by the base image.


fix: Upgrading Onnx-protobuf version to overcome the assembly usage

What changes are proposed in this pull request?
Upgrading the Onnx version which has the shaded classes in a regular jar and avoids the classifier need.
How is this patch tested?
Tested using Databricks spark3.3 cluster

/azp run

Codecov Report

Merging #1849 (4cfc78e) into master (d23dd46) will decrease coverage by 2.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1849      +/-   ##
==========================================
- Coverage   84.65%   82.57%   -2.09%
==========================================
  Files         299      299
  Lines       15506    15506
  Branches      784      784
==========================================
- Hits        13127    12804     -323
- Misses       2379     2702     +323

Impacted Files
Coverage Δ

...ure/synapse/ml/cognitive/speech/AudioStreams.scala
0.00% <0.00%> (-87.88%)
:arrow_down:

.../synapse/ml/cognitive/speech/SpeechToTextSDK.scala
18.63% <0.00%> (-72.63%)
:arrow_down:

.../azure/synapse/ml/cognitive/speech/SpeechAPI.scala
0.00% <0.00%> (-70.00%)
:arrow_down:

.../ml/cognitive/speech/SpeakerEmotionInference.scala
44.82% <0.00%> (-48.28%)
:arrow_down:

...ure/synapse/ml/cognitive/speech/SpeechToText.scala
45.28% <0.00%> (-39.63%)
:arrow_down:

...ure/synapse/ml/cognitive/speech/TextToSpeech.scala
53.42% <0.00%> (-32.88%)
:arrow_down:

...re/synapse/ml/core/utils/FaultToleranceUtils.scala
30.00% <0.00%> (-30.00%)
:arrow_down:

...re/synapse/ml/cognitive/speech/SpeechSchemas.scala
83.33% <0.00%> (-16.67%)
:arrow_down:

...rosoft/azure/synapse/ml/param/EstimatorParam.scala
50.00% <0.00%> (-15.63%)
:arrow_down:

...crosoft/azure/synapse/ml/io/http/HTTPClients.scala
50.00% <0.00%> (-14.71%)
:arrow_down:

... and 2 more

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

/azp run

/azp run


(feat) Add server skeleton

Define basic express server that sets the foundation for simple user account creation and authentication.

Since config.js might be dependent on the environment, we should make a config.example.js that is actually in the repo, give instructions in the readme to "customize it and copy it to config.js", then add config.js to gitignore

@steryereo, excellent feedback. I've implemented your suggestions.


scantext: We should support alternatively spdx license expressions

In scantext we only display scancode license key and expressions but we should also have a way to display spdx license expressions

This is already present in scantext.


Get all iisexpress tests to run on full IIS.

Now that we have hello world operation on CI, we can get IISExpress tests to run on IIS.

Most of this is done for now. The rest of tests need to be handled on an individual case by case issues.


Use flags for config:set

Fixes #34:

Renamed mode (m) flag to environment (v) to match what the prompt expects. Am happy to use a different letter here if preferred
Writing the config would fail when the (optional) telemetry flag wasn't provided. Added a default value of true (because the prompt defaults to true)

Hi @DMeechan, why this PR revert the changes from https://github.com/GetStream/stream-cli/pull/30 ?

@giautm it seems #30 was done in build folder, not in source folder.
@nparsons08 @thesyncim is the functionality in #30 needed ?

Currently, Is there no command for listing members of a channel?

@giautm functionality is added back in 0.1.1


AMQP-590: Java Deserialization White List

JIRA: https://jira.spring.io/browse/AMQP-590
__cherry-pick to 1.5.x including docs (what's new will need adjustment) __

Pushed

And another commit.

Merged as https://github.com/spring-projects/spring-amqp/commit/462dcb6f1f93d54923daffb9729c1c8519576c08 and cherry-picked.


Flutter - MacOS build issue

I am working on an application in which I have given MacOS desktop app support.
I have used url_launcher and shared_preferences plugin in my application. The IOS and Android application is working fine and even I can successfully create the builds for both the platforms.
But when I am trying to create a build for MacOS it gives me error as below:

Undefined symbol: _FlutterMethodNotImplemented

Undefined symbol: OBJC_CLASS$_FlutterError

Undefined symbol: OBJC_CLASS$_FlutterMethodChannel

Can anyone please help me to fix this issue?

@kunaljoshi388
provide flutter doctor -v along with pubspec.yaml.

@darshankawar
output of flutter doctor -v is as below

Flutter (Channel master, 1.26.0-2.0.pre.145, on Mac OS X 10.15.7 19H114 darwin-x64, locale en-IN)
• Flutter version 1.26.0-2.0.pre.145 at /Users/Techseria/Documents/FlutterSDK/flutter
• Framework revision 38fe7e2b1c (10 hours ago), 2020-12-28 21:39:03 -0500
• Engine revision 892034dc6a
• Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 52.0.5
• Dart plugin version 203.5981.152

[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
• Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.88

pubspec.yaml file

version: 1.0.0+11
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
built_collection: ^4.3.2
provider: ^3.2.0
shared_preferences: '>=0.5.10 <2.0.0'
characters: ^1.0.0
diffutil_sliverlist: ^0.4.0+1
#audioplayers: ^0.16.1
assets_audio_player: ^2.0.13+1
intl: ^0.16.1
uuid: ^2.2.2
cupertino_icons: ^0.1.2
shimmer: ^1.1.2
dev dep
sentry: ^2.2.0
device_info: ^0.4.1+3
path: ^1.7.0
path_provider: ^1.6.14
package_info: '>=0.4.3 <2.0.0'
firebase_core: ^0.5.0+1
firebase_database: ^4.1.1
firebase_auth:
#cloud_firestore: ^0.14.3
reorderables: 0.3.2
flutter_boom_menu: ^1.0.2
flutter_slidable: ^0.5.7
unicorndial: "^1.1.5"
date_utils: ^0.1.0+3
connectivity: ^2.0.2
permission_handler: ^4.2.0
image_picker: ^0.6.7+14 #0.6.5+2 #0.6.2+2   #  0.6.1+11   #
#image_pickers: ^1.0.8+7
images_picker: ^0.0.6
firebase_storage: ^5.1.0
toast: ^0.1.5
flushbar: ^1.10.4
rflutter_alert: ^1.1.0
flutter_spinkit: ^4.1.2+1
flutter_local_notifications: ^3.0.1+6
rxdart: any
google_fonts: ^1.1.1
url_launcher: ^5.7.10
auto_size_text: ^2.1.0
widget_animator: ^1.0.0+7
cached_network_image: ^2.4.1
expandable: ^4.1.4
flutter_custom_dialog: ^1.0.20
scroll_to_index: ^1.0.6
dev_dependencies:
flutter_test:
sdk: flutter

@kunaljoshi388
Are you trying to run in debug mode or in build / release mode ? Please provide verbose logs by running based on what mode you are trying to run.
Example : flutter run -d chrome --verbose

@darshankawar
I want to create a macOS build, so I am trying to create a release build.

@kunaljoshi388
Tried to build for macOS on latest master using a sample app and was able to build without any issues.

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.137, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.26.0-2.0.pre.137 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 8f5d0371af (4 days ago), 2020-12-26 11:07:36 +0330
    • Engine revision f5364860ab
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f
      • android-arm    • Android 8.1.0 (API 27)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


I think I am missing something in the instructions

$ docker-compose run network python3 quick_start_audio_only.py /data/model/0f_1sclean_noise.npz /data/noise
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
So how should  I start Docker for this application?

I just needed to run sudo in front of the command!


can't change background color of process bar or some dialog

what?

You have fix the latest THX


qtbase: upgrade to version 6.6.2 to fix CVE-2023-51714

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[X] Ready to merge

Summary

qtbase: upgrade to version 6.6.2 to fix CVE-2023-51714
Change Log

qtbase: upgrade to version 6.6.2 to fix CVE-2023-51714

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-51714

Test Methodology

Local build

Can you please run and link a buddybuild?


How to configure browser adaptive effects for Vant4 combined with Nuxt3

The Nuxt3 official website does not have any relevant introduction.

尝试Vant4官网浏览器适配，但没效果，px依旧是px，根本就没有转成vw/vh

你可以看看 nuxt 文档，看看 postcss 应该怎么配置


Fix datasource in kong ingress controller dashboard and update changelog

This PR

fixes datasource for kong-dashboard
removes debug line from kong-dashboard

Checklist

[x] Update changelog in CHANGELOG.md in an end-user friendly language.

Changes look good, but content should be updated with: https://github.com/Kong/kubernetes-ingress-controller/blob/main/grafana.json


design-flaw found in method of exclusion

A bug was discovered within the method of exclusion, the 0 was given a position in which it was allowed to swap with all 4 numbers surrounding it. However it only generated 3 possible moves.

this was resolved, see issue #10


[Cosmos] Update CHANGELOG.md for release

updating the date to run next beta release

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


Remove synchronized-resolver Maven ext for recent Maven versions

The synchronized-resolver [1] Maven extension causes NPE with Maven >= 3.6.2. The extension claims to resolve the bug [2] but according to comments at [2], the original problem has not been observed on recent Maven versions, therefore we decided to discontinue using this extension for Maven >= 3.6.2.
Also adds Maven 3.6.3 because of a few regression fixes.
[1] https://github.com/psiroky/maven-parallel-resolver
[2] https://issues.apache.org/jira/browse/MNG-5315

@mareknovotny FYI


CI: Move RuntimeValidatedPolicyDropAllTests to RuntimeValidatedPolicies

Make the DROP_ALL gingko test more time-efficient and resource effecient,
by grouping it with RuntimeValidatedPolicies
Fixes: #3880
Signed-Off-By: Manali Bhutiyani<EMAIL_ADDRESS>

test-me-please

@eloycoto @ianvernon Followup of the DROP_ALL tests review comments.

test-me-please

test-me-please

test-me-please


Theme Composition doesn't work with css variables option

Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/muithemebug-2cllq4
Steps:

Use createTheme function and pass cssVariables option in as true
Use createTheme again, with the theme that you just created passed in, with the second parameter being the new arguments that you want to merge into the theme.
See error.

Current behavior
The theme is broken because of this error "MUI: vars is a private field used for CSS variables support.
Please use another name." and then cannot be used. This is because when the first one gets created it strips out the "cssVariables" argument and creates the vars key and values. So when you use createTheme again, it thinks that it is using the createThemeNoVars option and there's no way to tell it otherwise, and so complains that you used the reserved vars keyword.
Expected behavior
Per the theme composition instructions that are just below this anchor: https://mui.com/material-ui/customization/theming/#createtheme-options-args-theme
I would expect that I am able to build a theme that is based on the values of the previous theme, while also using css variables. This works as expected when you are not using css variables.
Context
We are trying to use theme composition to set styles that are based on the values being created by the theme, e.g. breakpoints, and we also want to be able to use css variables in our theme.
Your environment

npx @mui/envinfo
  System:
    OS: macOS 15.0
  Binaries:
    Node: 20.15.1 - /opt/homebrew/opt/node@20/bin/node
    npm: 10.7.0 - /opt/homebrew/opt/node@20/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 130.0.6723.59
    Edge: 129.0.2792.89
    Safari: 18.0

I primarily use Firefox Developer Edition, but this is not a browser issue.

Search keywords: createTheme cssVariables composition

@mnajdova I am not convinced that this is a bug. It's more a docs improvement because you'd want to set cssVariables: true at the last createTheme for highest performant.
let theme = createTheme({
-  cssVariables: true,
  typography: {
    h1: {
      fontFamily: "Verdana, Arial, sans-serif",
    },
  },
});

theme = createTheme(theme, {
+  cssVariables: true,
  typography: {
    h1: {
      [theme.breakpoints.only("lg")]: {
        fontSize: "2.5rem",
        lineHeight: "106%",
      },
    },
  },
});

It doesn’t work to do that because then there aren’t css variables in the theme at all.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Siriwat K @.>
Sent: Sunday, October 20, 2024 7:19:48 PM
To: mui/material-ui @.>
Cc: Amy St. John @.>; Author @.>
Subject: Re: [mui/material-ui] Theme Composition doesn't work with css variables option (Issue #44134)
@mnajdovahttps://github.com/mnajdova I am not convinced that this is a bug. It's more a docs improvement because you'd want to set cssVariables: true at the last createTheme for highest performant.
let theme = createTheme({

cssVariables: true,
typography: {
h1: {
fontFamily: "Verdana, Arial, sans-serif",
},
},
});

theme = createTheme(theme, {

cssVariables: true,
typography: {
h1: {
[theme.breakpoints.only("lg")]: {
fontSize: "2.5rem",
lineHeight: "106%",
},
},
},
});

—
Reply to this email directly, view it on GitHubhttps://github.com/mui/material-ui/issues/44134#issuecomment-2425421561, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJEK35R76QC5GIPDGEIF7FTZ4RQEJAVCNFSM6AAAAABQCE3VV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGQZDCNJWGE.
You are receiving this because you authored the thread.Message ID: @.***>
This message, including any attachments, may contain information which is confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not read, use, copy or disclose to anyone the message, its attachments, or any information contained therein. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachments.

@siriwatknp To expand on my comment, the theme has already been created when you use the subsequent createTheme calls, so passing in the cssVariables property later doesn't do anything. It doesn't go back through and recreate the theme with the css variables. If that is expected behavior, then that would also be a bug, but I don't think it's expected behavior since this does clarify that only the first argument gets processed and that you have to do deep merging if you're trying to fully re-create the theme with all the options: https://mui.com/material-ui/customization/theming/#createtheme-options-args-theme

@astjohnpaycor Can you explain in more details about your use case for composing themes multiple times?

@siriwatknp Yes, just like the example in the docs we want to use the values that are being created by the theme to compose additional theme values. One example is with the breakpoints, like in the sandbox example above, but other examples include the one from the documentation where we want to use the theme palette colors while composing other styling values, especially since MUI is filling in values that we aren't specifically overriding.
import { createTheme } from '@mui/material/styles';

let theme = createTheme({
  palette: {
    primary: {
      main: '#0052cc',
    },
    secondary: {
      main: '#edf2ff',
    },
  },
});

theme = createTheme(theme, {
  palette: {
    info: {
      main: theme.palette.primary.dark,
    },
  },
});

Sorry, it should be this:
let theme = createTheme({
-  cssVariables: true,
  typography: {
    h1: {
      fontFamily: "Verdana, Arial, sans-serif",
    },
  },
});

theme = createTheme({
  …theme,
  +  cssVariables: true,
  },
  {
  typography: {
    h1: {
      [theme.breakpoints.only("lg")]: {
        fontSize: "2.5rem",
        lineHeight: "106%",
      },
    },
  },
});


Revert "Add image build for darwin"

Reverts kubernetes-sigs/kubefed#1094
There's a reason we don't support building a container with a darwin binary. Containers are linux-only, so a kubefed image with a darwin binary is by definition a broken container.
cc: @gyliu513 @xunpan @hougangliu

/lgtm
This is obvious an rollback, just merge it.


Not step to project bookmark when loading the first time

Idea: Add hooks handleTag and handleRoute in App() and components. Scroll only inside these functions, otherwise window.scrollTo(0, 0); to the top.


CONTRIBUTORS LET'S GO

Watch the contributor introduction video and read the CONTRIBUTION.MD

Bookstore of BACnet documentation

We are keen we will be putting in some more dev next month
I also did some vaildation of node-bacnet against other systems
Tested both as a master and a BACnet-server using https://www.npmjs.com/package/@uq-its-ss/bacnet-device we added support to bacnet-device for onWriteProperty to do pointWrite
Testing perfomaed was the basics like whoIs, and read/write
Work well can read and write objects
Niagara N4 and niagara AX https://www.tridium.com/en/products-services/niagara-ax
Wago https://www.wago.com/au/bacnet
VTS https://sourceforge.net/projects/vts/
YABE https://sourceforge.net/projects/yetanotherbacnetexplorer/
BACnetStack http://bacnet.sourceforge.net/
Chipken free https://store.chipkin.com/products/tools/cas-bacnet-object-monitor
Chipken explorer https://store.chipkin.com/products/tools/cas-bacnet-explorer
Ineasoft https://www.inneasoft.com/en/bacnet-explorer/
BACnet-4j  https://github.com/infiniteautomation/BACnet4J
Honeywell EBI https://buildings.honeywell.com/en-us/solutions/optimization/building-management-systems/ebi-600
Relible Studio RC https://www.reliablecontrols.com/products/software/RCST/
Didnt work on both but can discover the controller but can read/write any points
CBS Studio http://www.cbmsstudio.com/
BDT https://www.ccontrols.com/sd/bdt.htm
To do are
Schneider
Jonson controls
Alerton

Didnt work on both but can discover the controller but can read/write any points

Do you have any details here? I fixed two bugs in develop some days ago that affected communication with segmentation ... maybe this is a topic too?

Ok ill do some restesting.
Issue is that they both have limited degug logs

Ok ill do some restesting.
Issue is that they both have limited degug logs

did you see that you could set DEBUG=bacnet* ?

DEBUG=bacnet:*
To get full logs.

@NubeDev DO you have any chance that one of your above listed devices supprts "writePropertyMultiple"? I tried to verify that this works today but failed because only one of the simulators I have is supporting it and this one says "can not decode" ... but it also says that to a writePropertyMultiple that I build with VTS, so I assume that this simulator is broken :-(

Ya ill test it early next week


add new separate terraform plans for staging and production

Summary | Résumé
Separate the terraform plan for staging and production. Use the new action for the plan to better surface results.
Note that changes to the terraform / terragrunt files were to fix formatting issues surfaced by terraform fmt
(with the exception of the variable removed in aws/rds/variables.tf
Test instructions | Instructions pour tester la modification
Help requested | Aide requise
Unresolved questions / Out of scope | Questions non résolues ou hors sujet
Reviewer checklist | Liste de vérification du réviseur
This is a suggested checklist of questions reviewers might ask during their
review | Voici une suggestion de liste de vérification comprenant des questions
que les réviseurs pourraient poser pendant leur examen :

[ ] Does this meet a user need? | Est-ce que ça répond à un besoin utilisateur?
[ ] Is it accessible? | Est-ce que c’est accessible?
[ ] Is it translated between both offical languages? | Est-ce dans les deux
langues officielles?
[ ] Is the code maintainable? | Est-ce que le code peut être maintenu?
[ ] Have you tested it? | L’avez-vous testé?
[ ] Are there automated tests? | Y a-t-il des tests automatisés?
[ ] Does this cause automated test coverage to drop? | Est-ce que ça entraîne
une baisse de la quantité de code couvert par les tests automatisés?
[ ] Does this break existing functionality? | Est-ce que ça brise une
fonctionnalité existante?
[ ] Should this be split into smaller PRs to decrease change risk? | Est-ce
que ça devrait être divisé en de plus petites demandes de tirage (« pull
requests ») afin de réduire le risque lié aux modifications?
[ ] Does this change the privacy policy? | Est-ce que ça entraîne une
modification de la politique de confidentialité?
[ ] Does this introduce any security concerns? | Est-ce que ça introduit des
préoccupations liées à la sécurité?
[ ] Does this significantly alter performance? | Est-ce que ça modifie de
façon importante la performance?
[ ] What is the risk level of using added dependencies? | Quel est le degré de
risque d’utiliser des dépendances ajoutées?
[ ] Should any documentation be updated as a result of this? (i.e. README
setup, etc.) | Faudra-t-il mettre à jour la documentation à la suite de ce
changement (fichier README, etc.)?

huh maybe I shouldn't be running terragrunt plan in common, @patheard ?

Based on your infra, I think it makes sense to run terragrunt plan in common.  The recreation of that Slack Lambda null_resource is unfortunately buried in the module you're using, so it's not something we can ignore.
That being said, we have our own Notify Slack module without this behaviour that might do what you need:
https://github.com/cds-snc/terraform-modules/tree/main/notify_slack

Do we know why Terraform still complain about the Slack modules in his plans?

Do we know why Terraform still complain about the Slack modules in his plans?

The timestamp trigger is forcing that resource to get tainted.

@CalvinRodo Seems like this is linked to the Slack aws notify module and has been addressed:
https://github.com/terraform-aws-modules/terraform-aws-notify-slack/issues/84
I opened a PR to disable automatic overwriting of the Slack lambda:
https://github.com/cds-snc/notification-terraform/pull/310

It's still complaining that it's... maybe not going to do anything? This might be as good as it gets unless we replace with SRE's slack integration code.


Migrate Model Program resource type

Migrate Model Program resource type to a file type of composite resource.
Subticket of #2959

duplicates https://github.com/hydroshare/hydroshare/issues/3070

Model program and model instance are different.

The management command for migrating model program resources has been deployed as part of release 1.53. However, the migration command has not be executed on production. This issue will be closed once we run the management command to migrate model program resources on prod.

This migration has been done on prod. So closing.


[BUG]: RuntimeError: The tensor has a non-zero number of elements, but its data is not allocated yet. Caffe2 uses a lazy allocation, so you will need to call mutable_data() or raw_mutable_data() to actually allocate memory.

🐛 Describe the bug
With ColossalAI 0.2.0 and a single A100 GPU, I use  PLACEMENT_POLICY = 'cpu' , ColoInitContext, GeminiDDP to decorate the model through the OPT from the example. However,  loss.backward() reports the following error.
RuntimeError: The tensor has a non-zero number of elements, but its data is not allocated yet. Caffe2 uses a lazy allocation, so you will need to call mutable_data() or raw_mutable_data() to actually allocate memory.

Environment
Pytorch: 1.11
Cuda: 11.7
ColossalAI: 0.2.0

Solved.

@mandoxzhang hello, how did you fix that?

@mandoxzhang  hi, could you share how you solve the problem?

It's my fault, not ColossalAI.

It's my fault, not ColossalAI.


[FancyZones] Update FancyZones thumbnail image

This PR updates the FZ thumbnail to reflect recent UI changes.
New image:

Related to: https://github.com/microsoft/PowerToys/issues/9436

Approved, this has been discussed with the PowerToys team

@mattwojo - Hi, @crutkas gave PM approval, but then @GrantMeStrength requested a review from you. Is the PR ready to merge? Thanks.


⚠ Fortnite has degraded performance

In 760bb35, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1424 ms

Resolved: Fortnite performance has improved in 58b8ab0.


Serious UX issues with md-input

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Expected behavior should be as shown in this animation from official specification:
https://material.io/guidelines/components/text-fields.html#text-fields-required-fields
What is the current behavior?
(1) Unfocused error state is in gray (but it should be warn color)
(2) The asterisk is always in primary color

When the fix is likely to be available for use in our projects?


Incremented version to 1.2.4.

Coming from https://github.com/opensearch-project/opensearch-build/issues/1417.

Retry the failed build after https://github.com/opensearch-project/opensearch-build/pull/1422 is merged.

Codecov Report

Merging #241 (8bb7887) into 1.2 (4a5ca79) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                1.2     #241      +/-   ##
============================================
+ Coverage     75.06%   75.10%   +0.03%
  Complexity     1912     1912
============================================
  Files           260      260
  Lines         11094    11094
  Branches       1746     1746
============================================
+ Hits           8328     8332       +4
+ Misses         1810     1809       -1
+ Partials        956      953       -3

Impacted Files
Coverage Δ

...nt/rollup/action/stop/TransportStopRollupAction.kt
69.51% <0.00%> (-1.22%)
:arrow_down:

.../rollup/action/start/TransportStartRollupAction.kt
65.06% <0.00%> (-1.21%)
:arrow_down:

.../opensearch/indexmanagement/rollup/model/Rollup.kt
84.43% <0.00%> (+0.47%)
:arrow_up:

...earch/indexmanagement/transform/model/Transform.kt
87.00% <0.00%> (+1.00%)
:arrow_up:

...exmanagement/opensearchapi/OpenSearchExtensions.kt
87.50% <0.00%> (+1.25%)
:arrow_up:

...ndexstatemanagement/IndexStateManagementHistory.kt
78.67% <0.00%> (+1.47%)
:arrow_up:

Continue to review full report at Codecov.

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


I see you've searched your issue and found https://github.com/docker-library/ghost/issues/155
Your issue isn't unique to the Docker image, I get the frustration but the change in directory from /var/lib/ghost to /var/lib/ghost/content is an upstream change that we faithfully include.
We included a section in the image's documentation about this change and users really should read image documentation for a good overview. With that I'm going to close the issue since we're not inclined to change anything in the image that would conflict with upstream.


Cannot import the drag and drop into maya 2022 or 2023

Hey There, i have an error when i drag and drop the python files from my scripts folder.
script editor error : # Error: SameFileError: file C:\Program Files\Autodesk\Maya2023\Python\lib\shutil.py line 244: 'C:\Users/Arnaud501/Documents/maya/2023/scripts\metahuman_api.py' and 'C:/Users/Arnaud501/Documents/maya/2023/scripts/metahuman_api.py' are the same fil
if you have a solution ^^
Thanks !

Hi, thanks for reporting. Will get that fixed up quickly.

Closing as recent update addresses issue.

Thank you very much =)
i realized that writing in the shelf editor the old command to call the script work :  import metahuman_facial_transfer
metahuman_facial_transfer.UI()
happy to see it's fixed !

Hi, every time I use 'drag and drop' in Maya, I get that error and it doesn't run. How do I fix it?
import maya.app.general.executeDroppedPythonFile as myTempEDPF
myTempEDPF.executeDroppedPythonFile("C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main/drag_and_drop_install.py", "")
del myTempEDPF
Error: invalid syntax
Traceback (most recent call last):
File "", line 2, in
File "D:\Program Files\Autodesk\Maya2020\Python\lib\site-packages\maya\app\general\executeDroppedPythonFile.py", line 66, in executeDroppedPythonFile
loadedModule = imp.load_module(theModuleName, fp, pathname, desc)
File "C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main\drag_and_drop_install.py", line 43
print(f'{api_file} is identical to {scripts_folder}{api_file}\nSkipping...')
^
SyntaxError: invalid syntax

Hi,
Just submitted and tested a fix for this for 2020 Python 2.7.
Download the new code and give it another go.
Cheers,
-Sean

From: pepepepe4123 @.>
Sent: Wednesday, July 24, 2024 1:35 PM
To: swnolan/metahuman_facial_transfer @.>
Cc: sean snolan.net @.>; State change @.>
Subject: Re: [swnolan/metahuman_facial_transfer] Cannot import the drag and drop into maya 2022 or 2023 (Issue #11)
Hi, every time I use 'drag and drop' in Maya, I get that error and it doesn't run. How do I fix it?
import maya.app.general.executeDroppedPythonFile as myTempEDPF
myTempEDPF.executeDroppedPythonFile("C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main/drag_and_drop_install.py", "")
del myTempEDPF
Error: invalid syntax
Traceback (most recent call last):
File "", line 2, in
File "D:\Program Files\Autodesk\Maya2020\Python\lib\site-packages\maya\app\general\executeDroppedPythonFile.py", line 66, in executeDroppedPythonFile
loadedModule = imp.load_module(theModuleName, fp, pathname, desc)
File "C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main\drag_and_drop_install.py", line 43
print(f'{api_file} is identical to {scripts_folder}{api_file}\nSkipping...')
^
SyntaxError: invalid syntax
—
Reply to this email directly, view it on GitHubhttps://github.com/swnolan/metahuman_facial_transfer/issues/11#issuecomment-2248853379, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZZ2HTQ4NNOHD4OCIPKZILZOAFZXAVCNFSM6AAAAABGICG2PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYHA2TGMZXHE.
You are receiving this because you modified the open/close state.Message ID: @.***>

You saved my life! Thank you very much.
2024년 7월 25일 (목) 오전 8:17, Sean Nolan @.***>님이 작성:

Hi,
Just submitted and tested a fix for this for 2020 Python 2.7.
Download the new code and give it another go.
Cheers,
-Sean

From: pepepepe4123 @.>
Sent: Wednesday, July 24, 2024 1:35 PM
To: swnolan/metahuman_facial_transfer @.>
Cc: sean snolan.net @.>; State change @.>
Subject: Re: [swnolan/metahuman_facial_transfer] Cannot import the drag
and drop into maya 2022 or 2023 (Issue #11)
Hi, every time I use 'drag and drop' in Maya, I get that error and it
doesn't run. How do I fix it?
import maya.app.general.executeDroppedPythonFile as myTempEDPF
myTempEDPF.executeDroppedPythonFile("C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main/drag_and_drop_install.py",
"")
del myTempEDPF
Error: invalid syntax
Traceback (most recent call last):
File "", line 2, in
File "D:\Program
Files\Autodesk\Maya2020\Python\lib\site-packages\maya\app\general\executeDroppedPythonFile.py",
line 66, in executeDroppedPythonFile
loadedModule = imp.load_module(theModuleName, fp, pathname, desc)
File
"C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main\drag_and_drop_install.py",
line 43
print(f'{api_file} is identical to
{scripts_folder}{api_file}\nSkipping...')
^
SyntaxError: invalid syntax
—
Reply to this email directly, view it on GitHub<
https://github.com/swnolan/metahuman_facial_transfer/issues/11#issuecomment-2248853379>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ABZZ2HTQ4NNOHD4OCIPKZILZOAFZXAVCNFSM6AAAAABGICG2PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYHA2TGMZXHE>.
You are receiving this because you modified the open/close state.Message
ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/swnolan/metahuman_facial_transfer/issues/11#issuecomment-2249046678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKC2QHC5JD7USJGUXYZPPJLZOAYYLAVCNFSM6AAAAABGICG2PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBZGA2DMNRXHA
.
 I’m glad your life was spared.

From: pepepepe4123 @.>
Sent: Friday, July 26, 2024 9:50:22 AM
To: swnolan/metahuman_facial_transfer @.>
Cc: sean snolan.net @.>; State change @.>
Subject: Re: [swnolan/metahuman_facial_transfer] Cannot import the drag and drop into maya 2022 or 2023 (Issue #11)
You saved my life! Thank you very much.
2024년 7월 25일 (목) 오전 8:17, Sean Nolan @.***>님이 작성:

Hi,
Just submitted and tested a fix for this for 2020 Python 2.7.
Download the new code and give it another go.
Cheers,
-Sean

From: pepepepe4123 @.>
Sent: Wednesday, July 24, 2024 1:35 PM
To: swnolan/metahuman_facial_transfer @.>
Cc: sean snolan.net @.>; State change @.>
Subject: Re: [swnolan/metahuman_facial_transfer] Cannot import the drag
and drop into maya 2022 or 2023 (Issue #11)
Hi, every time I use 'drag and drop' in Maya, I get that error and it
doesn't run. How do I fix it?
import maya.app.general.executeDroppedPythonFile as myTempEDPF
myTempEDPF.executeDroppedPythonFile("C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main/drag_and_drop_install.py",
"")
del myTempEDPF
Error: invalid syntax
Traceback (most recent call last):
File "", line 2, in
File "D:\Program
Files\Autodesk\Maya2020\Python\lib\site-packages\maya\app\general\executeDroppedPythonFile.py",
line 66, in executeDroppedPythonFile
loadedModule = imp.load_module(theModuleName, fp, pathname, desc)
File
"C:/Users/ghkdd/Downloads/metahuman_facial_transfer-main/metahuman_facial_transfer-main\drag_and_drop_install.py",
line 43
print(f'{api_file} is identical to
{scripts_folder}{api_file}\nSkipping...')
^
SyntaxError: invalid syntax
—
Reply to this email directly, view it on GitHub<
https://github.com/swnolan/metahuman_facial_transfer/issues/11#issuecomment-2248853379>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ABZZ2HTQ4NNOHD4OCIPKZILZOAFZXAVCNFSM6AAAAABGICG2PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYHA2TGMZXHE>.
You are receiving this because you modified the open/close state.Message
ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/swnolan/metahuman_facial_transfer/issues/11#issuecomment-2249046678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKC2QHC5JD7USJGUXYZPPJLZOAYYLAVCNFSM6AAAAABGICG2PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBZGA2DMNRXHA
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/swnolan/metahuman_facial_transfer/issues/11#issuecomment-2253131038, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZZ2HTU3V53GZRFZNTVKALZOJ445AVCNFSM6AAAAABGICG2PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTGEZTCMBTHA.
You are receiving this because you modified the open/close state.Message ID: @.***>


Test webVR and webXR on all majors headsets

[x] Run our VR and XR scenes on all headsets
[x] Port current VR scenes (mansion, espilit, HillValley) to XR
[x] Update documentation if required

(Documentation only)
Working mansion - https://www.babylonjs-playground.com/#JA1ND3#161
Hill Valley - https://www.babylonjs-playground.com/#JA1ND3#163

Testing:
WebVR:
Oculus Quest, Oculus, Daydream, Windows MR (Lenovo on Edge)
Sponza, Hillvalley, Mansion, full interaction and controllers loaded.
Issues:
Daydream controller is shown as Vive controller. Working.
WebXR:
Oculus Rift using Chrome
All 3 scenes work as expected (see last comment).
Issues:
Hill valley requires a small modification to the height (as height coming from the headset itself, it is not modified by us). Issue #6875 will solve this.

Documentation update with examples:
https://github.com/BabylonJS/Documentation/pull/1696

Hiya, with WebXR launching in Chrome yesterday, I tried the above examples last night, and they didn't work in headset. I'm not really surprised because things have been changing so much, but if not these examples, are there current examples of WebXR working as released?

hey @bengfarrell , was there an error? those samples should be working.
Would be great to know what headset you were using, what chrome version you tried, so I can debug this and understand the issue

@RaananW So, Chrome 79 was publicly released yesterday. My understanding is that they shipped WebXR publicly without any config flags required. I tried these examples from my Oculus Quest connected through Oculus Link (so essentially a Rift). Clicking the headset button to launch immersive mode did not work. Unfortunately I don't have my setup at work here, but I believe that the error was "immersive mode not supported", or something along those lines. Did you get these examples working in Chrome Beta before leading up to the 79 release? I had tried other examples that didn't, but I didn't have confidence that they were up to date.

@bengfarrell I have used those samples with the rift, but never with link and question. I actually just tried them with the new version of the quest browser, and they seem to render correctly (there is an issue with the user's height which I will try to address soon). Did you get any other webxr demo to work on your setup?

I'm kinda doubting Link+Quest is the problem, but I can try on my actual Rift tonight. I haven't tried any non-Babylon demos because I'm really looking for a hero example of Babylon integration. However, I'll try to find some non-Babylon demos as well to troubleshoot. I don't know that the Quest standalone will be a good proving ground for WebXR, however. I've had WebVR examples working for quite some time on their browser (though I'm hearing reports of them now supporting XR as well with recent updates).

not trying to blame the setup :-) Just trying to understand what the problem is.
We are still working on completing WebXR support until 4.1 is released (feb 2020). The demos are working, but there is still work to be done. They should render correctly, and you should be able to move around freely.
I actually ordered a new USB3 cable yesterday so I can try the quest and link, I should get it tomorrow or friday and will be able to provide some input on my side as well.

@RaananW I WAS trying to blame the setup, hehe. Just wanted to get to the bottom of any differences. But anyway, I guess this is my bad. The press around the release yesterday talked about how these features were available before, but only behind flags. I just went into our lab to try these examples with the Rift S. I got the same results. But then the Google examples weren't working either. Turns out, you STILL need to set some WebXR flags. For me, it was enabling Oculus and disabling the WebXR sandbox. I'm totally confused now about what Chrome is talking about if this stuff is still behind experimental flags. Either way, Babylon.js works, yay! Sorry to waste your time, I was just overly excited

All good, i am just happy it works 😄
79 removed webvr completely as far as I know, so they had to have some sort of a replacement. good to know we need to enable some stuff in order to get it to work. I am currently working mainly with chromium, so I hadly use chrome stable for tests.

webxr is only enabled default for windows mixed reality in chrome 79 windows 10

Thanks @arpu, I didn't see that noted in any of the press talking about it, but I finally noticed it in Brandon Jones' tweet from yesterday


Setting scrollTop doesn't work properly (race condition)

Please see this issue: https://github.com/cyclejs/cycle-dom/issues/6
Is it necessary to produce another test-case which doesn't use cycle-js?

I have posted the solution I have used in #338


Homepage /get support section – Fix Office Hours "Book a meeting" link

Describe the bug
The "Book a meeting" link under the DevHub homepage /get support Office hours section doesn't work.
To Reproduce
Steps to reproduce the behavior:

Go to neardevhub.org
Scroll down to the /get support section and click "Book a meeting" under Office Hours
Takes you to an old page

Expected behavior
Please change "Book a meeting" text to "Join" and update the link to https://near.social/devhub.near/widget/app?page=community&handle=devrel&tab=Office hours / Support

hey @ori-near, on office hours page I don't see anything, is this broken.?


Some formatting changes, cleanup, make it clearer

Since I'm hoping to use this repository for safety files for the bristol hackspace, I thought I'd do some maintenance - based on what makes it easier for me to understand, I have cleared up some formatting, added more explanations, etc.
I hope you don't mind!

Absolutely not - and we love you all the more for it ;)


Cannot use GUI apps/tools as Wayland socket doesn't exist in XDG_RUNTIME_DIR

Windows Version
10.0.19044.4046
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Arch
Other Software

wl-clipboard 2.2.1 (shouldn't be the root cause)
systemd 255.4-2

Repro Steps

Install wl-clipboard -> sudo pacman -S wl-clipboard
Run echo "foobar" | wl-copy

Expected Behavior
foobar is copied to Windows clipboard through Wayland
Actual Behavior
❯ echo "foobar" | wl-copy
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is set to wayland-0
Note: XDG_RUNTIME_DIR is set to /run/user/1000/
Please check whether /run/user/1000//wayland-0 socket exists and is accessible.

Diagnostic Logs
Not applicable
Additional Note
I couldn't open any GUI apps and any Wayland-related tools such as wl-copy.
❯ echo "foobar" | wl-copy
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is set to wayland-0
Note: XDG_RUNTIME_DIR is set to /run/user/1000/
Please check whether /run/user/1000//wayland-0 socket exists and is accessible.

The following are the content of /run/user/1000/
❯ ls -la /run/user/1000/
total 0
drwx------ 7 mangkoran mangkoran 220 Mar  7 08:38 ./
drwxr-xr-x 3 root      root       60 Mar  7 08:34 ../
srw-rw-rw- 1 mangkoran mangkoran   0 Mar  7 08:34 bus=
prw------- 1 mangkoran mangkoran   0 Mar  7 08:34 fish_universal_variables.notifier|
drwx------ 2 mangkoran mangkoran  60 Mar  7 08:34 gcr/
drwx------ 2 mangkoran mangkoran 160 Mar  7 08:34 gnupg/
drwxr-xr-x 2 mangkoran mangkoran  60 Mar  7 08:34 p11-kit/
srw-rw-rw- 1 mangkoran mangkoran   0 Mar  7 08:34 pipewire-0=
srw-rw-rw- 1 mangkoran mangkoran   0 Mar  7 08:34 pipewire-0-manager=
drwxr-xr-x 2 mangkoran mangkoran  60 Mar  7 08:34 pulse/
drwxr-xr-x 6 mangkoran mangkoran 160 Mar  7 08:34 systemd/

Based on that it seems wayland-0 socket is missing in XDG_RUNTIME_DIR. Hmm pretty weird I think as I don't disable guiApplications in .wslconfig.
Then I found https://github.com/microsoft/wslg/issues/1187. I proceed to check /mnt/wslg/runtime-dir/.
❯ ls -la /mnt/wslg/runtime-dir/
total 0
drwx------ 4 mangkoran mangkoran 120 Mar  7 09:24 ./
drwxrwxrwt 8 root      root      320 Mar  7 08:34 ../
drwx------ 3 mangkoran mangkoran  60 Mar  7 08:34 dbus-1/
drwx------ 2 mangkoran mangkoran  80 Mar  7 08:34 pulse/
srwxrwxrwx 1 mangkoran mangkoran   0 Mar  7 08:34 wayland-0=
-rw-rw---- 1 mangkoran mangkoran   0 Mar  7 08:34 wayland-0.lock

And yep there it is. So Wayland socket is currently not in XDG_RUNTIME_DIR. It seems the Wayland socket was previously symlinked in XDG_RUNTIME_DIR as in https://github.com/microsoft/WSL/issues/10205. Then I tried to link the Wayland socket.
~
❯ ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/1000/

~
❯ echo "foobar" | wl-copy

~
❯ echo $status
0

Although it works as intended, I think this isn't the default behavior/a regression. As a workaround, I created a simple systemd user oneshot service/unit.
❯ cat ~/.config/systemd/user/symlink-wayland-socket.service
[Unit]
Description=Symlink Wayland socket to XDG_RUNTIME_DIR

[Service]
Type=oneshot
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0      $XDG_RUNTIME_DIR
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0.lock $XDG_RUNTIME_DIR

[Install]
WantedBy=default.target

Enable it using the following command.
systemctl --user enable symlink-wayland-socket.service

Can confirm with:
Versions
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3155

NAME="Fedora Linux"
VERSION="39 (Container Image)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"

Workaround
Exactly what @mangkoran mentioned by creating a oneshot systemd service.

Many thanks, @mangkoran, for the details and the service script. Had the same issue with WSL 2.1.5 and Fedora 39 and the workaround fixed it.

Here is another workaround according to this post. Create<EMAIL_ADDRESS>and add:
[Service]
ExecStart=sh -c "ln -fs /mnt/wslg/runtime-dir/* /run/user/$UID/"

This will link everything in /mnt/wslg/runtime-dir to /run/user/$UID. The reason why I don't mount /mnt/wslg/runtime-dir at /run/user/$UID like what the original post does is that it will cause<EMAIL_ADDRESS>failure due to /run/user/$UID's incorrect owner

sorry for asking this novice question but @mangkoran how do we enable this service. Thanks for the help

@king-11 It should be like below.
systemd --user enable symlink-wayland-socket.service

I will add to my top post.
PS: A quick Google search should help you faster 😉

Although this issue is about Wayland, for anyone who found this becaus X apps don’t work either (like me), if you want to use X11 apps, too, you will also have to symlink /mnt/wslg/.X11-unix/X0 to /tmp/.X11-unix/X0.

For me, X11 apps work but Wayland doesn't.
WSL info:
> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3593

Ubuntu info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble
$ uname -a
Linux MaryamGhanavati <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

and systemd is enabled.

@arf1372 You could try the symlink command first (not the systemd service) and see if solves the issue on your machine.
ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/1000/

This command is harmless as it just symlinks and not removing any files. If anything goes wrong, you could restart WSL and everything will be reverted.

For me, X11 apps work but Wayland doesn't.
WSL info:
> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3593

Ubuntu info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble
$ uname -a
Linux *** <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

and systemd is enabled.
tried:
$ echo "hello" | wl-copy
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is set to wayland-0
Note: XDG_RUNTIME_DIR is set to /run/user/1000/
Please check whether /run/user/1000//wayland-0 socket exists and is accessible.

As I fear the provided workaround may break my system(?) I didn't test it.

Hey bro , could you tell how you configured X11?

Ubuntu-24.04 set these files differently than Ubuntu-22.04:

I don't think I ever faced this issue on Ubuntu 22.04. On 24.04, I can't even run ls on /mnt/wslg/runtime-dir/ without sudo, whereas 22.04 doesn't require it all.

I don't think I ever faced this issue on Ubuntu 22.04. On 24.04, I can't even run ls on /mnt/wslg/runtime-dir/ without sudo, whereas 22.04 doesn't require it all.

To make it work under Ubuntu 24.04 I had to set rx permissions on runtime-dir, then I could create the simlink.
sudo chmod +rx /mnt/wslg/runtime-dir
ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/1002/

(where 1002 is the current user.)

WSLg bug: https://github.com/microsoft/wslg/issues/1244

So, this may not be a satisfying work-around for everyone, but this poblem was bowing up my Neovim session, because WAYLAND_DISPLAY was set, causing Neovim to assume that wl-copy was in play and working properly.
I added this awful bodge to my .zshrc that may help someone so I am including it here. If WSL is detected, we unset WAYLAND_DISPLAY but also add a 'wway' alias to put it back if we actually WANT to run a GUI app :)
# Under WSL, we KINDA have Wayland, but not really, and that blows up Neovim. Ungh. :)
# Add an alias so if we actually WANT the pseudo wayland, we can haz.

if [[ $(uname -r | grep "microsoft") ]] then
        unset WAYLAND_DISPLAY
        alias wway='export WAYLAND_DISPLAY=wayland-0'
fi

Yay! My neovim works again :)

Thank you @mangkoran
This is an issue for me on Ubuntu 24.04.1 LTS running on WSL2
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.4037

So, this was also blowing up my copying while using Neovim (nvim) after my X410 trial ended:
$ echo abc | /usr/bin/wl-copy.orig
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is set to wayland-0
Note: XDG_RUNTIME_DIR is set to /run/user/1000/
Please check whether /run/user/1000//wayland-0 socket exists and is accessible.

My issue was not pasting into WSL, but copying from WSL and pasting into Windows, especially from nvim.
Unless you have disabled it, you should be able to run Windows binaries from within WSL 2. The workaround for clipboard access I have implemented is to wrapper Microsoft's bundled c:\Windows\system32\clip.exe binary in a script to copy:
#!/bin/bash
# the pbcopy script

tee <&0 | clip.exe
exit 0

For pasting, I opted to wrapper PowerShell and strip the extraneous appended carriage return or null:
#!/bin/bash
# the pbpaste script

powershell.exe Get-Clipboard | sed 's/\r$//' | sed -z '$ s/\n$//'
exit 0

Put these scripts in /usr/bin as /usr/bin/pbcopy and /usr/bin/pbpaste. Then rename wl-copy and wl-paste and symlink the pb scripts:
$ sudo mv /usr/bin/wl-copy{,.orig}
$ sudo mv /usr/bin/wl-paste{,.orig}
$ sudo ln -s /usr/bin/pbcopy /usr/bin/wl-copy
$ sudo ln -s /usr/bin/pbpaste /usr/bin/wl-paste

If you want to test this in nvim, go into visual mode, select some text, and press <Ctrl-R>"+y to yank the selection to the system clipboard. Then try pasting it in a Windows app.
Yes, you could just name the scripts wl-copy and wl-paste, but I use symlinks to avoid confusing myself six months from now.
The other benefit of symlinking is being able to use the pbcopy and pbpaste commands like I would in macOS.  😄
NOTE: This approach assumes you only want to copy/paste text. Unlike wl-copy/paste the MIME type is stripped/ignored.

Thanks for reporting @mangkoran . I've got the same issue here with Fedora 40 under WSL2.
Doing the symlink command above fixed it for me for now.

For me the symlink creation as explained in the "workaround" section of the initial description in this issue, together with the permission change @noopole mentioned, did the trick. Thanks a lot for compiling that information, @mangkoran and @noopole!
However, the permission change seems to be reverted after each reboot, so I wondered if someone already has come up with a good idea about how to make this permission change permanent or at least recreate it on startup. I was thinking of just another systemd oneshot service/unit running as root, but maybe there's more elegant ways?

For me the symlink creation as explained in the "workaround" section of the initial description in this issue, together with the permission change @noopole mentioned, did the trick. Thanks a lot for compiling that information, @mangkoran and @noopole!
However, the permission change seems to be reverted after each reboot, so I wondered if someone already has come up with a good idea about how to make this permission change permanent or at least recreate it on startup. I was thinking of just another systemd oneshot service/unit running as root, but maybe there's more elegant ways?

:~$ cat /etc/systemd/user/symlink-wayland-socket.service
[Unit]
Description=Symlink Wayland socket to XDG_RUNTIME_DIR

[Service]
Type=oneshot
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0      $XDG_RUNTIME_DIR
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0.lock $XDG_RUNTIME_DIR

[Install]
WantedBy=default.target

This is the same snippet, which had been already described as "workaround" in the initial description of this issue. However, I was referring to ideas about how to make the permission change permanent, which has been mentioned by @noopole above:
sudo chmod +rx /mnt/wslg/runtime-dir (or) chown 1002:1002 /mnt/wslg/runtime-dir
ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/1002/

So, this may not be a satisfying work-around for everyone, but this poblem was bowing up my Neovim session, because WAYLAND_DISPLAY was set, causing Neovim to assume that wl-copy was in play and working properly.
I added this awful bodge to my .zshrc that may help someone so I am including it here. If WSL is detected, we unset WAYLAND_DISPLAY but also add a 'wway' alias to put it back if we actually WANT to run a GUI app :)
# Under WSL, we KINDA have Wayland, but not really, and that blows up Neovim. Ungh. :)
# Add an alias so if we actually WANT the pseudo wayland, we can haz.

if [[ $(uname -r | grep "microsoft") ]] then
        unset WAYLAND_DISPLAY
        alias wway='export WAYLAND_DISPLAY=wayland-0'
fi

Yay! My neovim works again :)

@feoh I use Neovim in WSL too and there is no need to unset WAYLAND_DISPLAY if you follow the workaround.

First make sure to follow the workaround in issue description
Set vim.opt.clipboard = "unnamedplus" in Neovim (docs)
Install wl-clipboard
Reboot WSL

This way you will have functional clipboard that interop/sync with Windows clipboard (yes you can yank and paste to and from Windows clipboard). Please let me know if it works for you ^_^

For me on Ubuntu 24.04.01 LTS this script worked
> cat ~/.config/systemd/user/symlink-wayland-socket.service
[Unit]
Description=Symlink Wayland socket to XDG_RUNTIME_DIR

[Service]
Type=oneshot
ExecStart=ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/1000/

[Install]
WantedBy=default.target

I have no idea why @mangkoran script did not work, I know it worked for earlier Ubuntus under WSL

@tkonsta

This is the same snippet, which had been already described as "workaround" in the initial description of this issue. However, I was referring to ideas about how to make the permission change permanent, which has been mentioned by noopole above:

The permission issue is fixed in the latest Ubuntu-24.04 https://github.com/microsoft/WSL/issues/11542 (tldr: You need to reinstall Ubuntu-24. Make sure to backup your files.)

So, this may not be a satisfying work-around for everyone, but this poblem was bowing up my Neovim session, because WAYLAND_DISPLAY was set, causing Neovim to assume that wl-copy was in play and working properly.
I added this awful bodge to my .zshrc that may help someone so I am including it here. If WSL is detected, we unset WAYLAND_DISPLAY but also add a 'wway' alias to put it back if we actually WANT to run a GUI app :)
# Under WSL, we KINDA have Wayland, but not really, and that blows up Neovim. Ungh. :)
# Add an alias so if we actually WANT the pseudo wayland, we can haz.

if [[ $(uname -r | grep "microsoft") ]] then
        unset WAYLAND_DISPLAY
        alias wway='export WAYLAND_DISPLAY=wayland-0'
fi

Yay! My neovim works again :)

@feoh This is absolutely the best way to do it imo. I love it, thanks!

Many thanks, @mangkoran, for the precise description. I had the same problem with WSL <IP_ADDRESS> and distribution Debian 12 (Bookworm). The workaround fixed the problem.

I'm still seeing this for snap apps like Firefox, which generates the error: [2270] Wayland Proxy [0x7f8b7ce61cd0] Error: CheckWaylandDisplay(): Failed to connect to Wayland display '/run/user/1000/snap.firefox/wayland-0' error: No such file or directory
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.19045.5247

This command is a workaround, but shouldn't the system handle this automatically?
ln -s /mnt/wslg/runtime-dir/wayland-0 /run/user/1000/snap.firefox

Hello
I'm here to report my issue has been fixed after I upgraded both WSL and Ubuntu. Now, I'm using:
> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.2605

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.10
Release:        24.10
Codename:       oracular

P.S.: I've used do-release-upgrade on my Ubuntu to upgrade.

@arf1372 do you use any graphical snaps? I'm wondering if my problem still exists for everyone or if it is particular to my setup.


event beforeChange for validate change page

Hello,
The 'beforeChange' event allows you to execute actions before changing the page and deciding whether to change pages or not. This validation is done through a 'Promise'.

Additional to this, a new parameter to the 'onPageClick' event that indicates the previous page.


Fix issue used port

Description
Fix an issue where some tests would always use the same port, which caused failures if the port was already used for something else.
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

@arnaudsjs I think I should not add a new fixture as there are already quit a few that do similar things. I changed my current solution to use one of those existing fixtures. Do you like it this way?

@arnaudsjs I think I should not add a new fixture as there are already quit a few that do similar things. I changed my current solution to use an existing helper function (not sure why it isn't a fixture?). Do you like it this way? (I found it by looking at test that were still calling Server() )

Nice. I didn't know we already had this functionality. The advantage of using a fixture is that you can include teardown code in the fixture as well. But for me it doesn't have to be a fixture.

Processing this pull request

Merged into branches master, iso6 in 6f84280257f76136e2c8f1e9f390c5e230950f4d

Processing #5201.


Text string is being interpolated as HTML

Meta
capybara (2.10.1)
Occurs for both:
poltergeist (1.11.0) with phantomjs 2.1.1
selenium-webdriver (2.53.4) with firefox 47.0.1
Expected Behavior
.text that returns a string should be able to use have_content against all parts of that string
Actual Behavior
When the string includes HTML, have_content appears to interpolate the string as HTML and only searches what would be rendered to a user.
Steps to reproduce
HTML:

  <a href="https://www.domain.com/test">Link Text</a>

Renders on the page to:
Link Text

Capybara:
> find('#text-link').text
=> "Link Text"

> expect(find('#text-link').text).to have_content "/test"
RSpec::Expectations::ExpectationNotMetError: expected to find text "/test" in "Link Text"
from /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support.rb:87:in `block in <module:Support>'

Note: This is not an urgent issue by any means as the following works:
expect(find('#text-link')).to have_content "/test"

You're trying to use have_content incorrectly.  Like all of Capybaras matchers they are used with elements.  If you call it on text Capybara.string is used to convert that text to elements by parsing it as HTML.  The correct usage is as you show at the end
expect(element).to have_content("expected content")    # have_text/have_content are the same

Appreciate the insight @twalpole .  I wasn't familiar with the Capybara.string behavior.
Note to anyone else reading this issue: has_content? throws a NoMethodError on a string, but have_content converts it to an element.

@ronwsmith Yes because has_content? is a method on Capybara::Node::Element - have_content is an RSpec matcher - they're completely different things.  If you're working with strings you should just be using the normal string methods and/or RSpec matchers designed for working with strings


Minor: Add Exon to known users

I found out about Exon in https://github.com/apache/arrow-datafusion/discussions/7032#discussioncomment-6532950  and wanted to add it to the list of known projects
cc @tshauck
What changes are included in this PR?
Add link  to known users

Thanks @jackwener  -- I see I accidentally included the same change in https://github.com/apache/arrow-datafusion/pull/7104 so I'll plan to merge that one rather than this


Calling currentUser() after creating new account returns null

Calling currentUser() after creating new account returns null instead of returning valid ShopifyUser object
    await ShopifyAuth.instance
        .createUserWithEmailAndPassword(email: email, password: password);

    final user = await ShopifyAuth.instance.currentUser(); // user is null

You have to login in order to get the current user.

Why does it work this way?
Cannot we update shopify user after sign up like this? https://github.com/imsujan276/shopify_flutter/pull/51

Yeah, we can. I must have missed it in the signup function. Thanks for pointing it out


Background services

Can background services be added to this package.

yes you can demonstrate that by clonning or testing the source code example

i mean when the app is killed and someone exited the geofence then i want to execute a function.

you can brother there are callbacks for that or if you unfortunately cant get your work form builtin callbacks than go for platform channels

i got your point now you are asking for outside app geofencing when the app is even closed yes u r right the plugin is just for in app geofencing or when the app is in background thanks for figuring out this issue i will sooner add that background feature and then merge the updated code

Thank you very much for replying, Yes please i am in need of it, i am stuck in a project on this point.

I want to send notification when someone exiting geofence.

hi any update on the request?

@shahid31346 have you get any solution for this?


[TSDoc> Search]: Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds for the 'Search' text.

Test Environment:
OS Version: 22H2 (OS Build 25370.1)
Browser: Edge Dev (Version 115.0.1866.1 (Official build) dev (64-bit))
URL: https://tsdoc.org/
Tool: Accessibility Insights for Web
Repro Steps:

Open the above URL in edge dev browser and login with v-.
Run the fast pass of accessibility insights for web.
Observe the issue on 'Search' edit field.

Actual Result:
Contrast between foreground and background colors does not meets WCAG 2 AA contrast ratio thresholds for the 'Search' text.
Luminosity ratio for the 'Search' placeholder text under 'Search' edit field is 2.666:1 which is less than 4.5:1.
Expected Result:
The contrast between foreground and background colors must meets WCAG 2 AA contrast ratio thresholds for the 'Search' text.
Luminosity ratio for the 'Search' placeholder text under 'Search' edit field should be greater than or equals to 4.5:1.
Snippet:
Search
How to fix:
Fix any of the following:
Element has insufficient color contrast of 2.66 (foreground color: #969faf, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
Notes:

Same issue repro for code lines present under 'export class Statistic , get Average, IsIineTag and the code lines present under 'Consider a hypothetical input' text.
Same issue repro on code line present under 'Example' heading of 'Tags' link under main navigation landmark.
Same issue repro on code line present under 'Example' heading of '@returns' link under 'docs sidebar navigation landmark'.
Same issue repro on #Run this ....$rush install, $npm text in 3 bullet point, $rush change in the 5 bullet point in 'Submitting a pull request link under 'docs sidebar navigation landmark'.
Same issue repro on 2023 Microsoft text under footer landmark and this issue is throughout the page.

User Impact:
Person with visual disability will get impacted as user will not be able to see the text clearly and hence will not be able to interact with the content easily.
WCAG Reference Link:
https://www.w3.org/TR/WCAG21/#contrast-minimum
Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com)"

Closing the issue and will track with bug id:
https://github.com/microsoft/rushstack-websites/issues/166

Closing this issue and will track with bug id: https://github.com/microsoft/rushstack-websites/issues/166


New server API test plan endpoints

It is necessary to modify server API test plan endpoints as per API:
API link
Path - zephyr\scale\server\endpoints\paths.py
Actual:

Expected:

Hi @kvvad
You've provided me with the link to the Zephyr Scale Cloud API. And the file you specified is the Server one.
As I understand, new endpoints for Cloud API appeared and should be added to the package.
The server's test plan enpoints seem to be okay and there is no need to modify them.
Or is there anything I'm missing?

Closing the ticket because of inactivity.


Bug with RetroOZ base

Bug with RetroOZ base.
There is a bug with a new burned SD. If I don't add Roms and the viewed systems are 7, we've a ES boot loop.

Fix boot-loop when modify hidden systems.
Fix systems view pagination when entries is less than 10.


Feature: warden vnc to connect with Selenium Debug VNC

I've introduced a new Warden command that enables developer to connect VNC using remmina:
$ warden vnc
> We are running connection for you. Password is "secret".

Additionally, documentation extended with such information.
PS: @davidalger I added Color Reset after each Error message.

I've added multi-node and different types support:
warden vnc 5 opens 5th instance of the Selenium node.
warden vnc 1 selenium-firefox opens 1st instance of Selenium Firefox node

I've integrated the latest origin/develop into this PR and updated the messaging to use the new messaging functions, as well as tweaking a few details so they're compatible with latest 0.6.0 develop branch.
The following is what I'd like to see happen for this to be merged:
Since Warden is not Linux specific I would prefer to not adopt commands as 1st class citizens unless they are interoperable between both OS's. With Remina not supporting Mac OS, this command needs to do something to support Mac OS apart from using Remina. Even a graceful fallback would be acceptable, as long as it's mentioned in the documentation page. For example, the ssh tunnel currently mentioned in the docs page for use on OS X would suffice if the command printed out connection details for the user, and then started the ssh tunnel (preferably in the foreground so the user can Control + C to kill it):
ssh -N -L localhost:5901:magento2_selenium-chrome_1:5900 tunnel.warden.test

On linux environments, the command could print a warning (using the warning function) when Remina is not present, and fall back to the same ssh tunnel approach allowing the nicety of using Remina on Linux to be supported, but also having an OS agnostic approach which would work as a fallback.
I'd also like to see a commands/vnc.help added with basic usage information (see the others present, doesn't have to be fancy).
*

Version when no Remmina installed


Navigate between screens with Compose: Android Basics with Compose

in Add button handlers to OrderSummaryScreen
in 2.Add another parameter of type (String, String) -> Unit with a default value of {} and name this one onSendButtonClicked.
fun OrderSummaryScreen(
    orderUiState: OrderUiState,
    onCancelButtonClicked: () -> Unit = {},
    onSendButtonClicked: (String, String) -> Unit = {},
    modifier: Modifier = Modifier
){
    ...
}

change signature of lambda expression
onSendButtonClicked: (String, String) -> Unit = {}
to
onSendButtonClicked: (String, String) -> Unit = { s: String, s1: String -> }

Duplicate of #36

Hi @edapess
Thank you for reporting this issue.
The lesson is being updated to address it and will be republished in the near future.
Hope you are enjoying the course!
Regards.


end_time in task dataframes is not counted as an event (right open interval)

The end_time in a task dataframe is not counted as an event. I am not sure if this is a bug or if it's by design (if it's the latter, just a documentation update would do).
For example, in a task dataframe as listed below, for subject 1520408 let's assume two events before 2010-10-20 and one event on 2010-10-20, recording end_time as 2010-10-20 would be treated as a sequence of two events during the call to filter_to_min_seq_len in https://github.com/mmcdermott/EventStreamGPT/blob/2f433a695112fdccb7b28a50cb44b6f39fce4349/EventStream/data/pytorch_dataset.py#L322.

subject_id
end_time
label
start_time

u32
datetime[μs]
u32
datetime[μs]

1520408
2010-10-20 00:00:00
1
null

1569956
2010-02-14 00:00:00
1
null

1230099
2010-06-27 00:00:00
2
null

If the endtime is not meant to be included (as it currently is), it would be helpful to have a note in the documentation stating this.

@juancq I'm not sure, but is it possible the change here: https://github.com/mmcdermott/EventStreamGPT/pull/107 solves this issue? Or am I misunderstanding the scope of the issue here.


Duplicate notes caused by "append same source" setting

Summarized Feedback from<EMAIL_ADDRESS>
The "append same source" setting is causing duplicate notes in Obsidian, even when the source is the same and the note hasn't been moved in Obsidian. Users expect highlights from the same document to sync to the same note in Obsidian, without creating duplicates.

Summarized Feedback from<EMAIL_ADDRESS>
Fleeting Notes is creating duplicate notes in Obsidian, despite the "append same source" setting being activated. This happens when a user closes and reopens Obsidian and makes another highlight in the same source/note. This issue persists across different browsers (Edge and Firefox) and is not dependent on the source URL, as the problem occurs with various websites.


Fuzz factor for applyPatch

Oh my. If I'm reading this code correctly, it looks like applyPatch currently ignores context lines altogether. Oh, no. Oh, deary dear.
From the original patch man page:
-F	max-fuzz, --fuzz max-fuzz
     Sets the maximum fuzz factor.  This option	only applies to	con-
     text diffs, and causes patch to ignore up to that many lines in
     looking for places	to install a hunk.  Note that a	larger fuzz
     factor increases the odds of a faulty patch.  The default fuzz
     factor is 2, and it may not be set	to more	than the number	of
     lines of context in the context diff, ordinarily 3.

The applyPatch function should have some smarts over determining where to apply the patch (or if the patch should even apply at all). I'd actually kind of like a fuzzFactor that can be specified in units other than lines, too (so, for example, it's OK to match when 80% of the line is the same, or when there are only two word differences, or no instances where lines are added/removed or a word is replaced with multiple words or vice versa, or something like that).

I'm looking at reworking the patch implementation for 2.1. I'm thinking that there should be a callback to allow the caller to approve or reject in case of the line being different. Will update here as that idea evolves.

Released in 2.1.0


cast to (int) for Curl adapter timeout config

same as what applied into Socket adapter

What is the reason for accepting non-integer timeout values?
I would say exception should be thrown instead.

just for consistent with socket adapter. if it should be get exception, the in socket adapter should get exception as well?

That would be my preference, yes. I will need to look into it sometime later, may be i am not seeing something.


Add Query Following Button

:tada: This PR is included in version 1.12.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


No stdout option

I'm doing karma start and karma run in the same process. Both print the test results to stdout, which is rather annoying. Can there be an option to disable runner.js's stdout?
I'm monkey-patching http.request right now which is rather ugly.

I would just redirect the output of one of the two processes to /dev/null. That would look like:
karma start > /dev/null

This is a pretty standard "unixy" way of dealing with output of programs and is quite powerful. For more info on this approach, look for resources explaining stdout redirection in linux (that's what the > is for)

I'm running it on the same process.

I'm not an expert on these things, but my understanding of a process is that is a running instance of some program. By that definition, karma start and karma run are two separate instances of a running program and would thus each have their own process.
How are you running the two commands?

I'm using the api.

I ended up doing the ajax request myself, the runner api is really unfriendly, with process.exit and stdout prints.

The node api was never designed to be feature complete. If you have concrete suggestions please file a new issue and/or feel free to submit a PR with the methods you are looking for.


Multiplayer doesn't work on headless servers

I am running a headless server (e.g. with a Docker container). I installed the plugin in my server's plugin directory. On startup, I get the following in my server logs:
[RideVehicleEditor] Registered
[RideVehicleEditor] Loaded
[RideVehicleEditor] Started
'UI unavailable, plugin disabled.'

So the plugin is getting properly loaded, starts up, but then realizes it's running in a headless server, and shuts off. If the clients have the plugin installed locally, it'll show up in the UI, but nothing will happen why they try to use it.

Ah fair! Thanks for reporting, this is from the legacy days where multiplayer wasn't supported. 😅


Feature Request - nullDefaults: Default to null when column is nullable

It would be good, as an option, to be able to stub out entities with null values unless specified.

@strongpauly Good idea, thanks! Could you please add a simple description to the README file?

Done

Merged, thanks. I've also added the new option to the DEFAULT_STUB_OPTIONS const.


I can't launch the Runtime Manager

When I run the "./run" in the terminal and after enter the supervisor password,there was only one rosnode launched which named roscore,but I can't see the Runtime Manager window,can you help me?My version is ubuntu16.04 and ros kinetic.

@SDwaiwai
Would you modify Autoware/ros/run script as following and see what error messages appear?
# The final line of "run" script
# Current
${TERMINAL} ${RUNMGR_DISPLAY_OPTION} ${OPTION_WORKING_DIR}=${MY_PATH} ${OPTION_COMMAND}="bash -c 'source ./devel/setup.bash; rosrun runtime_manager runtime_manager_dialog.py'"

# Modify like this
${TERMINAL} ${RUNMGR_DISPLAY_OPTION} ${OPTION_WORKING_DIR}=${MY_PATH} ${OPTION_COMMAND}="bash -c 'source ./devel/setup.bash; rosrun runtime_manager runtime_manager_dialog.py; sleep 1000;'"

# Just add `; sleep 1000;` after boot runtime_manager
# This modification may help us to know what error exactly happened.

Best

I had an identical error as the OP. After following manato's advice, I found out that wx tools were not being imported. Running this line fixed the problem:
sudo apt-get install python-wxtools
I have a very new install of Ubuntu, so sort of makes sense that I forgot to install couple tools for python here and there.
Hope that helps others.

Thanks very much , I fix this problem by
sudo apt-get install python-wxtools
then I remake it and it works

getting stuck on the exact same issue, error as follows " File "/home/srivatsa/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 59, in
from autoware_msgs.msg import ConfigSsd
ImportError: No module named autoware_msgs.msg"
Has anyone figured out what the issue is ?

@Srivatsa-M-Hegde  I have the same problem as you!!! And I cannot fix it now, do you have any idea?

I tried the source install rather than the docker one, that works fine.

@Srivatsa-M-Hegde Thanks! I use the source install, and it works. But when I checkout to version 1.7.0 to run the demo, the problem occurs again.

As far as I can remember the source install did not give me this error. It was only with the docker install that I faced this error.

The run.sh file in Autoware/docker/generic seems to be not working.
I changed the script to:
#!/bin/sh

XSOCK=/tmp/.X11-unix

XAUTH=/home/$USER/.Xauthority

SHARED_DIR=/home/autoware/.autoware

HOST_DIR=/home/$USER/.autoware

nvidia-docker run \

    -it --rm \
    --volume=$XSOCK:$XSOCK:rw \
    --volume=$XAUTH:$XAUTH:rw \
    --volume=$HOST_DIR:$SHARED_DIR:rw \
    --env="XAUTHORITY=${XAUTH}" \
    --env="DISPLAY=${DISPLAY}" \
    -u autoware \
    --privileged -v /dev/bus/usb:/dev/bus/usb \
    --net=host \
    autoware/autoware:latest-kinetic

According to this: link
Then I ran sudo bash run.sh again in Autoware/docker/generic directory and it led me to the docker terminal.
After that, I ran cd Autoware/ros and ./run
The run time manager showed up on the screen this time :))).


Redirect existing lists to contributor insights

          The only thing to note here is that all existing lists will be associated to a personal workspace once @jpmcb work is done. This should be fine for the redirect rule you have in place, but just wondering if there's a scenario post personal workspaces that you might not be on your personal workspace and someone hits the old link to get redirected to a route where the workspace ID isn't associated to the list.

I could be overthinking this. 😅
Originally posted by @nickytonline in https://github.com/open-sauced/app/issues/2648#issuecomment-1943990051

This is probably related iand needs to be removed n the middleware @brandonroberts.
  if (
    !pathsToMatch.some((matcher) => pathToRegexp(matcher).test(req.nextUrl.pathname)) ||
    // if the path is hub/insights or hub/lists go to the page so logged out users can see demo insights or demo lists
    req.nextUrl.pathname === "/hub/insights" ||
    req.nextUrl.pathname === "/hub/lists"
  ) {
    return res;
  }

Ok cool