primordic/IssueDupesLite huggingface dataset:
Repository: PennyLaneAI/pennylane

Issue #1242: Inverse circuit not computed correctly in pennylane 0.15.0
Created: 2021-04-20T16:07:24Z
Issue description
I do not know if it has to do with this other issue #1240 but it seems that in version 0.15.0 the inverse of a circuit is not computed correctly. I noticed it while executing the kernel classifier from https://pennylane.ai/qml/demos/tutorial_kernel_based_training.html
In fact, when executing
kernel(X_train[0], X_train[0])
I obtain 0.15190944036912452
and when printing the circuit I get
[ 0.35866332  2.73124718 -0.94364311 -0.68644165]
 0: ──RX(0.359)───RX(0.359)───╭┤ ⟨H0⟩ 
 1: ──RX(2.73)────RX(2.73)────├┤ ⟨H0⟩ 
 2: ──RX(-0.944)──RX(-0.944)──├┤ ⟨H0⟩ 
 3: ──RX(-0.686)──RX(-0.686)──╰┤ ⟨H0⟩ 

with not inverse in the second column of rotations)

Expected behavior: (What you expect to happen)

This works correctly with pennylane 0.14.1, with which I obtain
0.9999999999999998
[ 0.35866332  2.73124718 -0.94364311 -0.68644165]
 0: ──RX(0.359)───RX(0.359)⁻¹───╭┤ ⟨H0⟩ 
 1: ──RX(2.73)────RX(2.73)⁻¹────├┤ ⟨H0⟩ 
 2: ──RX(-0.944)──RX(-0.944)⁻¹──├┤ ⟨H0⟩ 
 3: ──RX(-0.686)──RX(-0.686)⁻¹──╰┤ ⟨H0⟩ 


Actual behavior: (What actually happens)

The one described above

Reproduces how often: (What percentage of the time does it reproduce?)

100%

System information: (post the output of import pennylane as qml; qml.about())

Name: PennyLane
Version: 0.15.0
Summary: PennyLane is a Python quantum machine learning library by Xanadu Inc.
Home-page: https://github.com/XanaduAI/pennylane
Author: None
Author-email: None
License: Apache License 2.0
Location: /usr/local/lib/python3.7/dist-packages
Requires: scipy, toml, appdirs, numpy, semantic-version, autograd, networkx
Required-by:
Platform info:           Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
Python version:          3.7.10
Numpy version:           1.19.5
Scipy version:           1.4.1
Installed devices:

Duplicate issue #1240: `tape.inv` execution contradicts documentation
Created: 2021-04-20T00:34:19Z
Local execution of the docstring for tape.inv gives different behaviour.
import pennylane as qml

with qml.tape.JacobianTape() as tape:
    qml.BasisState(np.array([1, 1]), wires=[0, 'a'])
    qml.RX(0.432, wires=0)
    qml.Rot(0.543, 0.1, 0.4, wires=0).inv()
    qml.CNOT(wires=[0, 'a'])
    qml.probs(wires=0), qml.probs(wires='a')
Here when we ask for the parameters, we get them in this order:
>>> tape.get_parameters()
[array([1, 1]), 0.432, 0.543, 0.1, 0.4]
After inverting the tape:
tape.inv()
The gate parameters should be shifted in location according to the new order of operations of the tape:
>>> tape.get_parameters()
 [array([1, 1]), 0.543, 0.1, 0.4, 0.432]
but I do not get that inverted order.  I instead get the same order of parameters:
>>> tape.get_parameters()
[tensor([1, 1], requires_grad=True), 0.432, 0.543, 0.1, 0.4]

Closing comment (2021-04-21T13:00:06Z): It turns out that this is unrelated to #1242. My guess is that this bug has always existed, but likely does not affect current behaviour (since, I'm guessing, that the edge case of setting the trainable parameters inbetween inversion never occurs in the code base?)
Repository: PennyLaneAI/pennylane

Issue #1344: Change `default.qubit` to compute the inner product for `qml.Hermitian` 
Created: 2021-05-20T15:28:00Z
The QubitDevice class provides a standardized way for computing the exact expectation value of a specific observable. For observables that are not diagonal in the computational basis, diagonalizing gates are applied at the end of the requested circuit. To compute the expectation value of the observable, the probability distribution of the computational basis states after executing the circuit and the eigenvalues of the observable are used.
When using qml.Hermitian, this method, diagonalizing the matrix of the observable. This can be a costly operation.
As an alternative method, we would like to change the expval method such that the inner product <psi|H|psi> is computed where H is the observable. For now, we'd like this change to be made in DefaultQubit. Worth exploring the best way of implementation and if it would be worth having this change in QubitDevice directly.

Duplicate issue #2269: Hermitian observables and (avoiding) diagonalization of (large) matrices
Created: 2022-03-03T14:24:35Z
Feature details
This is half a question and half a feature / documentation request.
One issue with the qml.Hermitian observable is that (at least when running on default.qubit) its .matrix is diagonalized (via .diagonalizing_gates) even to compute return values such as qml.expval(qml.Hermitiaion(...)) and  qml.var(qml.Hermitiaion(...)), which could be computed via a simple matrix vector (inner)products. This is already not ideal performance wise when the qml.Hermitian observable acts on few wires, but gets worse exponentially for large number of wires.
Looking into DefaultQubit.expval() I get the impression that for qml.Hamiltonian and qml.SparseHamiltonian this diagonalization is avoided.
So, am I right that wrapping a qml.Hermitian observable in a qml.Hamiltonian (as also discussed here) avoids the diagonalization?

