Status OK, but Cannot Change Alarm State from Home App

If I change the alarm armed state manually on the keypad, the home app will accurately display the correct state. But if I try and change state of alarm in home app, it will just stay infinitely in "disarming..." or "arming..."  Sensors also are not responsive after initial boot of Homebridge server.

This issue was resolved. Due to my ring security system being on a different wifi network than the Homebridge server.

@ergoego Sorry to hear you ran into some issues.  There should be no need to have the homebridge server and ring alarm on the same network, as this plugin interacts with Ring's API, not directly with the devices.  Please let me know if you are able to reproduce the issues and I will dig deeper.


negative dur loss

I found dur loss is negative when dur/num_token < 20ms, I think this is caused by mms(20ms per frame) and add blank

what if I set add blank = false?

I have not experienced the negative duration loss yet...!
As you said,
before training, we filtered some data where dur/(num_token*2+1) < 20ms as below
Additionally, removing very short audio increases the robustness for training the model
    wav_min = 32
    wav_max = 600
    text_min = 1
    text_max = 200
 path = args.input_dir
    wavs_train = []
    wavs_train += sorted(glob.glob(path+'/**/*.wav', recursive=True))

    print("wav num", len(wavs_train))
    text_wav_pair_train = []
    new_wavs_train = []

    short_audio = 0
    long_audio = 0

    for wav in tqdm.tqdm(wavs_train):

        data, _ = torchaudio.load(wav)
        len_data = data.size(-1) // 320
        if len_data <= wav_min:
            short_audio +=1
            continue
        if  len_data >=wav_max:
            long_audio +=1
            continue
        try:
            txt = torch.load(wav.replace('wave_folder_name', 'text_token_folder_name').replace('.wav', '.pt'))
        except:
            continue
        len_txt = txt.size(-1)

        if len_txt*2+1 > len_data:
            continue

        if len_txt <= text_min or len_txt >=text_max:
            continue

        text_wav_pair_train.append(wav)

In my experience, the model trained with blank token has a better performance so I recommend using blank token for phoneme sequence.
Thanks!

thank you very much for your answer~

@segmentationFaults do you mind to share the training experience and exchange the usage practice with me, who recently started to onboard this project? Thanks a lot in advance.


Support release branches

Describe the feature

CREATE BRANCH for each minor release based on the latest patch tag for each minor
CREATE CHANGELOG on master branch that refers each minor version latest changeling on the relevant release branch
Make every release compatible with version bump (standardised setup.py and version.py)
Ensure master + release branches are tested on push
Ensure master + release branches are tested on pull request

Describe alternatives you've considered
No response
Who will benefit?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Currently dbt trino release workflow uses this github action. Unfortunately, this github action sets every release as latest, so while making backport and releasing 1.0.4, it would be set as latest github release. There is make_latest github API parameter which could be set to false, to avoid setting backported releases as latest ones. Unfortunately, this GH action doesn't support this parameter, and will never do, as this repository is archived.
So, it would require to manually change which version is latest after releasing backported version, or some refactor in a release workflow.
There is another gh action which I used in PyTrino release workflow, which has pending PR for addition of this parameter, maybe it could be used instead after adding this make_latest option there.

Unfortunately, this GH action doesn't support this parameter, and will never do, as this repository is archived.
So, it would require to manually change which version is latest after releasing backported version, or some refactor in a release workflow.

As discussed offline, let's not worry about this.


modbus flex server cannot be access from external modbus client

Which node-red-contrib-modbus version are you using?
5.26.0
What happened?
I tried to setup a simple modbus server in node red.

drag and drop a "Modbus Flex Server"
change the bind address to "<IP_ADDRESS>"
change the port to "502"
Coils remain as 50000, registers remains as 50000
start the flow

I used modscan to access the server locally, from the PC which has the node red installed. I can connect to the server if I connect via "<IP_ADDRESS>/502", but if I use the IP address of the PC "<IP_ADDRESS>/502", I cannot connect with the modbus server.
Then I tried from another PC, which is on the same subnet with ip address of "<IP_ADDRESS>" to access the server via modscan, modscan connection setting is "<IP_ADDRESS>/502", I cannot connect to the node red modbus server.
But when I disable the node red flow and used the "Modsim" to setup a modbus server on the same PC, I can connect to the modbus server either locally or remotely. By this testing, I can confirm the port 502 is opened on the server PC.
Please advise what further configuration I need to setup on the node red modbus server to allow remote access to the server?
many thanks
Server
Modbus-Flex-Server Node (Please attach Script to the next section)
How can this be reproduced?
json file attached
steps:

drag and drop a "Modbus Flex Server"
change the bind address to "<IP_ADDRESS>"
change the port to "502"
Coils remain as 50000, registers remains as 50000
start the flow

What did you expect to happen?
successful remote access to the modbus server
Other Information
No response

I solved this issue by setting the server Hostname to the IP address of the Node Red instance serving the Modbus (in your case <IP_ADDRESS>).  With that, I can access the server from <IP_ADDRESS> both within the local Node Red (as <IP_ADDRESS>) and remotely from another instance of Node Red (also as <IP_ADDRESS>).


Narrator is announcing incorrect information as 'selected' for options of items in the dropdown of command center

Does this issue occur when all extensions are disabled?:  During our accessibility test, the tester reports that the Narrator is announcing incorrect information as 'selected' for options which appears in the dropdown of items of command center. For example, if I search for git command, Narrator is announcing as ", 1 of n, selected on (off)". When I tried to reproduce the problem, it only happens in "[Extension Development Host]" with some command but does not happen on a normal VS Code instance.
Steps to Reproduce:

Turn on an extension development host vscode instance.
Turn on Narrator.
Go to command center and search for some command. (Optional, this happens even if you don't search for anything)
Listen what Narrator says on the provided options.

https://github.com/microsoft/vscode/assets/5415452/ff26f244-0097-4abc-86e6-970ac323ab11

This is a narrator issue. Pls lmk if it reproduces when using JAWS or NVDA

on NVDA, it says "checked" or "not checked" on the selected item, which is also a problem, I think.

to reproduce the problem, it only happens in "[Extension Development Host]" with some command but does not happen on a normal VS Code instance.

we will only address issues found within the product.

#A11yMAS; #A11yTCS; #DesktopApp; #Win32; #Visual Studio Code Client; #BM-VisualStudioCodeClient-Win32-Aug2023; #Consistent Identification; #WCAG3.2.4
Primary Bug ID : https://microsoft.visualstudio.com/Xbox/_workitems/edit/48288599


Items move back while dragging when the cursor stops moving

I am running

react ^16.7.0
react-dom ^16.7.0
react-sortable-hoc ^1.9.1

in

Chrome v75

on

macOS v10.14.5

and while I am able to get sorting done properly I noticed that under some (to me mysterious) conditions the sorting gets buggy as the list fills the empty space (where I want to place an item) as soon as my mouse cursor stops moving. See below

The parent container is shown in yellow.
The strange thing is that in some layouts it works like a charm and sometimes it does not, without changing the code or CSS of the sortable react component! That's why I assume it's somehow related to the CSS of the parent element.
Does anyone have any ideas what might cause the issue?

I found the source of the issue. Internally onAutoScroll() was triggered continuously and caused and items to be moved back immediately as the cursor stopped moving.
I don't exactly know what autoScroll is good for but disabling it with disableAutoscroll seems to just work fine. At least on a desktop, I didn't notice any difference when autoscrolling is disabled.
I am closing this issue but I'd be happy if someone knows what this property is used for because other than that it can be disabled I didn't find any documentation.


Conflict installing HUD files due to a system hang

Issue 1: "Extracting budhud to: D:\SteamLibrary\steamapps\common\Team Fortress 2\tf\custom". tf\custom\ is empty and HUD.Editor is making budhud-master folder, i have tf\custom open and it is empty, I can see a folder made, then the program hangs and produces this error. "An error occurred while installing budhud. Cannot create 'D:\SteamLibrary\steamapps\common\Team Fortress 2\tf\custom\budhud' because a file or directory with the same name already exists." HUD.Editor makes a folder and then fails to install because it conflicts with the folder it just made.
Issue 2: Changes tf\custom\ location to C: after specifying location on D:. There's no button or settings file to manually set it.
Issue 3: tf\custom directory not set! "error occurred while installing rayshud. Could not find part of the path" This path doesn't exist and wont let me change it. Please and an option to not use the registry or let me set it manually.
Issue 4: tf2-hud-editor-x64.zip contains two copies of the program tf2-hud-editor-x64.zip\ and tf2-hud-editor-x64.zip\win-x64. Only tf2-hud-editor-x64.zip\win-x64 seemed to work
Steps to reproduce
Open and try to install rays hud.

OS: Win 10
App Version: 2.5
Selected HUD: rayshud & budhud

Issue 1: "Extracting budhud to: D:\SteamLibrary\steamapps\common\Team Fortress 2\tf\custom". tf\custom\ is empty and HUD.Editor is making budhud-master folder, i have tf\custom open and it is empty, I can see a folder made, then the program hangs and produces this error. "An error occurred while installing budhud. Cannot create 'D:\SteamLibrary\steamapps\common\Team Fortress 2\tf\custom\budhud' because a file or directory with the same name already exists." HUD.Editor makes a folder and then fails to install because it conflicts with the folder it just made.

Does this happen consistently? I don't recall encountering this during testing because the editor performs the installation near-instantly. Will need to monitor it because I think this is a timing issue, not a bug in the logic.

Issue 2: Changes tf\custom\ location to C: after specifying location on D:. There's no button or settings file to manually set it.

The option to change the path to tf/custom is in the dropdown menu at the top right corner of the screen. There is another ticket open to make that dropdown more visible and better communicate the option to the user.

Issue 3: tf\custom directory not set! "error occurred while installing rayshud. Could not find part of the path" This path doesn't exist and wont let me change it. Please and an option to not use the registry or let me set it manually.

See above.

Issue 4: tf2-hud-editor-x64.zip contains two copies of the program tf2-hud-editor-x64.zip\ and tf2-hud-editor-x64.zip\win-x64. Only tf2-hud-editor-x64.zip\win-x64 seemed to work.

Thank you for letting me know. I've updated the releases to exclude the extraneous files.

Updated the story to focus on the first issue. System hang causes the editor to conflict with the files itself had installed.

Re opening this so it can be reviewed.

No, I tested installing and reinstalling on C: drive and an external drive with no errors.

I can't remember why it installed wrong, I had fixed it at some point and have not been able to replicate the error since. I was probably just being ignorant, mb

Thank you both. Closing as resolved.


Lab fails to start

Hey everyone,
When I attempt to start this lab I get the following errors:
ERRO[0029] failed to run postdeploy task for node leaf3: command execution error:Error: Error in path:
[InvalidArgument] Unacceptable syslog configuration
Error 'Revert failed':
[Internal] Failed to revert to pre-commit configuration
Inspecting the SR Linux containers show that they failed to get their startup config. I wasn't really able to debug past that point. Any pointers?

Hi
Change the image version to 24.7.2

Fixed it. Thanks a bunch!


Send test message channel from the test frame

Towards https://github.com/dart-lang/test/issues/2065
The flutter test runner uses the copy of host.dart.js from the copy of
package:test that surfaces in the pub solve for flutter_tool. This
copy has been updated to allow either the old pattern of communication,
or this new pattern. The new pattern removes an extra hop and use of the
frame window.onMessage messages.

test-exempt: code refactor with no semantic change


chore: When the Explorer is deployed in production, remove the HashRouter

What does this PR do?
Switches the Explorer from HashRouter to BrowserRouter to have cleaner URLs
Related ticket
Fixes #464
Type of change

[X] Chore
[ ] Bug fix
[ ] New feature
[ ] Documentation update

Check list

[ ] Unit tests for any smart contract change
[ ] Contracts and functions are documented

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fe3d48d) 93.63% compared to head (bc3977c) 93.63%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #502   +/-   ##
=======================================
  Coverage   93.63%   93.63%
