[feature] Please add :::+ capability

To allow for commands that run once on each option - please add :::+ capability (similar to gnu-parallel).
This would make this tool a drop-in replacement for gnu-parallel for many commands I use. I'm sure others would benefit from the speed improvements over Perl that Rust provides.

Will work on adding this, thanks for reporting @Ktoks

I think I've figured out where the largest amount of change would need to take place for this - src/parser/command_line.rs:
use std::{collections::VecDeque, sync::Arc};
use crate::{

command_line_args::{CommandLineArgs, COMMANDS_FROM_ARGS_SEPARATOR},

command_line_args::{CommandLineArgs, COMMANDS_FROM_ARGS_SEPARATOR, COMMANDS_FROM_ARGS_SEPARATOR_SEQUENTIAL},
common::OwnedCommandAndArgs,
parser::{regex::RegexProcessor, ShellCommandAndArgs},
};
@@ -45,6 +45,7 @@ impl CommandLineArgsParser {
for (separator, group) in &command_and_initial_arguments
.iter()
.group_by(|arg| *arg == COMMANDS_FROM_ARGS_SEPARATOR)

       .group_by(|arg| *arg == COMMANDS_FROM_ARGS_SEPARATOR_SEQUENTIAL)
   {
       let group_vec = group.cloned().collect();

@@ -53,11 +54,15 @@ impl CommandLineArgsParser {
first_command_and_args = group_vec;
}
first = false;

       // TODO: this will be where we add a new group type

       // } else if condition {

       //     unimplemented!();
       } else if !separator {
           remaining_argument_groups.push(group_vec);
       }
   }

   // TODO: Figure out how to run this sequential
   let all_argument_groups = remaining_argument_groups
       .into_iter()
       .multi_cartesian_product()


Expand ITensor docs

Add more ITensor constructors to the docs. Also add many more examples to the docs for the ITensor type.

Codecov Report

Merging #607 (99a6154) into master (e4ccad4) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #607      +/-   ##
==========================================
- Coverage   81.44%   81.34%   -0.11%
==========================================
  Files          48       48
  Lines        5353     5349       -4
==========================================
- Hits         4360     4351       -9
- Misses        993      998       +5

Impacted Files
Coverage Δ

src/itensor.jl
84.16% <ø> (ø)

src/packagecompile/compile.jl
0.00% <0.00%> (-29.42%)
:arrow_down:

...nceOptimization/ContractionSequenceOptimization.jl
62.50% <0.00%> (-4.17%)
:arrow_down:

src/global_variables.jl
94.28% <0.00%> (-0.16%)
:arrow_down:

src/physics/sitetype.jl
96.26% <0.00%> (-0.03%)
:arrow_down:

src/mps/abstractmps.jl
85.88% <0.00%> (-0.03%)
:arrow_down:

Continue to review full report at Codecov.

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


Upgrade helix to 0.9.7

Helix release notes: http://helix.apache.org/0.9.7-docs/releasenotes/release-0.9.7.html

@haibow this is to be included in 0.4.0


EPE= 1.384 on SceneFlow_cleanpass  using your pretrained model ??

Thanks for your great work!
Howerver,  I cant only get EPE=1.384 on SceneFlow_cleanpass  using your pretrained model ( disparity is multiplied by 1.17 already and align_corners=True)!
So, How can we reproduce the result EPE=1.09 in your paper?  I read through other issues, but it seems that this is an old issue that has not been solved yet. Can you release your test code on SceneFlow that can reproduce the result EPE=1.09. Thanks a lot.
Here is my result using your pretrained model:
epe: 1.384      d1: 0.0444      thres1: 0.1542

Yes, I tried. But I also got EPE=1.391. So do you solve this question?

I believe it‘s the same problem. No one can solve it except the author. Waiting for a reply...

Hi all,
I release a newly trained model using torch 1.8.1, and you can see this update on README.
google drive
Please set "align_corners=False" with this pretrained weight.
This newly trained model should get EPE=0.974 according to my experiment recording.
I guess the mismatched result may cause by the version of torch and cuda.
I hope the new trained model can remove your doubts.

Jia-Ren

I tried and got a result 1.105. Thank you very much for your answer.


TMDB API connection errors and 500 internal errors while fetching details

Description
Since last 2 weeks, my jellyseerr instance is not able to fetch details of movies and shows from TMDB. Some of the titles are downloaded properly but for most it shows the below errors in logs

2023-12-03T05:31:12.822Z [info][Server]: Server ready on port 5055
2023-12-03T05:31:15.943Z [debug][API]: Something went wrong retrieving trending items {"errorMessage":"[TMDB] Failed to fetch all trending: read ECONNRESET"}

2023-12-03T05:31:36.675Z [debug][API]: Something went wrong retrieving trending items {"errorMessage":"[TMDB] Failed to fetch all trending: read ECONNRESET"}
2023-12-03T05:31:36.679Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:36.682Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1113278"}
2023-12-03T05:31:36.685Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"94244"}
2023-12-03T05:31:36.688Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"957999"}
2023-12-03T05:31:36.691Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"202411"}
2023-12-03T05:31:36.693Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1131409"}
2023-12-03T05:31:36.696Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:36.698Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:36.700Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"798021"}
2023-12-03T05:31:36.721Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"111086"}
2023-12-03T05:31:36.760Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"945337"}
2023-12-03T05:31:38.885Z [debug][API]: Something went wrong retrieving the series genre slider {"errorMessage":"[TMDB] Failed to fetch TV genres: read ECONNRESET"}
2023-12-03T05:31:38.888Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:38.891Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:38.894Z [debug][API]: Something went wrong retrieving the movie genre slider {"errorMessage":"[TMDB] Failed to fetch movie genres: read ECONNRESET"}
2023-12-03T05:31:38.978Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:39.139Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1113278"}
2023-12-03T05:31:39.151Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"798021"}
2023-12-03T05:31:39.153Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"945337"}
2023-12-03T05:31:39.155Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"957999"}
2023-12-03T05:31:39.157Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1131409"}
2023-12-03T05:31:39.178Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"202411"}
2023-12-03T05:31:39.220Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"111086"}
2023-12-03T05:31:39.300Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:40.086Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1113278"}
2023-12-03T05:31:40.090Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"957999"}
2023-12-03T05:31:40.093Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1131409"}
2023-12-03T05:31:40.096Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:40.098Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:40.101Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:40.103Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"202411"}
2023-12-03T05:31:40.105Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:40.107Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"798021"}
2023-12-03T05:31:40.109Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"111086"}
2023-12-03T05:31:44.822Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1113278"}
2023-12-03T05:31:44.827Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:44.831Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"957999"}
2023-12-03T05:31:44.835Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:44.838Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"798021"}
2023-12-03T05:31:45.837Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:45.843Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:45.848Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"957999"}
2023-12-03T05:31:49.830Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:31:49.836Z [debug][API]: Something went wrong retrieving the series genre slider {"errorMessage":"[TMDB] Failed to fetch TV genres: read ECONNRESET"}
2023-12-03T05:31:49.841Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:50.982Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1131409"}
2023-12-03T05:31:50.989Z [debug][API]: Something went wrong retrieving the movie genre slider {"errorMessage":"[TMDB] Failed to fetch movie genres: read ECONNRESET"}
2023-12-03T05:31:50.994Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1113278"}
2023-12-03T05:31:50.999Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"798021"}
2023-12-03T05:31:51.001Z [debug][API]: Something went wrong retrieving series {"errorMessage":"[TMDB] Failed to fetch TV show details: read ECONNRESET","tvId":"111086"}
2023-12-03T05:31:51.004Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-03T05:31:51.006Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-03T05:32:00.013Z [debug][Jobs]: Starting scheduled job: Download Sync

This was working fine until 2 weeks back.
If I click on any studio icons,or category like "Popular Series", "Movies Genres", it shows 500 internal server error, no logs for this error though

I even created a fresh docker container for Jellyseerr but the results was still same on the fresh installation, so it does not look like an issue with the configuration.
Version
1.7.0
Steps to Reproduce

Install Jellyseerr on docker
Jellyseerr frequently can't fetch movies/shows details

Screenshots

Logs
No response
Platform
desktop
Device
Linux
Operating System
Ubuntu 22.04
Browser
Firefox
Additional Context
Latest Jellyseerr version 1.7.0 installed on docker.
Code of Conduct

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

This is most likely a dns issue.
could you add:
dns:
    - <IP_ADDRESS>

to your docker compose

I did add the the dns <IP_ADDRESS> parameter to the docker compose, same results, no improvement.
Also, I have 15 more containers running on the same host, but none has any issues with dns so I don't think this is a dns problem.
I think "ECONNRESET" in the logs suggest that the problem is with the tcp connection reset from TMDB side, but not sure why this starts suddenly and also why it happens randomly with random titles.