Maybe it would be worth explaining this to users?
Maybe the same trick could be enabled to also speed up var()?
Maybe this wrapping, which is counter intuitive and difficult to explain to users could be avoided altogether by calculating the diagonalizing gates of qml.Hermitian only when the user executes a QNode with a return type that requires diagonalization such as qml.probs() but not for expval or var?

Implementation
No response
How important would you say this feature is?
1: Not important. Would be nice to have.
Additional information
No response

Closing comment (2022-03-25T09:44:38Z): This is also related to #1344
Repository: PennyLaneAI/pennylane

Issue #1208: Allow the JAX interface to work with additional return types
Created: 2021-04-13T16:57:24Z
Currently, the JAX interface supports QNodes that return single expectation values and single variances.
It would be great to extend this to returning:

states
density matrices
probabilities
QNodes with multiple expvals/vars

Duplicate issue #2404: More measurments supported with JAX-JIT
Created: 2022-04-01T15:25:36Z
Feature details
With a shots vector that is not None, the jax device only supports Variance and Expectation. It would be a great addition if JAX can support other measurements like probabilities and state.
Hope will to have things like this work:
dev = qml.device('default.qubit.jax', wires=2, shots=10)

@jax.jit
@qml.qnode(dev, interface='jax')
def circ(x):
    qml.PauliZ(wires=0)
    qml.RY(x, wires=0)
    return qml.probs(0)
print(circ(1))

Implementation
No response
How important would you say this feature is?
3: Very important! Blocking work.
Additional information
qml.probs() used to work earlier. But it is now raising InterfaceUnsupportedError

Closing comment (2022-04-01T15:39:00Z): I found this is same as #1208. There it only mentions JAX. JAX does support these. It is only with JIT and finite shots that this does not work.
Repository: PhilJay/MPAndroidChart

Issue #1637: Legend is not offsetable when using any ABOVE position
Created: 2016-03-31T14:14:08Z
Would like to offset the Legend to display it a little more down, but yOffset does not work for LegendPosition.ABOVE_*.
Probably should add this value in LegendRendered:246 (MPAndroidChart 2.2.3)

Duplicate issue #1667: PieChart legend un-centered and cut off in 2.2.4
Created: 2016-04-09T03:20:56Z
Hi,
I'm using a PieChart in my project with the legend positioned at BELOW_CHART_CENTER. In version 2.2.3 and lower, the legend is properly rendered below the chart:

On version 2.2.4 however, the legend is un-centered and cut off:

The pie chart is declared in XML like so:
<com.github.mikephil.charting.charts.PieChart
    android:layout_width="match_parent"
    android:layout_height="400dp" />

The legend is positioned using:
Legend cLegend = p.getLegend();
cLegend.setPosition(Legend.LegendPosition.BELOW_CHART_CENTER);
cLegend.setForm(Legend.LegendForm.CIRCLE);
cLegend.setTextSize(15);
cLegend.setWordWrapEnabled(true);

The legend renders just fine if I set the position to BELOW_CHART_LEFT. The leftmost legend icon is somewhat cut off using BELOW_CHART_RIGHT, but otherwise it renders fine.

Closing comment (2016-04-09T09:20:22Z): This is a duplicate of #1637
And already fixed.
Repository: PhilJay/MPAndroidChart

Issue #2333: IS there a possiblity to have a lograthimic y Axis
Created: 2016-10-06T14:17:09Z
I want to have a log Y axis. Is it possible?

Duplicate issue #2801: Log scale YAxis
Created: 2017-02-13T06:05:41Z
Is there a way to set the YAxis to scale non-linearly?  I'm doing this now by plotting the y values as Math.log(yvalue) then setting a custom AxisValueFormatter to set the label as Math.exp(value), after fixing the rounding a bit.  It would be neat if there was a way to just tell it to scale this way instead.  Here are the minor issues I have.

Adding multiple data sets, need to do this workaround for each one individually.
Labels not quite right for example a normal plot that ranges from 0-40 normally might have labels at 0/20/40, on log scale the AxisValueFormatter might want the label for the value=2 that actually corresponds to the value 7.389056, rounded to whole numbers you get unusual label points.

Closing comment (2018-04-25T17:28:58Z): Duplicate of #2333
Repository: PhilJay/MPAndroidChart

Issue #133: Time chart support
Created: 2014-10-05T08:28:49Z
i used AChartEngine and your jar , if you can support time chart like AChartEngine , i think may be very useful !!

Duplicate issue #651: Support Dates as labels
Created: 2015-05-16T12:00:10Z
Correct calculation of distances between graph entries, depending on the timespan between the respective data points.

Closing comment (2015-05-19T12:40:38Z): You could have expressed that better as a feature request, and this is a duplicate of #133 anyways...
Repository: PhilJay/MPAndroidChart

Issue #2333: IS there a possiblity to have a lograthimic y Axis
Created: 2016-10-06T14:17:09Z
I want to have a log Y axis. Is it possible?

