Player variable always undefined

After using var player = plyr.setup()[0]; I always receive a "TypeError: player is undefined" error when trying to destroy the instance using all variations of player.destroy(); player.plyr.destroy(); and player[0].destroy();

Bump

If this was the case, https://plyr.io would not work:
https://github.com/Selz/plyr/blob/master/demo/src/js/main.js#L28
Do you have any more info on reproducing this?

Perhaps I'm not approaching this in the best possible way but I'm trying to minimize load times.
I have 8 videos I want to play within a modal. I'm binding plyr.setup into the click event for the video thumbnails, and passing the video id via data attributes. Then when the video is finished playing - a custom overlay is added on top of the video. What would be ideal is that when the modal is closed, the plyr object is destroyed.  This only works if the destroy() is called within the same function as the setup(). It would be more natural if the variable "player" was accessible globally.
Should I try setting the variable outside of my document.ready function? This is a simple version of what it looks like:
`jQuery(document).ready(function($) {
$('.episode .video-link').bind('click', function(e) {
e.preventDefault();
	var vid = $(this).data('vid');
	var vlink = $(this).data('link');

	$('.modal.video').addClass('visible').find('.player-container .vimeo-player').attr("data-video-id", vid);
	$('.modal.video').find('.btn-primary').attr("href", vlink);

	var playermodal = plyr.setup('.modal.video')[0];

	playermodal.on('ready playing pause ended', function(event) {
	    switch(event.type) {
	        case 'ready':
	            break;
	        case 'playing':
				console.log(playermodal.getDuration());
	            break;
	        case 'pause':

	            break;
	        case 'ended':

	        	$('.modal.video .next-episode').fadeIn();

	        	break;
	    }
	});

	$('.close, .overlay').bind('click', function(e) {
		e.preventDefault();
		$('.modal').find('.player-container .vimeo-player').attr("data-video-id", "");
		$('.modal').find('.btn-primary').attr("href", "");
		$('.modal.video .next-episode').hide();
		playermodal.destroy();
		console.log("DESTROYED!");
	});

});

});`

