Possible unfreed types and op in DistributedMeter

Based on this reply by @raffenet:

It might indicate you didn't call MPI_Type_free on all user-defined datatypes before MPI_Finalize.
Originally posted by @raffenet in https://github.com/GEOS-ESM/MAPL/issues/1244#issuecomment-997016436

I started looking around MAPL. And I saw that in:

pfio/ServerThread.F90
pfio/MpiMutex.F90
shared/MAPL_LoadBalance.F90

we have the usual create-type-free trio. But, then I looked at profiler/DistributedMeter.F90 and I'm not seeing any MPI_Type_free in there.
This code is pretty good @tclune / @weiyuan-jiang level Fortran (yay OO) so it's always hard for me to parse, but I do not see any frees.
I'm wondering if perhaps we need some sort of "finalize" routine in there to free the types made in there? (Or maybe we need three since there are three different make_type routines?)

We might have more than unfreed types:
$ rg still 1day.no_env.debug_mpich.out | sort | uniq
In direct memory block for handle type GROUP, 2 handles are still allocated
In direct memory block for handle type OP, 1 handles are still allocated
In indirect memory block 0 for handle type COMM, 296 handles are still allocated
In indirect memory block 0 for handle type COMM, 331 handles are still allocated
In indirect memory block 0 for handle type COMM, 334 handles are still allocated
In indirect memory block 0 for handle type COMM, 366 handles are still allocated
In indirect memory block 0 for handle type COMM, 437 handles are still allocated
In indirect memory block 0 for handle type COMM, 507 handles are still allocated
In indirect memory block 0 for handle type DATATYPE, 3 handles are still allocated
In indirect memory block 0 for handle type GROUP, 1 handles are still allocated
In indirect memory block 0 for handle type GROUP, 13 handles are still allocated

We might want to do a scan of all the MPI (assuming a lot of these aren't due to Baselibs libraries). There are way too many COMM here and I can't imagine we are making that many. But, we could have a shot at cleaning up the MPI_Group, MPI_Op, and MPI_Type maybe.
I do see an MPI_Op_create in DistributedMeter, and no associated MPI_Op_free.

Well catch! I will try to find a way to free them

The comms are hilarious. It has to be one of our sub-libraries, right? We can't be making 507 communicators that we don't free?

The comms are hilarious. It has to be one of our sub-libraries, right? We can't be making 507 communicators that we don't free?

The comms may not be entirely what they seem. Each comm in MPICH can internally include additional sub-comms not visible to the user, but which would still show up in the handle debugging.

The comms are hilarious. It has to be one of our sub-libraries, right? We can't be making 507 communicators that we don't free?

The comms may not be entirely what they seem. Each comm in MPICH can internally include additional sub-comms not visible to the user, but which would still show up in the handle debugging.

Ahhh. I guess I still think of MPI stacks as "black boxes" (if it works, I keep my hands off 😄 ). But makes sense it'd make it's own comms underneath. Thanks for the explanation, @raffenet
Still, I think the Op and Type are things we need to look at. Probably are some missing frees there.

@tclune Should we move these variables ( names may be changed) to abstract class so they can be freed?
https://github.com/GEOS-ESM/MAPL/blob/aba26d6deeb7349b55cf34d752162aaec4b573ca/profiler/DistributedMeter.F90#L92-L95

Definitely should be moved into a type - not obvious at first glance that it would need to be an abstract type.


Using GitHub actions

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #1   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines         360    360
  Branches       60     60
=====================================
  Hits          360    360

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 94df738...db16a45. Read the comment docs.


fix(fcm): Convert event_time to UTC

Check whether the datetime object is naive or timezone aware
If a naive datetime object is provided then set its timezone to the local timezone
Convert the event_time to UTC Zulu format

RELEASE NOTE: AndroidNotification class now correctly formats the event_time field sent to the Cloud Messaging service.

It turns out that in Python 3.5 astimezone() cannot be used with naive datetimes. Therefore, we will assume that all naive datetimes are already to be in the UTC timezone. The API docs are updated to reflect this change.
@hiranya911 @egilmorez


Lorien not working when installed through snap.

I'm using Ubuntu 22.04, and I tried to install Lorien 0.5.0 through snap. However, when I clicked the icon in the Applications, nothing happens. But when I run the executable downloaded from the release page, it works normally.

You have to talk to @tonybolzan about that. I don't maintain that package.
This is the repo: https://github.com/tonybolzan/snap-lorien. I suggest you open an issue there

@fhvirus Open a issue with more information about the problem in my repo.
And try running Lorien from terminal.
snap run lorien


Faster vote handling

Analysis of the vote handling process on local, finds that in the case of a 4-validator network, it takes about 25ms to handle a vote. Of this, ~13ms is spent in total_weight() and ~7ms is spent in get_stakers() calls to the EVM. This represents about 80% of the overall vote handling time. Increasing the number of validators also increases the vote handling time (as observed earlier).
This PR introduces some changes:

Rewrite of total_weight() from O(n) to O(1) time, which reduced the handling time from 13ms to ~3ms by calling the getTotalStake() deposit contract; then adding a caching mechanism reduced this further to a negligible cost after the first call.
Adding caching to get_stakers(), which reduces the call cost to negligible, after the first call.

This brings into the question of whether it might make sense to build a generalised caching mechanism for all EVM calls. But that might be overkill for now, and is something to think about if the need arises.
I think it's fine to merge these changes first, since they definitely provide some measure of improvement to the vote handling process. Hopefully, we can test and measure the real impact of these changes once the present devops issues have been resolved.

@shawn-zil Do you have a benchmark or easily reproducible way of testing the vote processing speed? I'm keen on exploring options to do the caching at a slightly lower level which avoids adding even more state and complexity into Consensus.
I'm testing a state cache in devnet this morning - https://github.com/Zilliqa/zq2/commit/61e3ae91ed75a67917cfb06c7e0466000e565939
Can you test the same change with your specific vote-processing issue?

@shawn-zil Do you have a benchmark or easily reproducible way of testing the vote processing speed? I'm keen on exploring options to do the caching at a slightly lower level which avoids adding even more state and complexity into Consensus.
I'm testing a state cache in devnet this morning - https://github.com/Zilliqa/zq2/commit/61e3ae91ed75a67917cfb06c7e0466000e565939
Can you test the same change with your specific vote-processing issue?

@JamesHinshelwood
I'm not doing anything fancy, just using timestamp.elapsed and printing it out at different points of the function to take readings.
Sorry.

Once I've deployed my change to devnet, would you mind checking the performance there too to see if it helps with your issue?

Also impacts #1525


Prep for Release 0.25.8

This PR does the following:

prep for release v0.25.8

Tugboat has finished building the preview for this pull request!
Link:

https://pr831-ua1o5lsykadl3xrwuquza24opl01pjql.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/61d705b55f46ed13d8d611cd

Tugboat has finished building the preview for this pull request!
Link:

https://pr831-ua1o5lsykadl3xrwuquza24opl01pjql.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/61d705b55f46ed13d8d611cd


'Warning: flushSync called inside a lifecycle method' when using Switch or Checkbox inside Radix UI dialog

I'm encountering a warning related to the usage of flushSync when utilizing switches or checkboxes inside a Radix UI dialog in my Next.js application. The Next.js application is served in my NX monorepo. The warning appears in the browser console and seems to only affect these specific components within the dialog, specifically when they are toggled on/off.
app-index.js:31 Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.     at $6be4966fd9bbc698$var$BubbleInput (webpack-internal:///(app-pages-browser)/../../../node_modules/.pnpm/@radix-ui+react-switch@1.0.3_@types+react-dom@18.2.7_@types+react@18.2.18_react-dom@18.2.0_react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.mjs:113:22)     at Provider (webpack-internal:///(app-pages-browser)/../../../node_modules/.pnpm/@radix-ui+react-context@1.0.1_@types+react@18.2.18_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.mjs:47:28)     at eval (webpack-internal:///(app-pages-browser)/../../../node_modules/.pnpm/@radix-ui+react-switch@1.0.3_@types+react-dom@18.2.7_@types+react@18.2.18_react-dom@18.2.0_react<EMAIL_ADDRESS>The error log is  a long one and it leads back to the dialog component, and when I use the switch/checkbox outside of the dialog, no warning is logged.
Steps to Reproduce

Open the dialog that contains either a switch or checkbox component.
Interact with the switch or checkbox.
Observe the warning message in the browser's console.

Expected Behavior
The components should work without any warnings or errors.
Actual Behavior
The warning message is displayed in the console every time a switch or checkbox is used inside a dialog.
Additional Information
browser: Chrome
package manager: pnpm
next.js version: ^13.4.13,
radix-ui/react-dialog version: ^1.0.4
radix-ui/react-switch version: ^1.0.3
I'm currently working to understand the root cause of this warning and would appreciate any insights or assistance in resolving it.

I'm getting the same warning

am getting similar, but with a switch inside a dropdownmenu

Same issue here..

Same here with Switch

Same issue here with Checkbox inside a DropdownMenu.

I also got this issue for my Switch inside a Dialog. I removed all states and hooks and the error still occurs.

I got this issue using Form and Input inside Dialog. Only happens on mount. Quite weird.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

i just ran into this problem with a Switchinside a DropDownMenuItem.

@shadcn, this is absolutely still an issue

I'm receiving that error with checkbox inside alert dialog

I am receiving this warning with a checkbox inside a sheet


Formatting on save is not triggered

Version of VSCode: 1.13.1
Version of the extension: 0.4.2
OS: Arch Linux
Description: I enabled formatting on save in my settings.json. Whenever I invoke the formatting manually, it works correctly. Unfortunately, it's not triggered when the document is saved.
My settings.json:
{
    "workbench.colorTheme": "Atom One Light",
    "rust.mode": "legacy",
    "rust.rustLangSrcPath": "/usr/src/rust/src",
    "rust.actionOnSave": "build",
    "rust.showOutput": false,
    "editor.formatOnSave": true,
    "rust.rustsymPath": "/usr/bin/rustsym",
    "rust.rustfmtPath": "/usr/bin/rustfmt"
}

Output of the "Rust logging" channel:
DEBUG: Configuration: updatePathToRacer: findRacerPathSpecifiedByUser: path=undefined
DEBUG: Configuration: updatePathToRacer: findDefaultRacerPath: foundPath=/usr/bin/racer
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): pathDirectories=["/usr/local/sbin","/usr/local/bin","/usr/bin","/usr/bin/site_perl","/usr/bin/vendor_perl","/usr/bin/core_perl"]
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): tools={"racer":"/usr/bin/racer","rustfmt":"/usr/bin/rustfmt","rustsym":"/usr/bin/rustsym"}
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): racer's path=/usr/bin/racer
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): rustfmt's path=/usr/bin/rustfmt
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): rustsym's path=/usr/bin/rustsym
DEBUG: Legacy Mode Manager: MissingToolsInstallator: getMissingTools(): this.missingTools = []
DEBUG: Legacy Mode Manager: CompletionManager: ensureSourceCodeIsAvailable: sources is available
DEBUG: Legacy Mode Manager: CompletionManager: start: enter
DEBUG: Legacy Mode Manager: CompletionManager: start: racerPath="/usr/bin/racer"
DEBUG: Legacy Mode Manager: CompletionManager: start: ENV[RUST_SRC_PATH] = /usr/src/rust/src
DEBUG: Cargo Manager: CargoTaskManager: OutputChannelTaskManager: Task: execute: this.executable = "cargo"
DEBUG: Cargo Manager: CargoTaskManager: OutputChannelTaskManager: Task: execute: this.args = ["build","--message-format","json"]
DEBUG: Cargo Manager: CargoTaskManager: OutputChannelTaskManager: Task: execute: cargoEnv = null