No VPNs, but I think this is not Jellyseerr's problem though.
I ran packet capture and found that there are continuous reset packets coming from the server side (api.themoviedb.org) for every client request but I think this is my ISP that is resetting the connections not the actual TMDB servers. (Github isn't allowing me to attach pcap files)
Not sure why would the ISP close these sessions though.
You can close the issue. I will continue to troubleshoot from my end.
Thanks

same issue for me
randomly get errored it's only happening with jellyseerr radarr and sonarr are fine

Same ECONNRESET?
I cannot seem to replicate that. Also you can't have that issue with sonarr. In radarr case the only time you access tmdb is when you add a movie so even if you face that issue it might slip out because of that.

you may close this issue

Happening again with me :(

Happening again with me :(

ECONNRESET?

Not OP but I've been encountering this issue over the past couple of weeks. I attempted to resolve it by setting up a fresh Docker instance, everything seemed to be working fine for a few hours but the issue returned again. Here are the recent logs.

2023-12-23T16:27:11.724Z [info][Jobs]: Scheduled jobs loaded
2023-12-23T16:27:12.288Z [info][Server]: Server ready on port 5055
2023-12-23T16:27:28.342Z [debug][API]: Something went wrong retrieving trending items {"errorMessage":"[TMDB] Failed to fetch all trending: read ECONNRESET"}
2023-12-23T16:27:28.353Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-23T16:27:29.084Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-23T16:27:29.091Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-23T16:27:29.097Z [debug][API]: Something went wrong retrieving the series genre slider {"errorMessage":"[TMDB] Failed to fetch TV genres: read ECONNRESET"}
2023-12-23T16:27:29.328Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-23T16:27:29.373Z [debug][API]: Something went wrong retrieving the movie genre slider {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-23T16:27:42.618Z [debug][API]: Something went wrong retrieving trending items {"errorMessage":"[TMDB] Failed to fetch all trending: read ECONNRESET"}
2023-12-23T16:27:42.645Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-23T16:27:43.330Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-23T16:27:43.403Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"899112"}
2023-12-23T16:27:43.408Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"891699"}
2023-12-23T16:27:43.431Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1071215"}
2023-12-23T16:27:43.462Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"726209"}
2023-12-23T16:27:43.469Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"915935"}
2023-12-23T16:27:43.863Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1063157"}
2023-12-23T16:27:43.871Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"466420"}
2023-12-23T16:27:43.876Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-23T16:27:43.909Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1007074"}
2023-12-23T16:27:48.497Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-23T16:27:48.635Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"891699"}
2023-12-23T16:27:52.803Z [debug][API]: Something went wrong retrieving trending items {"errorMessage":"[TMDB] Failed to fetch all trending: read ECONNRESET"}
2023-12-23T16:27:53.235Z [debug][API]: Something went wrong retrieving popular series {"errorMessage":"[TMDB] Failed to fetch discover TV: read ECONNRESET"}
2023-12-23T16:27:53.826Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1071215"}
2023-12-23T16:27:53.867Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"726209"}
2023-12-23T16:27:54.300Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"1063157"}
2023-12-23T16:27:54.314Z [debug][API]: Something went wrong retrieving popular movies {"errorMessage":"[TMDB] Failed to fetch discover movies: read ECONNRESET"}
2023-12-23T16:27:54.330Z [debug][API]: Something went wrong retrieving movie {"errorMessage":"[TMDB] Failed to fetch movie details: read ECONNRESET","movieId":"466420"}
2023-12-23T16:28:00.029Z [debug][Jobs]: Starting scheduled job: Download Sync
2023-12-23T16:29:00.034Z [debug][Jobs]: Starting scheduled job: Download Sync
2023-12-23T16:30:00.037Z [debug][Jobs]: Starting scheduled job: Download Sync
2023-12-23T16:30:00.094Z [info][Jobs]: Starting scheduled job: Jellyfin Recently Added Sync

Unfortunately this seems to be an issue with isp+tmdb connection so I cannot help you there 😔


MWPW-151936 Aside Tiger Team Enhancements

Enhancements for default and split asides according to Consonant Tiger Team work
Updates to spacing and widths to make sure everything is 1:1 between milo and figma

Resolves: MWPW-151936
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-large?martech=off
After: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-large?martech=off

Default/Standard Aside:

Large: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-large
Medium: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-medium
Small: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-small

Split Aside:

Large: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-split-large
Medium: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-split-medium
Small: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-split-small

Regression:
No variants other than split and the default should change.
Before: https://main--milo--adobecom.hlx.page/docs/library/blocks/aside
After: https://methomas-aside-tiger--milo--adobecom.hlx.page/docs/library/blocks/aside

The documentation is not ready and should be provided by @meganthecoder

PM requested we hold on this. See ticket for details

FYI @elan-tbx will be taking over this PR while I'm out on sabbatical

In the effort of passing the PSI check while maintaining @meganthecoder's excellent documentation, I am going to move the links from the description of this PR to a comment here.
Test URLs:
Before: https://main--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-large?martech=off
After: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-large?martech=off
Default/Standard Aside:
Large: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-large
Medium: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-medium
Small: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-standard-small
Split Aside:
Large: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-split-large
Medium: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-split-medium
Small: https://methomas-aside-tiger--milo--adobecom.hlx.page/drafts/methomas/consonant-tiger/aside-split-small
Regression:
No variants other than split and the default should change.
Before: https://main--milo--adobecom.hlx.page/docs/library/blocks/aside
After: https://methomas-aside-tiger--milo--adobecom.hlx.page/docs/library/blocks/aside


Allow users to extend the set of included files via include

Summary
This PR adds an include mechanism to Ruff's configuration, which mirrors exclude (and extend_exclude), but is applied after exclusions, and allows users to include files beyond *.pyi and *.py (the default) when running Ruff.
For example, if users want to lint .pyw files in addition to .pyi and py files, they could add:
[tool.ruff]
extend-include = ["*.pyw"]

Closes #3410.
Closes #3783.
Closes #2192 (by providing a workaround).

This introduces a small performance regression (from ~247ms to ~251ms on CPython).

I think we can improve performance by tracking whether any settings have custom inclusions or exclusions, and avoiding the settings resolution altogether if not. But, that would be better as a separate PR anyway.

I would have expected the opposite: includes define the initial file set and exclude filter the files. What's your motivation for choosing this precedence?

Do you know how flake8 supports these use cases? I wasn't able to find an include option.