Duplicate issue #3469: Logaritihmic Yaxis
Created: 2017-09-29T13:33:43Z
Hi,
I'm having similar issue where we are converting our online report which uses d3 line graph with logarithmic yaxis in a scale similar to 0, 10, 100, 1000, 10 000, 100 000, 1 000 000...
The line graph consists of four different line's which is easy to configure using the MPAndroidChart's line graph.
The problem is line graph #1 min is 0 and max value is 5, and lien graph #4 min is 250 000 and max up to 1 000 000, so to show the four lines using MPAndroidChart's line graph looks okay, however because its not a logarithmix Yaxis, the differences for graph #1 is not noticable.
Advice is needed here.
I've seen other Android graph libraries, but MPAndroid is by far superior, except for the logarithmic Yaxis issue.
Please help.
Regards,
Willem
PS, made a note on this issue:
#2768
...which is also regarding logarithmic axis.

Closing comment (2018-04-02T09:11:45Z): This was already reported in #2333.
Can you close your issue to focus the effort there?
Repository: PhilJay/MPAndroidChart

Issue #718: Entries disappearing while zooming ScatterChart
Created: 2015-06-05T15:35:46Z
I'm using a ScatterChart with cca. 10k xVals, and about 200 Entries. When I zoom, all entries on the graph disappear except the ones on the far right. When I drag to the far right, they suddenly appear (regardless of the zoom amount).

Duplicate issue #736: Line chart entries disappear on scrolling
Created: 2015-06-10T14:29:00Z
E.g: Having x-axis size to 30 and plotting 5 to 10 points in the graph, makes the lines between the points to disappear while scrolling.

Closing comment (2015-06-15T21:24:53Z): related to  #718
Repository: PhilJay/MPAndroidChart

Issue #1774: PieChart color "bleeds" on the background when on Entry of the dataset is small compared to others
Created: 2016-05-13T14:19:15Z
When a PieChart has wildly different entries in it's dataset (say for example 23 and 7142), the color that is suppose to represent the smaller entry (23) is "bleeding" into the background of the chart.
Example (from v2.2.4) :

Expected outcome (v2.2.0) :

I'm not sure when exactly was this issue introduced (probably v2.2.3), I can only vouched that it is present in v2.2.4 and not in v2.2.0.

Duplicate issue #1807: BUG! when data too small
Created: 2016-05-24T10:21:30Z
my datas:
add(new Entry(833.83f, 0));
add(new Entry(167.11f, 1));
add(new Entry(70.0f, 2));
add(new Entry(49.83f, 3));
add(new Entry(18.75f, 4));
add(new Entry(13.0f, 5));
add(new Entry(3.0f, 6));
Then setSliceSpace
setSliceSpace(3f);
Show like this (it is wrong):

But setSliceSpace(0f);
Show :

Closing comment (2016-06-02T20:55:18Z): Same as #1774
Repository: PlasmoHQ/plasmo

Issue #1060: [BUG] plasmo dev -> Malloc ERROR on MacBook m3
Created: 2024-09-04T17:34:33Z
What happened?
A bug happened!
I use a macbook air m3 (8gb) and when I init a project with pnpm create plasmo or plasmo init and I tried to start the project witn pnpm dev or plasmo dev. I have there error : Check -> 'Relevant log output' below
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
No response
Relevant log output
🟣 Plasmo v0.89.1
🔴 The Browser Extension Framework
🔵 INFO   | Starting the extension development server...
🔵 INFO   | Building for target: chrome-mv3
🔵 INFO   | Loaded environment variables from: []
(node:980) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
node(980,0x173497000) malloc: Incorrect checksum for freed object 0x156342c00: probably modified after being freed.
Corrupt value: 0x0
node(980,0x172c7f000) malloc: Incorrect checksum for freed object 0x127bcd800: probably modified after being freed.
Corrupt value: 0x80b00000000
node(980,0x173497000) malloc: *** set a breakpoint in malloc_error_break to debug
node(980,0x172c7f000) malloc: *** set a breakpoint in malloc_error_break to debug
 ELIFECYCLE  Command failed.
zsh: abort      pnpm dev
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #1138: [BUG] Incorrect checksum for freed object
Created: 2024-11-27T08:27:31Z
What happened?
run pnpm build got below error
(node:8289) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
node(8289,0x700005708000) malloc: Incorrect checksum for freed object 0x7f91791ed800: probably modified after being freed.
Corrupt value: 0x0
node(8289,0x700005708000) malloc: *** set a breakpoint in malloc_error_break to debug
 ELIFECYCLE  Command failed.
This happens after I delete build folder manually and add a new file at the same time.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
(node:8289) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
node(8289,0x700005708000) malloc: Incorrect checksum for freed object 0x7f91791ed800: probably modified after being freed.
Corrupt value: 0x0
node(8289,0x700005708000) malloc: *** set a breakpoint in malloc_error_break to debug
 ELIFECYCLE  Command failed.
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2024-11-27T08:29:20Z): same as #1060
Repository: PlasmoHQ/plasmo

Issue #725: [BUG] The style tag in the nested component in content scripts doesn't take effect when using Vue SFC
Created: 2023-08-16T02:06:27Z
What happened?
The style tag in the nested component in content scripts doesn't take effect when using Vue SFC.
I'm working on a chrome plugin which will insert a block into the search engine aside.
Open Google, DuckDuckGo or Baidu, then click search button to search someting about the keyword, and you'll find a aqua block shows in the search engine aside.