It works for me.
@marmistrz,
Could you check some package which I will prepare for you?

Sure thing! :)

@marmistrz,
It would be better if you run the extension from the source. Do you know how to do that?

Oh, one thing, when I tried to edit the sources of the nix package, the formatting worked. But for my own project - not.

Isn't that just copying the extension to the relevant directory? Js is not a compiled language

Please read the page.

I added logging to the formatting manager.
Could you download the source and try to run it?

I can. But the formatting suddenly started to work, so I don't know whether it makes sense to do so. :(

Okay then)

Don't close the issue.
If the problem won't happen in two days, I'll close it myself.

I was just about to close the issue :D and say that I'd reopen it if the problem reappears. :)

Should I close it?

@marmistrz,
If your problem hasn't appeared yet, please close it.


Is it possible to use midl/widl with Potto?

Does the output of them compatible with Potto?

duplicated with #15

duplicated with #15


[Question]  IndexError: index 100 is out of bounds for axis 0 with size 100 when using StackEmbedding

(I had asked a similar question before https://github.com/BrikerMan/Kashgari/issues/158 , it may provide some context) My understanding is that when using Stackembedding we have to ensure every layer has the same sequence length so that it can be concatenated.
Problem:  I am running the code with the same sequence length for all the features and the embedding. My embedding is running when I do training but I am still getting an index out of bounds with axis error. Also my training results are overfitted a lot even though I am using a 90K dataset so I think maybe the index error is the reason ?
My code looks like this after modifying (these are just the parts with sequence length involved)
#SEQUENCE LENGTH
SEQUENCE_LEN = 100
#BERT MODEL

bert_model_path= './bert/uncased_L-12_H-768_A-12'
bert_embedding = BERTEmbedding(bert_model_path,
                               task=kashgari.LABELING,
                               sequence_length=SEQUENCE_LEN)
tokenizer = bert_embedding.tokenizer

feature1_embedding = NumericFeaturesEmbedding(feature_count=1000,
                                                feature_name='feature1',
                                                sequence_length=SEQUENCE_LEN)

feature2_embedding = NumericFeaturesEmbedding(feature_count=1000,
                                                feature_name='feature2',
                                                sequence_length=SEQUENCE_LEN)

feature3_embedding = NumericFeaturesEmbedding(feature_count=1000,
                                                feature_name='feature3',
                                                sequence_length=SEQUENCE_LEN)
tokenized_text_list_train = sentences_tokenized_train

feature1_list_train = [list(train_df['feature1'])]*SEQUENCE_LEN
feature2_list_train = [list(train_df['feature2'])]*SEQUENCE_LEN
feature3_list_train = [list(train_df['feature3'])]*SEQUENCE_LEN
label_list_train = [list(train_df['label'])]*SEQUENCE_LEN

Since I have made the embedding and the features into the same length list, I should not get an index out of bounds with axis error.
But when I run print(stack_embedding.embed(train_x)) I am getting the following error
IndexError: index 100 is out of bounds for axis 0 with size 100
and one more small question (unrelated to this issue) the documentation mentioned leaving 0 for padding , does that mean the feature values in the dataset shouldn't be 0 ?
Thank you for helping out :)

update: I have kind of figured out from where the error is coming.
As I am using sentences which are tokenised by BERT as lists my text list is creating a list within a list of some kind. I am not sure but either ways if I remove the tokenised text I am feeding with a simple list given in your example like  ['NLP', 'Projects', 'Project', 'Name', ':'] the error goes away.
I am still confused about what this means though, is stackEmbedding not compatible with BERTEmbedding sentence pairs ?

You need to input a 3D Array-like [['token1', 'token2']] for embedding layer, whether using the sentence pair. Are you sure your data struct is right?

Thanks for the tip, I rechecked my data and corrected the input. Before this I was using the same bert tokeniser code written here https://kashgari.bmio.net/embeddings/bert-embedding/#example-usage-text-classification . I think what was happening was when we used that code we got an array like
[[ '[CLS]', 'token1', '[SEP]' ], [ '[CLS]', 'token2', '[SEP]']] which was giving  list is unhashable error. So I changed my input to be of the format [['[CLS]', 'token1', '[SEP]', '[CLS]', 'token2', '[SEP]']] and it stopped giving an error.
Thank you for clarifying once again

I am also having trouble with the same error:
print(stack_embedding.embed(final_x))

Traceback (most recent call last):
  File "process2-1.py", line 272, in <module>
    print(stack_embedding.embed(final_x))
  File "/usr/local/lib/python3.6/dist-packages/kashgari/embeddings/base_embedding.py", line 180, in embed
    embed_results = self.embed_model.predict(tensor_x)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py", line 1078, in predict
    callbacks=callbacks)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training_arrays.py", line 346, in model_iteration
    ins_batch = slice_arrays(ins, batch_ids)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/utils/generic_utils.py", line 531, in slice_arrays
    return [None if x is None else x[start] for x in arrays]
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/utils/generic_utils.py", line 531, in <listcomp>
    return [None if x is None else x[start] for x in arrays]
IndexError: index 10 is out of bounds for axis 0 with size 10

So just to clarify.. the following is incorrect:
[[1,1],[2,2],[3,3,4]], [[4,4],[5,5],[6,6,6]]
We actually want this?
[[1,1,2,2,3,3,4], [4,4,5,5,6,6,6]]


 Rebase the branch and force push again
git fetch upstream
git rebase upstream/main
git push -f origin assignment4


How to transform voice type to mp3?

How to transform voice type to mp3?

bro. could you solve it?
im need the same thing, to use with whisper ai

Also looking for mp3 conversion. ^^

solve it with ffmpeg on backend ref

Is there a cordova / capacitor library that does this conversion?

Was able to find https://github.com/MaximBelov/cordova-plugin-ffmpeg which can convert the data locally within android before sending the file to the server.
However, I am not able to make it work as I think I am doing something wrong while saving the base64 as file with FileSystem API.


Implement API to serve Playground CLI requests

Description
DiceDB Playground is an interactive platform that allows users to experiment with DiceDB commands in a live environment, similar to the Go Playground. Users will be able to submit and execute commands directly through a web interface. The initial implementation will focus on enabling users to search for and trigger commands.
For more details about DiceDB playground you can check here.
We need to implement an HTTP service that handles CLI requests for the DiceDB Playground. The service will be responsible for parsing incoming HTTP requests at the /cli endpoint, executing the appropriate DiceDB commands, and returning the command responses in a structured format. The primary goal is to enable CLI-based interactions with DiceDB via the Playground interface.
This service will:

Parse incoming requests containing a command name and associated parameters.
Send the appropriate command to the DiceDB instance using the Go SDK.
Return the result of the command execution as the HTTP response.
Note: QWATCH/QUNWATCH/ABORT/BGREWRITEAOF these commands won't be supported as part of this.

The API will follow the REST pattern and use the POST method to pass command information.
Note: Implementation will be part of DiceDB playground backend repo.
API details
Endpoint:
POST https://<BACKEND_SERVER_URL>/cli/<COMMAND_NAME>
Request Body Format:
{
  "key": "<KEY_NAME>",  "value": "<VALUE>"}

COMMAND_NAME: The DiceDB command being triggered (e.g., SET, GET, HSET, etc.).
KEY_NAME: The key for the command.
VALUE: The value to be set or retrieved, depending on the command.
Few example requests:
1. SET Command with NX Flag

URL:
POST https://<BACKEND_SERVER_URL>/cli/set

Body:
{
  "key": "k1",    "value": "v1",    "nx": "true"  }

Response:
{
  "result": "OK"  }

2. GET Command

URL:
POST https://<BACKEND_SERVER_URL>/cli/get

Body:
{
  "key": "k1"  }

Response:
{
  "value": "v1"  }

3. DEL Command

URL:
POST https://<BACKEND_SERVER_URL>/cli/del

Body:
{
  "keys": ["k1", "k2", "k3"]  }

Response:

  {    "result": "OK"  }

Tasks

Service Implementation:

Implementation will be done as part of playground-backend repository.
Create a new handler for the /cli endpoint in the backend Golang server.
Parse the command name and associated parameters from the incoming request.
Communicate with the DiceDB instance using the Go SDK to execute the command based on the parsed input.
Return the result of the command in the response.
Handle error cases, including invalid commands, missing parameters, and backend communication failures.

Validation:

Validate the incoming request to ensure required parameters (key, value, COMMAND_NAME) are provided.
Ensure appropriate HTTP response codes are returned based on success or failure scenarios.

Hey @lucifercr07
I would like to take this up.

can I take this up? @lucifercr07

@Dev79844 assigned, thanks for contributing.

@Dev79844 Please let me know if we can collaborate on this together this will also help in the #731 as that issue
is dependent on this one.

Sure we can collaborate together

hey @Dev79844 i already wrote the API routes. we can collab.
I've raised the PR for initial struct (without 727 changes) : https://github.com/DiceDB/playground-mono/pull/1

Hey @rishavvajpayee!
Sure. I will add more code today.

sure @Dev79844 do let me know if i can help 👍

Closed as part of https://github.com/DiceDB/playground-mono/pull/4


no-unreachable-types rule does not consider wrapped request directive argument types

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

[ ] 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox

For example, you can start off by editng the
'basic' example on Stackblitz.

Please make sure the graphql-eslint version under package.json matches yours.

[ ] 2. A failing test has been provided