Good question -- the precedence here is from Black, here's the documentation:
  --include TEXT                  A regular expression that matches files and
                                  directories that should be included on
                                  recursive searches. An empty value means all
                                  files are included regardless of the name.
                                  Use forward slashes for directories on all
                                  platforms (Windows, too). Exclusions are
                                  calculated first, inclusions later.
                                  [default: \.pyi?$]
  --exclude TEXT                  A regular expression that matches files and
                                  directories that should be excluded on
                                  recursive searches. An empty value means no
                                  paths are excluded. Use forward slashes for
                                  directories on all platforms (Windows, too).
                                  Exclusions are calculated first, inclusions
                                  later. [default: /(\.direnv|\.eggs|\.git|\.h
                                  g|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn
                                  |\.ipynb_checkpoints|_build|buck-

(Related to the above docs: I don't really know what it would mean to apply an inclusion to a directory in this context, since we traverse over all directories by default and exclusions are applied first (so you can never include a subdirectory within an excluded parent). So I'm only testing inclusions against files.)

Relevant stuff from Black:
https://github.com/psf/black/pull/281
https://github.com/psf/black/issues/270

AFAICT, they also only apply inclusion checks to individual files.


Tagging a patch

Thanks for merging #6. Unfortunately, Optim and DSGE cannot be at their latest tagged versions any more, as the last tag (0.1.3) is not compatible with Optim v0.6. So, just wanted to say that I think a lot of users would be happy with a patch tag. Of course, I don't know if "you're in the middle of something" and aren't ready to tag. Just a heads up !

Done. Thanks for the heads up!


Net Price Options 3.0.0-dev-2

With the new version it is not possible to use two decimal places in to 'Absolute Surcharge' i.e. 0.08

That is an issue with home assistant.
Unfortunately as a work around for now you need to enter first 0.8 and then add the second 0 before the 8.

I have now also opend an issue with home assistant:
https://github.com/home-assistant/core/issues/130753


Add Built-in Methods for Measure Data

Need to add built-in sampling and quadrature methods to better enable measures. Desire syntax of form `measure(expr, param(s), lb = [param lb], ub = [param ub]; eval_method = [default_method])'. Maybe the evaluation methods could be defined in a submodule.

Completed in accordance with #19.


Add exceptions for org.godotengine.GodotSharp and org.godotengine.Godot3Sharp to allow both to use external code editors

This is for these PRs in flathub/flathub, to allow both apps to use external editors using access to flatpak-spawn: https://github.com/flathub/flathub/pull/4594 and https://github.com/flathub/flathub/pull/4595

Let's avoid adding Godot 3 variant for now -- I'm not convinced it's worth the overhead to maintain 2 additional variants for apps already on Flathub. Can you change your PR to include only GodotSharp?

While I personally disagree with your point about the maintenance of both C# versions (I'd be happy with maintaining both concurrently), I am OK with holding the Godot 3 variant off for a short while, as I'm currently trying to investigate some problems I've been having with building it locally on my computer. I have considered trying to do a test build of the Godot 3 variant without flatpak-spawn access just to see if those problems persist on a server build attempt rather than a local one, but if you're OK with that I'll do it once the Godot 4 variant's up on Flathub, since that seems to build just fine. Once the Godot 4 variant's been published, I'd like to hopefully come back to the Godot 3 variant afterwards. I'm amending my PR now. Sorry for the late reply, by the way.

Can you change your PR to include only GodotSharp?

@barthalion (sorry for the ping) Just did :+1:


Emit events related to asset mutations

In one of the XCM integration tests, it was discovered that the fungibles::regular::Mutate::transfer implementation of the Assets pallet didn't fire off any events, causing the test to fail, but the asset to actually be transferred. This PR aims to make sure that all asset mutation events properly fire off the associated events.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2802722

Extending the unit tests would be nice

Hah, apparently one of the unit tests were failing even before my changes, and we weren't testing the scenario properly. Good thing you've asked!

bot merge

bot merge


Regex problem with spaces and specific character

-I can't create a camp with a space in it's name like "Iut Amiens"
-We can't put any accents in a camp's name like "Marià" or "ñinos"
-We can write specific character like "& #<PHONE_NUMBER>" in the textbox "Location"

Some regex patterns aren't supported in qt, i kind of gave up, spaces will be allowed, but no specific utf8 accents


FirebaseFirestore orderBy function not works with when function

i have implemented this code for retrieving the messages of this room.
final messagesProvider = StreamProvider((ref) {
FirebaseFirestore db = FirebaseFirestore.instance;
var room = ref.watch(roomIdProvider);
print('room updated');
print('room is '+room);
final docRef = db
.collection("messages")
.where("chat_room_id",isEqualTo: room)
// .orderBy('created_at')
// .orderBy('created_at',descending: true)
;
print(docRef.orderBy("created_at").snapshots());
return docRef.snapshots();
});
i want to sort the data and have tried these two lines separately but not worked for me
 .orderBy('created_at')
 .orderBy('created_at',descending: true)

where created at is a timestamp field.

@devnoaman looks like a firebase issue

Hi @devnoaman, This issue doesn't seem to describe bug in flutter, Please report the issue in the flutterfire repo https://github.com/firebase/flutterfire/issues


SPUserProfileSyncConnection SSL issue

Hi,
I'm trying to configure an Active Directory Sync connection with SPUserProfileSyncConnection resource. I don't have any problem if I'm not using SSL but if I set the UseSSL parameter to true, I'm getting the error:
The LDAP server is unavailable.
I'm trying with SharePoint 2016 on Windows Server 2016 with the SharePointDSC module version <IP_ADDRESS>

Hi @wickedave, does this work when you use the Add-SPProfileSyncConnection manually?

@wickedave Just to check: When testing this setting, did you configure your AD to use LDAPS before configuring this setting?
https://social.technet.microsoft.com/wiki/contents/articles/2980.ldap-over-ssl-ldaps-certificate.aspx
Reason I ask is that I investigated this issue yesterday and wasn't able to use LDAPS via SharePointDsc, PowerShell directly or Central Admin at all. I got the same error message as you did. Some searches revealed that you have to configure certificates before it will work.

Hi Yorick,
LDAPS is configured on our side. I was able to set the SSL connection from the central admin without any issue. I didn’t try to configure it with the default SharePoint Powershell command yet because I’m so busy at work that I don’t have spare time to try it on my lab.
thanks
[my-signature]
From: Yorick Kuijs<EMAIL_ADDRESS>Sent: 2 mai 2018 03:41
To: PowerShell/SharePointDsc<EMAIL_ADDRESS>Cc: Dave Tremblay<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PowerShell/SharePointDsc] SPUserProfileSyncConnection SSL issue (#774)
@wickedavehttps://github.com/wickedave Just to check: When testing this setting, did you configure your AD to use LDAPS before configuring this setting?
https://social.technet.microsoft.com/wiki/contents/articles/2980.ldap-over-ssl-ldaps-certificate.aspx
Reason I ask is that I investigated this issue yesterday and wasn't able to use LDAPS via SharePointDsc, PowerShell directly or Central Admin at all. I got the same error message as you did. Some searches revealed that you have to configure certificates before it will work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/SharePointDsc/issues/774#issuecomment-385891375, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMEwLavmSAyr1KxAGhEV9sosut1OQ8QWks5tuWMWgaJpZM4ST2Xe.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/PowerShell/SharePointDsc","title":"PowerShell/SharePointDsc","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/PowerShell/SharePointDsc"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ykuijs in #774: @wickedave Just to check: When testing this setting, did you configure your AD to use LDAPS before configuring this setting?\r\nhttps://social.technet.microsoft.com/wiki/contents/articles/2980.ldap-over-ssl-ldaps-certificate.aspx\r\n\r\nReason I ask is that I investigated this issue yesterday and wasn't able to use LDAPS via SharePointDsc, PowerShell directly or Central Admin at all. I got the same error message as you did. Some searches revealed that you have to configure certificates before it will work."}],"action":{"name":"View Issue","url":"https://github.com/PowerShell/SharePointDsc/issues/774#issuecomment-385891375"}}}

I found the issue: When specifying UseSSL, you also have to specify that the port should be 636 instead of the default port 389. The code does not do this. Will update the resource, which will be included in my next Bugfix PR!

Fixed in PR #811

PR merged, closing issue


Formatting Balloons keep hanging around

If you select text when you're typing to open the formatting balloon and close the posting form to continue navigating, those balloons keep hanging on the page.

Thanks for the report @kewitz! This shouldn't bee too terrible to fix.

@rynbyjn I would be happy to open a PR for this if it was easy to set up the development environment.
The problem is that I already tried and I couldn't get any data to actually be able to test the front-end.


:Workspace command does not work, panels do not load.

Hello.
I am pretty new to nvim and I tried to install nvim-ide using nvim-plug.
Unfortunately, the :Workspace commands are not loaded and the panels that toggled on in the default config do not appear, when I start nvim. Can someone please have a look at my setup steps and tell me what I am doing wrong?
I have nvim version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794

and installed vim-plug following the instructions for nvim in Linux, Unix.
To setup nvim-ide I performed these steps:

Add the following lines to my /home/$USER/.config/nvim

call plug#begin('~/.config/nvim')
Plug 'ldelossa/nvim-ide'
call plug#end()

Start nvim and call :PlugInstall
I was not sure what the README means with this

    Call the setup function (optionally with the default config):

I tried a few things but nothing worked. In the end I figured that it just meant using :PlugInstall since that is supposed to setup a plugin.
And I am stuck from there. I did a whole bunch of rebooting of nvim, the terminal, my computer... but that did not help. I am new to nvim or more advanced vi(m), so I don't know where to look right now.
Please help me overcome this noobish issue.
Thanks!

Hi.
You need to configure the plugin using lua. Nvim by default reads the init.lua or init.vim files in the .config/nvim directory.
In the init.vim file you need to run a lua command like :lua require('ide').setup() more here. But init.lua is a Lua script, so you need to install the plugin more here and paste the setup (require('ide').setup....).


add active/inactive text alignment

Add activeTextAlignment and inactiveTextAlignment  to the constructor.

How can we add activeTextAlignment and inactiveTextAlignment ?, It is very important for using this widget.
Please add support for this


[PE-D][Tester A] Different output between application and UG

Different expected outputs from actual for list command.

Labels: severity.Low type.DocumentationBug
original: WinSheng1/ped#2

duplicate


Move flag.Parse() to main()

Move flag.Parse() to main() so that other packages can use init()
to create flags just like config.go (in this case, ngp-policy-engine/pip/plugin/mcafee)

Closing the pull request as PDP sever executable implementation is just an example and shouldn't meet any requirements which third party closed source projects can demand.
Moreover Themis provides server as a library so there are many ways to test plugins with it without running as side process.

If we want it done as a library, it shouldn't be using flag directly, because that forces the developer that is importing it to use all those flags. We could have a separate method that they can call to setup the flags if they want to. But the library initialization itself should be through either a Config struct or through Options (or a combination).

Correct me if I'm wrong, I THINK @vasili-v is trying to say the pdpserver is just an example, which is the piece that has the flag code.
I think @vasili-v is referring to the pdp package as the library, which is the Themis library that others would be using. The pdp package does not depend on the config code.
Having said that, as I mentioned to @vasili-v in a separate thread - Ialthough pdpserver is just an example, I think we should try to adopt best practice whenever possible.
And, I thing what you suggested is best practice.


Slowness in benchmarks

Hi @alexliesenfeld I recently made a similar async pool crate, Tub and ran benchmarks on similar crates.
I analyzed yours and it performed noticeably slower than the other crates. You can find the benchmark I use here.
I wanted to ask, am I using the API for this crate incorrectly? The other crates I used were RAII based this one is not, so I may have misused it.
Here is one of the comparison charts:

For context I am using Tokio as the runtime in the benchmarks.
Also, at mod.rs#L153 I instantiate the pool with an AtomicU32 counter that uses SeqCst ordering.
Does this seem suspicious in any way?


Include code-gen version in PR title and branch

Description of changes:
Fix auto-gen by include code-generator version in the Github PR and issues templates and branch name
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/unhold


Update to egui 0.23

A minimally invasive port to latest egui 0.23 API. The now deprecated RetainedImage from egui_extras has been replaced by a private copy of the code (only the essential parts). I realize that the latest egui introduced a new image loading API that could possibly replace large parts of the existing infrastructure in this crate. However, since I wasn't sure whether the maintainer of walkers is planning to go this route, and also since this would require a major refactoring, I thought it is better to leave this to a separate change.

Look good, but I'll postpone it just a little bit. I want to make a release first so that egui dump is the only change between two walkers versions.


inference

Ask a question:How to do in prediction, which don't have label? Thanks.

X^l represents all candidates' label embeddings. During training, the model does not utilize gold information in X^l, the only supervision is on the last layer's attention weights.

ok, Thanks!

@oldstree Hi, I am also trying to use the tool. But I am wondering where the dataset is. I saw you run this model and posted issues. What dataset did you use? Could you please share with me?


Add AWS::Partition as a variable available to CloudFormation templates

This PR closes #1816 by adding the AWS::Partition resource to CloudFormation templates. According to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html#cfn-pseudo-param-partition, the default value is aws.

Coverage decreased (-0.5%) to 91.767% when pulling d60d562c6262e5e2b58a2d8e5ee9f5f12eb09fc3 on justinm:aws-partition-in-cloudfront into e8c65d3d85ba62e857c7448691568ad4b02f4a46 on spulec:master.

Coverage decreased (-0.5%) to 91.767% when pulling d60d562c6262e5e2b58a2d8e5ee9f5f12eb09fc3 on justinm:aws-partition-in-cloudfront into e8c65d3d85ba62e857c7448691568ad4b02f4a46 on spulec:master.

Thanks!

Is there a plan for release this update?


Is there a limit on the number of secrets/certificates/keys which can be stored in a single Key Vault?

Hi,
Is there a limit on the number of secrets/certificates/keys which can be stored in a single Key Vault? Also, what is the number that should be stored at max as per Microsoft for optimum performance.
Thanks,
Pranav

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

ID: 4b3e7270-ab3a-eff5-899f-f22bc45e6551
Version Independent ID: 23fb7096-6a3c-13bf-33a7-69b9dcc6bfe4
Content: Azure Key Vault Service Limits - Azure Key Vault
Content Source: articles/key-vault/key-vault-service-limits.md
Service: key-vault
GitHub Login: @barclayn
Microsoft Alias: barclayn

@blueelvis Thanks for your feedback! We will investigate and update as appropriate.

@blueelvis I do not believe there any limit on the number of keys/secrets/certificates, however, I will defer to the content author if that's not the case.
@barclayn Do you have any insights if any limitations.
Also, you may need to consider impact on the number of subsequent calls.  Please refer to Azure Key Vault throttling guidance to understand it better.

@SaurabhSharma-MSFT - Yes, I am aware of the throttling limits. Will having a lot of secrets cause any issues with the Read/Write performance? (Assuming that the Read/Writes are under the throttling policy)

@blueelvis I am not sure but reading and writing multiple secrets in shorter span of time may cause some delay.

@SaurabhSharma-MSFT - That's completely fine. What I am asking for is, is there a limit on the number of secrets which can be saved inside a vault? Is there a limit which Microsoft suggests? For example, if I have 10K secrets in a key vault, will the performance be the same as compared to when the keyvault contains 1k secrets?

@blueelvis I have checked with the products team and as per them the limit is currently not disclosed but it is recommended you should keep the number of objects low, otherwise your Key Vault can become unmanageable and you will have a huge bill. That said, we have seen Key Vaults with thousands of secrets/keys/certificates. As long as you can cope with certain things such as client-side filtering (which is particularly bad at the Portal), you should be fine.
A large number of objects won't impact single-object access performance, but it will of course impact list operations.

@SaurabhSharma-MSFT - Thanks a lot for checking! I wonder why the limit is not disclosed if it is there. Whatever you said about the number of objects impacting performance, that makes sense. Thanks!

@blueelvis Thanks for your feedback.  I will update here if there is any specific reason for the same.  We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Connect to JVM in pod do not work

Installed the Camel quickstart such as servlet/camel-war
The pod is installed and camel and tomcat runs fine. But the JVM connect in hawtio do not work.

This is version 2.2.35 running in my local vagrant

Yeah its a missing header in the allowed CORS

OS issue logged
https://github.com/openshift/origin/issues/4497

We're also tracking this in hawtio-jmx here -> https://github.com/hawtio/hawtio-jmx/issues/10

We got a bunch of other tickets about this. @rhuss is working on updating and cleaning up the base image and setup jolokia correctly there


Fix for CI doc generation

Added a step to fetch commit history prior to generating doc in CI.

Codecov Report

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

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   96.69%   96.69%
=======================================
  Files          36       36
  Lines        1242     1242
=======================================
  Hits         1201     1201
  Misses         41       41

Flag
Coverage Δ

#Apex
96.69% <ø> (ø)

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

Continue to review full report at Codecov.

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


Most examples are broken

The usual problem is here. Examples are loaded via https, but sources say then want a .js file from http. And it breaks.
Example: https://terminal.jcubic.pl/tilda-demo.html
tilda-demo.html:1 Mixed Content: The page at 'https://terminal.jcubic.pl/tilda-demo.html' was loaded over HTTPS, but requested an insecure script 'http://code.jquery.com/jquery-1.7.2.min.js'. This request has been blocked; the content must be served over HTTPS.
jquery.mousewheel-min.js:2 Uncaught ReferenceError: jQuery is not defined
    at jquery.mousewheel-min.js:2
jquery.terminal.min.js:37 Uncaught ReferenceError: jQuery is not defined
    at jquery.terminal.min.js:37
    at jquery.terminal.min.js:37
tilda-demo.html:41 Uncaught ReferenceError: $ is not defined
    at tilda-demo.html:41

Thanks for the report, I've forget about examples.


can't to build again

Describe your problem here.
what happend?

help me PLZZZ
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope

You must install Visual Studio Community and all the components for compilation. It is specified in the README.md of the FNF original repo.


Disable on filetype/buftype

Fixes #10.
Moved everything to BufEnter and BufLeave events for this which are called after WinEnter and WinLeave, so the matchadd should work fine. Tested on my machine and it seems to be working.
Added minimal stylua and luacheck files, so my formatter and linter don't complain - I hope that's not an issue.
I'll add another commit for documentation in a couple of minutes.

Seems perfect to me :-)

im closing this and will create a new pr if i have time to adjust to neovim 0.7 apis


Prevent trailing commas in define() from being included in the extracted value

The current regex does not support trailing commas in the define construct (To the point where it goes completely bonkers). I'd like to propose a minor change that will address this problem.
Using the following code:
<?php
require __DIR__ . "/vendor/autoload.php";
$c = new WPConfigTransformer(__DIR__ . '/wp-config.php');
foreach([ 'DB_NAME', 'DB_USER', 'DB_PASSWORD', 'DB_HOST' ] as $var) {
  var_dump($c->get_value('constant', $var));
}

wp-config.php is the example used in README.MD, but with a few modifications, specifically adding trailing commas with and without the third parameter:
define('DB_NAME', 'database_name_here',);
define('DB_HOST', 'localhost', true, );

The full example is provided here:
https://gist.github.com/SteenSchutt/ca4413bf3aad75f9eb57f2b2e2999004
Output with current version:
WARNING  Undefined array key "DB_USER" in src/WPConfigTransformer.php on line 108.
WARNING  Trying to access array offset on value of type null in src/WPConfigTransformer.php on line 108.

string(59) "'database_name_here',);

define('DB_USER', 'username_here'"
NULL
string(15) "'password_here'"
string(51) "'localhost', true, );

define('DB_CHARSET', 'utf8'"

Output with my changes:
string(20) "'database_name_here'"
string(15) "'username_here'"
string(15) "'password_here'"
string(11) "'localhost'"

I tried getting the tests to run so I could add to those as well, but I continuously ran my head against a wall, so I hope you can help by adding some fixtures/tests that can check this. As far as I can tell, everything else still matches as before.
The number of steps required to preg_match the config file appears to be basically the same as before as well.
Thank you for providing this class as a standalone package, it has been massively helpful :)

Looks like the tests are good. Just wanted to add that this is what the matches with the 1.3.3 regex look like in regex101:

I tried getting the tests to run so I could add to those as well, but I continuously ran my head against a wall, so I hope you can help by adding some fixtures/tests that can check this.

@SteenSchutt Out of curiosity, what problems did you run into?

The README just says to run phpunit, but I'm getting some namespace errors. I don't have much experience using phpunit, so I'm not entirely sure where these things are supposed to come from.
I'm using this Dockerfile:
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY ./ /data
WORKDIR /data
RUN composer install
ENTRYPOINT /bin/bash

Getting the following output:
root@7a5f28489ae4:/data# ./vendor/bin/phpunit

Fatal error: Uncaught Error: Class "WP_CLI\Tests\TestCase" not found in /data/tests/0-SetupTest.php:5
Stack trace:
#0 /data/vendor/phpunit/phpunit/src/Util/FileLoader.php(66): include_once()
#1 /data/vendor/phpunit/phpunit/src/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load('/data/tests/0-S...')
#2 /data/vendor/phpunit/phpunit/src/Framework/TestSuite.php(397): PHPUnit\Util\FileLoader::checkAndLoad('/data/tests/0-S...')
#3 /data/vendor/phpunit/phpunit/src/Framework/TestSuite.php(536): PHPUnit\Framework\TestSuite->addTestFile('/data/tests/0-S...')
#4 /data/vendor/phpunit/phpunit/src/TextUI/TestSuiteMapper.php(67): PHPUnit\Framework\TestSuite->addTestFiles(Array)
#5 /data/vendor/phpunit/phpunit/src/TextUI/Command.php(389): PHPUnit\TextUI\TestSuiteMapper->map(Object(PHPUnit\TextUI\XmlConfiguration\TestSuiteCollection), '')
#6 /data/vendor/phpunit/phpunit/src/TextUI/Command.php(112): PHPUnit\TextUI\Command->handleArguments(Array)
#7 /data/vendor/phpunit/phpunit/src/TextUI/Command.php(97): PHPUnit\TextUI\Command->run(Array, true)
#8 /data/vendor/phpunit/phpunit/phpunit(107): PHPUnit\TextUI\Command::main()
#9 /data/vendor/bin/phpunit(123): include('/data/vendor/ph...')
#10 {main}

Next PHPUnit\TextUI\RuntimeException: Class "WP_CLI\Tests\TestCase" not found in /data/vendor/phpunit/phpunit/src/TextUI/Command.php:99
Stack trace:
#0 /data/vendor/phpunit/phpunit/phpunit(107): PHPUnit\TextUI\Command::main()
#1 /data/vendor/bin/phpunit(123): include('/data/vendor/ph...')
#2 {main}
  thrown in /data/vendor/phpunit/phpunit/src/TextUI/Command.php on line 99

I am just using the PHPUnit 9.x specified in composer.json. Assuming that one should work?

Ah yes. composer phpunit seems to work, but using a globally installed phpunit and the one in vendor/bin didn't :+1:

Oh boy, I forgot how recent that PHP change allowing for trailing commas was. Any ideas on how to handle this?
I can at least say that the test fails without my change, but pass with, assuming that PHP is happy with the syntax.

Any ideas on how to handle this?

Couple of options:

If it's not too difficult, set up a standalone integration test for the change and use $this->markTestSkipped() when the PHP version is insufficient.
Abstract the regex to a dedicated method, write unit tests for the regex, and again use $this->markTestSkipped() for the trailing comma tests.

Please let us know if you need help with writing those tests. Would definitely be a nice enhancement.

Haven't had the time to take a proper look at the tests to do it right (vacations and deadlines :+1:). If someone else wants to do it, that'd be great.
IIRC my main problem was trying to figure out the test architecture, and whether it would make more sense to create a new fixtures file, or whether they should just be written in the tests directly. (e.g. whether you want a fixtures/trailing-comma.txt or just want a test case with some hard coded values, and whether to use one of the existing test classes, or create a new one).


Not replying

First of all, i would like to say thanks for making this open-source bot for Magento.
I integrated all the setting Please check ss below

I have tried to message bot via my own account, it's not replying. :(

If you can help me It will be appreciated. In waiting for your quick response. @blopa
Thanks

Hello. I'm sorry you're having problems with my extension, I'm actually travelling out of my country and I don't have my computer with me, so I can't help you right now, but I'll do as soon as possible.
While you wait you should have a look at this issue https://github.com/blopa/Magento-Chatbot/issues/31 might help you.

Hello. Did you managed to get it to work? Please let me know.

Hey,
Problem is still there. It looks like the FB backend app setting is OK but do not know what's wrong. If you can help me It will be appreciated. In waiting for your quick response. @blopa
Thanks

Hello.
Did you setup the secret key correctly? I think that maybe you're missing some configuration on Facebook Developer website. My documentation is incomplete, I'll work on that the next weeks. Try following this tutorial starting from step #3: https://blog.hartleybrody.com/fb-messenger-bot/. You're probably missing the "Generate a Page Access Token" part.
Best

Hey,
Yes i did, Please ss below both secret key and page access token generated correctly

Back-end setting

Thanks,

Hello. Got it. So the problem must be in the Webhook setup, your Facebook verify token must be the same as you custom key (general config). Try that and let me know.

Hey,
I've already done this. I'm attaching screenshots please check Below:

It shows "complete"
In waiting for your quick response. @blopa

Well that's very weird... would you mind sending me access to your Magento installation so I can have a look?
http://www.pablomontenegro.com.br/contato/

Hey,
Back-end Login Has sent to you.  Please check @blopa

So you were missing a "/" in the end of the webhook URL:
Your webhook was set as https://mystore.com/chatbot/chatdata/facebook/key/SECRET_KEY and it should be https://mystore.com/chatbot/chatdata/facebook/key/SECRET_KEY**/**
Best.

well, it started working but another issue has come :

It was working fine but I sent a checkout command, after it started to give me an error.

Hello. I'll look into it. Since this is a differente issue, please open a new issue. I'll close this one.


feat: Removed check on template organization ID when creating the def…

Description
Removed checking template organization id before creating a default organization during user signup.
Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers about this first

Type of change

New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How Has This Been Tested?

Tested locally

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Looks good to be merged. Please:

Edit the merge commit's detail to the PR description, or otherwise more details about the change.
Squash merge once the CI is finished. Thanks!


Enhancements to the base "finding" class

Related Issue: https://github.com/ocsf/ocsf-schema/issues/742
Description of changes:

Refactoring the base finding class to add common attributes finalized in the weekly findings call. Details here.
Adjusting vulnerability finding class to accommodate changes to the base finding class.
Adjusting security finding class to accommodate changes to the base finding class.

My only comment was the descriptions for 'security finding' vs. 'finding' in the base object, which I saw just changed to 'finding' - thanks.


Rydia learns Firaga instead of Fira

Where Rydia would expectedly learn Fira (nested around the other -ara spells) she instead learns Firaga.

Appreciate the work, this has been a blast to play!

Effective on the next release (probably 0.3) Rydia will learn Fira (instead of Firaga) at level 22.
Thanks for giving this a try and reporting the issue!  :)


fix speaker details should be hidden in mobile

fix speaker details should be hidden in mobile
Before:

After:

closes: #5869

@Shaikh-Danish did you mean to close your PR? You can add add more commits to your fork/branch and GitHub will add it to the PR automatically

I tried to sync fork with the repo and the PR got closed

Strange, not heard of that before. You can create a new PR if easier


Add a tests that forbids merge commits

We use rebase workflow in rust-analyzer. That is, if master branch moves forward from under your PR, you should rebase the PR on top of master (rewriting the history), rather than merge master into your PR branch.
We should add a test to enforce this. The test should go here:
https://github.com/rust-analyzer/rust-analyzer/blob/master/xtask/tests/tidy.rs
It should run git (using not_bash), find the last 50 commits or so, and and check that all the merges are from bors.

The branch point for the current branch can be found using git merge-base HEAD master. Merges not made by bors since branching can be found using git rev-list --merges --invert-grep --author 'bors\[bot\]' $(git merge-base HEAD master)..

Let me give this a shot!

#5862 failed because CI checks out repository with no commit history. Since this repo does not have a pre-push git hook to ensure that cargo test is executed. What is the correct flow we are looking for here?

 Since this repo
does not have a pre-push git hook to ensure that cargo test is executed.
What is the correct flow we are looking for here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/5854#issuecomment-679385001,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M3L27EHYPCOH4IM62LSCLOHBANCNFSM4QJMMGZQ
.


⚠ Bofrost.lu has degraded performance

In ac99b08, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2882 ms

Resolved: Bofrost.lu performance has improved in 4027543 after 54 minutes.


Installing on Lubuntu (and Ubuntu in general)

So, first, I want to introduce myselft. My name is Thomas and this project looks super interesting to me. I am right now working on game engine in Java, but as I saw this language and because I simply love style of Ruby, I decided that I will maybe switch to Crystal (currently using Java + C + LuaJIT in my engine).
And now, actual issue. I am running latest Lubuntu 15.04. I tried to follow this guide to install crystal CLI. So I ran
curl http://dist.crystal-lang.org/apt/setup.sh | sudo bash

and output was fine. But when I tried to install crystal with sudo apt-get install crystal, output said that it was not able to find crystal package.

I don't think there are packages for vivid but only for precise and trusty. What release does the apt repository in /etc/apt/sourcea.list.d/ points to?

make sure you did a full apt-get update.

you can just download the deb package and install it manually with dpkg -i crystal.deb

i usually download from here, unpack, and add to PATH bin dir. works fine.

@ysbaddaden I have there crystal.list files with contents:
deb http://dist.crystal-lang.org/apt crystal main

@bararchy

I did
Okay then, I can live with it :smile:

same problem here due to keyserver timed out

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.EKwuK2ND66 --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/neovim-ppa_ubuntu_unstable.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team_ubuntu_atom.gpg --keyserver keys.gnupg.net --recv-keys 09617FD37CC06B54
gpg: requesting key 7CC06B54 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

keys.gnupg.net is a DNS round robin pool, just wait a bit or try another (specific) keyserver.


Reinstate syntax highlighting.

There are two approaches here:

Use a proper parser.
Clone the old code.

The former has the advantage that it will be easier.  The latter has the advantage Lua can be used.
Either is fine.

This is interesting reading, using lpeg:

https://github.com/martanne/vis/issues/81

Is it a dependency too far (paged for Debian :) )?  Will handle #52 before I leave for work, then come back to this in the evening.

I have a proof of concept for syntax highlighting, which is entirely Lua-driven :)
The observation is that we draw our screen thusly:

Clear the screen
For each row.

For each character - draw the character.

We draw character by character and colours only change on character boundaries.  What does that mean?  It means that we can efficiently store regions of a particular colour:

character 0-10 in the file are red.
character 11 is blue.
character 12-244 is green.

Simples.  We just need to keep track of our current character offset, and set the colour before drawing each one.
That takes care of drawing.  How about setting?  Setting, it turns out is simple.  Consider the attached program
  $ lua5.2 c-syntax.lua.txt test.c.txt
   PREPROCESSOR	8	#include
   LITERAL	11	"foo.bar.h"
   PREPROCESSOR	8	#include
   INCLUDE	11	<foo/bar.h>
   COMMENT	15	/**
    * Test
    */
   KEYWORD	3	int

What does that tell us?  It tells use that the first token is "PREPROCESSOR" and it is "8 bytes" long.  So we set the colour of the range 0-7 to be "blue".  The next token is a literal string, 11 bytes long, so we set the colour of 8-19 to be "red".  etc.
In short we can parse syntax via l-peg, and the parser only has to do two jobs:

Keep a running total of the lenght of the input parsed thus-far.
Update ranges, probably via a Lua call set_range( start, end, "pink" )

That's actually a hell of a lot easier to debug and extend than the C-based approach that @antirez pioneered, and I don't see any obvious flaws in it.  (True I've not yet implemented it ..)
c-syntax.lua.txt
test.c.txt

So plan:

Export set_range_colour to Lua.
Update buffer object to have a syntax-type "c", "c++", "lua", "meh".
Call update_syntax() now and again to refresh the view

This will invoke lpeg to do the parsing.
The parsers will all be the same, and will invoke set_range_colour() to update things.

draw_screen() will then use the region/ranges to set the colours.

I have a proof of concept.  It's hacky, but I can clean it up and make it work I think.
@sdegutis might have useful input, but I suspect @kilofork has been left behind due to the changes I've made here.

Sorry, probably not going to be able to have useful input anymore. Work is more hectic than normal and looks like it will continue to be indefinitely now. Best of luck 👍

Appreciate the reply regardless, and I will continue to star/watch/follow your work if it ever continues.  You approached things differently to me, but I think there's a lot to be said for that approach too.
More lua in the world is never a bad thing :)

@skx My plan from the beginning was flawed. Ultimately I wanted to replace Emacs for myself with something lighter weight, with it still being 100% customizable. But then I either have to write all the modules myself that it would need to get me back up to my current development speed, or convince others to join the effort with me. And that's absolutely never going to happen. But that's not necessarily a bad thing. So I just took it as a learning experience and I'm fine with that. I learned a lot more about how to use terminal escape codes, and I learned a pretty darn good syntax highlighting algorithm from @antirez. I do believe that long-term, programmers can do better than Emacs or Vim or Atom or Sublime Text. (No offense, people who wrote those!) But I'm not going to be the person to make that reality come true.

Current status:

Added dependency on lua-lpeg.
Each buffer has a syntax-mode associated with it, empty by default, but will contain things like "c", "lua", "makefile".
If a buffer has a syntax-mode associated with it then on_syntax_highlight(text) will be invoked.

The callback function is expected to update the state of the buffer by calling:
 syntax_range( start, end, colour )

So, for example, if the first five bytes of the file are to be red it will call:
  syntax_range(0,5, 2 )

(Where "2 == red").
This actually seems to work, and be responsive, but we've got a bug because the colours are shifted around.  Suspect I have an off-by-one somewhere - probably relating to the newline handing.
Once the off-by-one, or two, are found we can just drop in new files syn/foo.lua to provide syntax highlighting named foo, which will be neat.
TODO:

The status-bar should draw the syntax-mode, if set
The off-by-one should be fixed
We should configure the path for loading syntax files from, at the moment it is just "./syn".

Should probably include both /etc/kilua/syntax + ~/.kilua/syntax/.

Making progress.

Syntax highlighting is "complete" now, but suboptimal.  We've supplied syntax highlighting, via lpeg for:

C.
Lua.
"markdown".

Scrolling up/down works.  Speed is good.  But there is a problem:

Syntax highlighting has to be done for the whole buffer.

If you scroll down and only attempt to render the text from the top of the screen you might start a line such as " * This is part of an open comment".

So you cannot render line by line, you must take into account the previous history.

Though as an optimization you can  truncate the text you render (which we don't) at the point it stops being on-display.
i.e. Syntax-highlight (0,0) -> ( rowoffset + E.screenrows, 0).

Because rendering is done buffer-wide, with all the lines, you need to store that globally.  That means the rendering is stored in the buffer - not the erow object.

I think this is a mistake, because it causes problems when you scroll left/right.

Suggestion:

Update erow to store the arry of characters and the colour details.
Update the syntax-handling on the lua side to use RED not 2 to allow users to change colour-schemes too.


About the inconsistency between SSIM and PSNR

Hello author, the psnr and ssim calculated by me using the v3_rain100H.pth and v4_rain100H.pth files you provided are different from the data in your paper. Can I use my own training weights or v3_rain100H.pth, v4_rain100H.pth weights for comparison?

我重新进行了训练，现在看起来PSNR和SSIM的值已经正常很多了。
I retrained and now it seems that the PSNR and SSIM values are much more normal.


[Accessibility] A11y_.Net Editor_Screen Reader: Narrator/NVDA is not mentioning anything about the dialog box after pressing Developer : inspect tokens

Environment Details
https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/hello-world?tutorial-step=4User
Browser: Edge (41.16299.402.0)
Chrome (67.0.3396.87)
Screen Reader: Narrator
NVDA
Additional Details:
MAS Violated: MAS1.3.2
Repro steps:

Hit the URL https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/hello-world?tutorial-step=4User
Tab till “Enter focus mode” and press enter
Type any code and press F1 and tab till Developer : inspect tokens and press enter
Verify Whether the Screen Reader is mentioning if the dialog box got opened.

Actual Result:
Screen Reader is not mentioning anything about the dialog box .
Expected Result:
Screen Reader should mention that the inspect token dialog box has been opened.
User Impact:
Screen reader users find difficult in understanding the tokens in the code if it did not mention about the dialog box.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={1ee227a7-e3c5-47b8-ab18-48ca8595077b}
screen reader is not mentioning anything about the dialog box after pressing Developer  inspect tokens.pptx

Notes from the Monaco team
This is a developing time command that is destined for folks writing grammars for the Monaco Editor.
In other words, this command does nothing useful for end-users and is not necessary at all to invoke it whatsoever. This command is useful for Developers of the Monaco Editor and for Developers of colorizer grammars.
https://github.com/Microsoft/monaco-editor/issues/1165#event-1960385191

This was discussed with Ryan and approved to close as this is non blocking scenario.


options handling (buy and sell // long and short)

from input file: AssetClass in input-file is "OPT"
options = df[(df['LevelOfDetail'] == 'EXECUTION') & (df['AssetClass'] == 'OPT')].copy()
options should be calculated in the same way as stocks, when it comes to calculating "Accumulated_Securities" and "Avg_Moving_Price". The only thing with options is, that there is a multiplier on the price.
my example:
I sold (shorted) 2x VIPS Put Options and received "370.00 USD".
explanation: I received USD 370 from somebody to give him/her the option to sell to me 200 stocks of VIP until the 20th of Jan 2023 for the price of 8.00 USD (you can think of it like an insurance premium which the option seller is receiving)
trade date: 2021-12-17
settle date: 2021-12-20
symbol: VIPS  230120P00008000
multiplier: 100
strike: 8
expiry: 2023-01-20
price: 1.85 x 100 (multiplier) = 185
quantity: -2
I then bough back the 2 put options and had to pay 480.00 USD
trade date: 2021-12-30
settle date: 2021-12-31
symbol, multiplier, strike, expiry = identical (= always identical, if symbol is identical)
price: 2.40 x 100 (multiplier) = -480
quantity: 2
so in this case i have a deficits of "-110.00" with this symbol at the end of year and no position left open.

Checkout this example, its actually converting it to EUR
https://github.com/agusalex/tax_calculator/blob/main/output/OXY-220318P00029000_table.csv
I think it works properly now 😄

Verified by setting FxCurrency conversion manually to usd and the total taxable amount ends up being -110


⚠ Bofrost.si has degraded performance

In 0b48a55, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 15814 ms

Resolved: Bofrost.si performance has improved in 94f933c.


Module JS

It is possible to use the dialog box to ask for a code in a JS module, without a graphical interface.
I'm using it like this
let res = await this.$dialog.prompt({
    text: 'Sucurity Code',
    title: 'code'
})

and I answer this answer
TypeError: "this.$dialog is undefined"

Something wrong with you component installation. Please read docs or see examples. Thanks


"IncludeOptionalParameters": true sends "readOnly" parameters resulting in invalid requests.

Description
Parameters that are marked as "readOnly": true in the OpenAPI schema must not be sent in the request, per the spec.
However when the the compile option
"IncludeOptionalParameters": true
is set RESTler includes every single property in the request despite some of them being marked as "readOnly"
Steps to reproduce
Using the attached schema, the first request generated is a POST to "/quotes" to create a record with an "id" to be used in subequent requests.
The Body is this:
{
"id":"a4e80a35-f2c4-486b-b706-58298c0aa4d7",
"dummy":"fuzzstring"
}
But "id" is "readOnly"
"id": {
"type": "string",
"description": "Quote ID.",
"format": "uuid",
"nullable": true,
"readOnly": true
},
swagger-bug.zip
Expected results
The rendered Body should only include valid properties:
{
"dummy":"fuzzstring"
}
Actual results
The rendered Body for the Post is:
{
"id":"a4e80a35-f2c4-486b-b706-58298c0aa4d7",
"dummy":"fuzzstring"
}
Which is invalid per the schema, and hence the request fails.
Environment details
No response

This has been fixed with #639


Throwing or returning in redirect inside a cache function used in load results in error

Describe the bug
Given this code:
import { Title } from '@solidjs/meta';
import { RouteDefinition, cache, redirect } from '@solidjs/router';
import Counter from '~/components/Counter';

let isLoggedIn = false;

const redirectIfNotLoggedIn = cache(() => {
  if (!isLoggedIn) throw redirect('/login');

  return { data: 'test' };
}, 'redirect-if-not-logged-in');

export const route: RouteDefinition = {
  load: async () => await redirectIfNotLoggedIn(),
};

export default function Home() {
  return (

      <Title>Hello World</Title>

Hello world!

      <Counter />

        Visit{' '}

          start.solidjs.com
        {' '}
        to learn how to build SolidStart apps.

  );
}

When returning a redirect from a cache function, this error occurs:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at __node_internal_captureLargerStackTrace2 (https://yqniqqmaogithub-cd2c.w-corp-staticblitz.com/builtins.5bf3667c.js:101:5335)
    at new NodeError (https://yqniqqmaogithub-cd2c.w-corp-staticblitz.com/builtins.5bf3667c.js:101:4149)
    at ServerResponse.setHeader (https://yqniqqmaogithub-cd2c.w-corp-staticblitz.com/builtins.5bf3667c.js:6:8796)
    at setResponseHeader (file:///home/projects/yqniqqmao.github/node_modules/h3/dist/index.mjs:908:18)
    at Module.eval (/home/projects/yqniqqmao.github/node_modules/vinxi/runtime/http.js:149:12)
    at eval (/home/projects/yqniqqmao.github/node_modules/@solidjs/start/dist/server/handler.js:101:29)
    at doShell (file:///home/projects/yqniqqmao.github/node_modules/solid-js/web/dist/server.js:358:7)
    at Object.onDone (file:///home/projects/yqniqqmao.github/node_modules/solid-js/web/dist/server.js:221:5)
    at Te.flush (file:///home/projects/yqniqqmao.github/node_modules/seroval/dist/esm/production/index.mjs:61:38999)
    at eval (file:///home/projects/yqniqqmao.github/node_modules/solid-js/web/dist/server.js:240:42) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js 18.20.3

When throwing a redirect:
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Response]".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js 18.20.3

Your Example Website or App
https://stackblitz.com/edit/github-3nqamc?file=src%2Froutes%2Findex.tsx
Steps to Reproduce the Bug or Issue

Run the application
Visit the index route

Expected behavior
Returning/throwing a redirect in a cache function should redirect
Screenshots or Videos
No response
Platform

OS: Fedora Linux
Browser: Edge

Additional context
No response

I'm going to move this to SolidStart because if there is an issue it makes sense to fix it is there.


Adjusted _resolveAliases to allow for object aliases

When resolving aliases I added a check to see if alias value was a string, otherwise it uses the value key, mimicking the props data structure.
We want to do this because some sets of aliases need additional meta data that we'll be using to check a11y.
Something like:
aliases:
  foreground:
    value: white
    contrastsTo: background
  background:
    value: black

This also allows for better meta data when documenting all of your aliases.

Thanks @micahgodbolt, do you need some help to write some tests around this feature?

I'm going to try to tackle the testing updates on this. Wish me luck!

This PR contains a commit that was merged as part of #69 / #66, but you're still on the spot for writing tests for it and mention the change in the release notes :)


move the stack_tags values to config.yaml

First pass at de-duplicating the config directives
We could also use the Transform function, but it is only able to pull the snippet from a S3 bucket, which might be overcomplicating it.  https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-transform.html#intrinsic-function-reference-transform-examples

PR #2 looks like a better solution.

PR #2 looks like a better solution.


Update to Ace version 1.9.5?

Just checking since the version clog is pulling is 1.6.0.

That must be what the CDN had online, I plan on setting things up better to allow a local copy of Ace and others.

https://cdnjs.com/libraries/ace is showing 1.9.5

Updated it to 1.9.5
Hopefully in next days will have a more full solution

I have modified clog-ace so that if you copy the www/clog-ace dir to your static files it will be used instead of the internet version (which is now 1.9.5)

Thank you.


[bct] Clean up async reporting

Clean up duplicate sync and async changes.
Fixes https://github.com/Azure/azure-sdk-for-python/issues/36973
Part of https://github.com/Azure/azure-sdk-for-python/issues/36763

/check-enforcer evaluate


v2.0.1 web server path isssues prevetning assets from loading - resolved via symlink to build dir

Describe the bug
When running wetty 2.0.0 with any settings there is a path issue preventing assets from loading.
The problem specifically appears to be that when wetty is installed globally and run using
~$ wetty

The web server is looking for the assets in the relevant users home directory (which does not exist).
~/build/

Tested with:
As root - curl -sL https://deb.nodesource.com/setup_14.x
As a local user - https://github.com/nvm-sh/nvm
To Reproduce
Install wetty globally.
Run wetty 2.0.1 like this:
wetty --host <IP_ADDRESS> -port 3000

Visit the url http://IP:3000/wetty and you will see this.

Expected behaviour
That assets are correctly loaded and path is correctly determined.
Method to resolve
Create a symlink to the wetty build directory
As root and using nodejs and yarn installed via apt-get
ln -s /usr/local/share/.config/yarn/global/node_modules/wetty/build /root/build

As a local user using nvm
ln -s ~/.nvm/versions/node/v14.13.0/lib/node_modules/wetty/build ~/build

Now run wetty again
wetty --host <IP_ADDRESS> -port 3000

And you will get this outcome:

fixed code block issue preventing images loading.

Does not work for me :(

What doesn't work for you?

As root and using nodejs and yarn installed via apt-get
ln -s /usr/local/share/.config/yarn/global/node_modules/wetty/build /root/build
As a local user using nvm
ln -s ~/.nvm/versions/node/v14.13.0/lib/node_modules/wetty/build ~/build

Still got the text box with the recoonect button. Before this version it was working great.

It depends how you installed wetty. My examples are specific to what i used.
You need to know where the build folder is located and that changes depending the node/npm you have.
For examples, with nvm + yarn it is here ln -s ~/.config/yarn/global/node_modules/wetty/build ~/build

Oh god that is too much for me .. I used sudo yarn global add wetty

the issue is stemming from how express handles the paths to assets. it is looking in $PWD/build. This is incorrect and should be from the Package root.

this would only happen with global installs, running from the repo would not have the issue

this would only happen with global installs, running from the repo would not have the issue

How can I run it from repo please?

Oh yarn build and then node main.js --host <IP_ADDRESS> --port 3000 .. right?

I try node main.js --host <IP_ADDRESS> --port 3000 --title 'some tittle', but that does not working (text box with reconnect)
Then i try npm start --host <IP_ADDRESS> --port 3000 --title 'some tittle', that works (via http), but the parameters does not work

v2.0.2 should have the fix

Thank you very much. Love it!

2.0.2 has resolved the issue for me.
I can now successfully download wetty 2.0.2 from npm, install it globally and then run it using $ wetty ...
Thank you.

Thanks for reporting and verifying the fix


signals-react does not rerender arraySignal.value.map on value changed starting from v2

Starting from V2 - the list using arraySignal.value.map does not rerender any more after updating the arraySignal.value.
const todos = signal([{ name: Date.now() }]);

const TodoList = () => {
  const addToDo = () => {
    todos.value = [...todos.value, { name: Date.now() }];
  };

  return (

      <button
        onClick={() => {
          addToDo();
        }}
      >
      </button>
      {todos.value.map((td) => (

{td.name}

      ))}

  );
};

Open the example: https://stackblitz.com/edit/react-signal-for-state-management-sr6tqk. It locked on version 1.0.2 when you open it. Click on the button and see how items are being added.
Now update signals-react to v2:

Click on the button and see how items are not added anymore, even though the count value is being rerendered

Do you use the babel plugin?

Do you use the babel plugin?

See the example - it's using just CRA, whatever plugins it comes with

In that case, please read the docs. Usage has changed in v2: https://github.com/preactjs/signals/tree/main/packages/react#react-integration

Can you please clarify - I don't see anything in the doc about using array as a signal value and mapping. Also is there any way to make it work with standard CRA (create-react-app) configuration, which does not allow configuring babel plugins unless you eject or use some rewiring packages?

Can you please clarify - I don't see anything in the doc about using array as a signal value and mapping

The React integration doesn't work automatically like that anymore. Again, please read the getting started doc that I linked to. It covers all of this and presents the various options available to you.
Don't upgrade majors blindly.


MD-4312: [Part-2]  Push Project past Correlate(LateralJoin)

Modified PushProjector to include correlated columns on the left
side of correlated join, for all cases no matter if it is a star
or a projection with specified columns.
@amansinha100  Please review this PR.

+1.  Pls change the commit message.

Closes this PR, since this change was merged with https://github.com/mapr/incubator-calcite/pull/26


OnLongClick triggers crash for tasks.

Seems to be related to #8 since it is caused by a theming issue.

The popup crash has been fixed by simply using view.getContext rather than the context directly. smh.
Expect this to come fixed with the #8 fix, whenever that happens. 😴


Datbase Setup and Test Data

This is the code that sets up the database and implements two schemas User and Tasks. There is also a test method to input fake data to our database.
To run: node app.js

@Brezzer882  get this error after running node app.js. What is the expected output supposed to look like? Anything else I should check before merging?
Server running in undefined mode on port 3000
Error seeding the database: MongooseError: Operation `users.deleteMany()` buffering timed out after 10000ms
    at Timeout.<anonymous> (/Users/benjaminshinnick/dev/well-list/well-list/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:186:23)
    at listOnTimeout (node:internal/timers:564:17)
    at process.processTimers (node:internal/timers:507:7)
MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/
    at _handleConnectionErrors (/Users/benjaminshinnick/dev/well-list/well-list/node_modules/mongoose/lib/connection.js:805:11)
    at NativeConnection.openUri (/Users/benjaminshinnick/dev/well-list/well-list/node_modules/mongoose/lib/connection.js:780:11)
    at async connectDB (/Users/benjaminshinnick/dev/well-list/well-list/config/db.js:5:22) {
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-ixq6zgw-shard-00-00.calse2v.mongodb.net:27017' => [ServerDescription],
      'ac-ixq6zgw-shard-00-01.calse2v.mongodb.net:27017' => [ServerDescription],
      'ac-ixq6zgw-shard-00-02.calse2v.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-f1bbj6-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined
}


adds parameter resolution to ParityPreservingFermionicGate

also refactors diagram code

Note that most of the apparent changes in the bottom of fermionic_simulation_test.py are just from reordering the diagram tests (to quadratic, cubic, quadratic); the only real change there is the two lines that call the default implementation of wire_symbol and _diagram_exponent for coverage purposes.

Now my question is how the tests passed so quickly!

@kevinsung ping

@kevinsung @ncrubin double ping


clientv3: fix various bugs

fix tests.

all commits are separate into multiple PRs. closing this one.


Scanner times out after sometime

We are creating a fingerprint scanner for a client.
One of the things we noticed was that after opening the fingerprint scanner for some time without input, it automatically prints an error message and exits the application.
Fingerprint could not be identified due to an error: Error { domain: fp - device - error - quark, code: 257, message: "Device disabled to prevent overheating." }
Is there a way to disable this or prevent the scanner from timing out?

This error is related to the underlying libfprint C library. See libfprint for more details


Adding cmdlet: Update-GuestUserSponsorsFromInvitedBy.ps1

Changes proposed in this pull request

Adding .ps1 file. Will merge to module once testing of the file is complete.

Testing

Initial manual test done, no automate testing

Documentation

[X] All exported commands have Synopsis, Parameter Descriptions, and at least one Example.

Thanks for the fixes @ppolkadots


Datagrid: vertical scrollbar appears because of the horizontal scrollbar

Describe the bug
When resizing the browser window and therefore reducing the width of the datagrid, a horizontal scrollbar appears. Because the horizontal scrollbar reduces the area where the rows are displayed also a vertical scrollbar will appear.

How to reproduce
Steps to reproduce the behavior:

Have a datagrid
Reduce width of the browser window to make the horizontal scrollbar of the datagrid to show
The vertical scrollbar now also appears

Expected behavior
No vertical scrollbar should appear.
Versions
App

Angular: 10.0.14
Node: 10.16.0
Clarity:  4.0.3

Device:

Type: Laptop
OS: Windows 10
Browser: Chrome
Version: 87.0.4280.88

Hi @alexpichler99,
Could you please provide us a stackblitz example?

In an effort to optimise our backlog, I'm closing this as stale. If you manage to provide the reproduction requested, we'll reopen it, unless it gets locked by our inactivity bot, then you'll have to file a new issue.
A side note, based on the description provided is that due to performance reasons we're not handling windows resize events on our side, as this might cause huge overhead in column size evaluation. Sometimes you must call the "ClrDatagrid#resize()"  TS API method yourself to help trigger reevaluation as response to the correct browser or application events.