=======================================
  Files          20       20
  Lines         330      330
  Branches       76       76
=======================================
  Hits          309      309
  Misses         10       10
  Partials       11       11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


OrientationService fails and hangs app on iOS

org.javafxports:jfxmobile-plugin:2.0.18
iOS latest
downconfig 3.7.0
Description
OrientationService fails and hangs the application with the following:
EXCEPtion in clinit for class com/gluonhq/charm/down/plugins/ios/IOSOrientationService: 0x1105a49b0
Exception in Application start method
QuantumRenderer: shutdown
DONE DONE DONE
[JVDBG] VM started

To Reproduce
Use any basic gluon app and add the following:
        Services.get(OrientationService.class).ifPresent(t -> {
            System.out.println("Hello");
        });

Bump Charm Down to 3.7.2 and try again.
(Note that the IDE plugin already provides jfxmobile 2.0.18 with Down 3.7.2 if you create a new project, but I guess you were modifying an existing project)

Yes that fixed it.  Copy and paste error on my part.  Closing.


Seeding and updating hte database

How do we want to initially seed the database and when new passwords are available what mechanism do we want to provide to allow updates to be applied? Given that EF doesn't support seeding in 2.0.

To be honest, I don't think that should be a concern for this library.  I think every user would want to go about it differently, so you're probably onto a loser to try and generalise it.

Obsolete thanks to #6 and the k-anonymity API


[BUG] Unable to create image by uploading from file, prompt harvesterhci.io/os and harvesterhci.io/image-type is required

Describe the bug

Unable to create image from uploading existing ISO file, prompt error message

"harvesterhci.io/os" is required
"harvesterhci.io/image-type" is required

Verified with the following images

focal-server-cloudimg-amd64.img
SLES15-SP3-JeOS.x86_64-15.3-OpenStack-Cloud-GM.qcow2

To Reproduce
Steps to reproduce the behavior:

Go to Images page
Select File -> Upload File
Select an OS image from local drive
Click the create button

Expected behavior

Can create image by uploading file correctly without prompting error
Support bundle

supportbundle_28479d0f-c787-4ec6-b759-673c63ce6c76_2022-04-18T03-10-58Z.zip
Environment:

Harvester ISO version: master-03ee6213-head (04/15)
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): 1 node harvester on local kvm machine

Please see the description of the changes in this  issue

By setting the image-type and os-type in Labels. We can create image by uploading image from file

@WuJun2016, @guangbochen, a suggestion is we can add this change for the upcoming v1.0.2 document

@WuJun2016  @TachunLin I prefer to set those labels as an optional field instead of required, if the user didn't fill it then by default the image will be treated as a disk volume. Also adding an appropriate doc to the upload image page on how to specify the image disk type would be helpful, thanks.

Verified fixed on master-03ee6213-head. (04/18) Close this issue.
Result

Now can upload the .img, .iso and qcow2 type of image file without adding the os and image-type by default.

We can also edit the os and image-type value, it still can create image without error

Also checked can upload image via URL correctly.

Test Information

Test Environment: 1 node harvester on provo bare machine
Harvester version: master-03ee6213-head

Verify Steps=

Go to Images page
Select File -> Upload File
Select an OS image from local drive
Click the create button


Allow to disable console output in dev tools

Use case
My application uses plenty of logging during development. These are not just print statements but output from logger package. It's not unusual at some point that there will be 100s of lines printed to STDOUT, for example when my Flutter application is making network requests (I print out serialized responses).
Of course most of this is disabled for production builds. However when debugging my application  this output causes the dev tools to freeze as it's trying to catch up and print everything to the console below.
Proposal
I think ideal solution would be to improve performance of the web application (devtools). But I guess that might be tricky so at least allow me to:

Surpress messages to console completely (I already have output in my terminal where flutter run process is launched).
Allow me to close console pane completely and ignore any messages.

There was a similar issue in the past https://github.com/flutter/flutter/issues/57035

On Wed Sep 8, 2021 at 11:43 AM CEST, Mahesh Jamdade wrote:

There was a similar issue in the past
https://github.com/flutter/flutter/issues/57035

I'm not sure if it is that similar. I don't have problems with
framework or system logs or whatever. The issue is my own
logs. I still want these logs as I use my terminal
for looking at them.
When I want to use debugger, it's all slowed down due to the
volume of logs being produced.
It would be nice if devtools could handle it in a way
where it does not slow it down or allow somehow to turn
off the logging.
Thanks for the link though.

I'm currently on latest Flutter SDK version but the problem still persist. It's making everything super slow, when I open dev tools I have to wait around half a minute for dev tools to process the console output and only after that I can enter debugger etc.
Some persistable settings where I could completely disable console output would be great.

I think this issue belongs to https://github.com/flutter/devtools/issues and not in this repo, so transferring accordingly.


File missing?

File Missing?
https://github.com/getgrav/grav-theme-quark/blob/32d516569f69ac8f6ab66b16ece193091b7a954e/templates/modular/gallery.html.twig#L69

I think that the file comes from a plugin. You need to have it installed. That said, I'm not 100% sure which plugin.

its to support the Lightbox Gallery premium plugin: https://getgrav.org/premium/lightbox-gallery
You can only use this modular type if you have purchased the Lightbox Gallery plugin.

Thanks for the infor @mahagr and @rhukster


why use the func "lists:keymerge/3" when merge with the default options in the module "lager_file_backend"

It will be return two same key in the tuplelist, although it will not be affected to the result

Hi - thanks for the report, are you referring to this function?

oh, thanks, It's all right.


The theme did not change after activation

On my macbook by following the installation instructions
After activation errors appeared, I fixed them by specifying my home directory, path to powerlevel10k.zsh-theme and powerlevel10k/powerlevel10k theme, but the dracula theme still did not appear.

Anyone solve this problem?