I'm confused..Isn't your playermodal object is inside the anonymous function that is bound to .episode .video-link's click event? This would mean that the scope of this variable is only within this anonymous function.
In that case, if you defined $('.close, .overlay').bind('click', function(e) {...} outside of this anonymous function, the browser is expected to complain about not finding playermodal.

The undefined variable occurs either way. Maybe I'm not understanding how variables are declared, but it should be available to be accessed regardless of whether it's called within a function.
I did attempt to declare the variable outside of the function, with no success. When the destroy() is called it returns an "undefined variable". No matter where playermodal is declared.

Well, there is definitely a bug, but it is not that the player variable is undefined.
Check out this example: https://jsfiddle.net/gurupras/0wx9e754/

I am also getting undefined error for player @joerstom have you managed to fix this?

Closing this one as I think it's fixed but feel free to re-open if not solved in v3 👍


Fix static path in check-charts.sh

How to categorize this PR?
/area dev-productivity
/kind bug
What this PR does / why we need it:
Fixes the check-charts.sh script to use the passed parameter when detecting Charts to check. I suspect this has 0 impact, I checked many public gardener extensions, and they all pass ./charts as the argument. But we have a private extension where some charts are in different folders, which would not be covered.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:
I believe this requires no

NONE

/ok-to-test
/lgtm


F#3641 custom color data grid

Description

Custom color for each measure in DataGrid
Related Issue : #3641

How Has This Been Tested?

Grid chart creation
Color settings for measurements on the shelf
Check the dashboard

Need additional checks?
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 2

deploy to 2

deploy to 2

deploy to 2

deploy to 2


The Xf86VidMode library and headers were not found

when i am running ./install_ubuntu.sh, it show this error.
CMake Error at CMakeLists.txt:228 (message):
The Xf86VidMode library and headers were not found
I am using ubuntu 12.04 (precise) and ros hydro.
Hope anyone can help me. Thanks.
Add on:
I search on google and someone suggest to install xorg-dev and libglu1-mesa-dev depencies. However when i try to install xorg-dev, it remove a lot of packages.

Hi, did you installed the dependencies for libfreenect2 as mentioned in the README?

ROS Hydro/Indigo
OpenCV
PCL
Eigen (optional)
OpenCL (optional)
libfreenect2
do u mean this one? I am confirm i have installed ROS Hydro and OpenCV. For PCL, is it come by default? If not, can u show me some guideline? Sorry as i am newbie.

No, I meant the dependencies mentioned in the READMEs from iai_kinect2 and libfreenect2.
Those are for 14.04 but might also work for 12.04:
sudo apt-get install -y build-essential libturbojpeg libtool autoconf libudev-dev cmake mesa-common-dev freeglut3-dev libxrandr-dev doxygen libxi-dev libopencv-dev automake
Anyway, this is a problem related to libfreenect2, so it would be best, if you look on there GitHub for similar issues and maybe open a new issue there.

Yup. I did install. Alright. I try to ask there. Thanks a lot.


System.in does not pause

I found when following this guide that System.in.read() in Application.java did not pause as expected when using gradlew bootRun.  (It did work with the standalone jar.)  Apparently, this is due to a default override in Gradle.
https://discuss.gradle.org/t/why-doesnt-system-in-read-block-when-im-using-gradle/3308
http://stackoverflow.com/questions/13172137/console-application-with-java-and-gradle
The workaround is to add the following to the build script.
bootRun {
  standardInput = System.in
}

Little issues like this are a source of friction when getting started, so it would be good to either update the build script or add a footnote about it.

Good catch!
Will be fixed soon
Thank you!


Image isn't centered when browser is wider than ~1500px

Due to max-width of 1500 on container.

hi @jsit, thanks for raising this issue. We've spent some time addressing the gallery feature and implemented some updates that relate to this task and will be rolled out in v0.3.1 soon.


Additional configuration options for DaynaPort emulation

Info
From Discord user "speakers#7740"

I've been messing with piscsi Daynaport ethernet to write a driver for NetBSD. In particular, this is to provide ethernet on my SE30. The driver is based on the age-old se driver for Cabletron EA41x. I run NetBSD 3.1 on my 68k macs since it's reliable and reasonably fast -- although (amazingly) the latest version (9)  will install and run.
I have a functional driver, but I've also needed to modify the piscsi code in two respects. Firstly, the send delay workaround for MacOS needs to be disabled. Secondly, the minimum packet size needs to be raised from 64 to 128 so that small packets - particularly ARPs -- are exchanged correctly. The changes are dynamic and depend on the behavior of the client OS.  I can provide a diff.

Note that this needs to be updated on the fly, since the Mac will boot into MacOS first, then switch over to BSD

Here's diffs that enables both MacOS and NetBSD to use the DaynaPort emulation:
bsd.patch

@benjamink I'm aware that you have already spent a lot of time on #1306, but it would be great if you could also help here. I would like to verify whether the Mac really needs a work-around for the packet size. Most work-arounds in the piscsi code have turned out not to be required and some have even made things worse, so we should verify this. In case you agree I would modify the existing "testing_daynaport" branch accordingly and would ask you for an additional test with this branch.

@uweseimet absolutely!  Let me know what you need.

@benjamink Thank you! As far as I can tell two things have to be tested, and I created a new branch testing_daynaport_2 for this. This branch is identical to issue_1306, which you have tested earlier, except for a work-around I removed. I would like to know whether networking still works for you with this branch.

@uweseimet commit 0e77ab3fbdad14871d6ff0f02ddc63c935fd6c49 failed.
The Mac boots quickly without getting stuck on the AFP share mount but once the desktop loads the share is not mounted & an error pops up on the screen (I'll attach screenshot  in a moment).
piscsi-issue-1088.log

@benjamink OK, thank you. I just reverted the change and now applied a different change in order to test the second work-around regarding the packe size. Please update your testing_daynaport_2 branch and test again. No "make clean" required, just "make".

@uweseimet commit 5ab222acfe26fb9ab9f342f3ec0413c0d0cac8a3 works

@benjamink Once more, thank you for testing. This means that the Mac would be fine with unconditinally setting the packet size to a minumum of 128 bytes.
If this also works for the Atari this current value can simply be changed and it will work with all platforms without any platform-specific code.

No problem.  Just let me know if you need me to run any more.

@benjamink Not currently, thank you for the offer.

@anodynesoftware Just a quick question: Before we spend time on a trial-and-error approach, maybe you know by heart or can check whether your driver is fine with a minimum packet siize of 128 instead of 64 bytes?

OK, with some help I have managed to use the daynaport emulation with an Atari. I have just tested transfers with a minimum packet size of 128 bytes and there has not been an obvious issue.

Development note: For a work-around like the one suggested the initiator ID has also to be remembered. Otherwise there would be issues with more than one initiator on the same SCSI chain.

@speakers-k64 In the latest develop branch the minimum packet size is 128 bytes now. The other change you suggested might also be added, but needs to take the initiator ID into account (see my previous comment).
Can you please test whether the current develop branch works when you remove the DaynaPort relay? Please note that we depend on your feedback for changing this code. Without feedback we cannot we cannot test this change and would have to discard this ticket.

On 8 Nov 2023 at 14:08, Uwe Seimet wrote:

@anodynesoftware Just a quick question: Before we spend time on a
trial-and-error approach, maybe you know by heart or can check whether your
driver is fine with a minimum packet siize of 128 instead of 64 bytes?

Sorry for the delay in responding to this.  All the driver cares about is that
the encapsulated Ethernet packet size is within the range specified by the
Ethernet standard.  So if a packet is padded out to 128 bytes rather than 64 it
should make no difference.
Roger

@anodynesoftware Thank you for the feedback. Previous testing has confirmed this (eventually with a lot of help I was able to set up a running network on my TT). For PiSCSI the size has already been increased in the develop branch.

I am quite sure that you can configure this for a Mac .With other platforms this is definitely possible, e.g. with regular PCs, Ataris and various workstations.
My goal is not to implement platform-specific solutions or work-arounds when a general general solution is possible.


Create feap.txt

Include FEAP as Educational Organization

@MichelFortes First stage of verification passed, official domain is feap.edu.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thank you for your attention, Philip.

@MichelFortes Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Baker Challenges

rejected:B2
reason:insufficient number of restarts in logs

rejected:B2
reason:insufficient number of restarts in logs

confirmed:B4
address:4Xpe5w4CKSfRpv7uhEc4B4byedG5xbekiPbJnp3UUb4rqBcbWM
baker:42

confirmed:B4
address:4Xpe5w4CKSfRpv7uhEc4B4byedG5xbekiPbJnp3UUb4rqBcbWM
baker:42


Iss686 logger update

Summary of changes (Bug fix, feature, docs update, ...)

This includes suggestions of how we could incorporate both the progress bar and the logging to output file. This builds on the rich tool kit added previously (branched off Iss686_tqdm_to_rich_progress_bar). At the moment, this basically just turns off the standard out from the logger when the progress bar is in use

Please check if the PR fulfills these requirements

[x] All tests pass (none added at present)
[x] All code checks passing - black --line-length 110 run over code, mypy and flake8 not showing any errors

Not needed for current solution.


Containerize your microservice using Docker

Title: Containerize your microservice using Docker
As a developer
I need to containerize my microservice using Docker
So that I can deploy it easily with all of its dependencies
Assumptions

Create a Dockerfile for repeatable builds
Use a Python:3.9-slim image as the base
It must install all of the Python requirements
It should not run as root
It should use the gunicorn wsgi server as an entry point

Acceptance Criteria
Given the Docker image named accounts has been created
When I use docker run accounts
Then I should see the accounts service running in Docker


Update environment.md

Fixes https://github.com/mattermost/docs/issues/3280

Codecov Report
Base: 31.31% // Head: 31.31% // No change to project coverage :thumbsup:

Coverage data is based on head (c883b17) compared to base (eb406e7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #888   +/-   ##
=======================================
  Coverage   31.31%   31.31%
=======================================
  Files          49       49
  Lines        6017     6017
=======================================
  Hits         1884     1884
  Misses       3944     3944
  Partials      189      189

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Inheritance no longer working

after updated to 1.2 and PEX 1.9, none of my permissions are being inherited.
This is my permissions.yml file while has been working for a long time untill now:
http://pastebin.com/083JGdGN

    inheritance:
   - Newbie

Should be:
inheritance:
- Newbie
^
|
No indent ;)
Also, Hi salad!

thats just pastebin being fail

That is weird the inheritance is working fine in my test server...

Mine too.

Well the problem is world based inheritence
http://pastebin.com/X0DnrVkt
1st one doesnt work, 2nd does

i edited your permissions to be simpler and to work. =D
if you don't want to use them its ok.
http://pastebin.com/1YE5xsga
Btw... you need to give us VIP's more permissions than builders...  If you want.

Fixed! Thank you for bug reporting!


Add AugMix Transform in D2go

Summary: TorchVision has recently added the AugMix Augmentantion. This diff adds support of the specific transform to D2 (https://github.com/facebookresearch/d2go/commit/87374efb134e539090e0b5c476809dc35bf6aedb)go
Differential Revision: D37578243

I believe the linter issue is a false positive as I don't see a warning internally but I could be wrong.


Maestral Include List

Is your feature request related to a problem? Please describe.
I wanna use maestral to just sync one folder but have a bunch of files at my root dropbox
Describe the solution you'd like
have an include list to only sync one file
Describe alternatives you've considered
be able to exclude files with exclude

right now im using a script ill prob edit to work on a cron that does this
#!/usr/bin/zsh

for file in *
do
	if [[ "$file" != "Fileserver" ]]; then
		maestral excluded add "$file"
	fi
	#echo "$file"
done

How should it work if both the include and exclude lists are used? Exclude if path matches an entry in exclude list, and then include if include list is empty or path matches entry in include list? Or include/exclude based on the longest matching entry in either list?

I'd like this too.  I would use an include list instead of an exclude list.


lib/reloader: lint and modernize

Description

adopt _bash-it-log-prefix-by-path(),
shfmt,
shellcheck,

Motivation and Context
Trying to get this thing to run with spaces in path...
How Has This Been Tested?
This has been part of my main branch since September...
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

Ok, this should be a fairly straightforward improvement for @bash-it. I think this should be well inline with my other shellcheck fixes and hopefully uncontroversial. 😃

Rebased on current master and ready to go!


Update main.css

I have done some small changes
plz see them.
Thanks

This project is no longer maintained


Rename UserReport module to UserReportSDK

Resolves #4

I think this PR forgot to change the import in the README accordingly, btw.

I think this PR forgot to change the import in the README accordingly, btw.

import hasn't changed here. we've renamed the User class instead.

import hasn't changed here. we've renamed the User class instead.

import hasn't changed here. we've renamed the User class instead. As far as we realized that documentation is already sent we couldn't change the name of the module.

import hasn't changed here. we've renamed the User class instead. As far as we realized that documentation is already sent we couldn't change the name of the module.

Ok, I see. I was under the impression you were following semver.org and that before 1.0 everything could be breaking. But fair enough then.

Ok, I see. I was under the impression you were following semver.org and that before 1.0 everything could be breaking. But fair enough then.


[CI] Avoids concurrent writes to staging repos

What does this PR do?
Sets resource groups to prevent two jobs from modifying the same staging repo at the same time.
Additional Notes
Unsure if .kitchen_cleanup_s3_common needs to be handled too (it would potentially need several resource groups).

Edit: naming is not great. We should rename the second group of jobs to deploy_staging_*.

Should I rename them in this PR?

I think we could do it in the same PR :).

Thank you for the comments, hopefully it makes sense now. I kept the mutex on the DEB and RPM buckets and removed it from everything else (that is Windows, processes and dogstatsd). As far as I can see, the Windows staging deployment does not have the json file so they should be safe.


CORS stylesheets broken for relative resources

Simply downloading and injecting a CSS file into the DOM will break fonts and images referenced by a relative URL. This is because relative URLs within a <link>ed stylesheet are resolved against the URL of the CSS resource, but all resources in a <style> element are resolved against the URL of the document.
After downloading and before injecting the CSS, a processing step has to be introduced that scans the document for url("") and @import ""; occurrences and resolves relative paths against the stylesheet's URL.
Depending on URI.absoluteTo() for the heavy lifting may seem convenient, but adds way too much to the file size. The DOM URL interface is not available on iOS 7.

If we copy the classes with vh and vw,  with only vh, vw parts, on another style sheet and use buggyfill="ignore" on the main css. If we include the new file after the main css. Will this be a work around for relative images URLs and the loosing fonts?

that should work, yes


Updated instructions for developing with webpack proxy

With all the recent proxy changes, the README has become outdated.
https://issues.redhat.com/browse/COST-1750

Codecov Report

Merging #2061 (1f66866) into master (b2f33ad) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master    #2061    +/-   ##
========================================
  Coverage   70.68%   70.68%
========================================
  Files         404      404
  Lines        7347     7347
  Branches     1573     1441   -132
========================================
  Hits         5193     5193
- Misses       2128     2130     +2
+ Partials       26       24     -2

Impacted Files
Coverage Δ

src/components/charts/costChart/costChart.tsx
9.37% <0.00%> (ø)

...omponents/charts/dailyCostChart/dailyCostChart.tsx
7.89% <0.00%> (ø)

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 b2f33ad...1f66866. Read the comment docs.


Closing HTML tags with hyphens are not deindented properly

VSCode Version: 1.1.1
OS Version: Windows 7 x64

Steps to Reproduce:

Open an HTML file
Type "someTag" and hit Tab, Enter
Closing tag is placed on newline at same indentation level as opening tag
On a new line, type "some-tag" and hit Tab, Enter
Closing tag is indented from opening tag

duplicate of #6371


Is there a way to support custom picture backgrounds?

Similar to I can customize better chart templates.

pynimate uses matplotlib under the hood, so the same process will work here as well.
import os

import pandas as pd
from matplotlib import pyplot as plt

import pynimate as nim

dir_path = os.path.dirname(os.path.realpath(__file__))

df = pd.DataFrame(
    {
        "time": ["1960-01-01", "1961-01-01", "1962-01-01"],
        "Afghanistan": [1, 2, 3],
        "Angola": [2, 3, 4],
        "Albania": [1, 2, 5],
        "USA": [5, 3, 4],
        "Argentina": [1, 4, 5],
    }
).set_index("time")

# Read the image, this assumes the image is in the same directory as the file
img = plt.imread(dir_path + "\img.png")

# Use the post_update callback to add the image in the background
def post(self, i):
    # You must have a fixed x and y lim, so setting fixed_xlim=False will cause problems
    self.ax.imshow(img, extent=[0, bar.xlim[1], 0, bar.ylim[1]])

cnv = nim.Canvas()
bar = nim.Barhplot.from_df(df, "%Y-%m-%d", "2d", post_update=post)

bar.set_time(callback=lambda i, datafier: datafier.data.index[i].strftime("%b, %Y"))
cnv.add_plot(bar)
cnv.animate()
cnv.save("exampleimg", 24, "gif")
plt.show()

grateful!


Disable public upload to apt repository

Since Package file in apt repository is common for all users and there is no standard way to specify sharing scope for deb packages, we should close gorjun's apt repo for public upload, otherwise there might be collisions between user's and our packages.

@emli yes this issue is critical. lets close the apt repo

Which users should have private access for apt repo?

just for us it should be open


Tensorflow warnings

Tons of warnings arise of two types:
WARNING:tensorflow:Entity <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x00000217AD0119E8>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: converting <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x00000217AD0119E8>>: AssertionError: Bad argument number for Name: 3, expecting 4
and
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])