[ ] 3. A local solution has been provided

[ ] 4. A pull request is pending review

no-unreachable-types rule does not consider wrapped request directive argument types (ie non-null and list types). It skips wrapped types (due to missing name) instead of trying to resolve the name.
The fix, including the test, is at https://github.com/keijokapp/graphql-eslint/commit/e2d9153e4f758aeb5efe487b6ce973ab667e7a6c
Environment:

OS: Linux
@graphql-eslint/eslint-plugin: 3.20.1, 4.0.0-alpha.0, master (e8541033)
Node.js: v20.8.0

Nice, sounds like a bug, will be fixed before releasing v4


Add async support

This PR tries to fix #212 by allowing to load CKEditor at the bottom of the page as it is done in GenemuFormBundle or DatetimepickerBundle.
How does it work?
First, you need to configure your form as async in order to render it latter with a new twig function (PHP templating is also supported):
ivory_ck_editor:
    autoload: false
    async: true

Then, update your template in order to look like the following:
{% extends '::base.html.twig' %}

{% block body %}
    {{ form(form) }}
{% endblock %}

{% block javascripts %}
    <script type="text/javascript" src="{{ asset('bundles/ivoryckeditor/ckeditor.js') }}"></script>
    {{ form_javascript(form) }}
{% endblock %}

More tests need to be added before thinking merging this PR...
I'm not fan that I have been forced to duplicate the extension already provided in the two bundles (form_javascript)... IMO, this part should go to the core or to a dedicated lib that other bundles can safely rely on instead of duplicating the feature... Futhermore, for twig is even worse as the function used will be the last one loaded in the container as there are called with the same name...

For the record, this PR should relies on egeloen/IvoryFormExtraBundle instead of re-implementing the same feature...


When [Metadata] setting is added to test case file, error message is wrong

When [Metadata] setting is added to test case file, error message is wrong.
Steps to reproduce:

Create test case file.
Add [Metadata] setting to the test case in test case file.
Run test case file.

Actual results:
The error is returned: [ ERROR ] Error in file (...) on line ...: Setting 'Metadata' is not allowed in suite initialization file.
Expected:
While test case file is exectuted (not test suite init file), error message should be different.
Env:
RF 6.0

I was able to reproduce this with the following test:
*** Test Cases ***
Example
   [Metadata]   not supported
   [Bad]        value
   No Operation

@pekkaklarck , I checked all settings available in the Settings section but not supported for test cases in Test Cases settings.
  Error message should point that given setting is not allowed for the test case in test cases file.

It's pretty easy to fix this so that [Metadata], or any other setting that's valid in a test case file but not with a test, is reported like Non-existing setting 'Metadata'. the same way as we handle totally invalid settings like [Bad].
If we wanted to, we could also use a different message like Setting 'Metadata' not allowed with a test. in this case similarly as we do if you try to use, for example, Metadata in a resource file. That's not overly complicated but I'm still not certain is that worth the effort.
If we do use a different metadata with settings that are valid in a test case file but not with an individual test, we absolutely should also handle a situation where you use a setting that's valid with a keyword like [Arguments] but not with a test. Obviously also settings valid with tests like [Template] but not with keywords should get a special treatment. This isn't too hard either but adds to the overall effort.
Instead of handling all these cases separately, we could also simply change the normal error message to something more context specific like Tests do not have have setting 'Metadata'.

Fixed this so that with all settings that are valid somewhere are reported differently than totally invalid settings.


[Bug]: Fails to allocate 3.403×10^14 YB (yottabytes) on startup

What happened?
Snap does not start. Fails when trying to allocate 30 × estimated amount of information contained in the biosphere[1]
[1] Source: Wolfram Alpha
What should have happened?
The app should start
Output of snap info $snap_name
name:      gimp
summary:   GNU Image Manipulation Program
publisher: Snapcrafters
store-url: https://snapcraft.io/gimp
contact:   https://github.com/snapcrafters/gimp/issues
license:   unset
description: |
  Whether you are a graphic designer, photographer, illustrator, or scientist, GIMP provides you
  with sophisticated tools to get your job done. You can further enhance your productivity with GIMP
  thanks to many customization options and 3rd party plugins.

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.

  Upstream Project: https://www.gimp.org/
  snapcraft.yaml Build Definition:
  https://github.com/snapcrafters/gimp/blob/master/snap/snapcraft.yaml
commands:
  - gimp
snap-id:      KDHYbyuzZukmLhiogKiUksByRhXD2gYV
tracking:     latest/stable
refresh-date: today at 13:32 AEST
channels:
  latest/stable:    2.10.28 2021-12-20 (383) 410MB -
  latest/candidate: 2.10.28 2021-11-09 (383) 410MB -
  latest/beta:      ↑
  latest/edge:      2.10.30 2022-05-04 (389) 553MB -
installed:          2.10.28            (383) 410MB -

### Output of `snap connections $snap_name`

```shell
Interface                 Plug                  Slot                             Notes
browser-support           gimp:browser-support  :browser-support                 -
content[gnome-3-28-1804]  gimp:gnome-3-28-1804  gnome-3-28-1804:gnome-3-28-1804  -
content[gtk-3-themes]     gimp:gtk-3-themes     gtk-common-themes:gtk-3-themes   -
content[icon-themes]      gimp:icon-themes      gtk-common-themes:icon-themes    -
content[sound-themes]     gimp:sound-themes     gtk-common-themes:sound-themes   -
cups-control              gimp:cups-control     -                                -
dbus                      -                     gimp:dbus-gimp                   -
desktop                   gimp:desktop          :desktop                         -
desktop-legacy            gimp:desktop-legacy   :desktop-legacy                  -
gsettings                 gimp:gsettings        :gsettings                       -
home                      gimp:home             :home                            -
network                   gimp:network          :network                         -
opengl                    gimp:opengl           :opengl                          -
removable-media           gimp:removable-media  -                                -
unity7                    gimp:unity7           :unity7                          -
wayland                   gimp:wayland          :wayland                         -
x11                       gimp:x11              :x11                             -

### Output of `snap version`

```shell
snap    2.55.3+22.04ubuntu1
snapd   2.55.3+22.04ubuntu1
series  16
ubuntu  22.04
kernel  5.15.0-27-generic

### Relevant log output

_No response_

### Teminal output of app