The following files are the main parts of the plugin.

search-engine-insertion, located in /contents/search-engine-insertion.vue, which holds all elements and components of the plugin.
nest-a, located in /components/nest-a.vue, which is a resuable component.

The nest-a is used by search-engine-insertion in template, both of them have a style tag with scoped and lang="scss" attribute.
The style of search-engine-insertion in style tag takes effect after I've config getSfcStyle, which makes the background-color is aqua. However, the style of nest-a in style tag doesn't take effect. I expect that the text color should be red.
After inspecting the DOM, I find that style of nest-a is not injected into style tag in shadow root.

Here is the project code.
plasmo-example-with-vue-gogoend-test-202308161004.zip
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #800: [BUG] with-vue use components style invalid
Created: 2023-10-30T12:51:57Z
What happened?
I created this project using pnpm create plasmo --with-vue, then I created a components folder and a test.vue file. I referenced this test.vue in the content and found that the style of test.vue did not take effect.



Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2023-12-04T18:21:03Z): This is a duplicate of #725.
Repository: PlasmoHQ/plasmo

Issue #162: [RFC] plasmo.config.ts
Created: 2022-08-31T01:30:17Z
How do you envision this feature/change to look/work like?
Support a typed configuration file, mainly for manifest override, and other cool stuffs (?).

Override build destination paths
Override entry file paths (https://discord.com/channels/946290204443025438/1022829061476728852/1022829065826205706)
Override manifest file (WITH TYPING!)
Compose CSP with typing/linting than just raw string

What is the purpose of this change/feature? Why?
Working with the manifest override (or manifest in general) SUCKS BALLS!?
(OPTIONAL) Example implementations
No response
(OPTIONAL) Contact Details
No response
Verify canary release

 I verified that the issue exists in plasmo canary release

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #434: [RFC] Have a plasmo.json or plasmo.config.ts/js so that package.json doesn't get too cluttered
Created: 2023-02-08T20:12:06Z
How do you envision this feature/change to look/work like?
Most npm packages and libraries that add configuration variables to the package.json also allow developers to create a separate configuration file in the project root, so as not to clutter the main package.json file. This separate file could either be a plasmo.json file, even a plasmo.config.ts, which will allow us to have typechecking on the fields and parameters within the config file, similar to the way jest does it.

What is the purpose of this change/feature? Why?
This change is to mirror the behavior of other popular frameworks and libraries and to not create extremely long package.json files.
(OPTIONAL) Example implementations
I really like the way jest does this, because they look for a a jest.config.js, jest.config.ts, jest.config.json, and then finally in the package.json

(OPTIONAL) Contact Details
sghsri@gmail.com
Verify canary release

 I verified that the issue exists in plasmo canary release

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2023-02-08T21:18:32Z): @sghsri thanks for filing the issue! - this is a dupe of #162
Repository: PlasmoHQ/plasmo