Same. Still not working here. :(

@Carrot404 @juliana-ribeiro If you are still attempting to get this installed.  This is what I did, and it worked.
Install the powerlevel10k theme as per it's directions, run through the configuration.  (This will give you the .p10k.zsh in your home driectory)
DO NOT COPY the .zshrc file from this repo.  Copy the .p10k.zsh from this file and replace the original .p10k.zsh.
If you need to revert your .zshrc to the default of oh-my-zsh =>
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/templates/zshrc.zsh-template
Then you should have something like this:

@jsonkenyon This fixed it for me. Thank you so much for posting!

hi @jsonkenyon  your zsh template helped but, when run the command:
"cp ./files/.p10k.zsh ~/.p10k.zsh" nothing happend

Am I missing something?

hi @jsonkenyon your zsh template helped but, when run the command: "cp ./files/.p10k.zsh ~/.p10k.zsh" nothing happend  Am I missing something?

You ran through the configuration and just went with what ever defaults and then overwrote the previous .p10k.zsh file?   If you have done that, ensure that once you overwrite the p10k.zsh file, you restart your terminal or run.
source ~/.zshrc
**Running powerlevel10k configuration is an important step, this will update your .zshrc at the top of the file without other modifications to get the theme to base theme to work.  Then you are just replacing its configuration file that already has the information in the .zshrc to load the new .p10k.zsh **

@TexeiraThiago - Also important to note to have your colorscheme for the terminal set to the Dracula colors, if you don't have that then it will come out as like a blueish color instead of the purple.  Make sure you are running Dracula color theme for your terminal

@jsonkenyon  Thanks man, after following
https://draculatheme.com/gnome-terminal
the result came out  \o/


Optimize S3 healthcheck

Describe the feature
When using the S3 health check on a bucket with many items the health check request will always return 1000 items (as stated in AWS documentation).
It would be nice if you can could set the properties MaxKeys and/or Prefix on the request towards AWS S3.
Use Case
Unnecessary big response data.
Proposed Solution
Use MaxKeys and/or Prefix in AWS S3 Client
Other Information
No response
Acknowledgements

[X] I may be able to implement this feature request
[ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used
AWSSDK
Targeted .NET Platform
All
Operating System and version
All

Created the issue in the wrong repo. Sorry about that.


Special key created_at in EventFormattingAgent blank

My EventFormattingAgent receives events from DigestAgent. The config looks like
{
  "instructions": {
    "date": "{{ created_at | date: '%B %e, %Y' }}",
    "digest_events": "{{ events | as_object }}"
  },
  "matchers": [],
  "mode": "clean"
}

The output for date key is completely blank, however but according to instructions, it should return the timestamp for when the incoming event was created. Am I doing this wrong?

This is an issue that only happens when dry-running Agents. Can you confirm it works as expected when the Agent processes normal events?
I opened a PR to propagate created_at when using dry-run.

Yep that was a dry run issue, thanks. Works as expected during normal events. Thanks for the PR!


Problems about  generation of cu-mg_dft.tdb

Hi!  I was trying to reproduce example by following the tutorial presented on the website. My question maybe dumb, because I'm only beginner of python. When I try to use espei --input espei-in.yaml to generate cu-mg_dft.tdb file, why here is always a problem which is that 'Table' do not have attribute write_back. I downloaded espei by using conda and already cloned datasets of Cu-Mg example. I have no clue how to solve this problem. May I have some helps on this problem? Thank you! the following is the screenshot  of  command lines.

Hi @cyrusfeng1997, this was a known bug that is fixed in ESPEI 0.7.8 and later, but you have ESPEI 0.7.6.
Updating to the latest version should fix this: conda install -c conda-forge espei=0.7.10

Hi @cyrusfeng1997, this was a known bug that is fixed in ESPEI 0.7.8 and later, but you have ESPEI 0.7.6.
Updating to the latest version should fix this: conda install -c conda-forge espei=0.7.10

Hi @cyrusfeng1997, this was a known bug that is fixed in ESPEI 0.7.8 and later, but you have ESPEI 0.7.6.
Updating to the latest version should fix this: conda install -c conda-forge espei=0.7.10

Hi! First of all,  Thank you for your help! I tried install new version of  espei, it seems that there are some conflicts. Is there any solution for this problem? Is there a recommended version of python(like 3.9 latest one?) does this problem come from windows systems ?Thank you very much!

Hi @cyrusfeng1997, this was a known bug that is fixed in ESPEI 0.7.8 and later, but you have ESPEI 0.7.6.
Updating to the latest version should fix this: conda install -c conda-forge espei=0.7.10

Hi! First of all,  Thank you for your help! I tried install new version of  espei, it seems that there are some conflicts. Is there any solution for this problem? Is there a recommended version of python(like 3.9 latest one?) does this problem come from windows systems ?Thank you very much!

You get this UnsatisfiableError when one or more packages you have installed already have conflicts with some of the packages in the dependency tree of the package you're trying to install (ESPEI in this case). The strictness of the conda's dependency solver prevents you from breaking your environment by installing new packages that share a common, mutually incompatible dependency. The easiest workaround is to create a new conda environment for each set of packages you work on.
For example, you could install ESPEI and Jupyter into a new environment called calphad-env: conda create -n calphad-env -c conda-forge espei=0.7.10 jupyter. Then you can activate that environment with conda activate calphad-env and work as usual, with ESPEI and all it's dependencies isolated from your base environment and any other environments you create. You can find more documentation on conda environments here.
ESPEI and its dependencies should all support Python 3.6, 3.7, 3.8, and 3.9. To conda, Python is just another package so you could specify a particular version (e.g. conda create -n calphad-env -c conda-forge espei=0.7.10 jupyter python=3.9) or you can let conda choose an appropriate compatible version for you.

You get this UnsatisfiableError when one or more packages you have installed already have conflicts with some of the packages in the dependency tree of the package you're trying to install (ESPEI in this case). The strictness of the conda's dependency solver prevents you from breaking your environment by installing new packages that share a common, mutually incompatible dependency. The easiest workaround is to create a new conda environment for each set of packages you work on.
For example, you could install ESPEI and Jupyter into a new environment called calphad-env: conda create -n calphad-env -c conda-forge espei=0.7.10 jupyter. Then you can activate that environment with conda activate calphad-env and work as usual, with ESPEI and all it's dependencies isolated from your base environment and any other environments you create. You can find more documentation on conda environments here.
ESPEI and its dependencies should all support Python 3.6, 3.7, 3.8, and 3.9. To conda, Python is just another package so you could specify a particular version (e.g. conda create -n calphad-env -c conda-forge espei=0.7.10 jupyter python=3.9) or you can let conda choose an appropriate compatible version for you.

Hi! Actually, I already created a new environment called espei when I found problems presented above. However,  I removed this environment and used codes above to create a completely new environment, but there are still conflicts between espei 0.7.10 and python 3.9. I tried espei 0.7.9 and python 3.8. The outcomes are same. The following screenshot includes the details about conflicts. Thank you again!

Hi! Actually, I already created a new environment called espei when I found problems presented above. However,  I removed this environment and used codes above to create a completely new environment, but there are still conflicts between espei 0.7.10 and python 3.9. I tried espei 0.7.9 and python 3.8. The outcomes are same. The following screenshot includes the details about conflicts. Thank you again!

Okay, I was able to reproduce this and track this down. I think the mention of bibtexparser was a false positive, since I can conda create -n calphad-env -c conda-forge bibtexparser python=3.8 just fine.
It looks like the ESPEI feedstock had an outdated dependency pin ipopt<3.13 that was conflicting with cyipopt>=0.3. I just merged https://github.com/conda-forge/espei-feedstock/pull/33 and now conda-forge will rebuild the package with the new dependencies. In about 1 hour, everything should be propagated to the conda-forge channel and you should be able to try installing again. Perhaps it would even work in your existing environment.
Sorry for the inconvenience and thank you for your help to uncover this!

Okay, I was able to reproduce this and track this down. I think the mention of bibtexparser was a false positive, since I can conda create -n calphad-env -c conda-forge bibtexparser python=3.8 just fine.
It looks like the ESPEI feedstock had an outdated dependency pin ipopt<3.13 that was conflicting with cyipopt>=0.3. I just merged https://github.com/conda-forge/espei-feedstock/pull/33 and now conda-forge will rebuild the package with the new dependencies. In about 1 hour, everything should be propagated to the conda-forge channel and you should be able to try installing again. Perhaps it would even work in your existing environment.
Sorry for the inconvenience and thank you for your help to uncover this!

Thank you very much!

Thank you very much!

Hi @cyrusfeng1997,
Following up on this. Did the new build work for you?

Hi @cyrusfeng1997,
Following up on this. Did the new build work for you?


missing documentation

i miss a detailed documentation of the console package

Sorry about the lack of docs for version 2. There will be documentation for version 3


Pagination issue in local schema when using stitching

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
When I use pagination on a local schema connected to the gateway, I get edges and nodes equal to null. However, when using only one graph without the gateway, everything is fine. I receive results with the gateway only if the requested number of items is divisible by 4.
It seems that the problem might be in ValueCompletion.List when you rent 4 items for an enumerable result.
Query example:
[ExtendObjectType(OperationType.Query)]
public class Query
{
    [UsePaging(ProviderName = ServiceConstants.SchemaPagingProviderName)]
    [UseProjection]
    [UseFiltering]
    [UseSorting]
    public IExecutable<Category> GetCategories([Service] IMongoCollection<Category> collection)
        => collection.AsExecutable();
}

Local schema registration example:
collection.AddGraphQLServer(ServiceConstants.SchemaName)
           .ConfigureSchemaServices(sc =>
           {
               sc.AddSingleton<INamingConventions, NameConvention>();
           })
           .AddQueryType()
               .AddTypeExtension<Activities.GetCategories.Query>()
               .AddTypeExtension<Activities.GetCategory.Query>()
           .AddMutationType()
               .AddTypeExtension<Activities.CreateCategory.Mutation>()
           .AddInstrumentation()
           .AddMongoDbPagingProviders(ServiceConstants.SchemaPagingProviderName)
           .AddMongoDbProjections()
           .AddMongoDbFiltering()
           .AddMongoDbSorting()
           .SetPagingOptions(new PagingOptions()
           {
               IncludeTotalCount = true
           });

Gateway registration example:
builder.Services.AddGraphQLServer()
    .AddLocalSchema(schemaName: Categories.ServiceConstants.SchemaName)
    .AddLocalSchema(schemaName: Vendors.ServiceConstants.SchemaName)
    .AddDiagnosticEventListener<ErrorLoggingDiagnosticsEventListener>()
    .ModifyRequestOptions(modify: o => o.IncludeExceptionDetails = true)
    .AddTypeExtensionsFromResource(
        assembly: typeof(Vendors.ServiceConstants).Assembly,
        key: Vendors.ServiceConstants.StitchingFilePath)
    .AddTypeExtensionsFromResource(
        assembly: typeof(Categories.ServiceConstants).Assembly,
        key: Categories.ServiceConstants.StitchingFilePath);

Query:
query{
 categories(first: 5) {
   nodes {
     id
     vendorId
   }
   edges{
     node {
       id
       name
       vendorId
     }
   }
   totalCount
   pageInfo {
     startCursor
   }
 }
}

Result:
{
  "data": {
    "categories": {
      "nodes": null,
      "edges": null,
      "totalCount": 5,
      "pageInfo": {
        "startCursor": "MA=="
      }
    }
  }
}

Steps to reproduce

Create a local schema with pagination, filtering, sorting, and projections
Register the local schema with the provided example in description
Register the gateway with the provided example in description
Execute a query with pagination on the local schema connected to the gateway
Observe that the edges and nodes in the response are null
Test with the number of items requested being divisible by 4 (e.g., 4, 8, 12), and observe that the gateway returns results in such cases (db should contains this amount of items)

Relevant log output
No response
Additional Context?
Result before CompleteValue invocation in ResolverTask

CompletedValue with empty nodes and edges

Version
13.0.5

HotChocolate.Stitching is now in legacy mode and is replaced by HotChocolate.Fusion. I am closing this issue as we essentially froze the fusion code.


[Bug] Not able to sign up #112

[Bug] Not able to sign up #112
Closes: #112
Implemented following things:

social login signin & signup with google
social login singin & signup with twitter
social login signin & signup with github
used firebase and
firebase dep shipped
.gitignore shipped
.env.example for firebase keys shipped.

@AkshitLakhera can you review this PR. and also upgrade level to level3 that would be appreciated. thank you.


currentTime not working in JS / CDN setup

Current Behavior:
If setting the currentTime via VidstackPlayer.create({ currentTime: 100,... }) when using vanilla JS + the current CDN version the video still starts at 00:00.
Expected Behavior:
The video should start at 01:30 (works e.g. in react etc.).
Steps To Reproduce:

Use the demo JS code provided on the website.
Add currentTime: 100

Reproduction Link: https://codepen.io/noboevbo/pen/KKOePaG
Environment:

Tested on Firefox + Safari

Hello, I've fixed this issue!
This is what I've done:
I've modified the VidstackPlayer.create method to properly set initial properties using setAttribute. This should fix the issue with currentTime not being set correctly when using the CDN version.
I also created pull request: https://github.com/vidstack/player/pull/1490

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!

This bug was fixed for free by Latta AI - https://latta.ai/ourmission


Icon file picker no longer shows current icon path

This is the pathfinder system repository. You'll want to post an issue like this here: https://github.com/foundryvtt/foundryvtt

Broken by:
commit cd52dbd8f42211b845858bbefa768f9ddb40eff8
Author: Shark that walks like a man<EMAIL_ADDRESS>Date:   Thu May 4 04:57:09 2023 -0500

    Add interact (modular) weapon-auxiliary action (#7645)

My suspicion from digging in there is that there's a conflict due to the new selected handlebars helper.


Overriding the command registry keydown handler causes shortcut execution errors.

There is a spot where we monkey-patch the Lumino CommandRegistry's processKeydownEvent method and it is occasionally brittle, causing command invocations to fail. This seems like an anti-pattern for two reasons:

We are overriding the entire application's command registry and can cause other extensions to fail.
We are relying on an object we've attached to the window object instead of a local variable.

app.commands.processKeydownEvent = (event) => {
  if (window.beakerx.tableFocused) {
    return false;
  }

  return originalProcessFn.call(app.commands, event);
};

https://github.com/twosigma/beakerx_widgets/blob/master/beakerx_widgets/js/src/lab/BeakerxWidgetExtension.ts#L67-L69
This problem is sometimes triggered when a user changes the kernel on an active notebook multiple times. One user reported that after switching the kernel a second or third time, the window.beakerx object is undefined so the handler fails while trying to access the tableFocused attribute.

We should author a test that captures failures of window.beakerx as well ... unless we refactor it out entirely.


DEQ Enviro v2 production release

Benefit
Realize all Scott's hard work and the improvements he enacted by launching the new Enviro app; thereby replacing the existing app.
Acceptance Criteria

Complete necessary tasks to release v2 Enviro to production

Notes
No response
Risks
No response
Issue Reference

[ ] https://github.com/agrc/deq-enviro/issues/664

Other than waiting on a ticket to clean up the old load balancer and some future forklift cleanup once we get the last few services off of mapserv, I think that we can mark this as complete.


Add Newsletter Section to Footer

We need to enhance our website by adding a newsletter subscription section in the footer to engage visitors and grow our email list.
Use Case -
This feature will allow users to easily subscribe to our newsletter, ensuring they stay informed about updates, events, and new content. For example, when we release new features or important announcements, subscribers will receive timely notifications directly in their inboxes.
Benefits -
Increased Engagement: Regular newsletters can keep our audience engaged with our content.
Growing Email List: Collecting email addresses allows us to build a targeted audience for future communications.
Improved Communication: Direct communication with subscribers can foster a stronger community connection.
Acceptance Criteria -
A newsletter section is added to the footer with a field for email addresses and a submit button.
The form is integrated with our email marketing service and successfully adds subscribers to our mailing list.
The design of the newsletter section matches the overall style of the website.
The section is responsive and looks good on all devices.
Screenshot

Hello @codervivek5,
Please review the changes at your earliest convenience and consider merging them. Thank you!

Please assign this issue to me


[Adaptive Dialogs] Allow specifying interruption conditions and retry prompts for OAuthInput

Is your feature request related to a problem? Please describe.
The OAuthInput for adaptive dialogs doesn't allow setting interruption conditions for the cases when the user doesn't respond to the auth request as expected. This makes it hard to control the conversation flow, since interruptions are always enabled in this situation.
Describe the solution you'd like
Every input action for adaptive dialogs allow setting expressions in the AllowInterruptions property. The OAuthInput should accept the same property to keep it consistent with other actions. Another relevant property here would be InvalidPrompt, which would make the bot send a message to the user if the interruption condition is not met and they are not signing in. Right now, if the user types something that is not recognized as a valid intent, the bot stays silent.
Describe alternatives you've considered
As a workaround, I'm considering wrapping an OAuthPrompt in a waterfall dialog. The prompt has a retry prompt option, but it doesn't integrate well with the interruption logic from adaptive dialogs. So having support for this in OAuthInput would be the ideal solution.
[enhancement]

Thanks for the request, @fabio-muramatsu.  We've assigned one of our team members to look into this.
We'll post updates here on this ticket.

If you do pursue the waterfall dialog wrapper solution, please let us know how it works out and if it meets your needs.

@vishwacsena Hey amigo, can you take a look at this and lend your perspective?

@luhan2017 pushing to R8.


Fix some minor formatting issues

These are the ones that were asked to be changed in https://github.com/hibernate/hibernate-validator/pull/893

Merged, thanks!


🐛 BUG: Uncaught exception

Which Cloudflare product(s) does this pertain to?
Wrangler or miniflare
What version(s) of the tool(s) are you using?
3.5.0
What version of Node are you using?
18.16.1
What operating system are you using?
Linux (Ubuntu 20.04)
Describe the Bug
In one of my handlers, after executing a select query with batch, I get the following exception:
workerd/server/server.c++:2533: error: Uncaught exception: kj/async-io-unix.c++:186: disconnected: remote.worker_do_not_log; Request failed due to internal error
It seems it's in some kind of destructor or finalizer or other thread / cleanup task, since execution continues after the query, because I can see console.log output from subsequent code. However, the server crashes before it is able to return the response (client doesn't get a response back.) I can reproduce this every single run. Commenting out that query makes the exception go away. No other queries are executed in that request.
I deleted, the database, deleted .wrangler dir, and recreated the database. Same issue.
I created a new hello world project (following the getting started guide), containing only the "hello world" response and got the same exception on the first run only. Subsequent runs were fine. That's interesting, what state could wrangler be keeping that's the same for the machine, but not in the directory/project/code which all changed?
I switched back to the original project, reproduced the exception again. Went back to the new hello world, but it's fine now, I can't reproduce the exception in the hello world project again. Odd.
I then added the same database, same migrations, same query to the hello world project. No issues. I don't know how to make a minimal repro for it.
edit: I tried again this morning, after rebooting overnight. The error is gone, the reboot fixed it. It wasn't the query at fault here, probably not d1 (directly anyway). There's something else going on, and somehow a reboot fixed it.
It's tough to debug a problem with so little to go on. Is there anything I can do to get more info? Is there a way to build a debug version of wrangler or miniflare? Enable logging?
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

i get the identical error in my workers project, and i don't use d3. running on macOS 13.5 with wrangler 3.5.0. also filed here: https://github.com/cloudflare/workerd/issues/1010

I tried again this morning, after rebooting overnight. The error is gone, the reboot fixed it. It wasn't the query at fault here, probably not d1 (directly anyway). There's something else going on, and somehow a reboot fixed it.

I'm having the same issue:

I am getting this issue when quickly closing a connection to my worker


JAMES-3617 Add prometheus-grafana-dashboards

src/site/xdoc/server/metrics.xml can have some dead links too...

Can we also have the PNG uploaded as comments of the PR?

Can we also have the PNG uploaded as comments of the PR?

Yes, I already added some PNG in docs/modules/servers/assets/images/
Tried to fix the metrics of course, to get more pictures. But only JVM, JMAP, IMAP have something enough for sampling.

I mean

Update: Metrics previews - Managed to fix more boards yesterday. ( Still issue with JMAP)
Java JVM

IMAP

MailQueue

BlobStore

GC time => can we see the derivate?
IMAP I think the unit is "Seconds" correct?
localDelivered mails enqueue dequeue -> having the derivate would be nice
spool processing & blob store => wrong units
Do we have boards for other stuff like Mailbox Listener ? ElasticSearch indexing?

webadmin, messageFastViewHitRate,
request, request_count executor_queuedepth, in_flight for Cassandra driver
A whole panel for significant mailets (the ones mentionned in mailetcontainer.xml and takes time...
A board for SMTP too would be nice.

BTW can you deploy your boards on pre prod?

BTW can you deploy your boards on pre prod?

Everything is in <IP_ADDRESS>:3000.
I don't have admin rights for https://monitoring.lin-saas.dev/

Why is webadmin in the middle of the DNS dashboard?

Reorganize the grafana boards on James project:

Move /garfana-reporting to /server/garfana-reporting/elasitcsearch-datasource
Create and provision boards for /server/garfana-reporting/prometheus-datasource
Update the documentation, write a README for prometheus.

Changelogs:

Add James-webAdmin dashboard
Update all Graph-type(old) dashboards to Timeline-type dashboards.
Fix wrong unit when converting ES json to Prometheus json.

New isssues:

IMAP: Missing IMAP_APPEND, IMAP_CREATE, IMAP_COPY, IMAP_MOVE
JMAP: Missing all JMAP metrics
DNS: Missing getAllByName,getAllByName_count
MailQueue: No data enqueueTime:outgoing
SMTP: Error when converting metrics data:


Date Field Error

When attempting to set a date for LAN Event,  the field pops a calendar and clock and inserts the format:  MM/DD/YYYY hh:mm:ss
"http://domain.name/lans/1/events/create"
But when submitting, the page give an error says: "does not match the format Y-m-d H:i:s"
Unable to manually type in required "Y-m-d H:i:s"  as field will not accept this format.

apologies, submitted to wrong project.


use GoogleTest

There is some annoyance around CMake/Android/GoogleTest.

cmake googletest is not available in cmake 3.6. It is possible to specify cmake 3.10 in externalNativeBuild section in build.gradle, but it also means build server (cerbero setup) requires cmake 3.10 setup, which is kind of annoying.
there is no googletest setup in Ubuntu. There is googletest package, but it only packages sources. Maybe that's how it is used, but it also means googletest cannot be resolved via pkg-config. I assume it exists but no one uses it.
Adding subtree is likely a way to go. It feels awkward though. Also not sure if it works fine with CMake include(GoogleTest) statement.

I'm closing this issue so far, as the actual tests cannot be without Services. GoogleTest is still submoduled, but we'd use only when we need it.


Api version via custom header does not fire any exception

I set up my API versioning via custom header, e.g. x-api-version.
Regardless If I pass this header inside request or not, or even x-api-version: 121, my controller, which has attribute [ApiVersion("1.0")], executes the action I am requesting.
Api version options:
{             options.ApiVersionReader = new HeaderApiVersionReader("x-api-version");             options.ReportApiVersions = true;  }
I use ASP.NET Web API 2 and Microsoft.AspNet.WebApi.Versioning 2.2.0

Can you share the other relevant parts of your configuration? If you can share the skeleton that would be helpful too. The world's simplest repro is ideal, but I can probably get you going by just seeing the configured parts.

The whole project is using asp net boilerplate (the Web UI), so API configuration is wrapped by ABP too, but I am not iusing ABP web api controllers inside API, just ApiControllers. All exceptions are processed in custom ExceptionFilter, anyway, no any exception thrown in Debug mode.
`public override void Initialize()
{
this.IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
        this.Configuration.Modules.AbpWebApi().HttpConfiguration.AddApiVersioning(options =>
        {
            options.ApiVersionReader = new HeaderApiVersionReader("x-api-version");
            options.ReportApiVersions = true;
        });

        this.Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(this.IocManager.Resolve<ApiExceptionFilter>());

        this.Configuration.Modules.AbpWebApi().HttpConfiguration.MapHttpAttributeRoutes();

        this.Configuration.Modules.AbpWebApi().HttpConfiguration.Filters.Add(this.IocManager.Resolve<UowFilter>());

        var requestParametersBinderProvider = new SimpleModelBinderProvider(
            typeof(RequestParameters<DimensionElementFilter>),
            new RequestParametersModelBinder<DimensionElementFilter>());

        var apiFilterBinderProvider = new SimpleModelBinderProvider(
            typeof(DimensionElementFilter),
            new ApiFilterModelBinder<DimensionElementFilter>());

        var paginationRequestParametersBinderProvider = new SimpleModelBinderProvider(
            typeof(PaginationRequestParameters),
            new PaginationRequestParametersModelBinder());

        this.Configuration.Modules.AbpWebApi().HttpConfiguration.Services.Insert(typeof(ModelBinderProvider), 0, requestParametersBinderProvider);
        this.Configuration.Modules.AbpWebApi().HttpConfiguration.Services.Insert(typeof(ModelBinderProvider), 0, apiFilterBinderProvider);
        this.Configuration.Modules.AbpWebApi().HttpConfiguration.Services.Insert(typeof(ModelBinderProvider), 0, paginationRequestParametersBinderProvider);

        this.Configuration.Modules.AbpAutoMapper().Configurators.Add(AutoMapperRegistrar.Initialize);

}`

I'm not familiar with ABP at all. However, with a little bit of research, I was able to find that it appears to replace the IHttpControllerSelector and IHttpActionSelector here. This will conflict with API versioning, which also replaces these services. The solution may just a matter of ordering and making sure API versioning is configured last.
@hikalkan has been here before. Perhaps he can answer it or you might be able to ask on the ABP repo. The configuration requirement seems specific to ABP. Without it, things definitely work.

Thanks @commonsensesoftware
@cyberbolt we can continue to discuss that on the ABP repo if you can open an issue.

@commonsensesoftware  @hikalkan thank you for your help. I've created an issue https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3200


Set config on a per client basis

Currently the api key and api secret is set at a Gem level config using:
Bittrex.config do |c|
  c.key = 'my_api_key'
  c.secret = 'my_api_secret'
end

I have a use case for calling the api using different api keys in the same program, and would like to set it at a client level. So something like:
client_1 = Bittrex::Client.new(key: 'key_1', secret: 'secret_1')
wallet_1 = client_1.wallet
client_2 = Bittrex::Client.new(key: 'key_2', secret: 'secret_2')
wallet_2 = client_2.wallet
# do something with wallet_1 and wallet_2

I don't think this gem currently supports this (otherwise please point me in the right direction). I think it would be really helpful. Thank you!

Hi @andyklimczak, correct I don't think it will work at instantiation like that right now. I'll add the request, thanks.


Ability for combining with router-link

Hi, i try your plugin into my webapp - works nice only for anchors, but i need to render anchors on one level with main menu and render anchor only if it has a hash instead of route (something like a fallback if the page isnt already exist - link will scroll you on one of the blocks on main page). So, my code...
data:
	"menu": [
		{
			"label": "Продукты",
			"route": "/",
			"hash": "#products"
		},{
			"label": "Услуги",
			"route": "/",
			"hash": "#services"
		},{
			"label": "Тарифы",
			"route": "/",
			"hash": "#plans"
		},{
			"label": "FAQ",
			"route": "/faq"
		}
	]

template:
<li v-for='link in data.menu' class='header__link'>
	<router-link v-if='link.hash' v-scroll-to="link.hash" :to='link.route'>{{link.label}}</router-link>
	<router-link v-else :to='link.route'>{{link.label}}</router-link>
</li>

Router works fine, but scroll dont work, of course the data of main page isnt already loaded.
So, I will clone and try to write async emulation of data waiting, if DOM hasnt got current hash to scroll. It will be a very helpful feature.

I think the issue is that v-scroll-to adds a click handler to a DOM element, but I'm not sure if that works when used on a component like <router-link>. What I would try is to create a link without <router-link> and attach a @click.prevent handler, where you can conditionally call this.$router.push(...) or this.$scrollTo(...) depending on the presence of the required DOM node.

Ahh, nice! Glad you figured it out 👍


Count failures / successes per subscriber

We need to know which subscribers are invalid and cause repeated failures so we can remove them.
This PR adds success/failure counts for each email sent for a subscriber. This is being updated each time the emails are archived.
Trello: https://trello.com/c/85zUTpds/24-investigate-removing-invalid-email-addresses-so-we-reduce-the-number-of-email-retries

How much of an effect does this have on the time this worker takes? It seems like these queries might be quite expensive, querying against the email table and that might put a lot of load on the system.
I also wonder whether we might need to be a bit clearer with the column names because, reading through the code, their values would only be accurate for the emails currently in the database, rather than of all time.
Is there a way this information could be gathered by running queries against athena?

I will try to figure out how much strain it puts on the system - it is something I am worried about as well.
I had a look and I can query the Athena db with
'''
select subscriber_id, COUNT(id) from email_archive where sent=false and subscriber_id is not null group by subscriber_id
'''
which gives me some info but the Athena email_archive table is itself gzipped and archived several times a day it seems and doesn't really allow easy querying (that I know of).
Any thoughts or comments would be most welcome

@thomasleese i'm always a bit fuzzy on performance optimizations. If we have a need to record this somewhere, what should we be optimizing for on email-alert-api?
Is this something where we're worried about disk space/table size or is it query speed/processing power?

@thomasleese i'm always a bit fuzzy on performance optimizations. If we have a need to record this somewhere, what should we be optimizing for on email-alert-api?
Is this something where we're worried about disk space/table size or is it query speed/processing power?

I think for email-alert-api (especially at the moment) we should be optimising for writes on the database (emails, subscription contents, etc) and so we should avoid any queries which might affect the speed of write operations.

The write queries are done in batches of 1000 so that is a maximum of 1927 queries

Humm... so this PR both reads and updates right?

Then perhaps we could build a report from the logs?

Closing this now. Needs a bit more thought


[Bug] Non-native menubar dropdown issue in multi-monitor setup

Description
When using multi-monitor setup, if the previous focus lies on monitor A, clicking icon on menubar from monitor B will create the non-native dropdown on monitor B first and disappeared (it's moved to monitor A and deactivated by the application, for losing focus?).
The root cause is probably that clicking icon on menubar does not update the current focused workspace or window. Native dropdown implementations are not affected (the one aerospace is using).
Affected applications: iStat Menus, stats, eqMac and MenuBar Browser etc.

it's moved to monitor A and deactivated by the application, for losing focus?

Yes, that is the reason for this issue to occur
I don't think it's possible to fix this issue. Non-native dropdowns are indistinguishable from regular floating windows. A potential fix could be not to move floating windows to the focused monitor, but it will break the workflow for floating windows
It could be possible to introduce a setting, but it's too niche
Plus I think the priority of this issue is minor

Just realised my issue doesn't seem to be limited to iStat Menus and Bartender, but IntelliJ IDEA. When I click an IntelliJ menu (e.g. "View") on my main display (only option) and IntelliJ is on another display, the menu closes immediately. :S
I don't remember having this issue until I turned off "Displays have separate Spaces" per the recommendation.
The macOS setting is tied to whether or not the menu bar appears on every display.

Having the same issue. I have no Spaces any more, and have "Displays have separate spaces" disabled. As a result, app menus always appear on the primary monitor, but as soon as I click an option, bang, it's gone.
Applies to all apps, AFAICT

Is this the problem you're talking about in the video?
https://github.com/user-attachments/assets/43a792db-e59d-48ff-b348-8291b60aca33

Yes. Thanks for your video example.


A new command to disable msg edit/delete for ceratin ppl/bots

Title explains it all

will probably expand this with channels to be ignored as well

Any progress on this?

almost done, in internal testing, proaby later today

Thanks


[bug] endless loop in dev-server on npm run start

Running npm run start will run a endless loop on what might be caused by the minified package?  More investigation needed.
Video of bug https://youtube.com/shorts/OokdnGavq4A?feature=share

Problem seems to be related to<EMAIL_ADDRESS>upgrading to<EMAIL_ADDRESS>fixes it for me

Problem seems to be related to<EMAIL_ADDRESS>upgrading to<EMAIL_ADDRESS>fixes it for me

Unfortunately that does not seem to fix it for me.  Doesn't happen on every change.  Sometimes seems to be triggered a couple changes in.


[AVM Module Issue]: Improve setup of database account properties

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/document-db/database-account
(Optional) Module Version
0.10.0
Description
Currently, there are multiple issues raised due to the fact that always at least one "dummy" database needs to be set to be able to set correctly database account properties.
The problematic code is here:
var databaseAccountProperties = union(
  {
    databaseAccountOfferType: databaseAccountOfferType
    backupPolicy: backupPolicy
    capabilities: capabilities
    minimalTlsVersion: minimumTlsVersion
    capacity: {
      totalThrougputLimit: totalThroughputLimit
    }
  },
  ((!empty(sqlDatabases) || !empty(mongodbDatabases) || !empty(gremlinDatabases) || !empty(tables))
    ? {
        // NoSQL, MongoDB RU, Table, and Apache Gremlin common properties
        consistencyPolicy: consistencyPolicy[defaultConsistencyLevel]
        enableMultipleWriteLocations: enableMultipleWriteLocations
        locations: empty(databaseAccount_locations) ? defaultFailoverLocation : databaseAccount_locations

        ipRules: ipRules
        virtualNetworkRules: virtualNetworkRules
        networkAclBypass: networkRestrictions.?networkAclBypass ?? 'None'
        publicNetworkAccess: networkRestrictions.?publicNetworkAccess ?? 'Disabled'
        isVirtualNetworkFilterEnabled: !empty(ipRules) || !empty(virtualNetworkRules)

        enableFreeTier: enableFreeTier
        enableAutomaticFailover: automaticFailover
        enableAnalyticalStorage: enableAnalyticalStorage
      }
    : {}),
  ((!empty(sqlDatabases) || !empty(tables))
    ? {
        // NoSQL and Table properties
        disableLocalAuth: disableLocalAuth
        disableKeyBasedMetadataWriteAccess: disableKeyBasedMetadataWriteAccess
      }
    : {}),
  (!empty(mongodbDatabases)
    ? {
        // MongoDB RU properties
        apiProperties: {
          serverVersion: serverVersion
        }
      }
    : {})
)

I see an issue using databases properties here as for initial provisioning users usually do not need to have database/collection and will set them up later and with separate provisioning.
I would recommend following:

Introduce new parameter "apiType/serviceType":

@description('Optional. API type for CosmosDB account.')
@allowed([
  'NoSQL'
  'MongoDB'
  'Table'
  'Gremlin'
  //'Cassandra' // currently not supported in AVMs
])
param apiType string = 'NoSQL'

Use this parameter in setup of databaseAccountProperties:

var databaseAccountProperties = union(
  {
    databaseAccountOfferType: databaseAccountOfferType
    backupPolicy: backupPolicy
    capabilities: capabilities
    minimalTlsVersion: minimumTlsVersion
    capacity: {
      totalThroug**h**putLimit: totalThroughputLimit
    }
    consistencyPolicy: consistencyPolicy[defaultConsistencyLevel]
    enableMultipleWriteLocations: enableMultipleWriteLocations
    locations: empty(databaseAccount_locations) ? defaultFailoverLocation : databaseAccount_locations

    ipRules: ipRules
    virtualNetworkRules: virtualNetworkRules
    networkAclBypass: networkRestrictions.?networkAclBypass ?? 'None'
    publicNetworkAccess: networkRestrictions.?publicNetworkAccess ?? 'Disabled'
    isVirtualNetworkFilterEnabled: !empty(ipRules) || !empty(virtualNetworkRules)

    enableFreeTier: enableFreeTier
    enableAutomaticFailover: automaticFailover
    enableAnalyticalStorage: enableAnalyticalStorage

    disableKeyBasedMetadataWriteAccess: disableKeyBasedMetadataWriteAccess
  },
  (apiType == 'SQL') // disableLocalAuth is only releveant for NoSQL, disableKeyBasedMetadataWriteAccess is relevant for all api types
    ? {
        // NoSQL properties
        disableLocalAuth: disableLocalAuth
      }
    : {}),
  (apiType == 'MongoDB')
    ? {
        // MongoDB RU properties
        apiProperties: {
          serverVersion: serverVersion
        }
      }
    : {})
)

The majority of configs are relevant for all API types and database flavors. Even your check goes over all supported "databases" so it is easy to move it to common configuration.
The key is to not enforce creating "dummy" databases but setup database account correctly also without them.
Having additional discriminator parameter will help and will make the choose transparently to module users.
I hope you consider this improvement.
(Optional) Correlation Id
No response

Hey @bryansan-msft,
Please triage this issue when you get the chance 💪


[Question] what is the plug in name for  RequestGroup feature?

I installed a plug-in insomnia-plugin-request, but I didn't see the option "Send Requests" in folder menu.
I am using insomnia version:  7.0.6

insomnia-plugin-run-folder


[BUG] txAdminInterface Not starting the fxServer

txAdmin/FXServer versions:
FXServer build: 5834
txAdmin version: 4.17.1
Describe the bug
When specifying a txAdminInterface ip and starting the server, the FxServer is not starting as it is when not specifying the txAdminInterface ConVar
To Reproduce
Steps to reproduce the behavior:

Start the server using +set txAdminInterface SERVER_IP

Expected behavior
Should start the server like it does when not using the ConVar.
Screenshots

Additional context
The server is hosted on Pterodactyl. As we are using a tunnel for ddos protection, i need to specify an ip to force txAdmin to use the tunnel ip instead of the host ip.

The webserver is starting, as you can see in the 4th log line.
This is probably just some configuration issue on your side.
Keep in mind you can use our discord server for support.

Like i mentionned, the webserver is starting yes. I can login to the interface. The only difference is that it will not start the server. So starting the Server will only start the webserver but then we need to manually go to the webserver and start the server. When not using this convar, it will start the webserver AND the server.

I don't know what was the issue exactly but it seems that it works sometime. So probably an issue somewhere else. No need to investigate on that.


added electronVolt_num to permit plotting with matplotlib

Added a version without objectification of units to run calculations with values of fundamental qqty (e.g. electronvolt) and plot results with matplotlib.
import electronvolt_num  as units
plt.plot(1*units.eV)

Suggestion:
develop electronvolt_CSG and electronvolt_CSGnum with CSG units
and electronvolt_SI and electronvolt_SInum

Could you explain why do we want to plot a unit as a float in matplotlib? And as an alternative, would it be better to implement a function that force convert Quantity objects to float?

Could you explain why do we want to plot a unit as a float in matplotlib? And as an alternative, would it be better to implement a function that force convert Quantity objects to float?

I just found out that it seems you can access the float type value of a Quantity object by directly accessing the value field, e.g. plt.plot(eV.value). Is that what we want?

Yes but it is raised a  general issue of compatibility with established
workflow. I would say having a switch to turn on/off the objectification of
the units would be nice but seems not possible due to the way module are
loaded once for all in a python session.
On Mon, Apr 12, 2021 at 1:00 PM Diego Wang @.***> wrote:

Could you explain why do we want to plot a unit as a float in matplotlib?
And as an alternative, would it be better to implement a function that
force convert Quantity objects to float?
I just found out that it seems you can access the float type value of a
Quantity object by directly accessing the value field, e.g.
plt.plot(eV.value). Is that what we want?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dw61/electronvolt/pull/2#issuecomment-818119028, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEESMZFF4QSEL4VA7HLOUC3TINGNZANCNFSM42Z2MD4A
.

I see. But I think one of the reasons I included units is to double check we are doing valid quantity operations, e.g. the code will raise error if adding kg to m. I can definitely see that you might want accessing the float value of a quantity without changing the code, but I think maybe that's not the intended functionality of this module. Feel free to edit it in the forked repo though!

Fair enough.
On Mon, Apr 12, 2021 at 1:33 PM Diego Wang @.***> wrote:

I see. But I think one of the reasons I included units is to double check
we are doing valid quantity operations, e.g. the code will raise error if
adding kg to m. I can definitely see that you might want accessing the
float value of a quantity without changing the code, but I think maybe
that's not the intended functionality of this module. Feel free to edit it
in the forked repo though!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dw61/electronvolt/pull/2#issuecomment-818189125, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEESMZGTGHYBILEA376QO4DTINKKNANCNFSM42Z2MD4A
.

thanks for using though!


Opens multiple Alfred instances

When an update is found, Alfred is opened using open -n -a "Alfred 3":
https://github.com/SamVerschueren/alfred-notifier/blob/1655892dbf56402bf13ad777cb8f59434cad668a/check.js#L36
This causes a second instance of Alfred to open which can lead to a few issues. For example, if Alfred is open and you press its hotkey, Alfred no longer closes (presumably because it opens the second instance).

I'm not sure why we use the -n flag. I think we can just drop it. @SamVerschueren ?

Good point, I think we can.

FYI, this bug breaks Alfred's snippet expansion (two running Alfred instances means each snippet gets expanded twice).
As I understand it, the aim is to get Alfred to reload a symlinked workflow after an update. Deleting and re-creating the symlink is the best way to do that, imo. Alfred will notice that change and reload the workflow. It can't otherwise tell when symlinked workflows are updated because FSEvents, which Alfred uses to monitor its preferences bundle, doesn't resolve symlinks.

Thanks for weighing in, @deanishe. The aim is to get Alfred to reload the workflow after the subtext in the Info.plist is updated. Having this in mind, #9 basically breaks alfred-notifier since the updated subtext won’t be displayed until Alfred reloads the workflows for other reasons.
Deleting and recreating the symlink indeed seems to be the best solution. I’ve also tried touch -h but Alfred didn’t pick up on any changes.

This might no longer be an issue with Alfred 4. From Alfred’s changelog:

Prevent multiple copies of Alfred from running if, for example, a workflow accidentally attempts to re-launch Alfred as a new process

I actually found a solution in alfred-updater by killing Alfred first and then re-opening it.

This solution won’t work for alfred-notifier, though, right? After all, the update check runs while the user is interacting with the workflow so we wouldn’t want to kill Alfred during that.


GUI-2743 change location of ssl cert files to avoid selinux warning

https://eucalyptus.atlassian.net/browse/GUI-2743

Let's name them eucaconsole.crt and eucaconsole.key to avoid confusion due to generic naming.  Apart from that, this looks great.


Request support ansible 2.2.2 and 2.3-rc2

Issue Type

Feature request

Molecule installation method: pip

Ansible installation method: OS package

Desired Behaviour

2.2.2 is released.
2.3 is now rc2, we should prepare for it.

https://github.com/ansible/ansible/issues/23016
Hi, this bug of ansible==2.2.2 seems affect molecule.

a work round solution is putting all ungroup hosts into [all] group;
or wait ansible 2.2.3 then release molecule 1.24

Hi @retr0h
a late good news is ansible v2.3 is released: https://github.com/ansible/ansible/releases/tag/v<IP_ADDRESS>-1

thanks @gzm55


fix(TDI-41193) : limit csv to

What is the current behavior? (You can also link to an open issue here)
out of memory exception in case of wrong line separator.
What is the new behavior?
explicit exception in this case.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results


How to run Centos System

The default system is Ubuntu. What about if I want to use Centos, another distribution version?

You can deploy your own custom version of WebVM to GitHub pages following the instructions here: https://github.com/leaningtech/webvm?tab=readme-ov-file#fork-deploy-customize
You only need to define a new Dockerfile, based on distribution of your choice.


Fails silently with missing file and postcss-import

It should throw an error: https://github.com/postcss/postcss-import/issues/35#issuecomment-93453325
But when using gulp-postcss w/ postcss-import and you try to import a missing file, the gulp task never finishes and postcss processing seems to abort.

Given this gulpfile
var gulp = require('gulp')
var postcss = require('gulp-postcss')
var postcssImport = require('postcss-import')

gulp.task('default', function () {

  return gulp
    .src('src/style.css')
    .pipe(postcss([postcssImport()]))
    .on('error', function (error) {
      console.log(error)
    })
    .pipe(gulp.dest('dest'))

})

and this css file src/style.css:
@import "./missing.css";
```

I get the following output in the console:

```
{ [Error: Error: /Users/w0rm/Work/postcss-test/src/style.css:1:1: Failed to find './missing.css' from /Users/w0rm/Work/postcss-test
    in [
        /Users/w0rm/Work/postcss-test/src
    ]]
  message: 'Error: /Users/w0rm/Work/postcss-test/src/style.css:1:1: Failed to find \'./missing.css\' from /Users/w0rm/Work/postcss-test\n    in [ \n        /Users/w0rm/Work/postcss-test/src\n    ]',
  showStack: false,
  showProperties: true,
  plugin: 'gulp-postcss',
  __safety: { toString: [Function] } }
```

@timkelty got no further input from your side, may I close this?

I'll test right now and see what's going on with my environment.

Gulp-postcss (not sure, maybe postcss itself) seem to always fail silently. Any error with missing paths in some of the plugins causes it silently fail. It should print the error, this hardens debugging very much.
Issues noticed with cssgrace (when url points to missing file), postcss-assets with same problem of resolving paths.

This is how it looks like:
web@web ~/gulp $ npm install gulp-postcss
<EMAIL_ADDRESS>node_modules/gulp-postcss
├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>web@web ~/gulp $ gulp build:css:next
[14:06:49] Using gulpfile ~/gulp/host/gulpfile.js
[14:06:49] Starting 'build:css:next'...
web@web ~/gulp $

Sticking gulp-plumber in the pipe right before postcss takes care of everything for me. @olegstepura I would give that a try if you haven't yet.

It helps. Thanks!

gulp-postcss has a test for correct stream error that you can listen to and log to console.
It also tests that in case of cssSyntaxError it should emit a pretty error from postCSS instead of regular js stack trace.
According to gulp plugin guidelines an error should not be thrown, but it should be emitted.

Well, stack trace is helpful when you don't know who did thrown an exception. In case of postcss plugins exceptions are no longer thrown by some gulp plugins, it's thrown by postcss plugins that know nothing about gulp.

@olegstepura of course stack trace is helpful, and it is there for non-cssSyntaxErrors, so feel free to subscribe to the stream error event and use your preferred method of displaying the errors. Tests should give you a hint of how to capture stream errors, or use gulp-plumber with gulp-postcss.

I'm very exceited of the project postcss itself. but silent fails almost made stop trying. Also it seems some postcss plugins are still bad quality, plugin order matters, and so on... but thanks to @timkelty for pointing to gulp-plumber, I was thinking plumber was designed for other reasons.
This is an offtop, but don't you know if it is possible to tell plumber to print stack?

Ok, seems the best way is to setup custom error logging function

@olegstepura feel free to open pull request to improve the quality of certain postcss plugins. This repository is only related to gulp plugin.

Hoping this is the right place to ask, but what is the best way to surface warnings from postcss plugins now?
For example postcss-bem-linter uses the warning class as seen here. But I don't think this triggers an error in a stream?
Have tried using postcss-log-warning with throwError set to true but still doesn't seem to throw an error.
Any thoughts?

@simonsmith  I think that warnings should behave differently from the errors, as far as I understand, according to guidelines they should be output in the console rather than emitted as errors.
//cc @ai

I'm also facing this issue, but plumber doesn't seem to be helping:
given:
gulp.task('styles:toolkit', function () {
  var sourcemaps = require('gulp-sourcemaps');
  var postcss = require('gulp-postcss');
  //var bem_linter = require('postcss-bem-linter');
  var calc = require('postcss-calc');
  var colorFunction = require('postcss-color-function');
  var customMedia = require('postcss-custom-media');
  var customProperties = require('postcss-custom-properties');
  var fontVariant = require('postcss-font-variant');
  var lost = require('lost');
  var inline = require('postcss-import');
  var nested = require('postcss-nested');
  var simpleVars = require('postcss-simple-vars');
  var plumber = require('gulp-plumber');
  var processors = [
    //bem_linter(),
    nested,
    inline(),
    customProperties(),
    calc(),
    simpleVars(),
    customMedia(),
    lost(),
    colorFunction(),
    fontVariant()
  ];
  return gulp.src(config.src.styles.toolkit)
    .pipe(sourcemaps.init())
    .pipe(plumber())
    .pipe(postcss(processors))
    .pipe(sourcemaps.write())
    .pipe(prefix())
    .pipe(gulpif(!config.dev, csso()))
    .pipe(gulp.dest(config.dest + '/assets/toolkit/styles'))
    .pipe(gulpif(config.dev, reload({stream:true})))
});

running:
gulp styles:toolkit --dev

resulting:
[14:21:19] Using gulpfile ~/projects/LevelEleven/ui-kit/gulpfile.js
[14:21:19] Starting 'styles:toolkit'...

I also tried using postcss-log-warnings, now I get this:
gulp styles:toolkit
[14:41:10] Using gulpfile ~/projects/LevelEleven/ui-kit/gulpfile.js
[14:41:10] Starting 'styles:toolkit'...

** postcss-log-warnings: warnings were found **

but that's it.

in addition, postcss-import IS finding these files:
$>  gulp styles:toolkit
[14:58:26] Using gulpfile ~/projects/LevelEleven/ui-kit/gulpfile.js
[14:58:26] Starting 'styles:toolkit'...
[ '/Users/vince/projects/LevelEleven/ui-kit/src/assets/toolkit/styles/toolkit.css',
  '/Users/vince/projects/LevelEleven/ui-kit/node_modules/suitcss-components-grid/index.css',
  '/Users/vince/projects/LevelEleven/ui-kit/node_modules/suitcss-components-grid/lib/grid.css',
  '/Users/vince/projects/LevelEleven/ui-kit/src/assets/toolkit/styles/dude.css' ]

** postcss-log-warnings: warnings were found **

@VinSpee sorry, I'm super busy and will only be able to look into this on the weekend.

No problem! I appreciate you even looking at all. On a second glance, I think the issue may be in gulp-sourcemaps or maybe even gulp-autoprefixer because if I remove them, the build works. I'll close for now.

@VinSpee that issue is about postcss-log-warnings I believe, not gulp-postcss. See: https://github.com/davidtheclark/postcss-log-warnings/issues/6 --- working on figuring it out.

@davidtheclark   It seems something is indeed wrong in exception handling, problem explained in this gist: https://gist.github.com/w0rm/36ff0b4399a414384690
By default, if there is an unhandled error in the stream, gulp will terminate and output the error in the console, but this is not happening with gulp-postcss.

My guess is that it has something to do with promises, because an exception that is emitted from the transform function body is output in console, but the one from the postcss promise is not.
    postcss(processors)
      .process(file.contents, opts)
      .then(handleResult, handleError) // this error is not in console

    handleError(new Error('this error will be output'))


Unable to return a sending value as sending without an error

Description
It seems like something about the use of self's state within the closure is defeating sending. I would have assumed that value here would always be possible to send.
Reproduction
public class Context {
	let value: Int

	init(value: Int) {
		self.value = value
	}
}

public struct Transaction {
	public static func with<T>(block: (inout Transaction) throws -> T) throws -> sending T {
		var txn = Transaction()

		return try block(&txn)
	}
}

actor MyActor {
	private var context = Context(value: 0)

	public func withContext<T>(_ block: sending (Context) throws -> T) async throws -> sending T {
		let value: T = try Transaction.with { txn in
			return try block(context)
		}

		// ERROR: returning 'self'-isolated 'value' as a 'sending' result risks causing data races
		return value
	}
}

Expected behavior
I think I understand why value is considered self-isolated. But, because it is marked sending, it really seems like it should be guaranteed possible to send, no?
Environment
Apple Swift version 6.0-dev (LLVM ec7116ccf9bd8a8, Swift e6aae024fab0927)
Target: arm64-apple-macosx14.0
Additional information
No response

I think that you are misunderstanding what is happening here. Part of this is that we do not have isolation history yet (which would explain exactly what is happening with value).
What is happening here is that Transaction.with is actor isolated I believe b/c it captures context (which is actor isolated). That then would cause value to be also actor isolated.
Btw a tip for you that might be helpful... you can dump the silgen using -emit-silgen to figure out quickly what the isolation is of specific functions... we print out the inferred isolation of functions. As an example using your test case:
// closure #1 in MyActor.withContext<A>(_:)
// Isolation: actor_instance. name: 'self'
sil private [ossa] @$s5test27MyActorC11withContextyxxAA0E0CKXEYaKlFxAA11TransactionVzKXEfU_ : $@convention(thin) <T> (@inout Transaction, @guaranteed @noescape @callee_guaranteed @substituted <τ_0_0> (@guaranteed Context) -> (@out τ_0_0, @error any Error) for <T>, @sil_isolated @guaranteed MyActor) -> (@out T, @error any Error) {

Yeah, that isolation history thing sounds amazing. And I totally believe I could be confused! But here's what I do not get. Doesn't a sending return value mean a function must produce a value that is possible to send? And if not, then what does it mean?

@mattmassicotte so I just took another look at this. I actually misread your post. I thought you were referring to the sending on withContext, not the sending on with. My apologies. I think there is an issue here.

No problem at all! I've also since realized that the signature of with doesn't make sense. I intended it to be this, but I think I just got derailed.
public static func with<T>(block: (inout Transaction) throws -> sending T) throws -> sending T
And while that affects the overall correctness of the code example, I think this issue still stands. Plus, that particular version currently crashes as noted in #75982

https://github.com/swiftlang/swift/pull/76076

Wow, this is amazing! Thank you so much for looking at this again.

@mattmassicotte can you verify with the next snapshot that comes out? Then I think we can close this out? Or we can wait until this hits Xcode (eventually) and close it out then... your choice.

I check it out as soon as a new snapshot is released!

Just tested this out with the Sept 11 snapshot, but no change. I assume that this change just wasn't picked up yet.

@gottesmm do you think this is something that might make it into the 6.1 release?

Verified with 6.1 snapshot. Thank you, this rocks!


MPE_ENC_ENCRYPTION_NOT_SET_IN_DELIVERY_POLICY in HLS(FairPlay) stream

I packaged it with HLS CBCS, but the manifest files are accessed, but the media files are not accessed with the error below.
<status>403</status>
<subStatus>0</subStatus>
<hresult>MPE_ENC_ENCRYPTION_NOT_SET_IN_DELIVERY_POLICY</hresult>

I implemented the AMS v3 API call example with .NET SDK.
I'm using custom content key policy and streaming policy.
The problem is that DASH-CENC (Widevine, PlayReady) content packaged in the same way can access media files, but not HLS-CBCS content.
I think I already set the encryption at streaming policy.
What is the delivery policy and how can I solve this problem?

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

ID: 6a96f2d5-8a03-40de-3e5e-e7791dd6b78f
Version Independent ID: 6a96f2d5-8a03-40de-3e5e-e7791dd6b78f
Content: Azure Media Services packaging and origin errors
Content Source: media-services/latest/stream-streaming-endpoint-error-codes-reference.md
Service: media-services
GitHub Login: @IngridAtMicrosoft
Microsoft Alias: inhenkel

@Jason239
Thanks for your feedback! We will investigate and update as appropriate.
Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team

https://learn.microsoft.com/en-us/azure/media-services/latest/stream-streaming-endpoint-error-codes-reference
Maybe there is not enough explanation for the error code in this document.
MPE_ENC_ENCRYPTION_NOT_SET_IN_DELIVERY_POLICY | 0x8088024D | Encryption is not set in delivery policy settings.
I don't know what delivery policy means in Media Services v3 and how to solve this problem.
I already set CommonEncryptionCenc and CommonEncryptionCbcs to StreamingPolicy..
By the way, is it right to make this technical inquiry here? Or should I just ask only about documents? If so, I would appreciate it if you could give me a link to make a technical inquiry.

@Jason239 Thanks for the details shared. This GitHub platform is for driving the documentation improvements. Going forward for any technical question I would request you to ask them hereon Microsoft Q&A platform and tag appropriate Service labels so that relevant SME can assist on it.

@Jason239 I have assigned to content author @IngridAtMicrosoft to take a look and share valuable insights on this

The problem with this issue was confirmed through the sample code in github.
Because HLS CBCS uses fragments from DASH-CBCS, both HLS and DASH protocols have been set up in Streaming Policy and resolved.
I have additional technical inquiries, but I will ask the link you shared.
Thanks a lot !

@Jason239 Thanks for the details.


spotify-wine cannot be installed any more with 'Administrator' account

The spotify-wine container doesn't work any more. Wine refuses to install with the error message. Please install Spotify using a normal account instead of an Administrator account.

I tried creating a new user account and run wine under that user but that doesn't seem to work.
root@153a68bfb4c7:~# adduser user
root@153a68bfb4c7:~# su - user -c "wine /usr/src/SpotifySetup.exe"
wine: cannot find L"Z:\\usr\\src\\SpotifySetup.exe"

This was fixed by adding +x and +r permissions to /usr/src/SpotifySetup. Now of course I've got the Make sure that your X server is running and that $DISPLAY is set correctly. error.
To work around this I whitelist the XAUTHORITY and DISPLAY environment variables.
root@153a68bfb4c7:~# su --login --whitelist-environment=XAUTHORITY,DISPLAY user -c "wine /usr/src/SpotifySetup.exe"

This results in the same error message as before. Please install Spotify using a normal account instead of an Administrator account.  I've searched for a way to run something with less privileges in Wine. The only thing I could find was wine runas /trustlevel:0x2000 <program> in a thread on OneDrive.exe[1]. This wine container however doesn't have C:\Windows\System32\runas.exe. Does anyone know how to add it?
Here's the script I'm using to start the container.
 How do we install apps that can't have administrator privilege?

@dhsdshdhk, I am unaware of a solution for this. I am not an expert in Wine. My guess is that someone with enough knowledge about the working of Wine can probably get this working.

I managed to find runas in an older version of wine staging:
sudo apt-get install -y winehq-staging=5.11~focal wine-staging=5.11~focal wine-staging-amd64=5.11~focal wine-staging-i386=5.11~focal --allow-downgrades
However, Spotify still detects admin and refuses to install


Add 5 second timeout to Kodi connections

HA got stuck when connecting to a Kodi API that was not behaving correctly.  As no timeout is specified the connection hung and prevented HA from starting up.
This fix implements a 5 second timeout for connections to Kodi to allow HA to start up even if Kodi does not respond in a reasonable time.

Looks good! :dolphin:


Fix JsonParser error message

This is to address incorrect (in regards to the item/class name) error messages during parsing of schemas.  The xml/json parsers set the private _currentItemFullName property anytime the findItem or getItems method is called.  The problem is subsequent calls into the parser (from SchemaReadHelper) could be for a different item.  I've found only one occurrence of this in the SchemaReadHelper.loadClassSync method which calls this.findSchemaItemSync if a base class exists.  This call will set the parser._currentItemFullName to the base class if the child class is being parsed first.  Any subsequent errors that occur during parsing will have incorrect error messages due to the _currentItemFullName being set to the base class.  This interplay between the helper and parser is bug prone.  My fix with parser.getProperties method could be applied to all public parser methods.

I just thought of another solution and that would be to have parameter in the findItem/getItems method to conditionally set the currentItemFullName.


Disable CSS & JS minification by default and allow minify() in development

This pull request disables the automatic minification of CSS files by css-loader (css-nano) in development and production and removes automatic JS minification in production. Minification should only occur when calling mix.minify() or mix.combine() are called and matches the standard naming convention for minified versions of assets (*.min.ext)
The current setup is far too opinionated about minifying assets in production and offered no way to configure or disable cssnano. This is a real headache when debugging issues in minification such as https://stackoverflow.com/questions/49516072/wrong-output-on-npm-run-prod

Thanks,  but I'm not going to disable automatic minification for production JS builds when the huge majority of developers will want precisely that.

Minifying is still possible... This is just an effort to make mix more deterministic. The differences in running in development or production environment should be encapsulated in webpack.mix.js, not hidden in the tool. Generating different assets in different environments without being configured to do so is asking for trouble.


Add GalleryImageDefinitionFeature to the SIG image definition object

Resource Provider

Azure.Compute
Description of Feature or Work Requested

Add an array of GalleryImageFeature objects named "features" under the image definition object in Shared Image Gallery. The array is not updatable after creation.
Image definition CLI docs: https://docs.microsoft.com/en-us/cli/azure/sig/image-definition?view=azure-cli-latest
Example usage:
az sig image-definition create --features IsSecureBootSupported=true IsMeasuredBootSupported=false
The implementation should be able to handle arbitrary feature names and values as input on the create call- we have validation on the service side to allow/disallow specific feature names and feature values.
Please note- to begin with, this is meant to be a limited release to specific customers and we are not yet in public preview. The feature names are not locked and are subject to change. We want to allow specific customers to use it, but with known feature names and values provided by the service. CLI docs should not provide info as to what acceptable feature names are.
Minimum API Version Required

2020-09-30
Swagger Link

Search for "features"
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/compute/resource-manager/Microsoft.Compute/preview/2020-09-30/gallery.json
Target Date

October 15

@qwordy please take a look.

Asking SDK team for SDK release.

@grace-liang There is an error. Can you help? Does the subscription need to be added to allowed list? Thanks.
Request body:
{"location": "westus", "tags": {}, "properties": {"osType": "Linux", "osState": "Generalized", "hyperVGeneration": "V1", "features": [{"name": "IsSecureBootSupported", "value": "true"}, {"name": "IsMeasuredBootSupported", "value": "false"}], "identifier": {"publisher": "publisher1", "offer": "offer1", "sku": "sku1"}, "disallowed": {}}}

Error:
{
  "error": {
    "code": "BadRequest",
    "message": "Could not find member 'features' on object of type 'GalleryImageProperties'. Path 'properties.features', line 1, position 132.",
    "target": "galleryImage.properties.features"
  }
}

Added that subscription, please retry. Thanks @qwordy!

Added that subscription, please retry. Thanks @qwordy!

Thanks. I tried last Friday and it didn't work. It works this Monday. It seems there is a notable delay between it takes effect.


feat: add ErrorBox showing full error details

When there's an error while running a query, the error isn't visible as the text will be "undefined".
Because of this, the error will never be shown at:

  >
  {parsed.text || parsed.error || 'undefined'}

Before

After

While taking the screenshot, I also saw the preview with "That is great, ship it!"
As this is not that great 😅 - I also changed that.
WDYT about the message, should it say something else?

Thanks! This is awesome.
About the error, let's merge this fix. But at the same time, I think we should create an issue with a feature request. It should be possible to navigate over multiple results. But first things first, fix the bug :innocent:
Regarding the message, I do feel that showing the exact same error twice (under and next to the js code) is a bit weird.
If you take a look here:
https://github.com/smeijer/testing-playground/blob/e7634daec7b13c4942110341bea6548fdf5ca336/src/parser.js#L112-L113
You can see that we have both an error and an errorBody property. I think it would make sense to show the error + errorBody on the right when an error occurs? Only the error below, and both right next to it?
Hide the element info, and only show a big red error box on the right side with all the details?

I agree, I also found it weird looking - thanks for the suggestion!
If I understood it correctly, this is what you mean?

Also, if there's a better way to hide the element info feel free to ask for changes (or refactor it yourself if that's easier) as I'm not a React developer by day 😅

I haven't looked at the code yet, I'll do that tomorrow :innocent:
Regarding layout, that's exactly what I meant.
It can benefit from className="whitespace-pre-wrap", and the "divider" should be removed. (You also might need to merge in master, to get the errorBody as a string instead of an array)

I hope you don't mind. I've merged in master, and extracted the error handling to a dedicated ErrorBox component. I believe we can merge this thing :sunglasses:
What do you think?
left production, right this PR

@smeijer LGTM - the UI and the code are better than before 👍

Thanks for your work on this one @timdeschryver!
Now let's test this thing:
@all-contributors please add @timdeschryver for code