```shell
Fontconfig warning: FcPattern object weight does not accept value [80 205)
/snap/gimp/383/usr/bin/gimp: Gimp-Text-CRITICAL: gimp_font_factory_load_names: assertion 'fontset' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_scale_simple: assertion 'dest_width > 0' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GdkPixbuf-CRITICAL **: 13:33:26.828: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gimp:53077): GLib-ERROR **: 13:33:26.828: ../../../../glib/gmem.c:333: overflow allocating<PHONE_NUMBER>3709551615*18446744073709551615 bytes

(script-fu:53153): LibGimpBase-WARNING **: 13:33:26.941: script-fu: gimp_wire_read(): error
[1]    53077 trace trap (core dumped)  gimp

Erasing $HOME/snap/gimp has not resolved the issue.


Fix wildcards and alwaysSetPrefix when changing languages

Fixes #90 and #81

Thank you for the response! I have made the changes you requested. It seems like the CI has some issues, but locally the tests passed.

Thanks for the amazing fixes


docs: Fix private doc links and enable CI test

Objective
Fixes #3566
Solution

[x] Fix broken links in private docs.
[x] Add the --document-private-items flag to the CI.

Note
The following was said by @killercup in #3566:

I don't have time to confirm this but I assume that linking to private items throws an error/warning when just running cargo doc, and --document-private-item might actually hide that warning. So to test this, you'd have to run it twice.

I tested this and this is thankfully not the case. If you are linking to a private item you will get a warning no matter if you run cargo doc or cargo doc --document-private-items.
Example
I added struct Test; to bevy_core/src/name.rs and linked to it inside of a doc comment using [`Test`]. After that I ran cargo doc -p bevy_core --document-private-items using RUSTDOCFLAGS="-D warnings" and got the following output (note the last sentence):
error: public documentation for `Name` links to private item `Test`
  --> crates/bevy_core/src/name.rs:11:82
   |
11 | /// Component used to identify an entity. Stores a hash for faster comparisons [`Test`]
   |                                                                                ^^^^ this item is private
   |
   = note: `-D rustdoc::private-intra-doc-links` implied by `-D warnings`
   = note: this link resolves only because you passed `--document-private-items`, but will break without

How does this work with warning on missing docs? Will it warn on missing doc on private items?


What does this software do?

What happened?
Expecting to understand the project.
How can we reproduce this?
Read the landing page.
Operating system
Linux
Architecture
x86_64 / amd64
What browsers are you seeing the problem on?
Other (please specify)
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Additional context
I know the project is exciting to those involved, but from the outside it is not clear what problem it solves, for who, and what alternatives exist to solve similar problems.

Hi @evelynmitchell! Good question. The README does not contain a good description of the software at this time. I've added a little blurb and a link to one our of blog posts in #2612. However, I suspect that PR will just be a first pass at tackling this issue. Thanks for raising it!

Upon reflection and letting this sit, we can close this issue as there is sufficient information to learn about the software. Thanks again!


Implement Controller Tests

Change
Add

Add Unit Tests to the Controller Service

Remove

@tlawrie Do we want to move this to another release?


add score parts logic to trace_graph

so trace_graph can use rsvi. also as prep for larger refactors coming soon...

oh no reason i'll remove it
2018-02-10 10:29 GMT-08:00 Fritz Obermeyer<EMAIL_ADDRESS>
@fritzo approved this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/uber/pyro/pull/760#pullrequestreview-95629619, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVFMgpQUGS-UjKMIgaJn8ZMRZakBtSs5ks5tTeAlgaJpZM4SAj3k
.


No Issuer sent in request when cached login session

In a scenario when the user is already logged-in, the auth request is responded automatically, but the Issuer attribute is missing.

I'm actually not able to reproduce - I'm seeing the issuer field correctly populated.
You can add "ForceAuthn=true" to the request to have samling pause instead of automatically posting the response so you can verify that the issuer field is missing

@leonidsh119 can I close this?

Hi.
Sorry for not yet responding to you.
The issue is still observed, but I yet had a time to document it for you.
I am planning to use the simulator in automation testing when the SAML
SSO feature will be implemented in the next release of our product. Just
now I made POC for it.
Then we will probably investigate it again and either try to fix ourselves
or workaround it or reopen the case with more detailed way to reproduce .
Meanwhile please close  it.
Thanks for your response, anyway!
Best regards,
Leon
On Wed, 14 Aug 2019 at 6:43 Nadav Fischer<EMAIL_ADDRESS>wrote:

@leonidsh119 https://github.com/leonidsh119 can I close this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/capriza/samling/issues/19?email_source=notifications&email_token=AG43JR5B56XP642KES2P76TQEN5NVA5CNFSM4H4CYHGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4HTL2A#issuecomment-521090536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG43JR2UPP6NWVHCTOKBZV3QEN5NVANCNFSM4H4CYHGA
.


Can't login in v2.0.0a3 but can in previous versions

Description of the problem
Attempting to login using fbchat v2.0.0a3 throws an error, see Traceback below. I can login as expected using 2.0.0a2 and 1.9.6..
Someone else has had the same problem, and could also solve by using v2.0.0a2, see https://github.com/carpedm20/fbchat/issues/581
Seems related to the solution to https://github.com/carpedm20/fbchat/issues/413, in particular commit https://github.com/carpedm20/fbchat/commit/079d4093c4f0febf004c6cf8f6972f157833a4f7
Code to reproduce
import fbchat

session = fbchat.Session.login("<username snipped>", "<password snipped>")

Traceback
Traceback (most recent call last):
  File "hello.py", line 4, in <module>
    session = fbchat.Session.login("<username snipped>", "<password snipped>")
  File "/Users/matt/programming/python/patrick2/venv/lib/python3.7/site-packages/fbchat/_session.py", line 290, in login
    raise _exception.NotLoggedIn(error)
fbchat.NotLoggedIn: Password Forgot account?

Environment information

Python version 3.7.7
fbchat version 2.0.0a3 (installed with pip install fbchat==2.0.0a3)

I did a little poking around. I suppose the more relevant commit here is https://github.com/carpedm20/fbchat/commit/7be2acad7d8cf3e05cb3676c828e0695df38bbd9, which adds the code which throws the error:
# We weren't redirected, hence the email or password was wrong
if not url:
    error = get_error_data(r.content.decode("utf-8"))
    raise _exception.NotLoggedIn(error)

In my case, instead of being redirected to the messenger UI (302), the login request gets a response with code 200, and the content of the response is a big blob of html which renders as:

So you can see the error message which is getting parsed out of it ("Password Forgot account?") is just text from the login bar at the top. The error message returned from FB in the picture indicates the issue is actually due to the request being sent.
When I actually go to messenger.com in a browser and log in with my email and password, it's successful. This indicates to me that the problem will be present in the diff between the request that fbchat sends, and the request that messenger.com sends when I login using that page. One option going forwards for me would be to start experimenting with changing the headers and data sent in the login request. However, it seems strange to me that I would have this problem but someone else would be able to login through fbchat just fine.
Can anyone confirm that they can log in using 2.0.0a3? I'm assuming you can @madsmtm.

I can't login! I've tried today! Exact same problem! @wetmore

I can't login! I've tried today! Exact same problem! @wetmore

In the meantime I am using 2.0.0a2 and it's working fine, can you use that workaround?

I've tried login with 2a before and I was success! But 3a doesn't work for
me.
On Sat, May 30, 2020, 10:32 PM Matthew Wetmore<EMAIL_ADDRESS>wrote:

I can't login! I've tried today! Exact same problem! @wetmore
https://github.com/wetmore
In the meantime I am using 2.0.0a2 and it's working fine, can you use that
workaround?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/carpedm20/fbchat/issues/582#issuecomment-636354512,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ45Z7OT4ZGVGKHQ3YLLWSDRUEYK7ANCNFSM4NLCKJ4A
.

Thanks for the report!
I can't reproduce it myself, so maybe one of you would like to help me fix it? If so, please follow these instructions:

Go to https://www.messenger.com/login in your browser
Open your developer tools on the "Inspect" tab
Find the form HTML element in there
Inside this element, you should see a bunch of hidden input HTML elements, with different names and values. Note these down.
Go to Line 272 in _session.py, and try inputting different values, matching the ones you found in the previous step.
After a bit of trial and error, you might be able to find out which of these values are required for you to not hit the error.

It's quite a manual approach, and also probably quite hard to follow, so if something here doesn't work, please ask me to elaborate

I've been trying for 2 hours and nothing happened! I've tried with sending every single details, but it can't log in.
I've added dynamic details to the session so that every details gets up to date perfectly
d=session.get('https://messenger.com/login').text inputs=bs4.BeautifulSoup(d, 'html.parser').find_all('input') data = {             "jazoest": inputs[0]["value"],             "lsd": inputs[1]["value"],             "initial_request_id": inputs[2]["value"],  # any, just has to be present             "timezone": "-360",             "lgndim": inputs[4]["value"],             "lgnrnd": inputs[5]["value"],             "lgnjs": inputs[6]["value"],             "email": email,             "pass": password,             "login": "1",             "persistent": inputs[9]["value"],  # Changes the cookie type to have a long "expires"             "default_persistent": inputs[10]["value"],         }
Still, can't login! NB: value of the key "lgndim" gets empty string, don't know why, so I've tried adding custom value to that, still doesn't work! (Maybe it is generated after the page load using JS)
After trying to log in many times, I've found that, a cookie generates and then logs in to messenger named "act" followed by a number value, and that is the main problem. I have no idea where the cookie sent from!
Here's an example:
After going to login page: the cookies are -
'cookie': '_fbp=fb.1.1591773315379.820061979; wd=788x625; datr=g4jgXjB4k6l4gPODUwdd4Rt9'
and this cookie is sent by browser on login attempt -
'cookie': '_fbp=fb.1.1591773315379.820061979; wd=788x625; datr=g4jgXjB4k6l4gPODUwdd4Rt9; act=1591773579064%2F1'
See, last act just appeared! When this cookie is available and I send request to login, it goes to the 2fa page, but if the act is not available in the cookie, then It redirects to the error page @wetmore  provided! I'm noob at coding so I don't know what happens here! I've told you everything I could feel about this! And one more thing, the act numbers first some digits matches with the "datr" cookie and more matches with the max-age or something from received headers strict-transport-security maybe! I'm not sure!
I've explained everything I could get on this login, I'll try to explore more If I get free time! I don't know if anything I wrote could help! Please tell me if i should try another way or something!

Thanks for the details @xaadu, they've been really helpful!
Like you said, the act cookie is generated using JavaScript (I've seen it as well 😉). To me, it seems to be a combination of the current timestamp (in milliseconds) and a number indicating which number request this was (we set this to 0 always, might not be correct?).
I've added this to the login code, see d65094653154ebecc5f3fd018164a0459b5d259c, and released v2.0.0a5, so please try that out and see if it works for you now.

Note to my future self: I managed to get the same error page as you people by inserting an old datr cookie, using that I should be able to improve the error message parsing.

Same problem bro! ☹☹

I've found a way to log in using pyppeteer! I've logged in and got the session perfectly! It sometimes hangs because of some function call! But it works most of the time! Should I polish the code? Or it can't be used because of weight? I didn't give any fallback for the wrong username/pass/2fa code! I'll polish if I'm sure that pyppeteer is usable! Here's the code (Almost unreadable noob code for the testing purpose that needs to be polished perfectly):
import asyncio
from pyppeteer import launch
import JSON

email='antheaxs3'
password='xadu@xaadu'

async def main():
    browser = await launch()
    page = await browser.newPage()
    await page.goto('https://messenger.com/login', { 'waitUntil': 'load' })
    #await page.waitForSelector('#u_0_0')
    try:
        await page.click('#u_0_0')
    except:
        await asyncio.sleep(1)
        await page.click('#u_0_0')
    await page.click('#email')
    await page.keyboard.sendCharacter(email)
    await page.click('#pass')
    await page.keyboard.sendCharacter(password)
    await page.keyboard.press('Enter')
    await page.waitForNavigation({ 'waitUntil': 'load' })
    print(page.url)
    while 'checkpoint_interstitial' in page.url:
        await page.click('#XMessengerDotComLoginViewPlaceholder > div > div._3-mr > div > a', { 'waitUntil': 'load' })
        #XMessengerDotComLoginViewPlaceholder > div > div._3-mr > div > a
        await page.screenshot({'path': 'example.png'})
        try:
            await page.setJavaScriptEnabled(False)
            await page.JJ('#u_0_c')
            await page.click('#approvals_code')
            code=input('Enter Code for 2FA Authentication: ')
            await page.keyboard.sendCharacter(code)
            await page.screenshot({'path': 'example.png'})
            await page.click('#checkpointSubmitButton', { 'waitUntil': 'load' })
            await page.screenshot({'path': 'example.png'})
            await page.waitForSelector('#u_0_3')
            await page.click('#u_0_3')
            await page.waitForSelector('#checkpointSubmitButton')
            await page.click('#checkpointSubmitButton', { 'waitUntil': 'load' })
            await page.screenshot({'path': 'example.png'})
            raise Exception
        except Exception as e:
            await page.waitForSelector('#checkpointSubmitButton')
            await page.click('#checkpointSubmitButton')
            await page.screenshot({'path': 'example.png'})
            await page.waitForSelector('#checkpointSubmitButton')
            await page.click('#checkpointSubmitButton')
            await page.screenshot({'path': 'example.png'})
            await page.waitForSelector('#checkpointSubmitButton')
            await page.setJavaScriptEnabled(True)
            await page.click('#checkpointSubmitButton', { 'waitUntil': 'load' })
            await page.screenshot({'path': 'example.png'})
            print('Done')

    cookies=await page.cookies()
    with open('test.json', 'w') as f:
        f.write(json.dumps(cookies))
    finalCookies={}
    for cookie in cookies:
        finalCookies[cookie['name']]=cookie['value']
    with open('session.json', 'w') as f:
        f.write(json.dumps(finalCookies))

    print(finalCookies)

    await page.screenshot({'path': 'example.png'})
    await browser.close()

asyncio.get_event_loop().run_until_complete(main())

Note: This will automatically download the required browser on the first run. So I think it would be supported in any hosting! Selenium is easy but need buildpack in Heroku!
@madsmtm kindly just answer if it's possible to use pyppeteer in fbchat! It's a temporary fix!

The code above is a bit bloated to be committed I reckon. You're better off just scraping the _js_datr cookie from a new session on messenger.com.
Add it to your session cookies using:
requests.utils.add_dict_to_cookiejar(session.cookies, {'_js_datr': js_datr})
or
session.cookies.set("_js_datr", js_datr, domain=".messenger.com")

Thanks, @TimLChan . I've fixed it the same way you've mentioned but I didn't push in this repo because I was sure It was not gonna work and now it doesn't.

There's some other session variables that need to get fixed for it to work which I've done on my branch. I haven't written any tests or thoroughly tested them so I haven't raised a PR.

Wow! Nice work! Does your code still work? Cause mine doesn't

I'm actively trying to fix this issue in my fork. Anyone have any updates regarding this?


Make it easier to link to a topic

We should make it easier and more discoverable how to link to a topic by making the following changes.

When a user selects a channel from the channel mention typeahead, immediately insert  > after the channel name. Don't insert ** yet.
Modify the topic typeahead menu to offer the current channel as the first option. We should just need the name (no description); we might add a hint if we feel like it's confusing. If selected, the > should be removed, and the rest of the channel link formatting (** on both sides) should be inserted.
If a topic is selected from the typeahead menu, insert ** before and after the channel>topic.
Remove the "Press > for list of topics" hint from the channel typeahead.

Notes:

With this set of changes, the initial ** is inserted only if a selection is made from the topic typeahead menu. I think that's better than creating partial formatting like #**design>. On rare occasions, one wants to link to a topic that doesn't exist yet, but I think users can figure out how to do that, e.g., by selecting the channel option from the topic typeahead. We could do it the other way if we wanted, though.

CZO thread

While fiddling with the typeahead, I managed to get into a buggy state, where the channel menu was shown instead of the topic menu, or just the hint from the channel menu was displayed inside the topic menu.  I hope these issues can be addressed as part of making this change, but we should debug them separately if we decide not to integrate these changes.

@zulipbot claim

While fiddling with the typeahead, I managed to get into a buggy state, where the channel menu was shown instead of the topic menu, or just the hint from the channel menu was displayed inside the topic menu. I hope these issues can be addressed as part of making this change, but we should debug them separately if we decide not to integrate these changes.
Screenshot of topics + hint

Hey @alya, i don't see any channels mentioned in your file
The screenshot attached contains the topic list from design channel
Could you point where do you see the channel names in the menu?


canonical url not appearing in generated html file

canonical url not appearing in generated html file.
Please let me know what option i need to supply to include rel canonical url in generated html snapshot

To my knowledge, there is no filter in this software that would remove such a thing from the snapshot. Are you supplying a custom filter?
Is there a public site I can use to reproduce the error?

Hello @CloudHadoop , I haven't heard back from you.
Is the canonical url in the source output, or is this something you wanted to add after the fact?

Closing since I haven't heard back in 3 weeks. Feel free to reopen to continue.


Compatibility with webpack

var PIXI = require('pixi.js');
First attempt gave me a bunch of webpack errors:
ERROR in ./~/pixi.js/src/filters/ascii/AsciiFilter.js
Module not found: Error: Cannot resolve module 'fs' in /Users/michaeldelaney/Workspace/web_dev/gulp-starter/node_modules/pixi.js/src/filters/ascii
 @ ./~/pixi.js/src/filters/ascii/AsciiFilter.js 3:9-22

ERROR in ./~/pixi.js/src/filters/blur/BlurXFilter.js
Module not found: Error: Cannot resolve module 'fs' in /Users/michaeldelaney/Workspace/web_dev/gulp-starter/node_modules/pixi.js/src/filters/blur
 @ ./~/pixi.js/src/filters/blur/BlurXFilter.js 3:9-22

ERROR in ./~/pixi.js/src/filters/blur/BlurYFilter.js
Module not found: Error: Cannot resolve module 'fs' in /Users/michaeldelaney/Workspace/web_dev/gulp-starter/node_modules/pixi.js/src/filters/blur
 @ ./~/pixi.js/src/filters/blur/BlurYFilter.js 3:9-22

etc...

So I set node: { fs: "empty" } in webpack's config and that got rid of the above errors.
But then this error:
ERROR in ./~/pixi.js/package.json
Module parse failed: /Users/michaeldelaney/Workspace/web_dev/gulp-starter/node_modules/pixi.js/package.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
|   "name": "pixi.js",
|   "version": "3.0.6",
|   "description": "Pixi.js is a fast lightweight 2D library that works across all devices.",
 @ ./~/pixi.js/src/core/const.js 14:13-42

So I added json-loader to webpack's config.
module: {
  loaders: [{
    test: /\.json$/,
    loader: 'json-loader'
  }]
}

Success. Would be nice if this worked out of box though.

We use browserify brfs transform:
https://github.com/GoodBoyDigital/pixi.js/blob/master/package.json#L57-L61
I'm not sure how you would make that webpack compatible, are there any articles on webpack running browserify transforms?

https://github.com/webpack/transform-loader

@drkibitz Thanks for the hint, I was able to get started with Pixi+Webpack using transform-loader+json-loader.
@fusepilot Here is the webpack config I am using.

I couldn't get @mking's config to work when using Babel. I had to move brfs to postLoaders, but now it works: https://gist.github.com/oal/898df82fa64e54dd16d0

Closing since this seems answered.

I wasn't able to solve a problem where pixi.js/src/core/const.js tries to require ../../package.json and thows an error Cannot find module "../../package.json". I tried with both ways by @oal. This happens only when I'm using hot module reload though, on production build it works fine.
I ended up using the built version of pixi.js like import PIXI from 'pixi.js/bin/pixi.js'. And now I only see a warning but hot reload works:
Critical dependencies:
34:477-484 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/pixi.js/bin/pixi.js 34:477-484```