Issue #787: [EXP] Example with-popup not found.
Created: 2023-10-19T03:30:31Z
What is the example you wish to see?
when I run the script "pnpm create plasmo", something wrong:
Example with-popup not found.
node v19, windows 11
Is there any context that might help us understand?
No response
Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #817: [EXP] 
Created: 2023-11-13T09:00:26Z
What is the example you wish to see?
.../Local/pnpm/store/v3/tmp/dlx-42236    |   +2 +
.../Local/pnpm/store/v3/tmp/dlx-42236    | Progress: resolved 2, reused 0, downloaded 2, added 2, done
🟣 Plasmo v0.84.0
🔴 The Browser Extension Framework
🔴 ERROR  | Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
| Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
at up.createWithExample (file:///C:/Users/Administrator/AppData/Local/pnpm/store/v3/tmp/dlx-42236/node_modules/.pnpm/create-plasmo@0.84.0/node_modules/create-plasmo/dist/index.js:939:12739)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async up.createBlank (file:///C:/Users/Administrator/AppData/Local/pnpm/store/v3/tmp/dlx-42236/node_modules/.pnpm/create-plasmo@0.84.0/node_modules/create-plasmo/dist/index.js:939:13179)
at async up.create (file:///C:/Users/Administrator/AppData/Local/pnpm/store/v3/tmp/dlx-42236/node_modules/.pnpm/create-plasmo@0.84.0/node_modules/create-plasmo/dist/index.js:939:11431)
at async n8e (file:///C:/Users/Administrator/AppData/Local/pnpm/store/v3/tmp/dlx-42236/node_modules/.pnpm/create-plasmo@0.84.0/node_modules/create-plasmo/dist/index.js:946:418)
at async o8e (file:///C:/Users/Administrator/AppData/Local/pnpm/store/v3/tmp/dlx-42236/node_modules/.pnpm/create-plasmo@0.84.0/node_modules/create-plasmo/dist/index.js:946:949)
🔴 EXIT   | 👋 Good bye and have a great day!
Is there any context that might help us understand?
pnpm create plasmo xxx
Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2023-11-18T11:55:47Z): Likely dup of #787
Repository: PlasmoHQ/plasmo

Issue #326: [BUG] Live-reloading not reflecting latest code
Created: 2022-12-06T11:17:58Z
What happened?
The latest release https://github.com/PlasmoHQ/plasmo/releases/tag/v0.59.3 partially solved the hot-reloading bug. Hot-reloading now works on ctrl+s but the latest code is still not reflected. I encountered this bug for content script changes, and I haven't tested for popup.
Version
Latest
What OS are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contact Details
No response
Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #348: [BUG] Dev Not Rebuilding Sporadically
Created: 2022-12-18T18:30:17Z
What happened?
I created a brand new project:
npm create plasmo -- --entry=options,popup,background,contents/inline,contents/overlay --with-tailwindcss  --with-content-script --with-background
Then I ran yarn dev.
I changed content.tsx from Count: to Count abc: Count abcd: etc. The browser reload is triggered, I see a message of Extension re-packaged, but I don't (always) see the updates. When I check the build directory, it looks like the content.*.js is not being updated.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contact Details
No response
Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2022-12-18T18:53:26Z): This does seem like a duplicate of #326 with the same root cause: the build is not updated (likely not an HMR issue).
Repository: PlasmoHQ/plasmo

Issue #985: [BUG] CSP Restriction for TrustedTypePolicy Creation in Loading Indicator
Created: 2024-06-01T11:40:46Z
What happened?
A bug happened in plasmo dev mode!
As I understand it, it seems that some CSP in some pages can prevent execution of createPolicy, which results in the code injection of the extension to break
<meta name="trusted-types" content="script-src-attr 'none'; require-trusted-types-for 'script'; trusted-types 'allow-duplicates' default jSecure highcharts dompurify" data-disposition="enforce" data-sanitizer="RegExp" data-pattern="</?(?=(?:script|meta|base|link|iframe|form)\b)" data-replacement="</untrusted-" http-equiv="Content-Security-Policy">
I tried changing the meta tag in the page before executing that code and it worked
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
Refused to create a TrustedTypePolicy named 'trusted-html-__plasmo-loading__' because it violates the following Content Security Policy directive: "trusted-types 'allow-duplicates' default jSecure highcharts dompurify".
Uncaught TypeError: Failed to execute 'createPolicy' on 'TrustedTypePolicyFactory': Policy "trusted-html-__plasmo-loading__" disallowed.
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #998: [BUG] CSP Restriction for TrustedTypePolicy Creation in Loading Indicator
Created: 2024-06-12T17:03:09Z
What happened?
A bug happened with the policy in dev mode.
I know that there was a fix a couple days ago, but the bug still remains on some website. That is the case on LinkedIn.
The error occurs on the home page / or a profile page, but if you go to a more specific url, like "https://www.linkedin.com/blog/member". There is no more error
Currently, i can load the extension with the prod folder, but it's not optimal as solution.
What wan i do to avoid the bug ?
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
Refused to create a TrustedTypePolicy named 'trusted-html-__plasmo-loading__' because it violates the following Content Security Policy directive: "trusted-types 'allow-duplicates' default jSecure highcharts dompurify". Uncaught TypeError: Failed to execute 'createPolicy' on 'TrustedTypePolicyFactory': Policy "trusted-html-__plasmo-loading__" disallowed.
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2024-06-13T18:23:00Z): Duplicate of #985
Repository: PlasmoHQ/plasmo

Issue #1160: [BUG] 'Example with-popup not found' when running 'npm create plasmo'
Created: 2025-01-18T04:25:09Z
What happened?
I get an error when I run the “npm create plasmo” command
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
Plasmo v0.89.4
🔴 The Browser Extension Framework
🟡  Extension name: ss
🔴 ERROR  | Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
          | Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #1152: [BUG] Example with-popup not found.
Created: 2025-01-02T02:27:37Z
What happened?
A bug happened!

Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2025-02-10T00:19:46Z): Duplicate #1160
Repository: PlasmoHQ/plasmo

Issue #1156: [BUG] TailwindCSS example does not build 
Created: 2025-01-13T02:16:40Z
What happened?
I'm getting segmentation fault for building the TailwindCSS example. I haven't changed anything inside the example and just built the example as-is.
pnpm create plasmo --with-tailwindcss
pnpm build
Removing references to the stylesheet with tailwind directives does not result in the segmentation fault but of course this is not a fix.
Related to #1089 I suppose.
Versions:
Node: v22.13.0
pnpm: 9.15.3
plasmo: v0.89.4
Version
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
No response
Relevant log output
🟣 Plasmo v0.89.4
🔴 The Browser Extension Framework
🔵 INFO   | Prepare to bundle the extension...
🔵 INFO   | Building for target: chrome-mv3
🔵 INFO   | Loaded environment variables from: []
(node:88306) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Segmentation fault (core dumped)
 ELIFECYCLE  Command failed with exit code 139.
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #1192: [BUG] Command was killed with SIGSEGV (Segmentation fault): plasmo de
Created: 2025-02-14T15:58:05Z
What happened?
Recently I upgraded to plasmo. I am not sure if that is the reason, but I cannot build the project anymore.
Anybody else experience this?
🔄 Building. ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command was killed with SIGSEGV (Segmentation fault): plasmo dev
Version
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
Firefox
Relevant log output
🟣 Plasmo v0.90.3
🔴 The Browser Extension Framework
🔵 INFO   | Starting the extension development server...
🔵 INFO   | Building for target: chrome-mv3
🔵 INFO   | Loaded environment variables from: [ '.env.chrome' ]
🔄 Building.. ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command was killed with SIGSEGV (Segmentation fault): plasmo dev
(OPTIONAL) Contribution

 I would like to fix this BUG via a PR

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2025-02-19T14:43:02Z): Duplicate #1156
Repository: PlasmoHQ/plasmo