Got similar issue with the warning.
Wonder if possible to disable the Tensorflow warning? Tried to reset the log level in log_config.json, but did't work out.

Hi,
You can run
import tensorflow as tf
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)

in your code to suppress warnings and INFO messages from TensorFlow.

thanks @yoptar, I found the solution a month ago. The thing is that most of your users won't find this and important messages will be hidden in tons of non-relevant garbage info messages. Why don't create an argument for most important CLI commands (build_model, train_model, ...) log_level and adjust deeppavlov, keras, tf, pytorch, (...) and others

on the other side, a lot of tf warnings are good to solve on the deeppavlov side

Tensorflow will be removed from the library in the 1.0.0. Reducing the number of the warning is in progress.


feat: demo

Changes

Checklist

[ ] I followed contributing guidelines

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


Patched CVE-2024-22365 in pam. (CP: #8320)

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] Ready to merge

Summary

Porting #8320 from 2.0, which patched CVE-2024-22365 in pam.
Does this affect the toolchain?

No.
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-22365.

Test Methodology

PR check.

Auto cherry-pick results:

3.0-dev :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10896

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=666534&view=results


Introduce Labels interface

Allows for different implementations of labels rather than just map[string]string.  Allows for various occupancy improvements in Felix by calculating combined labels on-the-fly.
Existing interface is maintained and new EvaluateLabels() method added for back compatibility.
Targeting 2.1.1 for occupancy improvements so this isn't needed for 2.1.0.

Looks fine - but do we really need to support both Evaluate() and EvalutateLabels() though?

It made  my dev work a lot easier to be able to switch branches without swapping out libcalico-go and there might be other components relying on that interface such as calicoq so I don't think it's crazy.

LGTM


Plop Generator - Page creation with route

Page plop generator implementation with route information update.

This has been implemented


"filename (read-only) (read-only)" in title bar

Version: 1.26.0-insider
Commit: 0c2d71e2bb9a020995729ab7d5d5f8e4e897e657
Date: 2018-08-03T05:18:49.586Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

After opening any file, in the title bar next to the file name the string "(read-only) (read-only)" is shown. Nonetheless, this does not prevent editing and saving the file correctly.
Windows 10

Windows 7

A (possibly) related issue: after opening any file, if you:

go in the VSCode Explorer and click on the name of the same file

OR

click on the file name on the tag

the string "(read-only)" appear next to the file name on the tag of the open file.
Windows 10

Windows 7

@isidorn A few duplicates already, wanna look into this?

Repro steps:

Open file A
Open file B
Open file A

It shows A (read-only).

For me the "(read-only)" shows already when launching VS Code and a file was open in an editor
(and this happens on macOS too).

I'm experiencing this too

I can confirm the same issue on vscode-insiders

Fixed in latest out of source

Can confirm, same issue on Version 1.26.0-insider (1.26.0-insider), 0c2d71e2bb9a020995729ab7d5d5f8e4e897e657.

not issue on
Versión: 1.26.0-insider
Confirmación: 4fa62b246c4305b4ca00507551f77c58135ce928
Fecha: 2018-08-03T12:32:37.823Z

Yeah confirmed fixed on
Version: 1.26.0-insider
Commit: 4fa62b246c4305b4ca00507551f77c58135ce928
Date: 2018-08-03T12:32:37.823Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Thanks, adding verified label


Revert "Space sections substantially slower (5-15 sec, exponential) with cooling"

Reverts space-wizards/space-station-14#16115
Needs re-implementing to take advantage of existing cvars (and where none exist add them as cvars rathe than constants) if this is the route we want to go.

I can take a look at this. I don't think it requires a full revert; some of the numbers just need to be given CVars. If the original author is not available to do this, I can reverse engineer some constants out of the existing numbers.

I can take a look at this. I don't think it requires a full revert; some of the numbers just need to be given CVars. If the original author is not available to do this, I can reverse engineer some constants out of the existing numbers.

Should we even be using monstermos if we want tile-based pressure?

See also https://github.com/space-wizards/space-station-14/pull/16915

Thanks for the context, will look and get back to you on this.

I've proposed #19862 as an alternative to this.

sure


RF Support?

Last I checked this plugin did not support RF. I still use this for IR but was wondering if there is RF support added yet or planned?
Thanks

There isn't. This plugin is exclusively for Tuya IR.

Bummer. Sorry to ask another stupid question but is there a way I can convert the on/off switch I have right now to a "button" since there is no point of a switch knowing that the input device state cant be read

There isn't such control in HomeKit. If you use home bridge plugin exclusively to control the device, it will remember the state correctly.


Years might not be correct...

[Enter feedback here]
When looking for the versions and the dates behind them, I get a feeling that something might be wrong:
<IP_ADDRESS> (04/8/2018)  << Correct year ?
<IP_ADDRESS> (03/14/2018)  << Correct year ?
<IP_ADDRESS> (03/04/2019)
<IP_ADDRESS> (12/14/2018)
I believe the latest two are from 2019 not 2018.

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

ID: 1365f9b8-001c-daa7-592e-d88b9bb3a10e
Version Independent ID: ffba1b4d-1f19-4dac-0b55-053d98fe26b7
Content: Release notes
Content Source: Teams/room-systems/srs2-release-note.md
Product: skype-for-business-itpro
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@Petri-X Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@officedocsbot assign @scanum


⚛ Dark Mode Support

Description
All the dark mode support (including system support) to the website.
Note: not the component itself.

Done in #29


password reset