I guess you might need some kind of plugin for webpack for it to support .json require loading? Node/browserify support it natively.

@englercj It's supported when json-loader is configured. I'm not an expert with webpack but this might be some problem caused by webpack-hot-middleware, since the bundle works, the error happens on dev mode.

Hmm, weird. Yeah sorry i'm not familiar with it either :/

Webpack has an option to load "pre-packed" libraries without parse it (like pixi.js), just add noParse to your module section at webpack config, something like that:
    noParse: [
      /.*(pixi\.js).*/
    ],
}```

This snippet must solve the problem with the internal requires.

This is the most direct and simple example of configuring webpack with PIXI that I found.
https://gist.github.com/mjackson/ecd3914ebee934f4daf4

This gist is the most simple webpack + pixi.js config :
https://gist.github.com/mjackson/ecd3914ebee934f4daf4
( with great comments )

the gist linked above suffers from a bug related to pixijs/pixi.js@5a53e38 - pixi's version number is reported as __VERSION__
webpack.config.js should include this loader:
{
  include: path.resolve(__dirname, 'node_modules/pixi.js'),
  loader: 'transform/cacheable?browserify-versionify'
}

@mjackson mentioning here because gist comments don't send notifications apparently 😞

Just ran into this problem. Thanks a lot for the solution!

Here is a working configuration for Webpack / Typescript and PixiJS :-). https://gist.github.com/Nek-/b9775f7a88eb896db8afc37a89db3771


Support Julia 1.6 (again)

Checklist

[x] Appropriate tests were added
[x] Any code changes were done in a way that does not break public API
[x] All documentation related to code changes were updated
[x] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[x] Any new documentation only uses public API

Additional context
This PR makes EnzymeCoreExt and ChainRulesExt unconditional dependencies for Julia <1.9, thus allowing support for older Julia versions.
We initially decided against it in https://github.com/SciML/ADTypes.jl/pull/40#issuecomment-2055319884, but as shown by #47 some users would like this feature. It is zero-cost for us, so why not?

@ChrisRackauckas @Vaibhavdixit02 I think this doesn't hurt, right?

Bump @Vaibhavdixit02

If you all want to maintain it, go for it. We don't plan to put any effort into the old LTS since the new one is already out.

I didnt have that in mind, so all of SciML is basically willing to drop 1.6?

Yes.


xGESVDX binding for faster low-rank SVD

It would be nice to have a binding for the LAPACK functions xGESVDX to perform SVDs for only a part of the spectrum. A parameter svdvals could be introduced for the function scipy.linalg.svd (like there is the parameter eigvals for scipy.linalg.eigh) to select the singular values.
If it helps, I have implemented a binding to xGESVDX for my own needs:
https://github.com/mrader1248/pylapack

Since the number of LAPACK routines are too many, it is not so easy to prioritize what to add, hence LAPACK bindings are added in a kind-of "we need this" basis.  If you can submit a PR for this that would be great.
All the LAPACK f2py signatures are located in flapack.pyf.src and you can add the signatures to that. As an example, the GESVD is here .
f2py syntax is quite cryptic so if you need to familiarize yourself with it please let us know. I've been there :)

So I would have to add the xGESVDX signatures to flapack.pyf.src and then I could use the function get_lapack_funcs to call xGESVDX from Python?

Yes. Or if you are sure about the data type, you can directly call scipy.linalg.lapack.zgesvdx(....) or any other <s/d/c> flavor.


Download links for OpenSuse are not working

Download Links for OpenSuse Leap and SLE lead to a 404
Hello,
the links on the download page for OpenSuse Leap and SLE do not work anymore, they result in a 404.
Leap links are nowadays:

https://download.opensuse.org/repositories/Application:/Geo/15.5/
https://download.opensuse.org/repositories/Application:/Geo/15.6/

Be aware though that there are no QGIS packages for Leap in the repositories!  And I could not find any replacement links for SLE.
Page URL: https://qgis.org/en/site/forusers/alldownloads.html#suse-opensuse

Thanks. There is an open PR https://github.com/qgis/QGIS-Website/pull/1196 by @trytomakeyouprivate about the SUSE / OpenSUSE install instructions. The latest updates of the links have been made by @badarotti.

@frankbroniewski if the QGIS plugins work, then the qgis python module is available.

Hey Andrea, thanks for your help - the non standard Python module path on OpenSuse caught me off guard, since it is different to any other distro I used (Fedora and Ubuntu) before. I closed the corresponding ticket on QGIS with some more comments, if you are interested.
On a side note, I looked through the changes of the install documentation you linked above and noted the pip install command. This is deprecated on OpenSuse Tumbleweed and other distros, as they implement PEP668 in the current version. The system/user wide installation of Python modules outside of the system repositories is discouraged. Instead users should install Python modules in a virtual environment, i.e. by using pipx Link instead of pip.
Here's an example output of the error you get when using pip:
frank@schnipsel:~> pip install flask
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try
    zypper install python311-xyz, where xyz is the package
    you are trying to install.

    If you wish to install a non-rpm packaged Python package,
    create a virtual environment using python3.11 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-rpm packaged Python application,
    it may be easiest to use `pipx install xyz`, which will manage a
    virtual environment for you. Install pipx via `zypper install python311-pipx` .

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

I know that Fedora and Debian also follow PEP668 already, for others I do not know.
If I may suggest, I would rewrite the paragraph as follows:

If Plugins report missing packages, you can install them using one of the following methods in preferred order:

Look in your system repositories and install them via the system package manager, i.e. apt, dnf or alternative: sudo apt install module-name
If your system implements PEP668, use pipx to install the module: pipx install module-name
Lastly, use pip to install the missing module: pip install module-name

If you want, I can do a PR with my proposal, I just need to figure out what I need to do 😁

@frankbroniewski, thanks for sharing such info. Your help is appreciated, so please add a comment to the PR https://github.com/qgis/QGIS-Website/pull/1196 and / or open a new PR.

Hey Andrea, please see https://github.com/qgis/QGIS-Website/pull/1196#issuecomment-1953828980 for a link to the PR. I let you decide whether to close this ticket or leave it open 👍

@frankbroniewski the download links for OpenSUSE are actually mostly incorrect, so this issue report is valid.

I am not sure why we should add links to individual packages tbh. This is unnecessary (the Debian instructions are insanely huge) and people should really really use their package manager for that.


How to track details of an associated model?

class Author < ActiveRecord::Base
  has_many :books
  accepts_nested_attributes_for :books

  validates :name, presence: true
end

class Book < ActiveRecord::Base
  belongs_to :author

  validates :title, presence: true
end

> author = Author.new
> author.books.build
> author.valid?
> author.errors.details
=> {:name=>[{:error=>:blank}]}
> author.errors.messages
=> {:"books.title"=>["can't be blank"], :name=>["can't be blank"]}

I want to take errors of a book model from author.errors.details like author.errors.messages.
Is there a way?

Oops. Sorry for the multiple posts!


test on Windows

Download and run:
npm start

If it looks good try out bundling it with:
npm run build:win

Error from a test run by @aronhessler

ah it's a off-by-one array access http://chainsawsuit.com/comic/2014/09/16/on-research/ >_<

tested by @jourdain, closing


Change location_id to pop_id

location_id in dataframe splitting is a bad term--we should change it to the term pop_id or population_id to generally refer to the subpopulation that we are splitting (whether it is a country, or age group, both, etc.) Also, we can have that as an input (using possibly a list with indexing for multiple columns at once, since we have to send it to a tuple first if we want to select by both age and location).

Actually, demographic_id is probably the best terminology as the most general term for a group of people sharing some similar traits.


[ML][Pipelines] Infer & update loop body input from do-while mapping

Description
When combine dynamic input and do-while, some inputs can be unavailable and only be set as None during first iteration. This will lead to validation error for unknown type and unprovided value for such inputs. This PR targets to infer and update type from mapping if these inputs are mapped across loop; also update optional (inferred) for these inputs.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

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


Make an AI Chatbot

Make an AI chatbot assistant for each section.

Hi Harshal,
I would like to work on this issue. Could you please assign it to me?

@abhinav5481 you can work on this issue. You are requested to join the Discord server using this link. Try to complete it within 5 days and follow the CONTRIBUTION.md for making PR.

@abhinav5481 what's the status?
Are you facing any problem?

I am about to complete it. Please give me some more time. I would create PR as soon as possible.

ok, try to complete it ASAP

i can make it. could i be assigned this issue?

@unnati914 go for it.

what features do you want for chatbot?

The chatbot can help police/public with their questions. You can refer to chatbot.js for the services, and if you wish you can add more relevant features.

sure thing

we can try google dialogue flow for this

We can try dialogue flow, but there is a problem, in order to make an agent, you need to have a Google CLoud account, and you need to share your card details, in order to make an account.

we can use chatterbot and make the AI chatbot. Is anybody working on it??

@PaliwalRP can you please elaborate more about it

Actually the chatterbot is a python library which can be used to make a AI chatbot @Harshal0902

https://www.tutorialdocs.com/tutorial/chatterbot/simple-example.html#:~:text=Creating your first chat bot 1 Setting the,bot. ... 5 Training your chat bot.  refer to this for more info.

@Harshal0902 we can create chatbot , whats the progress??

Yes, we can do it, but we have to find a way to integrate it in our appliction

@Harshal0902 I can make an AI Chatbot using Dialogflow As I have made one for my previous hackathon.So,if you could assign me this issue I could contribute more!
Kindly check my COVID-19 Bot and assign me this issue :-
https://bot.dialogflow.com/53e898d9-a118-4378-908f-177b32f5b34f

@NidhiChaurasia you can make it using Dialogflow, but not sure it will work after free trial of Google Cloud is expire, so I will suggest to avoid it using Dialogflow. And we can afterwards make other modification with that chatbot like: voice command to open any page etc.


Lee matthews/controller

draft PR for harmonization. This will resolve #59 and unlock our new embedded engineers to help out with the controller code.
Happy to chat about it when you are ready, @lee-matthews , I just don't know if I'll catch you tonight so I'm setting up for an effective next meeting.

whoops, should actually start with merging master into this branch first.


Upload image fail half of the time

I tried to upload an image many times but couldn't reproduce. Does this link work after some time (when copied in opened in another tab)?

What could potentially happen is that after uploading gateway.ipfs.io didn't retrieve image yet, so it returns broken URL.

Its this, we probably need to get back to ipfs.busy.org links

Perhaps (Wiktor idea): we can use ipfs.busy.org only on the preview

I have the same problem (windows 10 / chrome) and to solve it the only way I found is:

save the draft
close all browsers opened
run CCleaner to clear all cache
open new browser and the draft

result: the image appear
mean look like something with cache


Use Box<[T]> instead of Vec to initialize and drop ArrayQueue

Previously, the queue buffer was initialized using Vec::with_capacity. Note that with_capacity does not guarantee a precise capacity; the layout of the allocated memory could have a greater size.
ArrayVec::drop assumed the buffer has a size equal to the queue's capacity. This is undefined behavior when the buffer actually has a different size thanks to Vec.
Using Box<[T]> instead guarantees an exact capacity, resolving the UB.
(The same fix should probably be applied to concurrent-queue as it suffers from the same bug.)

The FromIterator impl that collect uses for Box<[T]> is
impl<A> FromIterator<A> for Box<[A]> {
    fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self {
        iter.into_iter().collect::<Vec<_>>().into_boxed_slice()
    }
}

I might be wrong, but wouldn't this also result in bigger than needed allocation?

The FromIterator impl that collect uses for Box<[T]> is
impl<A> FromIterator<A> for Box<[A]> {
    fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self {
        iter.into_iter().collect::<Vec<_>>().into_boxed_slice()
    }
}

I might be wrong, but wouldn't this also result in bigger than needed allocation?

into_boxed_slice will shrink the allocation's size to the length of the slice:
      unsafe {
            self.shrink_to_fit();
            let me = ManuallyDrop::new(self);
            let buf = ptr::read(&me.buf);
            let len = me.len();
            buf.into_box(len).assume_init()
        }

Notice the call to shrink_to_fit.

The UB fixed here is causing critical issues with jemalloc in our project. We create a bounded channel of size 1. crossbeam-channel allocates a buffer of 4 elements (192 bytes) but when it frees, it tells the allocator it's only 48 bytes. These are different size classes so mayhem ensues.
Unfortunately this UB is still present in crossbeam-channel 0.4.4, which was pushed about a month after this PR was merged.
https://docs.rs/crate/crossbeam-channel/0.4.4/source/src/flavors/array.rs
Please release a crossbeam-channel containing this PR.

@rocallahan crossbeam-channel 0.4.4 is like removing the commit that introduced the UB fixed by this PR from 0.4.3.
So "incorrect layout on deallocation" UB shouldn't exist in that version. (Could you check the output of cargo tree | grep 'crossbeam-channel'?)

Yes, I just figured that out and deleted my comment, sorry.
I was confused because I couldn't find the commit from this PR under the crossbeam-channel-0.4.4 tag. I also looked at the 0.4.4 crates.io source and misunderstood the code there. Thanks!

I do think it would be good if critical bugs like this can make it into a release more quickly. It was more than two months from this bug being discovered (late June) to 0.4.4 being released and 0.4.3 being yanked. We updated to 0.4.3 in the meantime and I guess a lot of other projects did too.

Would it be possible to request a CVE from Github for this issue?

@tomrittervg I've filed advisory in https://github.com/RustSec/advisory-db/pull/425. (And I'll request a CVE from Github.)

Security advisory is now published as RUSTSEC-2020-0052 / CVE-2020-15254.


feat: add Dex Coordinator

Context

To-do list

[x] Added tests
[ ] Tested on dev/sbx
[x] Changelog was updated with current changes
[x] Documentation or guides were updated (slab, readme)
[ ] Version was updated on package.json (releases/hotfixes)

Checklist before merge

[ ] there are no errors in logs in any workers
[ ] new blocks are being discovered and marked as finalized
[ ] foreign blocks are being dispatched
[ ] squash all commits before merging

PoolScanner will not be implemented


Sensitive notifications

Android notifications are by default private (sensitive), and with a setting these notifications will have their content hidden on the lock screen.
It'd be nice to have certain notifications from Trail Sense, such as Weather, Today's forecast, Astronomy alerts and Sunset alert, to be set as public so that their contents can be seen at a glance.
Perhaps it could be added as a toggle in settings?
Ps. Thanks for the app. Since I'm often without internet, it's my go-to for all sorts of tools and info.

Thanks! I'll take a look at what options Android makes available to developers around notification visibility, and I can add a setting in the Privacy settings of Trail Sense to toggle this on and off.
I'll probably default the toggle to public since I don't believe there are any sensitive notifications in Trail Sense (I'll confirm when I pick up this ticket)


bad suggestion for "literal with an empty format string"

Given
fn main() {
    println!("{}", file!());
}

clippy suggests:
help: try this
  |
2 -     println!("{}", file!());
2 +     println!("ile!(");
  |

It is tracked in rust-lang/rust-clippy repo: https://github.com/rust-lang/rust-clippy/issues/9810. Thanks.


1.0 doc newcomer feedback

Hi
I've been checking the docs for redux 1.0, hoping to start using it.
Here is some feedback from total n00b :

The Introduction and Basic part is great (expacially the "Motivation" and links to other Flux lib)

The "Advanced" part is incredibly frustrating (maybe it's just me, but it's the third flux-like lib I've seen this last few weeks that does not explain how to do async / ajax, which is kind of a pretty common requirement)
I'm pretty sure're you're working on it, and from what I gathered the article seems to boil down to "use redux-thunk", but meanwhile a new user will have to guess and dive into examples without much direction

The "Installation" part is really confusing to someone who does not know how to go from npm install redux to use redux in a browser. Maybe it's just a matter of knowing how to use webpack / browserify, and maybe I'm the last person who does not find it obvious ;)

I hope it does not sound too much like a rant.
Thanks

For async the story is use redux-thunk or (even better in my opinion) use some form of redux promise middleware.  We should definitely add docs for both those options and start adding some more basic async examples.
For getting it working in the browser, we should probably also distribute a pre-built version and include some basic instructions for browserify/webpack.

Thanks for the reply.
I got around the "install" part (the surprising bit was that a pretty default setup of webpack does the trick - I was expecting to have something more to do.)
Are there already promise middleware examples that you would recommend ?
Looking forward to reading the updated docs.
Thanks.

The code I use is:
function promiseMiddleware(store) {
  return function (next) {
    return function (action) {
      action && typeof action.then === 'function'
        ? action.then(next, onError)
        : next(action);
    }
  }
};

function onError(err) {
  // use setTimeout to prevent error being silenced
  setTimeout(function () {
    throw err;
  }, 0);
}

You can then do async like:
dispatch(
  getJSON('/example.json').then(
    data => (
      {type: 'DATA_FETCH_COMPLETE', data: data}
    ),
    err => (
      {type: 'DATA_FETCH_FAILED', err: err}
    )
));

The "Advanced" part is incredibly frustrating (maybe it's just me, but it's the third flux-like lib I've seen this last few weeks that does not explain how to do async / ajax, which is kind of a pretty common requirement)

How is it frustrating if it isn't written yet? I'm working on it. :-)

In the meantime this might help you get started:
https://gist.github.com/gaearon/074b0905337a6a835d82
Also:
https://github.com/gaearon/redux/issues/99
http://gaearon.github.io/redux/docs/recipes/ReducingBoilerplate.html#async-action-creators
http://gaearon.github.io/redux/docs/api/applyMiddleware.html

How is it frustrating if it isn't written yet? I'm working on it. :-)

Good to hear that !
It's frustrating because I fell like "telling people to use a flux-ish lib", without an example of "doing an ajax call the right way" in the doc, seems to be the norm those days. I've litteraly seen it with : redux, fluxmox, plain-old-flux and elm since I started looking into flux implementations.
I tend to blame "todomvc" for that ; you don't need ajax to implement the "canonical" version, but it could be argued that such a backend-less single page app is going to be completely useless to a vast majority of developpers (who will have to call a API sooner than later.)
Anyway, thanks for the help and good luck with the writing !

To be fair Flummox docs were focused on AJAX stuff from the start, from what I remember.

@gaearon that's right, sorry. "Rant mode" makes you imagine things ;)

@phtrivier +1

We just added two new examples focused on async interaction:

#474 (simple: loading state, re-fetching, invalidation)
#460 (real world: pagination, caching, state normalization, routing, custom middleware)

Feel free to check them out!

Great !
#474 looks great (I had arrived at about this point, but I did some weird things, and the organisation is clearer )
It's good that you introduce that "explicit" handling of sending a request / waiting for the response / getting the response and storing it / invalidating the cache. Although, is there a middleware / pattern that can remove some boilerplate for that ?
Also, I'm not sure why you introduce "isomorphic-fetch" in the example (Is it just because you use it everywhere and want to prepare the ground for later examples ?)
Will you be using those examples in the guide ?
Thanks !

It's good that you introduce that "explicit" handling of sending a request / waiting for the response / getting the response and storing it / invalidating the cache. Although, is there a middleware / pattern that can remove some boilerplate for that ?

See "real-world" example. :-)

Also, I'm not sure why you introduce "isomorphic-fetch" in the example (Is it just because you use it everywhere and want to prepare the ground for later examples ?)

Yes.

See "real-world" example. :-)

Can't wait to :wink:  !
Will you also touch on how you would test async actions (or is it out of scope ?) Would love to have your option on injecting / mocking / patchint things like fetch...

New doc is up: Async Actions.

Thanks!

@gaearon I'm trying to run redux/examples/real-world and my cloned repository is at the current head of branch "breaking-changes-1.0" (which is fd7f884b94a28da7a71d0be67da543e46fdc6c17), but I am receiving this error when requesting http://localhost:3000/ (while running npm start):
ERROR in /Users/tim/.local/src/js/react/redux/src/utils/combineReducers.js Module not found: Error: Cannot resolve module 'warning' in /Users/tim/.local/src/js/react/redux/src/utils  @ /Users/tim/.local/src/js/react/redux/src/utils/combineReducers.js 26:15-33
Any ideas?  Thank you!

I am really enjoying redux and react-redux, by the way. Great work!

@tchon Did you run npm install in the root folder? From examples:

To run any of them, you need to clone the repo and run npm install:

git clone https://github.com/gaearon/redux.git
cd redux
npm install

@gaearon Ok, running npm install at the top level fixed it. Thanks again!

The "Advanced" part is incredibly frustrating (maybe it's just me, but it's the third flux-like lib I've seen this last few weeks that does not explain how to do async / ajax, which is kind of a pretty common requirement)

Should be solved by Async Actions.

The "Installation" part is really confusing to someone who does not know how to go from npm install redux to use redux in a browser. Maybe it's just a matter of knowing how to use webpack / browserify, and maybe I'm the last person who does not find it obvious ;)

We assume user is familiar with NPM ecosystem. We can't teach the user to use NPM and JavaScript bundlers—they'll have to get this knowledge elsewhere. We will provide a standalone build (https://github.com/rackt/redux/issues/212) soon, but every Redux-related package is on NPM anyway so there's no point in resisting it.

Will you also touch on how you would test async actions (or is it out of scope ?) I would love to have your opinion on injecting / mocking / patching things like fetch...

Please raise a separate issue to discuss this.


Styles/colors don't paste in IE/Edge

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Steps to reproduce:

Open either 'color' or 'rich' example in IE or Edge browser.
Write some text and use rich styles and/or colors
copy and paste the text.

Current behavior:
IE 11.567 - newlines and styles are dropped completely
Edge - only styles that are enabled for the place you paste into are applied, and newlines are preserved. See attached screenshots.
Expected behavior:
Styles and newlines should both be preserved, like in Chrome.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I'm not sure when this snuck into Draft. I don't think it came up in previous versions but seems to be present both on master and in v0.10.0. I don't think it was present before v0.10.0.
IE:

Edge:

IE:

Edge:

@flarnie is this issue still being targeted for an upcoming release? I noticed it didn't make the the cut for v0.10.1 and was hoping to avoid implementing the changes from the various forks mentioned in #986.


Option to align the pop-up to left or right, or add minimum width

When you use the pop-up menu to play the next song, the pop-up menu will adjust it's position if the displayed text on the panel isn't the same as the previous song. This makes sense as the pop-up is centered based on width of the panel entry, but I feel like it's awkward to use if you keep skipping songs using the pop-up menu. Maybe you could add an option to align the pop-up to one of the sides of the panel item to make it's position always be the same. Alternatively, add a minimum widget width alongside the max option to have the panel item always the same size (this would probably be a better solution). I hope my request makes sense.

Alright, I will add this in the next update.

I think I would rename the "max widget with" to "widget with" and add an option if it should be threated as max (the current behaviour) or as fixed (what the issue asks for).

An idea: how about let the track info menu size just be the same size as track label menu ?

An idea: how about let the track info menu size just be the same size as track label menu ?

I have no idea, I tried to do this in the past but failed if I remember correctly, are you working on this issue? If not I can start working on this.

Really I failed ? Would it not be the same code where you set the size of track label menu ?
I am not working on that - I just had this idea and it would also not require an additional setting.
Max widget size (for both widgets)

https://github.com/sakithb/media-controls/pull/120


Multiple FluentTreeItem selected in FluentTreeView

🐛 Bug Report

Selecting multiple FluentTreetem (clicking on them one-by-one) in FluentTreeView selects all the items clicked and doesn't unselect previously selected item.
💻 Repro or Code Sample

The sample in this repository exhibits the behavior of multiple FluentTreeItem selected.
🤔 Expected Behavior

Only one FluentTreeItem should be selected at any given time in the FluentTreeView. Please see the sample provided at the link:
https://docs.microsoft.com/en-us/fluent-ui/web-components/components/tree-view
😯 Current Behavior

If I click on any FluentTreeItem, it stays selected whether I click on any other FluentTreeItem or not.
Please see the screenshot below:

💁 Possible Solution

I apologize but I couldn't find a solution for this. I was hoping that there was property that would define this behavior but I couldn't find it in the documentation.
🔦 Context

I was hoping to use the FluentTreeView as a navigation component in a website that I am working on.
🌍 Your Environment

OS & Device: Windows, MacOS
Browser: Edge, Safari, Chrome
.NET and FAST Version : .Net 6, Fast 1.1.0

@gaurakshay Can you provide your Blazor markup here? This might be a bug in the underlying component. I want to confirm that your markup is correct first. Thanks!

Sure @EisenbergEffect. Here is the markup that I am using.
<FluentTreeView>
    <FluentTreeItem Expanded="true">
        Root item
        <FluentTreeItem Expanded="true">
            Flowers
            <FluentTreeItem>Daisy</FluentTreeItem>
            <FluentTreeItem>Sunflower</FluentTreeItem>
            <FluentTreeItem>Rose</FluentTreeItem>
        </FluentTreeItem>
        <FluentTreeItem>
            Planes
            <FluentTreeItem>Tomcat</FluentTreeItem>
            <FluentTreeItem>Hawker Harrier</FluentTreeItem>
            <FluentTreeItem>Cesna</FluentTreeItem>
        </FluentTreeItem>
    </FluentTreeItem>
</FluentTreeView>

Also, like I said, this is also replicated in the example provided in this repository too.

@chrisdholt Have we had any changes in TreeView or TreeItem recently that might affect selection? I saw something kind of like this in a little PoC I was putting together over the weekend using the fast-components as well. I ended up getting things working correctly but had to set some things up differently than I remembered. Just want to make sure we haven't introduced a regression and if not how we should update the documentation. Thanks!

Yes, a regression from that recent tree view event change.  Fix is straightforward and ready to go - https://github.com/microsoft/fast/pull/5737

@scomea Thanks for the fix! I would very much like to try it at my end so I wonder if there is a nightly Nuget package that I can reference? Or do you recommend I try referencing microsoft/fast (I am not sure if I'll be able to get this to work tbh)?

@scomea @EisenbergEffect @awentzel What is the process of these changes getting propagated to @fluentui/web-components?
The fix has been available for almost a month, but the web components can't use this yet...

@chrisdholt Can we do an NPM publish of the FluentUI Web Components with the latest version of Foundation? Most Blazor devs use the components from CDN which doesn't get updated when only Foundation is released.

@chrisdholt Can we do an NPM publish of the FluentUI Web Components with the latest version of Foundation? Most Blazor devs use the components from CDN which doesn't get updated when only Foundation is released.

Yeah, we'll need to do a couple things here. We can work to make this change asap.

An updated version of the web-components.min.js has been released and with that, this issue has been fixed


Updating to v3 causes unhandled rejection

This has been killing me. I have been trying to update this package in barnard59-rdf but something weird happens in one test which tests when file-fetch throws an exception. Mocha complains that done is called twice.
I found that indeed, when the ReadableError emits an error it falls into a handler for uncaught errors
The PR: https://github.com/zazuko/barnard59-rdf/pull/35
Any ideas what is going on? I expect the problem may not be directly related to formats-common but the only way to mitigate this problem is by keeping it as v2.

Outdated, and no example to reproduce the error provided.


Add verified reply settings

Hello,
My GitHub account @redouane59 is blocked by GitHub, I opened a ticket and am still waiting for them to have my account back...


[ISSUE #909] Add new contributor doc that have been reorganized

Fixes ISSUE #909.
Motivation
eventmesh contributor documentation is not perfect, reorganized the documentation.
Modifications
Submit a reorganized contributor file.
Documentation

Does this pull request introduce a new feature?  no

@Alonexc please add a contribution doc pr seperately.


Body slightly overlaps with footer in invoice document generation, may cause overlapping text

PHP Version: 8.2   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Actual behaviour:
Document invoice generation body with long text on bottom may interfere with footer in certain conditions
.
Expected behaviour:
Body should respect footer content area in generated documents and not overlap with each other's content
How to reproduce:
With enough orders and a long text on the bottom this will overlap with the footer.
To check this manually I have overwritten the "document.paymentShippingInfo.additionalInfo" snippet.
I gave footer and body in an overwritten "style_base_portrait.css.twig" a background color each to reproduce this.
My solution was to give body a margin-bottom so it no longer overlaps with the fixed footer.
{% sw_extends<EMAIL_ADDRESS>%}
{% block document_style %}
{{ parent() }}
body {
margin-bottom: 50px;
background-color: rgba(0, 0, 255, 0.5);
}
footer {
background-color: rgba(255, 0, 0, 0.5);
}
{% endblock %}

[public]

Priority changed to: Low

Thank you for your report. After careful consideration, we've concluded that this issue does not require immediate attention or isn't something we can address right now. We prioritize openness and clear communication with our community, so we want to be transparent. We may not resolve all reported issues, and this one might remain unresolved. To stay effective, we periodically clean our backlog, and this issue could be closed in the future.
For now, we'll keep this ticket open to invite further feedback from the community in case we've underestimated its impact and to allow us to revisit it later.
[created from NEXT-40018, comment 525208]

It is definitely a Problem if there is a Ratepay message added caused by PayPal Invoice payment.


extract document previews instead of documents for the user access lists

Summary
Test Plan

Please consider the impact of your changes on the other developers.

#22  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Silver-Sword and the rest of your teammates on  Graphite


Minimize to tray when clicking on the icon

Currently, we have to close the windows in order to minimize to tray.
But a lot of similar apps, like Riot, allow minimizing to tray by clicking on the tray icon, which is much more convenient.
Please consider adding this.

Hi @ArchangeGabriel,
Would you mind adding some screenshots of what you are referring to, and reference in other apps like Riot. Not sure I completely understand your comment.

Well, I have icons like this in my tray:

Clicking on the left one (riot.im) allows minimizing to tray and restoring from tray.
The Mattermost one only allows restoring from tray, not minimizing to it (clicking on the icon while the window is opened does nothing). To minimize Mattermost window to the tray, I have to close it using the window controls.

Closing via feature request ticket: https://mattermost.uservoice.com/forums/306457-general/suggestions/36819994-desktop-app-minimize-to-tray-when-clicking-on-the.


My Accounts

This screen shot shows me signed in on google

![Screenshot_2024-03-24-15-22-51-82.jpg](https://github.com/microsoft/WSL/assets/162235945/d4402379-6906-40f9-9ad2-f14a62e29524)
There Is one that show I'm not other screenshots are blurry.. Get whomever completely off my accounts! Half my apps isn't showing up, I'm steadily having to go through web to get access to emails or anything and screen changes up...

Aside from what the bot is thinking of, and please do not be annoyed, how is this relevant to WSL?


dnsmasq does not provide ipv6 nameserver

Required information

Distribution: Ubuntu
Distribution version:  LTS 16.04

lxc info
config:
  images.auto_update_interval: "0"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFQzCCAyugAwIBAgIQMhty4yUH2PpZzaA1GwH2QTANBgkqhkiG9w0BAQsFADA3
    MRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRcwFQYDVQQDDA5yb290QHNk
    LTExNzczODAeFw0xODAyMjUwMDM0NDlaFw0yODAyMjMwMDM0NDlaMDcxHDAaBgNV
    BAoTE2xpbnV4Y29udGFpbmVycy5vcmcxFzAVBgNVBAMMDnJvb3RAc2QtMTE3NzM4
    MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEApjadw7ALYtGdG8SQf9zp
    XmmWae1aCoQWBXmCdbsYM11qOuizJ49yerWjWIuUSyyJFQFkriHzv2MUJRXoNHUV
    j6yyjQbxTaYjyGM2GWjuFLKuwTxj7MRgLT94xWr0YS6UPjCxu+zAzbl2lCmJkdn2
    dnSyudyaZpbrzc4DFgsWMkoSpbiu3yk65FwUitWL8vfLNlmfUQRMlRi02qDugDma
    tdhMCSj38jwZZzGgkpn2t8C2R/0fElzN1ptBVLbdoP1FrlKaQr+96GNP9a9sVJtz
    eUzHXVpunXMi/m/J9zsdTbTrdppvVQ0Pd7KvQ/q7a2EERIkR088+H6VZwrzqpn7V
    FiBV5UZLxUz2WGIRERHrCo1QQgNpplv2VA/bKBAd9Jqc3FOhyZi8stgm53rvI93l
    qOTZYStQXnDmt+LPvoC7hKNTtDMUumhUU/h0nwIpJEgD8pNT9QtklaKAsCf0w3BP
    +ULCmgIXX3kbEVM8sL7v5CBWc1GgZJB4lyVnLkhkz/REKv/VHVY92uV7f9TLV6Od
    wuQJpidYLjm0uSyiPm0OaQurNJQiqgccchSw39gWCqWJ+t53nVNiBf5ft1SbUk0z
    SNwxRTmN/GSHqDJpOkZSz1yNW78foX2TQKqNmkPIgf0UwyUebWY/VjIDgojqe046
    XIxyHD4jv/04l0cWSZnC4U0CAwEAAaNLMEkwDgYDVR0PAQH/BAQDAgWgMBMGA1Ud
    JQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwFAYDVR0RBA0wC4IJc2QtMTE3
    NzM4MA0GCSqGSIb3DQEBCwUAA4ICAQCS/6Xc6Eh6xvQGcETCjcmay9oePTVzDkDN
    DPG/Xg9Uz3i5jyHzg5TfBBQ7PsRFm4FBA/ByIvkiyLLNWKsuPtOunW6lJamMcwhh
    MXXvepgn97CmveKlGdNQLXvq0LZivIvM8CMPcuSivW6swa4qEppgH+PpzAnQOMm8
    w9u4DQIhZr8aRSTlg5/Gq+pn+DjrOllu5nfrP1IJ2iKbhyb/C6iz+HaEz5MjbQOz
    bP64YZvDI1wYoS9JHDDfFgGSCiu6pynhLe5cm1CWuGIcQ8axAPUcvf0lIf4sa1X/
    u3X1WGws8+7TTI0/7yrF4elAzrgSaePFl5bDEjLJs9xLemujtb7jcebeBM1dd+7h
    4G0IJHI0OGhHlS0tANClBfQQlaNRYE5QiwBKS9trbQJzVkfqdDxOG8UPrMoP5nPP
    mgSn4HVCgumfZJ7HIN1FLRqa66Uj+4NyNFwkEokZFes4f+dCRmTP/TlDVFRdhiOL
    uzt17xPGbNXTdxYmIiz9Qkf1kVeDe0YFIV5WMk6xCpNnc6Phli1T6iWUQx/O58s3
    3oTbB8JxYH3Kwg+8mpjPKDr3ihrtkfC5QorxaqD/czp38wnsxlhPVsuqdKThrZiA
    3O+G8ueIp+Bl9P/gc0yg3uuXIYon/tY4Gocm1ko2+1Kng9e26J3UEqiyC7J1x6UL
    Zn3iqWyUmg==
    -----END CERTIFICATE-----
  certificate_fingerprint: 7bcc043de16ceef3394e5c39ed41a572ff41475c48de94e590dbc78d4fc45eb9
  driver: lxc
  driver_version: 2.0.8
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.4.0-116-generic
  server: lxd
  server_pid: 977
  server_version: "2.21"
  storage: btrfs
  storage_version: "4.4"

Issue description
When setting up an ipv6 bridge dnsmasq does not provide the nameserver as ipv6 address. When you configure an ipv6 only container the dns resolution does not work out of box.
Steps to reproduce
With ipv4
lxc network create lxdbr0 ipv4.address="<IP_ADDRESS>/24" ipv6.address="aaaa:bbbb:cccc:ddd::1/64"
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver <IP_ADDRESS>
search lxd

Without ipv4
lxc network create lxdbr0 ipv4.address=none ipv6.address="aaaa:bbbb:cccc:ddd::1/64"
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

Expected behaviour
I guess the expected behaviour would be that if ipv6 is configured that the nameserver should be provided with ipv6 nameserver address first.

run "dhclient -6 -S eth0"

I was on my phone so that was a pretty short answer :)
dnsmasq does advertise its DNS servers but nothing is configuring them for you in the container.
You either need something that parses the RDNSS field from the stateless router advertisement, NetworkManager can do that. Or you need to use stateless DHCPv6 to get the information. The command above will do that for you. There are also ways to configure your distribution in the container to do so for you at boot time, though that changes from distro to distro.
For Ubuntu I believe it's something like this in /etc/network/interfaces:
iface eth0 inet6 auto
  dhcp 1


Do you have a guide on how to use this in a Angular 2 Project ?

The same way you would use it in an Angular 1 project.

Angular 2 has zones which allow us to be carefree about our async processes. This should work right out of the box :)