Issue #22: [RFC] @plasmohq/csui
Created: 2022-06-14T20:11:51Z
How do you envision this feature/change to look/work like?
We are discussing how to solve this issue - TBA

 #198
 Simplify the remount logic (#121)
 Exposes the underlying createShadowContainer
  Continuously mounting/remounting (#190)

What is the purpose of this change/feature? Why?

Hello, dear open source author. I encountered a difficult requirement in development. We need to embed the same button on each DOM in a list of goods, but getMountPoint does not currently support multiple DOM elements. My current approach is to use TS to write native scripts.

Originally from: https://github.com/PlasmoHQ/examples/issues/3 by @deno-source
(OPTIONAL) Example implementations
No response
(OPTIONAL) Contact Details
No response
Verify canary release

 I verified that the issue exists in plasmo canary release

Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Duplicate issue #121: [RFC] @plasmohq/csui pt2
Created: 2022-07-28T08:36:14Z
What is the example you wish to see?
I'd like to learn how to use Content Script UI with SPA pages. (They use history APIs to do client side routing).
The naive solution seems only mount on page load, no mount happens after client side navigating.
Is there any context that might help us understand?
No response
Code of Conduct

 I agree to follow this project's Code of Conduct
 I checked the current issues for duplicate problems.

Closing comment (2022-07-29T15:52:45Z): Got it - I think we will think of an API for that. This is likely related to #22
Repository: Plume-org/Plume

Issue #13: Make sure all the links to Plume have a trailing slash
Created: 2018-05-10T20:57:13Z
Else, some links in the templates are broken (the "Comment" one for instance)

Duplicate issue #32: Invalid link
Created: 2018-05-20T16:26:42Z
On page /@/ ,  the link to followers is pointing to /@/followers instead of /@//followers

Closing comment (2018-05-21T17:37:39Z): Closing as a duplicate of #13, see #33 (review)
Repository: Plume-org/Plume

Issue #673: Missing date/id in atom feed
Created: 2019-10-07T09:11:39Z
Based on my research, entries included the Atom feed generated by Plume doesn't include any atom:id and atom:published elements.
While published is optional, atom:id looks mandatory in the specification and its absence is likely to confuse feed readers.
In a personal projects of mine, I am aggregating multiple Plume feeds, and the absence of the published value means it's impossible to order the entries by date after aggregation.
Example from https://plume.social/@/Aster@amplifi.casa:
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Aster</title>
    <id>https://plume.social/@/Aster@amplifi.casa/atom.xml</id>
    <updated></updated>
    <entry>
        <title><![CDATA[Eu também ignorei essas coisas no começo]]></title>
        <id></id>
        <updated></updated>
        <author>
            <name>Aster</name>
            <uri>https://amplifi.casa/@/Aster/</uri>
        </author>
        <link href="https://amplifi.casa/~/Asterismos/eu-também-ignorei-essas-coisas-no-começo/" rel="alternate"/>
        <content type="html" src="https://amplifi.casa/~/Asterismos/eu-também-ignorei-essas-coisas-no-começo/">REMOVED</content>
    </entry>
</feed>
As you can see:

id is empty
updated is empty
published is missing

THere are probably a few more fields that are available  in the spec you may want to include, like summary, rights or category (to indicate what blog the entry is coming from?)

Duplicate issue #703: Articles are not dated in Atom feeds
Created: 2019-12-03T18:31:15Z
I moved from Blogger to https://fediverse.blog/ recently, and I updated my adress on Planet GNOME: https://gitlab.gnome.org/Infrastructure/planet-web/commit/8eb9b0d5f6f70da7821b2a24453355e3b9c44746.
Problem: my only article is always at the top of http://planet.gnome.org/ and has a wrong date, that's because the planet doesn't have the info to properly date my article, and that's because there is no time info in the Atom feed: https://fediverse.blog/~/AdrienPlazas/atom.xml.


Plume version: 0.3.0

Closing comment (2019-12-10T10:53:06Z): I think this is a duplicate of #673 , could you close the issue if this is the case, or explain how it's different?
Repository: Plume-org/Plume

Issue #217: Support for comment visibility
Created: 2018-09-12T17:32:56Z
Currently any comment Plume receive is shown on the bottom of the concerned post. Visibility for blog post may be assumed to be public, however comments from other software of the fediverse should probably have their visibility respected

Duplicate issue #216: Respect message privacy
Created: 2018-09-12T17:30:00Z
Currently, if you send a DM from Mastodon for instance to respond to an article, everyone can read it on Plume.

Closing comment (2018-09-12T17:34:59Z): Duplicate of #217
Repository: Plume-org/Plume

Issue #36: Dashboard
Created: 2018-05-24T09:52:43Z
Add a page to manage your blogs, and see recent activity on them.

Duplicate issue #42: New Post and My Blog navigation links
Created: 2018-05-29T14:35:15Z
The navigation system could really use links for "my blog" and "new post" or something similar. This would really make testing and experimenting with Plume easier!

Closing comment (2018-05-30T11:45:33Z): May be related to #36
Repository: Plume-org/Plume

Issue #21: Avoid panics
Created: 2018-05-13T16:59:00Z
I think we are unwraping too often, when we could show actual error pages, with a description of the message.

Duplicate issue #37: Redirect to login instead of showing 404 page
Created: 2018-05-24T10:11:17Z
When a page is not available because the user is not logged in, Rocket sends a 404 page. We should instead redirect to the login page with an explanation.

Closing comment (2018-05-24T10:57:45Z): more or less related : going to /logout without being connected generate a 500
Edit:
Actually /logout is about unwrap()ing on a value which may be None, it's more related to #21 than to this
Repository: Plume-org/Plume

Issue #94: Serve multiple domains on a single instance
Created: 2018-06-28T02:06:04Z
I'd love to be able to run this for a few friends - they just have to point their DNS at my VPS.
That way, users can have a hosted option, but also keep the ability to move to another host easily / host their own in future.

Duplicate issue #241: Feature request: single user mode
Created: 2018-09-20T22:02:06Z
Right now Plume is aimed towards multiple users on one instance. It would be great if there's a single user mode.
This would actually mean that the root of the (sub)domain (https://blog.example.com) would show a specific blog instead of Plume's landing page.
Plume version (and/or commit): 0.2.0

Closing comment (2018-09-21T17:26:53Z): Hello!
I consider this issue a duplicate of #94, please re-open if what the implementation I proposed there is not correctly covering your use case.
Repository: Plume-org/Plume

Issue #636: Send confirmation email after registering
Created: 2019-07-14T18:20:21Z
Is your feature request related to a problem? Please describe.

You can't be sure that the email you used to register was correct
Spammers can create a lot of accounts very easily
Someone else can use your email (even if I don't know why anyone would do that?)

Describe the solution you'd like
Send a confirmation email when creating an account.
Accounts created from the CLI should probably be immediately confirmed.
Describe alternatives you've considered
Additional context
From #635

Duplicate issue #841: Captcha
Created: 2021-01-19T20:03:16Z
Is your feature request related to a problem? Please describe.
After some time, i returned to my instance and i was horrified of the amount of contents that some spam accounts had published. It seems to not have any protection against it.
Describe the solution you'd like
A captcha, or other protection system.

Closing comment (2021-01-20T13:53:42Z): Related to #636
Repository: Plume-org/Plume

Issue #673: Missing date/id in atom feed
Created: 2019-10-07T09:11:39Z
Based on my research, entries included the Atom feed generated by Plume doesn't include any atom:id and atom:published elements.
While published is optional, atom:id looks mandatory in the specification and its absence is likely to confuse feed readers.
In a personal projects of mine, I am aggregating multiple Plume feeds, and the absence of the published value means it's impossible to order the entries by date after aggregation.
Example from https://plume.social/@/Aster@amplifi.casa:
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Aster</title>
    <id>https://plume.social/@/Aster@amplifi.casa/atom.xml</id>
    <updated></updated>
    <entry>
        <title><![CDATA[Eu também ignorei essas coisas no começo]]></title>
        <id></id>
        <updated></updated>
        <author>
            <name>Aster</name>
            <uri>https://amplifi.casa/@/Aster/</uri>
        </author>
        <link href="https://amplifi.casa/~/Asterismos/eu-também-ignorei-essas-coisas-no-começo/" rel="alternate"/>
        <content type="html" src="https://amplifi.casa/~/Asterismos/eu-também-ignorei-essas-coisas-no-começo/">REMOVED</content>
    </entry>
</feed>
As you can see:

id is empty
updated is empty
published is missing

THere are probably a few more fields that are available  in the spec you may want to include, like summary, rights or category (to indicate what blog the entry is coming from?)

Duplicate issue #735: Atom feed does not validate
Created: 2020-01-29T18:48:13Z
I noticed that the newsfeed for my blog throws errors which means it doesn't validate. I want to have my feed added to an aggregator which does not accept invaid feeds.
https://fediverse.blog/~/PerAsperaAdAstra/atom.xml
https://www.feedvalidator.org/check.cgi?url=https%3A%2F%2Ffediverse.blog%2F%7E%2FPerAsperaAdAstra%2Fatom.xml


Plume version: 0.4
Operating system: Majaro Linux**
Web Browser: Firefox 72.0.2

Closing comment (2020-01-29T19:43:38Z): Judging by the errors that FeedValidator reports, this issue is mostly a duplicate of #673 and #703
The other errors are :

html is not a valid MIME type
A atom:link with rel="self" is apparently required
summary is (sometimes only?) missing
Repository: Plume-org/Plume

Issue #450: Generic timelines
Created: 2019-02-25T18:28:34Z
This is a proposal to re-work our approach to timelines, to make it more flexible. The idea would be to have different timelines stored in the database. A timeline is basically a list of posts, and some rules to know if a post belongs to this timeline or not.
The benefits would be that it would be easier to customize the feeds on the homepage (one could select the timelines to display) hiding the federated feed on a personal blog, or showing various hashtag timelines on themed instances. It would also allow to organize your subscriptions, and eventually keep an eye on blogs without even following them.
I can see two problem to this approach:

would the performances be good enough? Handling timelines this way would probably mean that we should check if a post should go in all the existing timelines when it is created/received (currently the feeds are computed on request every time we display them).
how do we store the rules for a timeline in the database, as they should ideally follow a complex logic (so that we could build, for instance, a timeline with only a specific hashtag, from specific instances but excluding a some blogs)

(I didn't opened a Loomio discussion because this seemed to be a technical discussion, but I can copy my message over there if needed)
Plume version (and/or commit): 0.2.0

Duplicate issue #493: Explicit language tagging for blog posts
Created: 2019-03-20T05:51:15Z
It would be nice if every blog post would have to set language descriptor (e.g. tag) explicitly. This could be used to filter directories of unwanted content; surely no one wants to read a blog in language they don't understand.

Closing comment (2019-04-06T17:36:41Z): We already detect the language of posts for search purpose (for example, here are all posts in french that got federated to fediverse.blog this week)
Maybe people don't need to tag explicitly their posts, but we should "just" implement a way for peoples to filter by language what they see in their feeds? Which probably make this related to #450?
Repository: Plume-org/Plume

Issue #403: night mode
Created: 2019-01-01T10:03:00Z
From Matrix :

One minor thing: no night mode.

Some users prefer a darker theme, it would be great to have a simple switch somewhere on most pages to switch between two color themes, the one we already have, and a darker "night mode" one. Before implementing that, we should take into account how it should interact with #354
Plume version (and/or commit): 0.2.0

Duplicate issue #537: feature: Additional Themeing: LiveJournal style etc
Created: 2019-04-20T06:31:15Z
I would like a full theme templating engine to be used to allow people to theme instances at a minimum, but with the goal of letting users modify their blogs.
I am a huge fan of the LiveJournal style themes and as a side project might work to fork the theme to reach these goals.

Closing comment (2019-04-20T07:05:30Z): I would like a full theme templating engine to be used to allow people to theme instances at a minimum, but with the goal of letting users modify their blogs.
I am a huge fan of the LiveJournal style themes and as a side project might work to fork the theme to reach these goals.

Theming is already planned for a future release. Basic groundwork for it is already laid out in the code, which is why you can already see that the background of the blogs is a light gray, while post listing and tags is a darker gray,  links are purple and so on.
But features like user/blog/domain management, moderation tools, editor and federation improvements are more fundamental to the project than theming at this stage.
Related to #403
Repository: PowerShell/Win32-OpenSSH

Issue #2006: sftp / scp regression from 8.6.0.0 to 8.9.1.0
Created: 2022-12-05T17:40:57Z
Discussed in #1997

Originally posted by tdesaules November 16, 2022
Hi guys !
I just move my openssh server version from 8.6.0.0 to 8.9.1.0
I can't see any issue on "pure" ssh usage but I get a "lost connection" from the client with an "unknow error" when I try to use scp or sftp
I didn't see an issue about, just to confirm before create one with more debug info.
I did the test from a Windows 10 client with the same openssh version.
The server is a Windows Server 2016 (1607 buid 14393.5356)
I use a custom port (10022) and use ssh keys to authenticate.
have a nice day

Duplicate issue #2010: SFTP fails to connect (OpenSSH.Beta 8.9.1.0 winget install)
Created: 2022-12-09T15:22:22Z
Prerequisites

 Write a descriptive title.
 Make sure you are able to repro it on the latest version
 Search the existing issues.

Steps to reproduce
OpenSSH is installed via winget to C:\Program Files\OpenSSH.  Binary sftp-server.exe lives here.  Winget install of Microsoft.OpenSSH.Beta does not add 'C:\Program Files\OpenSSH' to system path.  SFTP connection fails, SSH connections work as expected.
Expected behavior
successful SFTP connection using credentials that work with SSH connection.
Actual behavior
SFTP can not authenticate
Error details
SFTP error #103: Connection closed by lower level protocol (Win10 MobaXterm)

Cannot initialize SFTP protocol. Is the host running an SFTP server? (win10 WinSCP)

Connection failed please verify details (Ubuntu22 Caja/gvfs)

Connection failed.  (Rocky9 Nautilus)
Environment data
Adding C:\Program Files\OpenSSH to system %PATH% corrects issue.

cmd:  setx /m PATH "C:\Program Files\OpenSSH;%PATH%"
Version
Microsoft.OpenSSH.Beta                   8.9.1.0                        winget
Visuals
No response

Closing comment (2022-12-12T17:33:33Z): Closing as a duplicate of: #2006
Repository: PowerShell/Win32-OpenSSH

Issue #225: Do not require restarting when installing sshd with key-based authentication
Created: 2016-05-23T15:45:13Z
This is a massive papercut, and should not be necessary. In many cases, it's extremely inconvenient to restart an entire server just to fix sshd.
SSHD should be immediately runnable after installing, and it shouldn't consume 100% CPU before restarting like it currently does.

Duplicate issue #233: Register ssh-lsa.dll without restarting
Created: 2016-06-02T20:05:36Z
The installer needs to find a way to register ssh-lsa.dll/load at install time, so a logout/restart isn't required. Restarting, even if it's only once, is a papercut, and shouldn't be necessary. This is a tracking issue for suggestions and progress towards implementing them.

Closing comment (2016-07-01T19:36:34Z): dup #225.