Sorry for leaving this hanging for so long :(
I think to finish this up on the server side, there are two more things to do. First, the reset controller should return a standard API response, using toItemResponse({}) (the item can be the empty object, since the token should not be sent back to the browser).
Second, the sendEmail method should take a transport option so the way email is sent can be configured. I think for welovekpop.club we'll use a free plan on a service like SendGrid or Mailchimp rather than a local server, for example. There's not a great way in master to pass options to controllers yet, so currently a transport option would have to be passed down from the ApiV1 class, into the authenticate router, into the reset controller method, into the sendEmail method. for reference, the authenticate router already receives a secret option for password encryption that's passed down in a similar way.
Then sending the email would be a case of calling the sendEmail method on the transport option if available, and otherwise creating a default transport that uses localhost like what the current code does.

Is it clear what I'm looking for re: the mail transport stuff? The end goal is that server hosts can do something like
new ApiV1(uwaveInstance, {
  mailTransport: {
    // options for `nodemailer.createTransport(options)`
  }
})

and
import sendgridTransport from 'nodemailer-sendgrid-transport'
new ApiV1(uwaveInstance, {
  mailTransport: sendgridTransport({
    auth: { api_key: 'sendgrid api key' }
  })
})

and have the reset password mail be sent over a Nodemailer transport with the given configuration.

btw, @goto-bus-stop still need an html page for the reset password form.

Rebased&merged in f710364, thanks for working on this! :tada:


Incorrectly read existing wg0.conf file

I already have WireGuard installed and configured as VPN server.
When I install wg-dashboard, it doesn't correctly read and display existing configuration.
For example, my server pubkey is /m/cR7xfgePNY5Xo0xjmEBPVIzXNZFqJXNtIPQ1CwTU=, but wg-dashboard displayed ph7o+zVZV78yMPErK3PaHrJOHeadJ52624QvO2OMUxM=.

When I install wg-dashboard, it doesn't correctly read and display existing configuration.
wg-dashboard does not read your existing config at all. It comes with its own config management - meaning you can not use your old config and need to re-apply your settings.

Or you manually edit the file server_config.json and insert your previous config there. But do so on your own risk :P

Closed due to inactivity.


Lack of helpful error messages

I'm trying to build packages on windows and macOS, when I ran the command cargo packager on project directory
the following error is shown on terminal
ERROR No such file or directory. (os error 2)`

When I used the --verbose flag, the error message is not better in terms of information
DEBUG cargo_packager::shell: Running Command `"rustc" "--print" "cfg"`
DEBUG cargo_packager::shell: debug_assertions
DEBUG cargo_packager::shell: panic="unwind"
DEBUG cargo_packager::shell: target_arch="x86_64"
DEBUG cargo_packager::shell: target_endian="little"
DEBUG cargo_packager::shell: target_env="msvc"
DEBUG cargo_packager::shell: target_family="windows"
DEBUG cargo_packager::shell: target_feature="fxsr"
DEBUG cargo_packager::shell: target_feature="sse"
DEBUG cargo_packager::shell: target_feature="sse2"
DEBUG cargo_packager::shell: target_has_atomic="16"
DEBUG cargo_packager::shell: target_has_atomic="32"
DEBUG cargo_packager::shell: target_has_atomic="64"
DEBUG cargo_packager::shell: target_has_atomic="8"
DEBUG cargo_packager::shell: target_has_atomic="ptr"
DEBUG cargo_packager::shell: target_os="windows"
DEBUG cargo_packager::shell: target_pointer_width="64"
DEBUG cargo_packager::shell: target_vendor="pc"
DEBUG cargo_packager::shell: windows
ERROR cargo_packager::cli: No such file or directory. (os error 2)

I'm using packager.json with the following content:
{
    "name": "telescope",
    "description": "description",
    "longDescription": null,
    "enabled": true,
    "productName": "Telescope",
    "version": "0.0.1",
    "binaries": [
      {
        "path": "telescope",
        "main": true
      }
    ],
    "identifier": "org.rafaga.telescope",
    "beforePackagingCommand": null,
    "beforeEachPackageCommand": null,
    "logLevel": "info",
    "formats": null,
    "targetTriple": null,
    "homepage": "http://github.com/",
    "icons": ["../assets/icon01-256.png","../assets/icon01-1024.png"],
    "authors": [
      "Rafael Amador Galván"
    ],
    "publisher": null,
    "licenseFile": "../LICENSE.md",
    "copyright": null,
    "category": "Utility",
    "fileAssociations": null,
    "resources": [
      {
        "src": "assets/icon01-*.png",
        "target": "assets/icon01.*.png"
      },
      "Lorem ipsum"
    ],
    "externalBinaries": null,
    "windows": {
      "tsp": true,
      "allowDowngrades": true
    },
    "macos": {
      "frameworks": null,
      "entitlements": null
    },
    "deb": null,
    "appimage": null,
    "pacman": null,
    "wix": null,
    "nsis": {
      "compression": "lzma",
      "headerImage": null,
      "installerIcon": null,
      "installMode": "currentUser",
      "languages": [
        "English",
        "Spanish"
      ],
      "displayLanguageSelector": true,
      "appdataPaths": ["$LOCALAPPDATA/$PRODUCTNAME"]
    },
    "dmg":{
      "background": null
    }
  }

There is any way to get more helpful error messages?

I tried your suggestion, yet no success. Thank you for taking some time in solving this issue

could you share the repo with the issue or a simple replica of it so I can take a better look?

I can see two issues here:

All paths specified in the config use ../ where it should be just ./ as these files all reside next to the config.

You're using a packager.json config file and when cargo-packager sees a dedicated config file, it can't tell it is a rust project or not and so it doesn't set the outDir value automatically, so you need to add "outDir": "target/release" (the path where cargo outputs your executable) or move your config to Cargo.toml under [package.metadata.packager] key like this https://github.com/crabnebula-dev/cargo-packager/blob/2ad7706a3c8929dcd50a220c98c2c29032fdf187/examples/egui/Cargo.toml
I am not sure if we can automatically detect if it is a Rust project with a dedicated config, but as a last resort we can add an option in config to explicitly tells us, maybe "isRust": true or something.

Ok, it runs but ... in the config file in the repo I'm Using Wix Toolkit, and builds the installer on NSIS , nsis configuration part has null value.

wix install is not built by default, set "formats": ["wix", "nsis", "app", ...etc ] in the config


Attachments missing

Hi,
I use mark. The upload of attachments  has worked well.
Since a couple a day, for the same MD file which worked, currently, it's not working well.
Body is uploaded in confluence but attachments were not. Moreover, mark is not generating error and using debug or trace modes, I can't detect the origin of this issue.
Could you help to understand what happens? ( Method to debug, to analyze ...)
I have tried to change relative of attachments and nothing
Thanks

Hi, could you provide trace logs and minimal source file with sensitive information removed from it?
Also, do you use confluence cloud or confluence server (and which version if it's server)?

Thanks for your help @kovetskiy
https://gist.github.com/malys/fb9b7e3dbdd04720f9c9c8a8f7dfade4 contains wanted informations. If you are detecting sensitive data in gist please inform me.
If it's necessary I can share with you unformatted trace.

I see, that's because mark is looking for triple line break after meta tags to start rendering the real content, and you have these line breaks before the <!-- Attachment
<!-- Space: RHSSO -->
<!-- Parent: infrastructure -->
<!-- Title: authentication domains -->

<!-- Attachment: ./plantuml/architecture-intra.puml.png -->

<!-- Attachment: ./plantuml/architecture-inter.puml.png -->

## Test

Try the following instead:
<!-- Space: RHSSO -->
<!-- Parent: infrastructure -->
<!-- Title: authentication domains -->
<!-- Attachment: ./plantuml/architecture-intra.puml.png -->
<!-- Attachment: ./plantuml/architecture-inter.puml.png -->

## Test

This seems like a bug that should be fixed though, mark should tolerate such tags placements.

Great @kovetskiy! It was tricky and It's currently working well.
FYI and it could be inspired you:
I have created a pre processing script https://gist.github.com/malys/bda40629445f12e5a3bcb90a81daab63
  => generate automatically image from release_stable.puml to attach it
 => insert code snippets
Thanks a lot.


Python 3.12 cannot use from other projects

Georinex is a project using ncompress that fails with Python 3.12 on any OS: https://github.com/geospace-code/georinex/actions/runs/7683841372/job/20939652614
I also see this on a local computer with Python 3.12.1:
>>> import ncompress
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "miniconda3\envs\py312\Lib\site-packages\ncompress\__init__.py", line 2, in <module>
    from .ncompress_core import compress, decompress
ModuleNotFoundError: No module named 'ncompress.ncompress_core'

Thanks for letting me know. I'll look into it right away.

@scivision The issues you saw were caused by the source distributions on PyPI missing CMakeLists.txt for some reason. I added an extra test against that to the pipeline and it has apparently resolved on its own, somehow.
I also added a new v1.0.2 release with Python 3.12 stable ABI wheels.
Thanks again for the bug report!


Crash After Purchase

Version of react-native-iap
"react-native-iap": "^4.0.2",
Version of react-native
60
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
App makes purchase successfully and returns to executing code
Actual behavior
App makes successful purchase and crashes. Everytime I navigate back to the view or call
RNIap.getProducts(itemSkus).then((result) =>
);
The app crashes again
Tested environment (Emulator? Real Device?)
Live testing in both stores
Steps to reproduce the behavior
Download library install publish app for testing make purchase.
Initialization code
import React from 'react'
import RNIap, {
purchaseErrorListener,
purchaseUpdatedListener,
} from 'react-native-iap';
import {Platform} from 'react-native'
const itemSkus = Platform.select({
ios: [
"baron58_features",
],
android: [
"baron58_features",
]
});
class IAPmodule extends React.Component {
purchaseUpdateSubscription = null
purchaseErrorSubscription = null
componentDidMount() {
    try {
      // It looks like the code is failing around here
        RNIap.getProducts(itemSkus).then((result) =>
            console.log('IAPInitialize', result)
        );
    } catch (err) {
        console.warn(err.code, err.message);
    }

    this.props.purchaseProduct(async (productId) => {
        await this.requestPurchase(productId)
    })
    ------→ It looks like the code is failing around here
    this.purchaseUpdateSubscription = purchaseUpdatedListener((purchase) => {
        console.log('purchaseUpdatedListener', purchase);
        const receipt = purchase.transactionReceipt;
        if (receipt) {
            yourAPI.deliverOrDownloadFancyInAppPurchase(purchase.transactionReceipt)
                .then((deliveryResult) => {
                    if (isSuccess(deliveryResult)) {
                        if (Platform.OS === 'ios') {
                            RNIap.finishTransactionIOS(purchase.transactionId);
                        } else if (Platform.OS === 'android') {
                            // If consumable (can be purchased again)
                            RNIap.consumePurchaseAndroid(purchase.purchaseToken);
                            // If not consumable
                            RNIap.acknowledgePurchaseAndroid(purchase.purchaseToken);
                        }
                    } else {
                        // Retry / conclude the purchase is fraudulent, etc...
                    }
                });
        }
    });

    this.purchaseErrorSubscription = purchaseErrorListener((error) => {
        console.warn('purchaseErrorListener', error);
    });
}

componentWillUnmount() {
    if (this.purchaseUpdateSubscription) {
        this.purchaseUpdateSubscription.remove();
        this.purchaseUpdateSubscription = null;
    }
    if (this.purchaseErrorSubscription) {
        this.purchaseErrorSubscription.remove();
        this.purchaseErrorSubscription = null;
    }
}
requestPurchase = async (sku) => {

    //await RNIap.prepare();
    await RNIap.requestPurchase(sku, false);
}

requestSubscription = async (sku) => {
    try {
        await RNIap.requestSubscription(sku);
    } catch (err) {
        console.warn(err.code, err.message);
    }
}

render() {
    return null
}

}
export default IAPmodule

Please try 4.0.3.
It wasnt stable until 4.0.2


add limited listener

Codecov Report
Base: 66.56% // Head: 66.47% // Decreases project coverage by -0.09% :warning:

Coverage data is based on head (1b815a2) compared to base (d44fd05).
Patch coverage: 63.63% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage   66.56%   66.47%   -0.10%
==========================================
  Files           8        8
  Lines         344      355      +11
==========================================
+ Hits          229      236       +7
- Misses         94       98       +4
  Partials       21       21

Flag
Coverage Δ

unittests
66.47% <63.63%> (-0.10%)
:arrow_down:

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

Impacted Files
Coverage Δ

gemax/server.go
82.65% <63.63%> (-2.41%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


is it possible to load an interactive mindmap into a markdown file

is is possible to load the image as a clickable image?

Sorry but I'm sure what you mean... Can you please provide a detailed example?

I have just that question: using mermaid, as in the following:
Video 17. Candidate Architectures for the Frontend

diagram

sequenceDiagram
participant Strapi
participant NextJSDev
participant Repo
participant NextJSVercel
loop Content Modeling
  Strapi->>Strapi: Create Collection Type Content Types
  Strapi->>Strapi: Create Single Type Content Types
end
NextJSDev->>Repo: push
Repo->>NextJSVercel: deploy
loop Build
  NextJSVercel->>Strapi: getStaticProps
  NextJSVercel->>Strapi: getPosts
end

The following renders upon execution of markmap as inline code, but the mermaid specification (supported now in Joplin) is not supported.
Thanks so much for your hard work on this great app!


Can't connect to server

Was working fine. Now not and gives me the error, Can't connect to server.
I can send login information. Just tell me where.

Please create a proper issue. What versions, OS, include logging and screenshots, etc.

Was working fine. Now not and gives me the error, Can't connect to server.

If you did not do anything, then maybe your provider did. Do you access an external server? Maybe your hoster blocked access to them.
But @ervee ist right, you should give at least some information what you did before ist happened and some information on the version and the server situation. Else this will be just guessing and not helping.

From the admin panel:
About
2016 © All Rights Reserved.
http://rainloop.net/
RainLoop
<IP_ADDRESS>
Simple, modern & fast web-based email client
RainLoop is up to date.
I don't know where the logs are located. And as far as a screen shot it does the spinning loading circle and then just says "Can't connect to Server".
Its running on Apache.

Its running on Apache on a hosted server within my reseller account

Ask your reseller if he changed some firewall settings recently.

Got it figured out. IMAP port had changed on my server.

Got it figured out.

Can you also figure out how to close a solved issue?

simplexml_load_string(): ^ in /home/xxxxxxx/public_html/email/rainloop/v/1.13.0/app/libraries/SabreForRainLoop/DAV/Client.php on line 604
this error is logged in error log file how to resolve it?? is it the reason for same issue can t connect

this error is logged in error log file how to resolve it?? is it the reason for same issue can t connect

you should not add questions to old but resolved issues. Open a new ticket and give more information on your server, settings and procedures.

this error is logged in error log file how to resolve it?? is it the reason for same issue can t connect

you should not add questions to old but resolved issues. Open a new ticket and give more information on your server, settings and procedures.

Thanks for the suggestion , followed your words.

followed your words.

#1961: well, not exactly.
[ x ] Open a new ticket
[ ] give more information on your server, settings and procedures.


misplaced documentation for MediaQuery's textScalerOf and maybeTextScalerOf methods

The current documentation for maybeTextScalerOf is showing

Returns the [TextScaler] for the nearest [MediaQuery] ancestor or [TextScaler.noScaling] if no such ancestor exists.

while the documentation for textScalerOf is showing

Returns the [TextScaler] for the nearest [MediaQuery] ancestor or null if no such ancestor exists.

Looks like the two got exchanged.
Source code location:
https://github.com/flutter/flutter/blob/db7ef5bf9f59442b0e200a90587e8fa5e0c6336a/packages/flutter/lib/src/widgets/media_query.dart#L1300C22-L1300C39
flutter --version output:
Flutter 3.16.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision db7ef5bf9f (12 days ago) • 2023-11-15 11:25:44 -0800
Engine • revision 74d16627b9
Tools • Dart 3.2.0 • DevTools 2.28.2

Thanks for pointing this out


New widgets are added at the beginning with autoPosition = true

When adding a new widget with autoPosition = true, it adds it at the very beginning of the items from a display standpoint, at x=0 and y=0.  This messes up the entire format of what has already been done.  I can fix this by looking at everything before I add a new item, however, I'd really like to be able to have an option that has it add items to the end so it does not mess up any current formatting and positioning.

I use it like this and works fine:
$('.grid-stack').data('gridstack').addWidget($('

'), null, null, null, null, true);

@adamlytics There's an open issue about this. It's a bug that will be resolved for version 1. Sorry for the inconvenience.


How can we generate test_vctk.meta?

Hi @auspicious3000, can you please provide me with the code to generate test_vctk.meta? The format of train_vctk.meta (which is generated using prepare_train_data.py) is very different from test. I would like to test your code on new data.

I don't have the exact code for that. However, by looking at the inference code, you can easily see that only cep_real_A,                                               real_mask_A, len_real_A, spk_emb_B is required. As long as you can input these, it doesn't matter what the exact test_vctk.meta looks like.

@avanitanna Yes.

@avanitanna Hi can you please provide me with the code to generate test_vctk.meta?

@AyaRabea I don't have the exact code for that. However, by looking at the inference code, you can easily see that only cep_real_A, real_mask_A, len_real_A, spk_emb_B is required. As long as you can input these, it doesn't matter what the exact test_vctk.meta looks like.

谁能知道你这几个变量代表了啥呢？cep_real_A, real_mask_A, len_real_A, spk_emb_B
开源了代码又不给复现，这样真的好吗


[Package Issue]: Citrix.Workspace is producing an 3010 exit code

Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Winget installation of Citrix.Workspace results in exit code 3010, this is causing the installation to be logged as a failure
Logs:
12-11-24 13:59:58 - Found Citrix Workspace [Citrix.Workspace] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://downloadplugins.citrix.com/ReceiverUpdates/Prod/Receiver/Win/CitrixWorkspaceApp<IP_ADDRESS>.exe
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 3010
Steps to reproduce
winget install --id Citrix.Workspace  ( I am using Nerdio for this though)
Actual behavior
Installer exit code 3010 indicates that a reboot is required.
Expected behavior
It'll be ideal of error code is recognised as the installer simply needing a reboot
Environment
winget --info
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4541
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Screenshots and Logs
No response

Manually verified via Windows Sandbox, unable to reproduce. 😕
23:36:43 ~\...\winget-pkgs  [master ≡] 2ms pwsh> .\Tools\SandboxTest.ps1
--> Checking Dependencies
--> Starting Windows Sandbox, and:
    - Mounting the following directories:
      - C:\Users\Dragon1573\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\SandboxTest as read-and-write
      - C:\Users\Dragon1573\DevDrive\Repository\winget-pkgs as read-and-write
    - Installing WinGet
    - Configuring Winget

--> Installing WinGet
--> Disabling safety warning when running installers
Tip: you can type 'Update-EnvironmentVariables' to update your environment variables, such as after installing a new software.

--> Configuring Winget
Enabled admin setting 'LocalManifestFiles'.
Enabled admin setting 'LocalArchiveMalwareScanOverride'.
PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget install --id Citrix.Workspace
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Do you agree to all the source agreements terms?
[Y] Yes  [N] No: Y
Found Citrix Workspace [Citrix.Workspace] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://downloadplugins.citrix.com/ReceiverUpdates/Prod/Receiver/Win/CitrixWorkspaceApp<IP_ADDRESS>.exe
  ██████████████████████████████   359 MB /  359 MB
Successfully verified installer hash
Starting package install...
Successfully installed

In #153966, the silent install parameter for this package was changed. I did not find a description of the /norestart parameter in the documentation for the package, but did find [a description of the noreboot parameter](https://docs.citrix.com/zh-cn/citrix-workspace-app-for-windows/install#% E5%B8%B8%E7%94%A8%E5%8F%82%E6%95%B0).
Maybe it's caused by wrong installation parameters?

原文
在 #153966 中，该软件包的静默安装参数被修改了。我在该软件包的文档中没有找到关于/norestart参数的说明，但找到了关于noreboot参数的说明。
也许是因为错误的安装参数引起的？

Should be fixed in #199973.

Should be fixed in #199973.

Thank you 👍


Add _WD_LocateElement

Pull request
Proposed changes
There should be easy way to find element location in the frame list returned by _WD_FrameList
Checklist

[x] I have read and noticed the CODE OF CONDUCT document
[x] I have read and noticed the CONTRIBUTING document
[ ] I have added necessary documentation or screenshots (if appropriate)

Types of changes
Please check x the type of change your PR introduces:

[ ] Bugfix (change which fixes an issue)
[x] Feature (change which adds functionality)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (functional, structural)
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
No easy way to find element location in the frame list because _WD_FindElement finds element only in current location (  main document or desired frame selected by _WD_FrameEnter  )
What is the new behavior?
It shoul be easie with _WD_ElementExist
Additional context
This was initially discussed here:
https://github.com/Danp2/au3WebDriver/pull/362#issuecomment-1207494392
and here
https://github.com/Danp2/au3WebDriver/pull/362#discussion_r944392108
System under test
not related

@Danp2
Before I proceed with further work on this functionality, please check if you will initially accept it.

Please check it with modified wd_demo.au3

Please check it with modified wd_demo.au3

I did. Unfortunately, it doesn't work for me. This is what I get in the logs --
_WD_ElementExist ==> Success [0] : Parameters:   Strategy=css selector   Selector=div.trytopnav   ShadowRoot=Default    : LocationOfElement= null
wd_demo.au3: (583) : $sLocationOfElement1=null
<snip>
_WD_ElementExist ==> Success [0] : Parameters:   Strategy=css selector   Selector=div.trytopnav   ShadowRoot=Default    : LocationOfElement= null
wd_demo.au3: (606) : $sLocationOfElement2=null

And this are correct result.
If you want other example provide another website where desired element is located in inner frame.

OIC. I misinterpreted the results by assuming that "null" was incorrect.

OIC. I misinterpreted the results by assuming that "null" was incorrect.

So I assume that now you understand that null is correct location for this element, as it is located on top window

@mlipok Some feedback on this PR --

I'm still trying to understand the "Use Case" for this function.
I find the function name misleading.  Have you considered any other names (ie: something like _WD_ElementContext)?
How do you plan to handle multiple matching elements? Hidden / disabled elements?

I'm still trying to understand the "Use Case" for this function.

When non advance user is using HTML dom to find element by XPATH or by CSSQuerySelector they do not bother about frames as because browser find them just a way.
So user is using _WD_FindElement which as you can expect in case of frames do not find the desired element, because frame was not changed.
You can even teach user how to use browser to check if there are frames. But how would you like to pass the way of identifying a particular frame to the format required by _WD_FrameEnter ?
If user say my XPATH works in browser but not with _WD_FindElement then you should say use the same XPATH with _WD_ElementExist / _WD_ElementeContext and result use with _WD_FrameEnter before you try to use _WD_FindElement

btw.
Even I have sometimes problem with localizing the element in HTML DOM context .
Of course I find them but it should be easier, and for this reason I create this function.
As you can locate them easily on browser but this is not always easy to get the rigth path like null/2/0/1

How do you plan to handle multiple matching elements? Hidden / disabled elements?

Multiple matching is good point. And will be added soon in this PR.
Firstly I want be sure that current state is fine, and I can do next step = multiple element support
Hidden/Disabled that is not our concern. We only finding element locations. I can compare it to _WD_ElementFind which also to not bother about Hidden/Disabled status.

I find the function name misleading.  Have you considered any other names (ie: something like _WD_ElementContext)?

My observation:

The au3WebDriver UDF is using Frame in fucntion names not Context.
We are planing to have multiple Elements support
specific XPATH or CSSQuerySelector can locate multiple Elements on multiple Frames

My new proposals for function name are: _WD_GetElementsFramesLocations or _WD_ElementsFramesLocations or _WD_ElementsFrames

I'm still trying to understand the "Use Case" for this function.

try to use:
_WD_Navigate($sSession, "https://www.tutorialspoint.com/html/html_frames.htm#")
_WD_ELementExist($sSession, $_WD_LOCATOR_ByCSSSelector, "li.nav-item[data-bs-original-title='Home Page'] a.nav-link[href='https://www.tutorialspoint.com/index.htm']")

As you can locate them easily on browser but this is not always easy to get the rigth path like null/2/0/1

It's been a while since I've had to work with frames, but IIRC I always located the frame first with _WD_FindElement and then passed the Element ID to _WD_Window / _WD_FrameEnter.

My new proposals for function name are: _WD_GetElementsFramesLocations or _WD_ElementsFramesLocations or _WD_ElementsFrames

Only the last one has any chance of approval. 😉 Another for consideration is _WD_FindElementFrames.

_WD_FindElementFrames is the best.

It's been a while since I've had to work with frames, but IIRC I always located the frame first with _WD_FindElement and then passed the Element ID to _WD_Window / _WD_FrameEnter.

I had today an issue related to frames which I solve using _WD_FrameList - I just observe when relative path was changed.

I'm still trying to understand the "Use Case" for this function.

So is it now clear to you what is the purpose of this function ?

So is it now clear to you what is the purpose of this function ?

I tried running your revised demo, but it didn't complete successfully --
__WD_FrameList_Internal ==> Webdriver Exception [10] : Parameters:    Level=null/0 Information: Error occured on "null/0" level when trying to check atributes child frames #0
_WD_FrameList ==> Webdriver Exception [10] : Parameters:    ReturnAsArray=True Information:  Was not able to check / back to "calling frame"
! ---> @error=10  @extended=0 : Example 7
_WD_ElementExist ==> General Error [1] : Parameters:   Strategy=css selector   Selector=li.nav-item[data-bs-original-title='Home Page'] a.nav-link[href='https://www.tutorialspoint.com/index.htm']   ShadowRoot=Default > Was not able to check / back to "calling frame" : StartLocatkon=    : LocationOfElement=
wd_demo.au3: (711) : $sLocationOfElement3=

The error seems to originate on this line -- https://github.com/Danp2/au3WebDriver/blob/0eb6cc9cdb97e42219ed76485885c46b16ed5209/wd_helper.au3#L828
__WD_Post: URL=HTTP://<IP_ADDRESS>:4444/session/48e7da9c-3a00-4644-b871-ba2fa15123ea/execute/sync; Data={"script":"return document.querySelectorAll('iframe')[0].outerHTML;", "args":[]}
__WD_Post ==> Javascript Exception [21] : HTTP status = 500 ResponseText={"value":{"error":"javascript error","message":"TypeError: document.querySelectorAll(...)[0] is undefined","stacktrace":"@https://www.tutorialspoint.com/html/src/creating_frames.htm:2:23\n@https://www.tutorialspoint.com/html/src/creating_frames.htm:3:8\n"}}
_WD_ExecuteScript ==> Javascript Exception [21] : Error occurred when trying to ExecuteScript
__WD_FrameList_Internal ==> Webdriver Exception [10] : Parameters:    Level=null
_WD_FrameList ==> Webdriver Exception [10] : Parameters:    ReturnAsArray=True Information:  Was not able to check / back to "calling frame"
! ---> @error=10  @extended=0 : Example 7

So is it now clear to you what is the purpose of this function ?

I understand what it does. It just doesn't feel "natural" to me since I've never located a frame in that manner.

It just doesn't feel "natural" to me since I've never located a frame in that manner.

I am not surprised as the ability to specify a path is a new feature ;)

@mlipok Did you miss this? #386 (comment)

WIP

When I perform test then I have many issues with internet connectivity.
I think my Zyxel UTM thinks my internet activity is suspicious.

@mlipok Did you miss this? #386 (comment)

do you still have this?
If you add 10 seconds of waiting after navigation (to be sure that everything is normal), does the problem stop or is it still happening?

do you still have this?

Yes

If you add 10 seconds of waiting after navigation (to be sure that everything is completed), does the problem stop or is it still happening?

Still occurs

Analyzing.

I have already done this function but there is too many conflict.
I also have it developed on currently WIP (not jet merged PR's)
I will back with new PR when ASAP.
Temporary closing this PR.


Change to 6.0 for release. So many changes deserves a big number

Let's get the static analyser stuff in, then this, and tag, and stuff

Waiting on https://github.com/mono/libgdiplus/pull/577 before we do this thing


Can't read readme

In some circumstances (yet to be investigated), a README.md file may not be read.
It seems like IOUtils.toString(cache.openStreamFor(readme), "UTF-8") returns an empty content for an existing markdown file. But why? Could it be a weird question of file encoding?

After some first-level investigation, it appears it is a return of an old bug.


Latest release contains a logback.xml

It looks like the last release added a logback.xml configuration, this overrides logging in our application. I'm not sure if that was intentional? And if it was it should probably be added to the release notes.
https://github.com/vandeseer/easytable/commit/db55cee99ee22e0ac1b448416a7f2a5d7472b557

I guess it was only semi intentional: a version upgrade from a dependency led to trillions of log messages when building this library. I added the logback.xml file in order to silence it, but I think it should have ended in the tests related folder.
Thanks for reporting, will have a look soon

Fixed it now.

Thank you!


Versioning, syncing and disabling ledger for incompatible versions

I'm also wondering if there should be a separate field for Ledger version for sync disabling or when we would want to break the sync it would be better to update MAJOR ?

when we would want to break the sync it would be better to update MAJOR

I think we should connect sync to MAJOR version. Since any backwards incompatible change is also a good reason to not communicate with older versions...


HHH-15725 Criteria API Expression.as adds cast even when the cast type is equal to the expression type

https://hibernate.atlassian.net/browse/HHH-15725

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

Leading to all jobs failing

@sebersole looking at the failures


Roll Flutter from 6c3a0e4d21da to a0ef08dec4aa (12 revisions)

https://github.com/flutter/flutter/compare/6c3a0e4d21da...a0ef08dec4aa
2022-06-25<EMAIL_ADDRESS>Roll Flutter Engine from 674b90f6226c to 9caf2f9e0688 (1 revision) (flutter/flutter#106600)
2022-06-25<EMAIL_ADDRESS>Roll Flutter Engine from a1dd50405992 to 674b90f6226c (1 revision) (flutter/flutter#106598)
2022-06-25<EMAIL_ADDRESS>Fix BidirectionalIterator deprecation warning and roll engine to a1dd50405992 (flutter/flutter#106595)
2022-06-25<EMAIL_ADDRESS>Roll Flutter Engine from 83b9a591a3d5 to 4446e3edda6a (5 revisions) (flutter/flutter#106591)
2022-06-25<EMAIL_ADDRESS>Fix .packages breakage and roll engine to 83b9a591a3d5 (flutter/flutter#106584)
2022-06-24<EMAIL_ADDRESS>Export public API types from foundation/scheduler/gestures/semantics (flutter/flutter#106409)
2022-06-24<EMAIL_ADDRESS>Update 2_bug.md to ask for backtrace explicitly (flutter/flutter#103001)
2022-06-24<EMAIL_ADDRESS>[flutter_tools] tool exit from flutter create when provided just a drive letter (flutter/flutter#106451)
2022-06-24<EMAIL_ADDRESS>Roll Flutter Engine from fc08bf45b0a8 to ea756c55f29a (39 revisions) (flutter/flutter#106574)
2022-06-24<EMAIL_ADDRESS>[flutter_tools] migrate project-validate to analyze --suggestions (flutter/flutter#106149)
2022-06-24<EMAIL_ADDRESS>feat(tools): Arbitrary browser flags (closes #65575)  (flutter/flutter#104935)
2022-06-24<EMAIL_ADDRESS>Roll Plugins from dfd1b6e7d83e to 8bf46f15bfe8 (9 revisions) (flutter/flutter#106564)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Support receiving message ids to delete in bulk.

After https://github.com/zulip/zulip/commit/cda7b2f5393b803f521f45f566b520ebcd9b8d20, client can specify if it supports bulk deletion of messages via passing bulk_message_deletion = True in client_capabilities on /register request.
See do_delete_messages in action.py on zulip/zulip for expected event data formatting in response.
Note that the old event data formatting will be removed in Zulip 2.3 release, so this should be fixed with priority.

Thanks for the heads-up, @amanagr!
IIUC, the type of the new bulk-delete event is "delete_message", which is identical to what it is for the now-deprecated event (that only deletes one message): https://github.com/zulip/zulip/blob/cda7b2f5393b803f521f45f566b520ebcd9b8d20/zerver/lib/actions.py#L4596.
This is fine; we can distinguish the new one by its having "message_ids" instead of "message_id".

@gnprice, should we split this into two Redux actions, e.g., the current EVENT_MESSAGE_DELETE action and a new EVENT_MESSAGES_DELETE action, or just modify the existing EVENT_MESSAGE_DELETE action, kind of following the server's choice here?

Let's follow the structure of the server's event.

Hmm, just so I understand correctly, are you saying we should overwrite our EVENT_MESSAGE_DELETE action, reducers, etc., in-place to handle the new (bulk-delete) shape? I agree that we should try to name and arrange things as much as possible to mirror the server API.
But if we want to preserve compatibility with older servers, I think there might have to be some differences, such as having the EventMessageDeleteAction type basically be a union of the old shape and the new shape. Does that sound right, and is it a goal to still be able to handle the old shape?

What we do in some server-side testing code is just convert the old shape into the new shape on receipt, and then write all the rest of the code against the new shape.  I think that's an attractive pattern for this (and most other forms of data format migrations, actually).

I agree with Tim's answer completely :slightly_smiling_face:


Button component

Button Component:
You can view the UI
https://nan-ui.netlify.app/components/button/button.html

Looks good

Nan is a beautiful component library. Found an issue where sidebar that gets converted to a dropdown not listing down on smaller screensizes. I think giving flex-direction to column on doc-container on smaller screensizes is simplest way to handle responsiveness.


Creating a new resource - The list of resource types should be alphabetized!

The list of resource types to choose from when creating a new resource really should be alphabetized to make it easier to find the type you want to choose.

It would be great if we can do two groups inside the list: one for the data resources and the other for the model resources. Then underneath each group we can arrange the resource types alphabetically

Good idea, @mohamedmorsy. Let's start with just alphabetizing what is there, and then maybe we can find a better way. For example, there could eventually be two drop down lists, one for data and one for models...

This has been implemented and deployed. Please confirm and close.

Well - the list isn't really alphabetized, but the groups of resources have been created, and I think the list is OK as is.  I'm going to close.


Sample query 'roll a die' doesn't working on the local testing

I do not know if there is a typo in the document or if the implementation is not working properly, but the query does not work with 'roll a die' but with 'roll a dice'.

My working environment is  ubuntu 16.04 LTS and I am testing only sample queries without any code modification.

Are you going to make a PR to update the README?

@djung460  sure! I'm not familiar with it because I'm new on open source project. I'll pull request soon.

Typically you keep an issue opened until the solution/feature PR has actually been approved and merged. @isbee

@djung460  I was a fool. learned a lot from you

lol don't be hard on yourself

Hey @isbee, thanks for reporting this issue. It has now been fixed! 😄


Add support for node count and tasks-per-node for MPI jobs

As discussed with @wilke .

depends on #175
psij supporting nr nodes, etc.


[analyzer] give built-in visitors const constructors.

There are many default ElementVIsitors and AstVisitors that should have a const constructor. This prevents subclasses from being const.
See dart/element/visitor and most of dart/ast/visitor.

https://dart-review.googlesource.com/c/sdk/+/156064


CoreML conversion issue

I am trying to convert the Resepformer model to CoreML
import coremltools as ct
from speechbrain.pretrained import SepformerSeparation as separator
import torchaudio
import speechbrain as sb
import torch

model = separator.from_hparams(source="speechbrain/resepformer-wsj02mix", savedir='pretrained_models/resepformer-wsj02mix')

ml_input1 = ct.TensorType(name='mixture', shape=(1, 1, 15625 * 3))
model = ct.convert(
    traced_model,
    inputs=[ct.TensorType(shape=dummy_input.shape)]
 )

This yields the error
Converting Frontend ==> MIL Ops:   2%|▏         | 49/1969 [00:00<00:01, 1520.66 ops/s]
/usr/local/lib/python3.7/dist-packages/coremltools/converters/mil/frontend/torch/ops.py in convert_nodes(context, graph)
     85         if add_op is None:
     86             raise RuntimeError(
---> 87                 "PyTorch convert function for op '{}' not implemented.".format(node.kind)
     88             )
     89         add_op(context, node)

RuntimeError: PyTorch convert function for op 'remainder' not implemented.

Does anyone know what the issue is here?

@ycemsubakan ? What is this "remainder" op?

@justinklchan @pplantinga I am not sure what's happening here. I just tried the inference with RE-Sepformer using the latest version of the develop branch of speechbrain, and it is working fine. I guess this might be due to something about coreml?

Hello @justinklchan,
Any news about this issue, please? Thanks :-)

Hello @justinklchan,
I'm closing this issue as it has been inactive for a significant amount of time. If this is still an ongoing concern, I would encourage you to open a new issue with the updated issue template so that we have all the necessary information to investigate further.
Let me know if you have any questions or concerns.


Automation - add rbac test cases for etcd backups

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
We need to add RBAC test cases in the automation framework for the etcd backups functionality.

Completed.


Add Support for External Shared Libraries from Host

Problem description
I'm working on a C++ project that relies on the libb64 library. While I'm using pixi to manage my project's dependencies and CMake builds, I've encountered a roadblock because libb64 isn't available on conda-forge.
It would be incredibly helpful if pixi could support adding shared libraries from locations outside of conda-forge, such as:

Directly from the host system
From custom or user-specified paths
This enhancement would enable seamless integration of external libraries into pixi-managed projects.

Thank you for considering this feature request. Please let me know if you'd like any additional details or clarification.

I believe this is not really up to pixi but more up to your CMake configuration. We don't isolate the environments like you would with a docker image. So you could use absolute paths in your CMake, or make use of the find_library functions.
It's not possible for pixi to depend on local packages, as we cannot lock them. So it would be up to the creator of the project to create a task to install it after pixi did its installation.
It would be even more awesome to contribute the libb64 conda package to conda-forge through the staged-recipes so it would become easier for everyone.

We are not planning on implementing this feature request. You can either directly use a tool like CMake to find the shared libraries you need or bundle them with your source.


ttnn.empty to create an uninitialized tensor

Modify implementation of ttnn.empty as it is creating a zeros tensor instead of an empty tensor  i.e using create_device_tensor

completed


Remove version: Jackett.Jackett version 0.20.3767

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.3767/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Autoplay: all images showed at the same time, please help help help!!

As the screenshot, my images should be show one by one from left to right side, but when I open that page, all images showed on that page with several lines, I've been trapped in this issue for several days, pasted my home.html here: home.html and _home.scss on codepen please help help help! Thanks so much for any advice. 💐☕🍻

{% extends "base.html" %}
{% load i18n %}

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.2.6/css/swiper.min.css">

{% block content %}

        {% for page_block in blocks_carousel %}

{{ page_block.title }}

                            {% if page_block.subtitle %}

{{ page_block.subtitle }}

                            {% endif %}

                              {{ page_block.primary_button }}

        {% endfor %}

{% endblock %}

Please provide live example with the issue


Rework codegen for GraphQL objects

Part of #421
Superseeds #441
Partially related to #814
Fixes #525, #697, #827, #875, #880
Extends #765
This PR migrates #[derive(GraphQLObject)], #[graphql_object] and #[graphql_subscription] macro implementations to the same machinery used by #[graphql_interface].
Additionally, it changes codegen in the way, that computed fields are not desugared into async blocks, but rather are preserved as methods and called directly.
Checklist

[x] Implemented
[x] Old code is cleaned
[x] Covered with integration tests
[x] Covered with codegen failure tests
[x] Documantation is updated
[x] Changelog entry added

@LegNeato this one is too huge, so I merge it without requesting your review.  There will be subsequent PRs with more polishing, reworking and fixing before releasing 0.16.

Sounds good, thank you for the great work!


Add release notes for Param 2.0

Fixes https://github.com/holoviz/param/issues/727
Well, these were not the easiest release notes to put together :D Marking this as draft for now as there's at least one last PR to merge and the reactive API being still a little in flight I wouldn't be surprised if they were more to come.

Updated after v.2.0.0rc6, includes now references support.


VSCode suggesting html classnames everywhere in .vue files

VSCode Version: 1.16.1
OS Version: macOs High Sierra 10.13

Screenshot
When Intellisense want to suggest something in the Typescript part, it suggest html class names. Same happen within scss structure.
Atom handle the problem very well and it is really a frustrating bug

This is likely coming from one of the extensions you have installed. You can launch code with the --disable-extensions command line flag to check this.
Try to narrow down which extension is causing this and report the issue against them

Yeah thanks! I found the extension responsible: Html CSS Support
Link to extension
Hope they will fix this because .vue files are interpreted as Html files


.npmrc auth content will be ignored when I supply a .npmrc file local

Description:
When I supply a .npmrc file local, I run npm publish failed with NEEDEDAUTH error. But when I delete the local .npmrc, it will publish success in github action.
The failed github action: https://github.com/whyun-demo/pnpmfile/actions/runs/9395413589
The success github action : https://github.com/whyun-demo/pnpmfile/actions/runs/9395562736/job/25875171087
Action version:
actions/setup-node@v4
Platform:

[x] Ubuntu
[ ] macOS
[ ] Windows

Runner type:

[x] Hosted
[ ] Self-hosted

Tools version:
pnpm 9
Repro steps:
I put a .npmrc file under the root of my project as follows:
registry="https://registry.npmjs.com"
enable-pre-post-scripts=true

And run npm publish in github action.
Expected behavior:
It should publish to npmjs success.
Actual behavior:
Result with NEEDEDAUTH error.

Hello @yunnysunny
Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.

Hello @yunnysunny,
The problem you are encountering is due to:
The registry URL in the .npmrc file is incorrect.
It should be ""https://registry.npmjs.org"" instead of ""https://registry.npmjs.com"".
Please let us know if this resolves your issue. If the issue persists, please consider sharing a public repository to help diagnose the problem.

@mahabaleshwars Thank you very much, it works ok now.

Hello @yunnysunny,
Thank you for confirming. We will now close this ticket. Please feel free to reach out if you have any other concerns.


How can I define two repo keys for snapshot and release?

How can we help?
Hi,
We have two repo URLs for snapshots and releases:
http://artifactory.movio.co/artifactory/libs-release-local
http://artifactory.movio.co/artifactory/libs-snapshot-local

I tried searching through the examples, and even the code, but couldn't figure out how I should configure it.
Seems that the logic is implemented here: https://github.com/jfrog/artifactory-gradle-plugin/blob/main/src/main/java/org/jfrog/gradle/plugin/artifactory/utils/PublicationUtils.java#L177
I thought the following would work, but it doesn't recognize releaseRepoKey and snapshotRepoKey.
plugins {
    id "com.jfrog.artifactory" version "5.+"
}

artifactory {
  publish {
    // Define the Artifactory URL for publishing artifacts
    contextUrl = 'http://artifactory.movio.co/artifactory'
    // Define the project repository to which the artifacts will be published
    repository {
        // Set the Artifactory repository key
        releaseRepoKey = 'libs-release-local'
        snapshotRepoKey = 'libs-snapshot-local'
    }

    // Include all configured publications for all the modules
    defaults {
        publications('ALL_PUBLICATIONS')
    }
  }
}

The error is:
Could not set unknown property 'releaseRepoKey' for object of type org.jfrog.gradle.plugin.artifactory.dsl.PublisherConfig$Repository

I'm using Gradle 8.5.
Thanks!

@aidin-gh
Thank you for using the Gradle Artifactory plugin.
We added this feature in the latest release v5.2.0.
Feel free to upgrade - we'd appreciate your feedback on that!


dom-bind "forgets" properties after rendering

dom-bind seems to "forget" properties set before it renders; this causes issues on the data binding of its content.
<dom-bind id="DB">
  <template>
    <div class$="[[myClass]]">hi</div>
  </template>
</dom-bind>
<script>
  DB.myClass = 'awesome';
  console.log(DB.myClass); // is "awesome"
  setTimeout(function() {
    console.log(DB.myClass); // is undefined
  });
</script>

Noting, issue only repros on polyfill, not on Canary.

Resolved via https://github.com/Polymer/polymer/pull/4056.


characters (such as ", #, %, ...) changing on export

Expected Behavior
I expect the code I pasted into carbon.now.sh to stay the same after I export it.
Actual Behavior

Browser
Naver Whale, Version <IP_ADDRESS> (64-bit) (a chrome-based browser)

Code Snippet (If Applicable)
#include <iostream>
#include <cstring>
using namespace std;

int d[5000][5000];

int main()
{
    int T = 10;
    while (T--) {
        int n; scanf("%d", &n);    // this line changes to "int n; scanf(%22%25d%22, &n);"
        string s; cin>>s;

        memset(d, 0, sizeof(d));

        for (int i=0; i<n; ++i) {
            d[i][i] = 1;
        }
       for (int i=0; i<n-1; ++i) {
            d[i][i+1] = (s[i]==s[i+1]?2:1);
        }
        for (int l=2; l<n; ++l) {
            for (int i=0; i+l<n; ++i) {
                int j = i+l;
                if (s[i]==s[j]) d[i][j] = d[i+1][j-1] + 2;
                else d[i][j] = max(d[i+1][j], d[i][j-1]);
            }
        }

        printf("#%d %d\n", 10-T, d[0][n-1]);    // this line changes to "printf(%22%23%25d%20%25d%5Cn%22, 10-T, d[0][n-1]);
    }

    return 0;
}

I do recognize that these are URL encoded special characters. On the first export, even if the characters change, the png file is generated correctly without URL encoded characters. However, when I export again after the change, every '%' changes again to '%25', making the code longer every export. This time the change is also applied to the exported png file.
First export:

Second Export:

These lines (https://github.com/dawnlabs/carbon/blob/master/components/Editor.js#L142-L146) should be moved into the filter function, but the trouble is we don't know the width of the element ahead of time then.
We just need to come up with a way to calculate the width to pass in with the appropriate filter

@jaywonchung can you paste the snippet you are seeing the failure on below

Closed with 3b67c0a846dbfdb6509906d893fc1ecf55ed25c3 (🤞hopefully this is the final time)

@CapitanFindusFI can you share the text here? 🙂I'll look into fixing it immediately once you do

@mfix22 there you are 😄
// print matrix, normal rows > columns iteration
void print_matrice(int m[RIGHE][COLONNE]){
    printf("printing matrix\n");
    for(int i = 0; i < RIGHE; i++){
        for(int k = 0; k < COLONNE; k++){
            printf("%d ", m[i][k]);
        }
        printf("\n");
    }
    printf("\n");
}

// insert matrix values, normal rows > columns iterations
void insert_matrix(int m[RIGHE][COLONNE]){
    for(int i = 0; i < RIGHE; i++){
        for(int k = 0; k < COLONNE; k++){
            int value;
            printf("insert row: %d, column: %d - ", i, k);
            scanf("%d", &value);

            m[i][k] = value;
        }
    }
}

I failed into the same issue today. Here's my snippet:
my %hash;
LINE:
while (<>) {
	chomp;
	scalar(split(" ", $_, 2)) > 1 or goto LINE;
	m/^man / and goto LINE;
	exists($hash{$_}) or print($_ . "\n");
	$hash{$_} = ();
}

where the first line my %hash changes to my %25hash during exporting; in the result image, my %hash is not colored.


Cut without motion only but keep the silence

I'm not sure if it already supports this but I would like to request for a feature to cut without motion only but keep the silence.
I make videos without voice over or audio, so I only want to cut the motionless portions if possible. I know you already support it but to my knowledge it is only an additional feature where silence and the motionless portions are removed. I do not want to remove the silence while there are motion.
Thank you.

You can already do this. I think you either want:
--edit "(or motion:0.05 audio:0.04)"
or
--edit "(or motion:0.05 (not audio:0.04))"


ENYO-6430: Fix console error when wheel on ui native Scroller

Checklist

[X] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[ ] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Fixed Uncaught TypeErrorr when wheeling on ui native Scroller
Resolution
Change to call getter getContainerRef() which referred to the wrong ref in the onWheel
Links
ENYO-6430

Another console error still occurs.

I Checked only on Scroller which has horizontal ref, vertical ref both regardless of orientation. Added check on VirtualList case which has only oneway directional ref

LGTM

When Scroller with native mode and direction vertical, I got
Uncaught TypeError: Cannot read property 'getContainerRef' of null
    at HTMLDivElement.onWheel (useScroll.js:658)

I think we need to check horizontalScrollbarRef.current and verticalScrollbarRef.current 's exsitence.

LGTM!


Use defaultProps instead of getDefaultProps(deprecated)

This PR is to fix the following warning(getting with react 16.5.2).
Warning: getDefaultProps is only used on classic React.createClass definitions. Use a static property named defaultProps instead.

This is solved in the recently-released beta! Thanks


clang-format instructions are incomplete

hit some hurdles trying to make the CI happy (new CI check to validate formatting):
PoV: (Windows, msvc, msbuild)-centric

clang-format.exe is not in the PATH by default, had to:

path %path%;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin

git clang-format does not work

The reason AFAICT is that this command is an extension provided by the llvm/clang install/repo via the git-clang-format.bat script: https://github.com/llvm/llvm-project/blob/main/clang/tools/clang-format/git-clang-format.bat

git-clang-format relies on a python install, which raises the requirement bar

expected: golden path with standard "windows dev" tooling (msvc, msbuild, vs)

RE (1) - Interesting, I would have assumed that the VS command window would have added that to the PATH, but I guess not. More reason to suggest using the scripts I suppose. I wonder if it might be worth adding a separate script specifically for adding the VS-shipped clang-format to the PATH. That would be generally useful since that's what we expect anyway.
RE (2) - I was curious about that, but had no way to validate since I instinctively install LLVM on any new machine I'm setting up. We should update the docs to mention the prerequisite for using git clang-format.
RE (3) - Also good to know; I don't recall coming over this being listed as a requirement in the LLVM docs, but I guess I already have python installed, and I assume that the CI machines have it pre-installed, too. That should be called out along with (2).
As an aside, I also want to play around with including the modified changes in the build output. The simplest thing to do would be to just run git diff on the CI machine, though idk how useful that info would be in that format. Another thing I want to look into assuming I get the time is to figure out how to add a command to PRs to format & submit the results. E.g. something like /azp format, if that's possible.


phase "http_response_headers_transform_managed" is not accessible in this API

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
Terraform v1.5.4
on darwin_arm64

provider registry.terraform.io/cloudflare/cloudflare v4.11.0
provider registry.terraform.io/hashicorp/local v2.4.0

Affected resource(s)
cloudflare_ruleset
Terraform configuration files
resource "cloudflare_ruleset" "enable-managed-response-headers" {
  zone_id     = cloudflare_zone.example-root.id
  name        = "Managed Response Header Ruleset"
  description = "Managed Response Headers"
  kind        = "managed"
  phase       = "http_response_headers_transform_managed"

  rules {
    action = "execute"
    action_parameters {
      id = "remove_x-powered-by_header"
    }
    description = "Removes X-Powered By header"
    expression  = "true"
    enabled     = true
  }

  rules {
    action = "execute"
    action_parameters {
      id = "add_security_headers"
    }
    description = "Adds security headers"
    expression  = "true"
    enabled     = true
  }
}

Link to debug output
https://gist.github.com/maccmiles/b756c9975912ec61f822aabd9dc250d1
Panic output
No response
Expected output
cloudflare_ruleset.enable-managed-response-headers: Creating...
cloudflare_ruleset.enable-managed-response-headers: Creation complete after Xs [id=################]
Actual output
│ Error: error creating ruleset Managed Response Header Ruleset
│
│   with cloudflare_ruleset.enable-managed-response-headers,
│   on transforms-managed.tf line 151, in resource "cloudflare_ruleset" "enable-managed-response-headers":
│  151: resource "cloudflare_ruleset" "enable-managed-response-headers" {
│
│ phase "http_response_headers_transform_managed" is not accessible in this API
Steps to reproduce
Attempt to create a cloudflare_ruleset resource with a managed response header
Additional factoids
per https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/ruleset#phase http_response_headers_transform_managed should be a valid entry
References
phase support for http_response_headers_transform_managed mentioned by name in https://github.com/cloudflare/terraform-provider-cloudflare/pull/1757

for managed transforms, you need to use cloudflare_managed_headers resource, not cloudflare_ruleset.