Tag for generated Event seems to be missing # symbol

Describe the bug
Tag for generated Event seems to be missing # symbol. For example Tag::Identifier should generate "#d". However the raw JSON only shows "d".
To Reproduce
let app_tag: Tag = Tag::Identifier(APP_SPEC_D_TAG.to_string());

ends up giving me JSON of
"tags":[["d","SomeAppTag"],
Expected behavior
Expect the tag key to be "#d" instead of "d".
Build environment

Library: nostr-sdk
Tag/commit: v0.19.0
OS+version: macOS 13.2.1 (22D68)
Rust/Cargo version: cargo 1.68.0 (115f34552 2023-02-26)

The tags into an event must be without the # char.
The # is required only in subscription filters with a single-letter.
https://github.com/nostr-protocol/nips/blob/master/01.md
https://github.com/nostr-protocol/nips/blob/master/33.md


0% Accuracy for 0.02 vx and 5 cm 5 degree metrics

I have created my own training dataset and set it up in the exact same way as the included LINEMOD objects. I am able to successfully train to a reasonably high degree of accuracy (82%) but only for the 5 pixel 2D projection metric. The other metrics are always 0%
2018-10-10 16:55:40    Mean corner error is 5.215204
2018-10-10 16:55:40    Acc using 5 px 2D Projection = 81.28%
2018-10-10 16:55:40    Acc using 0.02 vx 3D Transformation = 0.00%
2018-10-10 16:55:40    Acc using 5 cm 5 degree metric = 0.00%
2018-10-10 16:55:40    Translation error: 0.813218, angle error: 2.663330

However, if I change my cfg file to point to any one of the LINEMOD object's .ply instead of the .ply for the actual object I'm training with, all 3 metrics shoot up to the 95% range. How is this possible? Is there a problem with my .ply file? When I run the validation script, the bounding box predictions for my object appear to be extremely accurate so I don't understand how the accuracy is so low for the 3D metrics

After looking further it looks like there are some significant differences between the format of my .ply files and yours. Are there some specific settings we need to generate the ply files with? How were your files generated?

I have the same problem, how do you fix this problem?

For me it was a scaling issue, my .ply files used millimeters as units but the code expects units of meters. Check the other ply files included with the implementation against yours to make sure it is scaled correctly


Impossible to create first entry of a collection with version >0.3.14

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
With netlify CMS versions from 0.3.15 to 0.3.17 hosted on unpkg.
On a fresh project, when accessing the netlify CMS interface the spinner stays on the screen even though there is no data to fetch.
When trying to create the first entry in a collection, the progress bar never reaches the end and no commit is triggered.
- If the current behavior is a bug, please provide the steps to reproduce.
I didn't get much time to test this through but I suspect this would happen on any fresh install...
- What is the expected behavior?
A message "no content yet" instead of the spinner.
Being able to create the first entry of a collection.
- Please mention your node.js, and operating system version.
Node 6 / Arch Linux

Are there any errors in the JS console?

Yep, sorry. After a deeper dive it does not seem to be related with the CMS version. I've got a couple issues still pending that I will follow in the relevant feeds. Thanks for the reply.


Add updating.md

Closes #750. Pretty sure that a Talon restart isn't necessary after updating the talon side, so left that out. Otherwise pretty straightforward!

Cool, yep LGTM

Thanks @brollin!


ActionButtonColors are not changing

Skip and Next / finish button colors remains white even if I set backgroundDark(color)

Can you attach a screenshot or some code on how to reproduce this issue?


game randomly freezes when in dialogue

Describe the bug
maybe it's not so random because the game freezes in specific parts of the in game dialogue and even if you close it and open it again it will freeze at the same time again
Screenshots
sorry but i don't have any

macOS: [13.3.1 Ventura]
Device: [MacbookPro 14 inch 2021]
CPU: [Apple M1 pro]
RAM: [ 16G ]

Additional context
Add any other context about the problem here.
Logs (if any)

If it's related to the launcher, upload neutralinojs.log in Yaagl Data Directory
neutralinojs.log

If it's related to the game, upload `logs/game_{timestamp}.log in Yaagl Data Directory
game_1682107509620.log

The log you uploaded is created on Apr 21st. Please upload the latest one.

i opened the game again two times and waited for it to freeze. these are the logs
game_1685214440926.log
game_1685214323148.log

Which wine version did you use

i use gi-wine-1.2 but i also tried using gi-wine-1.0 an it still has the same problem

this happen to me as well , while playing the audio plays but the game is stuck

https://drive.google.com/file/d/1sqthtfXcQEfcMpu8zPmZTwP5gjb95FJ4/view?usp=sharing
the evidence

Same for me

it happens only during cut. scenes , it happens only in sumeru for me but the best solution I found is to use other devices like iPhone , pc ,android or a play cover emulator to finish the particular cutscene and you resume the game in Mac

When freezes occur, the FPS seems often (if not always) to be 30.1. Did you guys also notice the same pattern?

Managed to get past these crashes by lowering graphics to minimum.

ok

I also had low graphics but issue persists I think

The same problem happens to me.. Please help me

Do you still have this issue?


Use Node Env for Jest

This is the alternative to #777 . @maxammann Push the green button, if you are more convinced of this :D I just need one working approach :D

For me both solutions are find :)
The original one is more flexible but more complex. This one is simpler but more constraint.
Sorry, bur deciding that isone of the hardest choices :D

@maxammann Feel free to approve up one or both of them, and I will decide then :P (Currently still tending towards the karma solution)

Closing in favor of #777


Extract the creation and last updated timestamp from v2 dumps

Pull Request
Related issue
Fixes #2989
What does this PR do?
This PR -

extracts the created_at and updated_at dates from v2 dumps.
updates the unit tests.

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Hey, that’s very nice, it's what I expected!
One simple thing is missing, though, could you un-ignore the dates in this test as well: https://github.com/meilisearch/meilisearch/blob/eae9eab181555364513ade91f0a5cefaa0ffc817/dump/src/reader/mod.rs#L497-L587
The test you updated ensures that you can effectively read in a dumpv2, but the one I linked ensures that you go through all the conversion steps to get the latest format possible.


Add CharArrayToStringCall rule

Fixes #6305

Messages

:book:
Thanks for adding a new rule to detekt :heart:

:white_check_mark:
We detekted that you added tests, to your rule, that's awesome!

:white_check_mark:

We detekted that you updated the default-detekt-config.yml file, that's awesome!

  Generated by :no_entry_sign: dangerJS against 7851b76a03bf9fcc2c55f86a55b7dbdec62f6b85


Theme not working for table cell

Warning: Failed prop type: Invalid prop placement of value bottom-center supplied to ForwardRef(Tooltip), expected one of ["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"].
If changes are provided via theme provider they are not applied.
Please see the same warning in codesandbox:
https://codesandbox.io/s/happy-roentgen-4xlhg?file=/src/App.js
Maybe this warning appears because of migration of components of material-ui
https://github.com/mui-org/material-ui/issues/24405

@imengheris
thanks report 👍 👍
ref : https://github.com/gregnb/mui-datatables/pull/1630

I will correct it and release it soon.

Fixed 3.7.6


ubuntu1804 编译 ERROR: opus not found using pkg-config

weit@weit-VirtualBox:~/桌面/srs-4.0release/trunk$ ./configure
.....
LINK files at dir: .src/libswresample/aarch64/, dest: libswresample/aarch64/, prefix: ../../, pwd: /home/weit/桌面/srs-4.0release/trunk/objs/Platform-Linux-5.3.0-SRS4/ffmpeg-4.2-fit
LINK files at dir: .src/libswresample/arm/, dest: libswresample/arm/, prefix: ../../, pwd: /home/weit/桌面/srs-4.0release/trunk/objs/Platform-Linux-5.3.0-SRS4/ffmpeg-4.2-fit
LINK files at dir: .src/libswresample/x86/, dest: libswresample/x86/, prefix: ../../, pwd: /home/weit/桌面/srs-4.0release/trunk/objs/Platform-Linux-5.3.0-SRS4/ffmpeg-4.2-fit
ERROR: opus not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
<EMAIL_ADDRESS>mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
Build ffmpeg-4.2-fit failed, ret=1

问：编译出现这个情况要如何解决？
尝试：apt-get install libopus-dev  安装也无法解决

已解决，通过开发环境的Docker 来配置编译环境


OP-450 Fixes separate configuration files for shared application context

All is well.

All is well.


samples missing.

included model samples to test this with

I don't think it's a good idea to include third party packages in the repository. Acoustic models, even for one language, are too large in size. It is best to use this tutorial to create your own example. Make sure to create a JSGF language model.

github allows upto 1gb per repository also torrent would even be nice.. just to make that work would take an experienced programmer a day or 2 to get working. i've tried before.


Add Strong Business School

Add esags.edu.br domain

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


Dependency Conflict with pydantic in aiocryptopay Version 0.2.8

I encountered a dependency conflict issue related to the aiocryptopay package version 0.2.8 and its requirement for pydantic<2.0.0 and >=1.10.7. This specific requirement is incompatible with several other libraries that depend on different versions of pydantic, making it difficult to use aiocryptopay in conjunction with other packages.
As an example, the library aiogram (versions 3.0.0rc2, 3.0.0b9) depends on pydantic<3 and >=2.1.1, which conflicts with the constraints set by aiocryptopay.
The error message I received:
ERROR: Cannot install -r .\requirements.txt (line 1) and -r .\requirements.txt (line 25) because these package versions have conflicting dependencies.

The conflict is caused by:
aiocryptopay 0.2.8 depends on pydantic<2.0.0 and >=1.10.7
aiogram 3.0.0rc2 depends on pydantic<3 and >=2.1.1
aiocryptopay 0.2.8 depends on pydantic<2.0.0 and >=1.10.7
aiocryptopay 0.2.8 depends on pydantic<2.0.0 and >=1.10.7
aiogram 3.0.0b9 depends on pydantic~=2.1.1

Environment details:

Python version: Python 3.10
OS: Windows

The issue prevents me from using aiocryptopay in projects that also depend on other libraries with conflicting pydantic requirements. I kindly request an update to support a broader range of pydantic versions.
Thank you

Hello, sorry for the long wait for an answer, I don't quite understand how to fix this conflict, can you explain how to fix this conflict or make a pull request with an update

Fixed https://github.com/layerqa/aiocryptopay/commit/3154dc9d4a0d0a518b8852b63948cc3d18180e29


[FEATURE] Adding Dark Mode

Hello!
I am Himanshu Agarwal, a proud contribtuor at GSSoC '23. I would like to the contribute to this project by adding the dark mode in the website.
Things I will be doing as of now:

[ ] Adding Dark Mode in the Website

@anmode If you think it is needed in the website then do assign me the issue under GSSoC '23 with the level of the PR as well

Hi
I would love to work on this and add the required dark mode.
Kindly assign me this issue under GSSOC '23.

Hi
I would love to work on this and add the required dark mode.
Kindly assign me this issue under GSSOC '23.

Hello @amrit2611
I have already identified the issue and requested for the same. Can you please find out any other issues to solve in the website?

hey, @himanshu-03 nice!!. Please go ahead

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.

@UditSharma9999 As you can see it is already assigned to me bro

Will that be okay if I Contrbute to this by first week of June as my End Sems are starting from tomorrow.

@anmode I can get started working on this today itself.
Kindly assign me this issue under the GSSOC '23.

@anmode I want to contribute.Please assign me

I am interested to work on this issue under GSSoC 2023 contributor.

@himanshu-03  it has been absurdly long... any updates?

okayy @himanshu-03 closing it now

@tusharbansal22 kindly open the issue and assign it to me.


Register providers and route cached

PR Type
What kind of pull request is this? Put an x in all the boxes that apply:

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

What does it change?

Route cached
Registration of providers by specifying them in the main provider of the module.

Why this PR?
The module loader loads only one provider, and if there are several of them or there are several deferred providers.
My editing allows the main provider to specify a list of other providers for the operation of the module.
How has this been tested?
declare(strict_types=1);

namespace User\Providers;

use SebastiaanLuca\Module\Providers\ModuleProvider;
use User\Http\Routers\UserAuthRouter;

class UserServiceProvider extends ModuleProvider
{
    protected $routers = [
        UserAuthRouter::class
    ];

    protected $providers = [
        UserTestServiceProvider::class
    ];

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register() : void
    {
        parent::register();
    }

    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot() : void
    {
        parent::boot();
    }
}

Checklist
To facilitate merging your change and the approval of this PR, please make sure you've reviewed and applied the following:

This PR addresses exactly one issue
All changes were made in a fork of this project (preferably also in a separate branch)
It follows the code style of this project
Tests were added to cover the changes
All previously existing tests still pass
If the change to the code requires a change to the documentation, it has been updated accordingly

If you're unsure about any of these, don't hesitate to ask. We're here to help!

Thanks for your PR! Will review and merge this asap as some changes are required (I know your issue has been open for about 16 days now, just having little time to address work and open-source lately :)). I'd rather do those myself to have a unified code style, etc. Nothing to worry about.
Notes to myself:

[ ] Split into 2 PRs or commits (one per feature)
[ ] Merge against develop (master is the current release as per git-flow)
[ ] Add tests (check registered providers and if route registration is prevented when routes are cached)
[ ] Apply project code-style


api returning 1

Hi,
I am hoping someone can help. I have a client using WooCommerce and I have just upgraded them to v3 api and integrated this client. I am having an issue with the /products request - it is always returning 1.
From what i have read the 1 is something to do with a callback - but i cannot find anything.  my code is as follows:
$this->_wc = new Client(WOO_URL, WOO_KEY, WOO_SECRET, array('verify_ssl' => false));
$products = $this->_wc->get('products', array('filter[limit]' => 100, 'page' => $page));
echo "
products: ";print_r($products);echo "
";die;

any ideas?

ok ignore this - turns out my git have reverted a config file that pointed the url to the live site not the local dev site..


Roll engine 215ca1560088..7b12ae2416c3 (7 commits)

https://github.com/flutter/engine/compare/215ca1560088...7b12ae2416c3
git log 215ca1560088..7b12ae2416c3 --no-merges --oneline
7b12ae241 Roll src/third_party/skia 12a6d452b126..13654b20ce5b (1 commits) (flutter/engine#7292)
1fe7e1fde Roll src/third_party/skia c983480b117f..12a6d452b126 (1 commits) (flutter/engine#7291)
a8b0d263c Roll src/third_party/skia 2e40d9886402..c983480b117f (1 commits) (flutter/engine#7290)
c64f971e3 Roll src/third_party/skia 98a4e4a4135b..2e40d9886402 (1 commits) (flutter/engine#7289)
65420c264 Roll src/third_party/skia 2a0967383087..98a4e4a4135b (1 commits) (flutter/engine#7288)
770536ab6 Only overflow the cache for one required frame (flutter/engine#7048)
b6880bbc9 Roll src/third_party/skia 9803b8f1d197..2a0967383087 (16 commits) (flutter/engine#7285)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

@liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6053393032282112

Commit queue failed; closing this roll.


Select multiple items by shift clicking

Shift click on items to select a range.

Suggested by Andybak via chat

I have finally managed to complete this suggestion.
Now it's possible to enter the multi-select layout and just shift-click to select multiple games at once.
The selection will range from the last selected element to the current element selected with shift.
--
Fixed ~ September 2019
Complete changelog at https://steam-backlog.com/changelog


Add rubocop-rspec_rails to channel/rubocop-1-56-3

Rubocop-rspec has extracted the rails cops to rubocop-rspec_rails

the cops related to rspec-rails are aliased (RSpec/Rails/Foo == RSpecRails/Foo) until v3.0 is released

https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md#2280-2024-03-30
So it would be nice to support it before v3 is released

I feel like I should add it to beta also

Any plans on merging this?
Having a hard time with this issue: RSpecRails/HaveHttpStatus has the wrong namespace


The use of INCLUDE_* macros is deprecated

Many of the c files in this repo have instructions like this in dcmjp2k.cc:
#define INCLUDE_CSTDLIB
#define INCLUDE_CSTDIO
#define INCLUDE_CSTRING

Those instructions are not supported by newer versions of dcmtk and are causing errors during compilation.
They should be replaced by:
#include <cstdlib>
#include <cstdio>
#include <cstring>

and others, respectfully

thanks for the report, i'll take a look.  Which version of dcmtk were you compiling with?

I found a workaround by adding LINK_DIRECTORIES(${DCMTK_CMAKE_INSTALL_PREFIX}/lib) in the CMakeLists.txt file so the *.so files built with the -DBUILD_SHARED_LIBS=ON on the DCMTK build are found.
I am really not an expert with CMake and maybe there's a better solution (for example, use the *.a files instead of the *.so ones) but if you think it's ok, I can create a PR for this.


HADOOP-14936. S3Guard: remove experimental from documentation

Change-Id: Ie04354fa21dc90f34a0f3d5983e40f9e4096380b

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 42s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
18m 50s
trunk passed

+1 :green_heart:
mvnsite
0m 40s
trunk passed

+1 :green_heart:
shadedclient
33m 32s
branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 34s
the patch passed

+1 :green_heart:
mvnsite
0m 31s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
13m 54s
patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 35s
The patch does not generate ASF License warnings.

51m 27s

Subsystem
Report/Notes

Docker
Client=19.03.6 Server=19.03.6 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1863/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1863

Optional Tests
dupname asflicense mvnsite markdownlint

uname
Linux 4049afaa1f1a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 57aa048

Max. process+thread count
414 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1863/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

+1


Not able to run electron app(Local) from electron app ( Local or Server)

Hi there
Does any one know how to call another electron app from electron  app ?
For Example :  From main.js  we are trying to launch another Electron app( which was downloaded at local path ) ?
Thank you in advance

Thanks for reaching out!
Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
Check out the Electron community. There are also a bunch of helpful people in this community forum that should be willing to point you in the right direction.


Use pkg-config to link to xnvme

Signed-off-by: Joel Granados<EMAIL_ADDRESS>

@jwdevantier @nmtadam. This is no longer WIP as xNVMe is v28 is out. I suggest we push this after the daemon goes in as it applies cleanly on top.

squashing down and committing. @nmtadam

Of course, I was just planning to do it when we do the merge. So select squash and merge instead of rebase and merge.

@nmtadam : just did the squash when I did the rebase

This breaks the python bindings for me.
tests/test_libflexalloc.py FFFFF                                                                                [ 76%]
tests/test_mkfs.py FF                                                                                [ 84%]
tests/test_pool_root.py FF                                                                                [ 92%]
tests/test_sync.py FF

@nmtadam : I do not see the failure. are you sure you are in e8a1897.
It might be that you are in a previous version of the PR.


Add $fixture_file to the fixtures docs

Currently no mention of it.

Can you cover using an array of files, please?
Also squash :)

Updated @dhensby

Behat tests seem to be playing up at the moment :/


Diagnostics still includes ASP.NET 5 screenshots

https://docs.asp.net/en/latest/fundamentals/diagnostics.html#the-developer-error-page

[ ] Consider retiring this doc or making it into a content map. I'd be unhappy if I came here looking for diagnostics.
[ ]  Remove glimpse link
[ ]  The welcome page is not a diagnostic
[ ]  Delete logging into and just list the link

@danroth27  can we just delete this page? It doesn't have anything useful on it.

Yeah, let's remove it.

Yeah, let's remove it

fixed by removing


Add a second level to how to section

Also combines a branching in YAML guide with the branching in python guide

Codecov Report

Merging #350 (dcc5925) into master (99f6647) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #350   +/-   ##
=======================================
  Coverage   67.39%   67.39%
=======================================
  Files          71       71
  Lines        7400     7400
=======================================
  Hits         4987     4987
  Misses       2413     2413

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add S4*Save.dat reader

Currently chromatic cannot read the Meta_Save.dat files for Stage 4 (only 3)

If I try to open it with the eureka_s3_txt option I get this error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

Check with the eureka folks, but I thought that the Meta_Save.dat were just their qualitative description of what had happened up until that point of the processing. The quantitative time-series data is now all in SpecData or LCData. I tried loading a Meta_Save.dat about a week ago and convinced myself that the contents and size didn't seem to have time-series data I wanted.
If there is essential information we want in there, I think we just need a nudge from them on how to load it. I suspect it might be a pickle embedded in a text file, or some other weird dump of info?

@catrionamurray , can you please let me know whether this is still an issue we should worry about or we should close it?

I don't think this is an issue any more, I think you're right about the Meta_Save.dat just being meta data and not the most useful output!

It could be a useful enhancement for the future to be able to read this (in case there's other metadata we want to store in the Rainbows), but definitely not essential!

OK, we'll close it for now, but I agree it'll be useful to keep an eye on how the Eureka! outputs evolve.


WIP: Structuralization of captures

Structuralize matching engine captures, at least partially.

@rxwei I have a lot of tests cases in this PR if you'd like to take a look. I'm not entirely sure what behavior we want for all of them.

Did you plan to add DSL capture tests as well? For example, the following DSL
let regex = Regex {
    oneOrMore {
        capture("a")
        capture("b")
    }
} // `Regex<(Substring, [(Substring, Substring)])>`

is expected to produce Regex<(Substring, [(Substring, Substring)])> by the current design.
Unrelated to this PR: By the current DSL design, we'll have a .flatten() method which will be generated by the converter when converting literal (?:(a)(b))+.
let regex = Regex {
    oneOrMore {
        capture("a")
        capture("b")
    }.flatten()
} // `Regex<(Substring, [Substring], [Substring])>`

is expected to produce Regex<(Substring, [(Substring, Substring)])>

What is matchResult.1?

@swift-ci please test linux platform


Adding triggers to a style

Hey man,
currently I'm battling with an iOS MAUI bug with TabBar.
Long story short, TabBar doesn't highlight the selected item on iOS as it does on Android.
Somebody suggested a workaround here, it requires a Style with Trigger.
I'm not sure how to do this in MauiReactor since Triggers IList of Style is readonly, is there a way to define/set triggers to a style?

Hi, you can define the style in a resource dictionary and reference it in the Style property.
I've created a sample project:
https://github.com/adospace/mauireactor-samples/blob/main/Controls/ShellTestPage/Pages/MainPage8.cs
basically, you have to define the styles like the following FixTabStyles.xaml:
<Style x:Key="FixIOSDatabaseTabStyle" TargetType="Tab">
     <Style.Triggers>
         <Trigger TargetType="Tab" Property="IsChecked" Value="True">
             <Setter Property="Icon">
                 <Setter.Value>
                     <FontImageSource
                        Size="20"
                        Color="{DynamicResource Primary}"
                        Glyph="{x:Static styles:AwesomeIconFont.Database}"
                        FontFamily="Fas"/>
                 </Setter.Value>
             </Setter>
         </Trigger>

         <Trigger TargetType="Tab" Property="IsChecked" Value="False">
             <Setter Property="Icon">
                 <Setter.Value>
                     <FontImageSource
                        Size="20"
                        Color="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}"
                        Glyph="{x:Static styles:AwesomeIconFont.Database}"
                        FontFamily="Fas"/>
                 </Setter.Value>
             </Setter>
         </Trigger>
     </Style.Triggers>
 </Style>

reference it in the app resources:
                .UseMauiReactorApp<MainPage8>(app =>
                {
                    app.AddResource("Resources/Styles/FixTabStyles.xaml");
                })

finally use it in the component:
public override VisualNode Render()
      => Shell(
          TabBar(
              Tab(
                  ShellContent("Notifications")
                      .RenderContent(() => new NotificationsPage())
              )
              .OnAndroid(_ => _.Icon(new MauiControls.FontImageSource
                  {
                      FontFamily = "FontSolid",
                      Glyph = AwesomeIconFont.Bell,
                      Size = 20,
                  }))
              .OniOS(_=>_.Style(ResourceManager.FindStyle("FixIOSNotificationsTabStyle")))

              .Title("Notifications"),

              Tab(
                  ShellContent()
                      .RenderContent(() => new DatabasePage())
              )
              .OnAndroid(_ => _.Icon(new MauiControls.FontImageSource
              {
                  FontFamily = "FontSolid",
                  Glyph = AwesomeIconFont.Database,
                  Size = 20,
              }))
              .OniOS(_ => _.Style(ResourceManager.FindStyle("FixIOSDatabaseTabStyle")))

              .Title("Database")
          ));

the resource manager:
static class ResourceManager
{
    static readonly Dictionary<string, object> _cachedResources = [];

    public static T Find<T>(string name) where T : class
    {
        if (_cachedResources.TryGetValue(name, out var value))
        {
            return (T)value;
        }

        if (Application.Current != null &&
            Application.Current.Resources != null)
        {
            var foundResource = Application.Current.Resources.Find<T>(name);
            _cachedResources.Add(name, foundResource);
            return foundResource;
        }

        return null;
    }

    public static T Find<T>(this ResourceDictionary resourceDictionary, string name) where T : class
    {
        if (resourceDictionary.TryGetValue(name, out var value))
        {
            return (T)value;
        }

        foreach (var mergedDictionary in resourceDictionary.MergedDictionaries)
        {
            var foundResource = mergedDictionary.Find<T>(name);
            if (foundResource != null)
            {
                return foundResource;
            }
        }

        return null!;
    }

    public static Style FindStyle(string name)
        => Find<Style>(name);

}

Please note that I can't test it on mac right now.
PS: probably I'm going to enhance the Style property in coming versions of MauiReactor to better handle resources that are located in dictionaries, something like what ResoureManager above does.

Tested on iOS Simulator, works good, thanks man.
Also +1 for Style enhancements.


Multiple SiteTitleQuery getting picked up in Netlify builds causes it to fail

Getting this error in Netlify all of a sudden using Gatsby v2.
2:55:32 PM: warning Using the global `graphql` tag is deprecated, and will not be supported in v3.
2:55:32 PM: Import it instead like:  import { graphql } from 'gatsby' in file:
2:55:32 PM: /opt/build/repo/node_modules/gatsby-plugin-mailchimp/examples/gatsby-v1/src/layouts/index.js
2:55:42 PM: error #85901 GRAPHQL
2:55:42 PM: There was an error in your GraphQL query:
2:55:42 PM: Error: RelayParser: Encountered duplicate defintitions for one or more documents: each document must have a unique name. Duplicated documents:
2:55:42 PM: - SiteTitleQuery

I forked the project and nuked the /examples folder and it worked for me after that.
https://github.com/stemmlerjs/gatsby-plugin-mailchimp

correct. this is the fix.  https://github.com/benjaminhoffman/gatsby-plugin-mailchimp/pull/40


Enhance client creation - add quarkus.minio.allow-empty property

fixes https://github.com/quarkiverse/quarkus-minio/issues/64
PR adds property quarkus.minio.allowEmpty + junit test + doc update.
If quarkus.minio.allowEmpty is set to true and quarkus.minio.url is not valid, producer returns null instead of throwing ConfigurationException.
@jtama I changed scope of the client to be @Dependent, because it could return null.
Default behavior is not changed.

I think allowEmpty should not let invalid configuration pass, only empty ones.

oh my bad, it allows only empty one - I'll rephrase docs and comments

@jtama I fixed comments and doc. I also added:

One test covering behavior when options are valid + allow empty is true
One test where  options are invalid + allow empty is true

, to make sure, that allowEmpty works only if other options are not set.

@all-contributors please add @JiriOndrusek for code


exposes CCapture motionBlurFrames option

This PR exposes the motionBlurFrames CCapture.js option from the beginVideoRecord and beginGifRecord functions.

Thanks for the feature!  Sorry I did a little rebase to get your branch updated with the latest and it seems to have changed the authorship on the commits.  Hopefully you still pop up as a contributor on the repo, didn't realize that would happen!

published to npm v2.1.1


Rename the jerry_value_clear_error_flag function

Rename the function to represent it's real functionality.
JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos<EMAIL_ADDRESS>

I have been thinking about fully removing this function. It has always been a source of confusion.


require is not defined

`

if import react and react-dom developer console error: require is not defined.
if i dont import react and react dom it is giving reatDom is not defined error.
I am new to react, so i'm confused what to do...
`

Hi there 👋
A couple things come to mind:
React and ReactDOM (case sensitive) are exposed globally. If you aren't using webpack (looks like you're not), you can't yet use require or import statements in your code. Try removing the import statements and change the casing of ReactDom to ReactDOM.
I recommend checking out the excellent documentation here on how to get started: https://reactjs.org/tutorial/tutorial.html
I'll be closing this issue, but feel free to re-open if you have questions specific to this library!


Running test or build fails

Describe the bug
While setting up the project and following the README and executing the commands to run test errors out. Same with the build.

./deployment/run-unit-tests.sh

Error Log:
Creating testing-venv...
Rebuilding package locally before testing...
Using python: python3 is /Users/fatman/repos/fatmanaws-control-tower-customizations/testing-venv/bin/python3
Python version: Python 3.12.2
Installing pip
Installing CFCT library
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib3/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib3/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/Users/fatman/repos/fatmanaws-control-tower-customizations/testing-venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Users/fatman/repos/fatmanaws-control-tower-customizations/testing-venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/fatman/repos/fatmanaws-control-tower-customizations/testing-venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 271, in
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/init.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 321, in run
self.find_sources()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
mm.run()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 550, in run
self.add_defaults()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 588, in add_defaults
sdist.add_defaults(self)
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/command/sdist.py", line 102, in add_defaults
super().add_defaults()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 201, in get_source_files
File "/private/var/folders/b2/hvgz4tyx7ws961ymkskrjnb40000gn/T/pip-build-env-4e_hztbd/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 107, in getattr
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
To Reproduce
Run through the Readme.
Expected behavior
A clear and concise description of what you expected to happen.
Please complete the following information about the solution:

v2.7.0

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0089) - customizations-for-aws-control-tower Solution. Version: v1.0.0". You can also find the version from releases

[ ] Region: [e.g. us-east-1]
[ ] Was the solution modified from the version published on this repository? No
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[ ] Have you checked your service quotas for the sevices this solution uses?
[ ] Were there any errors in the CloudWatch Logs?

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.

@dmohan-intraedge thanks for reaching out.
This seems to a similar error reported in #183
Please may you try the workaround mentioned in the issue and retry your workflow?


Fix mix.exs warnings for Elixir 1.4-dev

This PR resolves these warnings when building porcelain with elixir@master:
warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name
  [...]/deps/porcelain/mix.exs:9

warning: variable "description" does not exist and is being expanded to "description()", please use parentheses to remove the ambiguity or change the variable name
  [...]/deps/porcelain/mix.exs:10

warning: variable "docs" does not exist and is being expanded to "docs()", please use parentheses to remove the ambiguity or change the variable name
  [...]/deps/porcelain/mix.exs:11

warning: variable "package" does not exist and is being expanded to "package()", please use parentheses to remove the ambiguity or change the variable name
  [...]/deps/porcelain/mix.exs:12

Thanks!


Table 1304 "Sales Price and Line Disc Buff" - InsertTempCampaignFromSegmentLines

From BC160 CU10 (21502) to BC160 CU11 ( 22526), the parameters of this procedure have been changed.
CU 7
local procedure InsertTempCampaignFromSegmentLines(var TempCampaign: Record Campaign temporary; SegmentLine: Record "Segment Line")
CU10
local procedure InsertTempCampaignFromSegmentLines(var TempCampaign: Record Campaign temporary; _**var**_ SegmentLine: Record "Segment Line")
CU11
local procedure InsertTempCampaignFromSegmentLines(var TempCampaign: Record Campaign temporary; SegmentLine: Record "Segment Line")
In cumative 7 we detected a performance issue in customer card and customer list navigation. This issue we saw fixed in CU10 but when instaling CU11 this change has been lost. If the Segment Line parameter is not ### "var", for each contact of the company contact customer, all the segment line records are read without any filter.
Please, could you confirm us that in next cumulative will be fixed again?
Thanks in advance for your help.
Best Regards.

I can see this fix in 17.x only. Last change for 16.x for this procedure parameter list was made in May 2019. Please confirm you need this to be merged to 16.x too.

It’s strange. I can't see the fix in W1 but in ES cumulative 10 is fixed…
Yes please we need it in 16.
Thanks!!

Availability update: We will publish a fix for this issue in the next update for release 16.


feat(alsid): Add support for Alsid

fixes #1128

:tada: This PR is included in version 1.75.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added raw log fields to all manual emits; removed duplicate emits; ch…

…anged ignoreLog to passThroughLog so all logs are re-emitted
Resolves ch8164

do you think smashing the log and the structured data into the same object could lead to confusion? Could we have an object with "market" and "marketId"? Might be cleaner to make the log a key of the emitted object, but it's probably not too big a deal

do you think smashing the log and the structured data into the same object could lead to confusion? Could we have an object with "market" and "marketId"? Might be cleaner to make the log a key of the emitted object, but it's probably not too big a deal
The problem with making log a key of the emitted object is that it wouldn't be consistent between the auto-emits and the manual emits, unless we made it so all emitted logs were { log }...

Or we made our sanitized/structured data the key, that is sometimes there if we did processing. then it's consistent


Scene Error Handling

Merge this into Pre3/Cleanup instead.

Merge this into Pre3/Cleanup instead.


build missing binary linux-pivkey-pkcs11key-arm64 and format indentation

Summary

build missing binary linux-pivkey-pkcs11key-arm64
format indentation

finally is working :)


Update migrate-packages-config-to-package-reference.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/migrate-packages-config-to-package-reference.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add user name or "Anonymous" to welcome message

This adds "Welcome Student Name" to the welcome message.
@scytacki In LARA, I see "Welcome {username}", e.g. "Welcome sstudent". I don't see this name in the classInfo pulled from the portal. Instead I see first, last, and full names, e.g. "Sam Student." I opted to use this, but if we need to be using usernames, and I'm missing how to get them, let me know.

I think using the real student name should be fine. I think we didn't use it in LARA because LARA didn't have direct access to it. This might make it a little harder for testers with lots of users with the same full name. I think they can deal.
I'd also note that the test coverage dropped. I'd guess this is because PortalAPI is not mocked, so it makes it harder to test this. You might be able to pull that from the portal-report repo. I guess its approach is to include this mock data in the actual runtime, and then have runtime switches to load this data instead of loading the data from the portal.
I'd guess in this case it'd be better to use cypress's network mocking to return the mock class data without hitting the actual portal.

@mklewandowski @eireland I wonder if you have any thoughts on this (failing) Cypress test that I've been trying to write.
I'd like to start writing tests that test that the app responds correctly when the app loads data, starting with the simple one that when we show the student name when we get it from the portal.
Rather than trying to stub out the whole backend with cy.route, which would require stubbing out a whole bunch of routes that get called when we load data, I wanted to just stub out the function fetchPortalData that returns the chunk of data after doing all the requests.
However, with the test I have written, the stub function never gets called, instead the original one does.
fetchPortalData is a stand-alone function that gets exported, but we should be able to stub it using import * as PortalApi from "..."; cy.stub(PortalApi, "fetchPortalData", ...).
Indeed, I added a second commit which uses a throw-away function which itself imports fetchPortalData, and that one correctly calls the mock, and its test passes. There's something about loading the main app that causes the mock to be lost.
Any thoughts? Adding this pattern would make it easy to add a bunch of tests to areas currently un-tested, but I haven't been able to crack it.


Deprecate HTML auto-merging from core (plugin may be needed)

Background from isagalaev in #2529:

I was walking by, and while I didn't read through the entire thing I wanted to say this. There were a few features added to the core at users' requests when it was all small an nimble. These days I would say it makes much more sense to be opinionated and remove corner cases like useBR, tabWidth and several different spellings of "lang-", "language-" as language prefixes in the class name (as far as I remember there is a very precise recommendation in HTML5 to use "language-"). Everyone with special cases would be expected to do pre- or post-processing.

Very early on we were perhaps a bit too open and allowed some things to slip into core that perhaps should not have - and today they are all things that could easily be handled with our new plugin API.

HTML merging is a large swath of complexity (see utils.js) that a few use for a corner case like:
var x;
var y;

Which will be highlighted as (the HTML "passes thru"):
var x;
var y;

Sadly, this feature also makes it impossible for us to detect HTML injection type mistakes (which we could otherwise detect and warn about)... #2886  HTML (generally) should not exist inside a code block - it should always be escaped.  Its existence possibly indicates an HTML injection style vulnerability.  If we remove this final edge case for HTML then  we can inform users about the potential vulnerability vs letting them potentially shoot themselves in the foot.
This can now be easily achieved via a "after:highlightBlock" plugin and that's what should happen for anyone who absolutely needs this functionality.

[x] v10.5 Deprecate HTML merging (#2873)
[x] Someone may want to provide a plugin
[x] v11 Remove HTML merging

You can restore this functionality via a plugin.  Below is plugin that we shipped as part of our own source briefly after this was ported to a plugin to make later extraction easy.
See https://github.com/highlightjs/highlight.js/issues/2889#issuecomment-862483141.  A maintainer (someone who wants to package this up as an official plugin and maintain it) is needed.
Usage:
hljs.addPlugin(mergeHTMLPlugin);

Plugin source:
var mergeHTMLPlugin = (function () {
  'use strict';

  var originalStream;

  /**
   * @param {string} value
   * @returns {string}
   */
  function escapeHTML(value) {
    return value
      .replace(/&/g, '&')
      .replace(/</g, '<')
      .replace(/>/g, '>')
      .replace(/"/g, '"')
      .replace(/'/g, ''');
  }

  /* plugin itself */

  /** @type {HLJSPlugin} */
  const mergeHTMLPlugin = {
    // preserve the original HTML token stream
    "before:highlightElement": ({ el }) => {
      originalStream = nodeStream(el);
    },
    // merge it afterwards with the highlighted token stream
    "after:highlightElement": ({ el, result, text }) => {
      if (!originalStream.length) return;

      const resultNode = document.createElement('div');
      resultNode.innerHTML = result.value;
      result.value = mergeStreams(originalStream, nodeStream(resultNode), text);
      el.innerHTML = result.value;
    }
  };

  /* Stream merging support functions */

  /**
   * @typedef Event
   * @property {'start'|'stop'} event
   * @property {number} offset
   * @property {Node} node
   */

  /**
   * @param {Node} node
   */
  function tag(node) {
    return node.nodeName.toLowerCase();
  }

  /**
   * @param {Node} node
   */
  function nodeStream(node) {
    /** @type Event[] */
    const result = [];
    (function _nodeStream(node, offset) {
      for (let child = node.firstChild; child; child = child.nextSibling) {
        if (child.nodeType === 3) {
          offset += child.nodeValue.length;
        } else if (child.nodeType === 1) {
          result.push({
            event: 'start',
            offset: offset,
            node: child
          });
          offset = _nodeStream(child, offset);
          // Prevent void elements from having an end tag that would actually
          // double them in the output. There are more void elements in HTML
          // but we list only those realistically expected in code display.
          if (!tag(child).match(/br|hr|img|input/)) {
            result.push({
              event: 'stop',
              offset: offset,
              node: child
            });
          }
        }
      }
      return offset;
    })(node, 0);
    return result;
  }

  /**
   * @param {any} original - the original stream
   * @param {any} highlighted - stream of the highlighted source
   * @param {string} value - the original source itself
   */
  function mergeStreams(original, highlighted, value) {
    let processed = 0;
    let result = '';
    const nodeStack = [];

    function selectStream() {
      if (!original.length || !highlighted.length) {
        return original.length ? original : highlighted;
      }
      if (original[0].offset !== highlighted[0].offset) {
        return (original[0].offset < highlighted[0].offset) ? original : highlighted;
      }

      /*
      To avoid starting the stream just before it should stop the order is
      ensured that original always starts first and closes last:

      if (event1 == 'start' && event2 == 'start')
        return original;
      if (event1 == 'start' && event2 == 'stop')
        return highlighted;
      if (event1 == 'stop' && event2 == 'start')
        return original;
      if (event1 == 'stop' && event2 == 'stop')
        return highlighted;

      ... which is collapsed to:
      */
      return highlighted[0].event === 'start' ? original : highlighted;
    }

    /**
     * @param {Node} node
     */
    function open(node) {
      /** @param {Attr} attr */
      function attributeString(attr) {
        return ' ' + attr.nodeName + '="' + escapeHTML(attr.value) + '"';
      }
      // @ts-ignore
      result += '<' + tag(node) + [].map.call(node.attributes, attributeString).join('') + '>';
    }

    /**
     * @param {Node} node
     */
    function close(node) {
      result += '</' + tag(node) + '>';
    }

    /**
     * @param {Event} event
     */
    function render(event) {
      (event.event === 'start' ? open : close)(event.node);
    }

    while (original.length || highlighted.length) {
      let stream = selectStream();
      result += escapeHTML(value.substring(processed, stream[0].offset));
      processed = stream[0].offset;
      if (stream === original) {
        /*
        On any opening or closing tag of the original markup we first close
        the entire highlighted node stack, then render the original tag along
        with all the following original tags at the same offset and then
        reopen all the tags on the highlighted stack.
        */
        nodeStack.reverse().forEach(close);
        do {
          render(stream.splice(0, 1)[0]);
          stream = selectStream();
        } while (stream === original && stream.length && stream[0].offset === processed);
        nodeStack.reverse().forEach(open);
      } else {
        if (stream[0].event === 'start') {
          nodeStack.push(stream[0].node);
        } else {
          nodeStack.pop();
        }
        render(stream.splice(0, 1)[0]);
      }
    }
    return result + escapeHTML(value.substr(processed));
  }

  return mergeHTMLPlugin;

}());

This was built with:
rollup src/plugins/merge_html.js -f iife --output.name=mergeHTMLPlugin
After changing the source to have a single default export.

This can now be easily achieved via a "after:highlightBlock" plugin and that's what should happen for anyone who absolutely needs this functionality.

v10.5 Deprecate HTML merging (#2873)

This belongs in a major version No? This broke my whole site, unless I am doing something wrong.

How?

Someone would need to write it (or simply extract it from 10.5).

This belongs in a major version No?

The removal yes, but we haven't removed it.

This broke my whole site, unless I am doing something wrong.

It's been deprecated, not removed. 10.5 should work just fine as 10.4 did... deprecating means we are giving people a heads up that in v11 this will be gone and then need to make other arrangements if they are using this feature.

If you're having a specific issue with version 10.5 please open an issue and we'll be happy to take a look.

@yakov116 I haven't seen any issues filed, did you sort out your problem then?  10.5 has been one of the quietest releases in a while.

@yakov116 I haven't seen any issues filed, did you sort out your problem then?  10.5 has been one of the quietest releases in a while.

I did not, I am really busy now so I did not have time to debug exactly where the issue is. So I just reverted to an older version.
I wish I was able to, maybe one day this week

I did not, I am really busy now so I did not have time to debug exactly where the issue is. So I just reverted to an older version.
I wish I was able to, maybe one day this week

FYI: You don't necessarily have to debug it... if you just post a jsfiddle that reproduces the issue it in a small, controlled environment (separate from your larger project, which always has the potential of being the real issue).
But of course that take some time... so we'll be here whenever. ;)

FYI: You don't necessarily have to debug it... if you just post a jsfiddle that reproduces the issue it in a small, controlled environment (separate from your larger project, which always has the potential of being the real issue).
But of course that take some time... so we'll be here whenever. ;)

Debugged it, It has to do with the
          if (options.useBR) {
            block.innerHTML = block.innerHTML.replace(/\n/g, '').replace(/
/g, '\n');
          }

Cant figure out why but I will just stop using it (useBr) and replace it myself.
Just so you can see the difference
(Select First(IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)) From MPhone Where Code = Members.Code and Desc = 'home') As home,

(Select

First

(

IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)

) From

MPhone

Where Code = Members.Code

 and

Desc = 'phone'

) As

phone

,

</code

vs (old version)
(Select First(IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)) From MPhone Where Code = Members.Code and Desc = 'home') As home,
(Select First(IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)) From MPhone Where Code = Members.Code and Desc = 'phone') As phone,

I think there is something wrong in the regex.

Debugged it, It has to do with the
          if (options.useBR) {
            block.innerHTML = block.innerHTML.replace(/\n/g, '').replace(/
/g, '\n');
          }

Cant figure out why but I will just stop using it (useBr) and replace it myself.
Just so you can see the difference
(Select First(IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)) From MPhone Where Code = Members.Code and Desc = 'home') As home,

(Select

First

(

IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)

) From

MPhone

Where Code = Members.Code

 and

Desc = 'phone'

) As

phone

,

</code

vs (old version)
(Select First(IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)) From MPhone Where Code = Members.Code and Desc = 'home') As home,
(Select First(IIF(IsNumeric(Phone),Format(Phone,'!(&&&) &&&-&&&& &&&&&&&&&'),Phone)) From MPhone Where Code = Members.Code and Desc = 'phone') As phone,

I think there is something wrong in the regex.

I don't think the regex changed... that code still runs, it was just moved to a plugin.  Pretty sure we have tests for it, and they are still green.  It'd still need to see a jsfiddle (that I can fiddle with) not just these isolated bits.

I don't think the regex changed... that code still runs, it was just moved to a plugin.  Pretty sure we have tests for it, and they are still green.  It'd still need to see a jsfiddle (that I can fiddle with) not just these isolated bits.

I know I will figure it out as a later time. Sorry for the bother

I know I will figure it out as a later time. Sorry for the bother

No bother.

No bother.

Just an update (on my end).  I took a quick review or the PR that touched this last and don't see anything obvious amiss here.
Here is the new "plugin" code:
https://github.com/highlightjs/highlight.js/pull/2873/files#diff-6214d870917fc8dbaf180113af76d2f1a674571612cd92e1f5500c04d159ac48R669-R681
And the whole PR: https://github.com/highlightjs/highlight.js/pull/2873
Pretty much it just moved code around.  Always possible we broke something (or another PR did) but I'm not seeing it yet.  If you end up with a reproducible test case, we'll be here. :)

Just an update (on my end).  I took a quick review or the PR that touched this last and don't see anything obvious amiss here.
Here is the new "plugin" code:
https://github.com/highlightjs/highlight.js/pull/2873/files#diff-6214d870917fc8dbaf180113af76d2f1a674571612cd92e1f5500c04d159ac48R669-R681
And the whole PR: https://github.com/highlightjs/highlight.js/pull/2873
Pretty much it just moved code around.  Always possible we broke something (or another PR did) but I'm not seeing it yet.  If you end up with a reproducible test case, we'll be here. :)

contenteditable is a small red-flag though.   We're not designed to be editable. (if it works, great, but this isn't something we really support)  Could be you're seeing some complex interaction related to other stuff you're doing on your end.  Just a guess.
But useBR is on it's way out... so if already have your own solution, then that should keep working in the future.

contenteditable is a small red-flag though.   We're not designed to be editable. (if it works, great, but this isn't something we really support)  Could be you're seeing some complex interaction related to other stuff you're doing on your end.  Just a guess.
But useBR is on it's way out... so if already have your own solution, then that should keep working in the future.

If this plugin is being moved out of tree, can we put it in a repo where multiple interested people can work on it, so I don't have to maintain a copy myself? Not clobbering markup in code was one of the hard requirements when we were evaluating syntax highlighters for the yelp documentation framework. So either I have to maintain a plugin, stay on an old version, or shop for a new highlighter (which I very much do not want to do). We build and bundle our own copy, so pulling in a maintained plugin isn't a problem per se, but I fear I might be constantly chasing API breakages.
For your consideration, putting markup in code blocks is pretty common in developer docs, and I don't think it's a fringe feature at all. Many documentation formats allow it, and even have features that specifically require it. Some common uses include:

Highlighting parts of code that were added or changed since the last block in a tutorial.
Adding callouts to label or explain parts of a code block.
Linking functions to reference docs.

I can't break these features for a syntax highlighter. I understand why you might not want to allow markup if code blocks could be potentially garbage submitted by internet randos on a site like StackExchange (although surely those sites should have their own sanitizers). But for many documentation generators, there is no risk of HTML injections, and features require markup.

can we put it in a repo where multiple interested people can work on it, so I don't have to maintain a copy myself?

Sure, though you don’t need our blessing to do that. That said, I don’t think we’d mind hosting a repo in the main organization, as we also offer for 3rd party grammar modules - as long as the README mentioned it was a 3rd party plugin and the Issues were open for those needing support.  We could also create a PLUGINS.md to start to hold a list of 3rd party plugins (even those hosted elsewhere).

I fear I might be constantly chasing API breakages.

The whole point of our official documented plugin API to is to address this concern.  We have a pretty strict policy about breaking changes with our APIs (and in general) and this typically only happens during a major release (semver).  Only minor breaking API changes are currently planned for v11, and IIRC none related to the plugin architecture.
If you take the time to extract this to a separate repo and in the process had any specific questions or concerns (about our plugin APIs and future proofing) I’d be happy to field them, but without specifics I believe this is perhaps an unfounded fear.

putting markup in code blocks is pretty common in developer docs, and I don't think it's a fringe feature at all.

Perhaps I should not have so quickly presented it as a “corner case” - though I’m not certain I’m mistaken.  We have millions of downloads/users. It’s possible that more use this feature than we imagine while it ALSO (statistically) remains a corner case.
But I will clarify:
Removal from core is not necessarily an expression or suggestion that a feature is uncommon or fringe, only that it should not exist in core. For example, see our [long standing philosophy on line numbering] - which has been a request since the beginning of time.  Numbering is a common and useful thing in many use cases, yet purposely not a core feature. It’s easily enough implemented as a wrapper - any many have done so (even before plugins). Other things have slipped into core prior to our new plugin architecture.
The plugin architecture purposely exists to support use cases exactly like this one (and many, many others) outside of the core library.  Now that we have it in place it’s time for certain features to continue their life going forward as plugins.  Core desires to remain small and simple and hyper focused on it’s two core missions:

Converting raw source into clean, highlighted HTML
Auto-detection of language given a code snippet

Please also see: https://github.com/highlightjs/highlight.js/issues/2225

@shaunix If you were interested in publishing and maintaining a plugin for v11 now would be the time. :-)  I did go ahead and post some workable plugin code above if you wanted to use that for starters.

Sure, I'm interested. I just don't have a lot of bandwidth. The syntax highlighter is one piece of one project out of many I fail to keep up with. :)

This plugin solution is not working for me and for the time being I will remain on 10.

Here is a repro case:
Version 10: https://jsfiddle.net/dha4q1jg/
Version 11 (with plugin): https://jsfiddle.net/rej8qfkt/

If this will require a plugin in the future, please do include it somewhere that it can be consumed. I specifically chose higlight.js instead of other packages because of this functionality as the highlightBlock function.
I can understand the issues with not encouraging users to dump unescaped code into their page, but without this functionality It is not clear to me what the purpose of higlightElement is. Does it just extract the innerText and then set innerHTML with the result?

Ah, this would no longer work because:
    "after:highlightElement": ({ el, result, text }) => {
      const originalStream = nodeStream(el);
      if (!originalStream.length) return;

Highlight element was corrected in the later states of v11 to truly run after, not in the middle.  So you don't have access to the original stream.  Instead you'd need to alter the plugin to be class-based with a before and after hook... in the before hook you'd capture the original stream (so you have access to it in the after hook)...

If this will require a plugin in the future, please do include it somewhere that it can be consumed.

We do not wish to support or maintain this feature, hence it's been removed from core.  If you (or anyone else) wishes to step up and maintain a functional, working plugin, that'd be great.

without this functionality It is not clear to me what the purpose of the higlightElement function is. Does it just extract the innerText and then set innerHTML with the result?

Well, it highlights the code, of course.  It's used by highlightAll and can be used in any number of custom implementations where you have an element you want to highlight without resorting to writing highlightElement from scratch. The most common (and very popular) use case is to highlight just code - without embedded HTML.  Many use this function to accomplish that.

Just want to add my voice to the set of "I want to be able to include markup within the HTML content to be formatted", so that for example, I can create a nicely formatted output that includes  links. Removing this functionality may block my adoption of highlightjs, sadly.

If someone picks this up as a plugin a whitelist of tags would be a great thing to have... , , etc.

I'm also trying to insert formatting into otherwise highlighted code, but am struggling with writing a plugin to do it. My use case is that I'm using a literate programming style (using entangled), so my blocks look like this:
some code ();
<<reference-to-other-snippet>>
more code ();

I specifically do not want <<reference-to-other-snippet>> to be highlighted, even if parts of it contain valid keywords or operators for the language being highlighted, but instead want to apply a custom HTML tag (a or span, depending on circumstances) and CSS class to it so that . I've written a plugin that works as long as none of the words inside the chevrons is a keyword. For example, this works:
<<my-snippet>>

Results in:
my-snippet

But this does not because do gets highlighted:
<<do-my-snippet>>

Results in:
<<do-my-snippet>>

The plugin code I use is:
hljs.addPlugin({
    'after:highlightElement': ({el}) => {
        el.innerHTML = el.innerHTML.replaceAll(
            /^([\s]*)<<([^:\s]+?)>>([\s]*)$/mg,
            '$1$2$3'
        );
    }
});

I assume it breaks because the code has already been highlighted before this plugin is run (after:highlight... after all), but if I use before:highlightElement instead, then it doesn't work at all, presumably because its rejecting the HTML insertion.
I've been trying to follow the conversation here to understand how to work around this, but I don't quite understand what I need to do. I've looked at allanlw's fiddle but I don't really understand what's going on here with nodeStream and mergeStreams, I fear its beyond me.
Any help or instructions would be hugely appreciated.

but I don't really understand what's going on here with nodeStream and mergeStreams, I fear its beyond me.

You shouldn't really have to understand HOW it works in full.  If you find the PR where this functionality was removed from core you should see exactly how it can be hooked back in.  It was re-factored to an internal plugin before it was entirely removed.  The only difference now is that you'd need to capture the original HTML in a before:highlightElement callback since it's no longer available after since the sequencing has changed.  For long-term maintenance though it would probably help if someone understood the code.
I'm not sure that would really helps you though since you are doing something similar but different... you're trying to remove arbitrary blocks of text from highlighting (perhaps they match the <<>> pattern though).
To do this you'd need to first STRIP the "extra pieces", then highlight the remaining code:
some code ();
more code ();

Then once you get the highlighted code back, you have to insert the stripped "extra" pieces at the exact right spots (taking into account that HTML may have been inserted etc)... you do this by parsing the result HTML and then iterating over the raw code + HTML tags counting up where you are at so you know if you've reached the correct spot where the next "extra" chunk needs to be re-inserted.
Simple to explain, but It's not exactly trivial to implement.

it breaks because the code has already been highlighted before this plugin is run

Exactly... you have to entirely remove the "extra" code before, then highlight, then reinsert it after. So you'd need both a before and after hooks... and you'd likely want to use a class vs an object so that you can preserve the state between both callbacks (see plugin docs for example of class based plugins).

how it can be hooked back in.

Though it also likely now needs to be class based to preserve the state between before/after, etc...

A simple but more hacky way is to do some type of symbol substitution... IE. rewrite your code:
some code ();
~~~snip~2~~~
more code ();

Rewriting with symbols you KNOW will never highlight for the language you want to support (this is much harder to do generally for all languages though since it's impossible to know which symbols might be safe).  Hence my calling this a more hacky solution.

@joshgoebel Thank you, that gives me something to go off. Yeah, I was thinking replacing with a substitution pattern might be a quick fix as I was reading your first message, but like you say, its not a general solution. Still, I know what languages I'm highlighting, so it may be enough for now.
Thanks for the pointers! Its greatly appreciated.

Just in case its helpful to others, this is what I ended up using:
class DataLanguagePlugin {
    constructor(options) {
        self.prefix = options.dataPrefix;
        self.found = [];
    }
    'before:highlightElement' ({el, language}) {
        el.innerHTML = el.innerHTML.replaceAll(
            /^([\s]*)<<([^:\s]+?)>>([\s]*)$/mg,
            function (match, p1, p2, p3, offset, string){
                var index = self.found.length;
                self.found.push(`${p1}<a class="lp-ref" href="#lp-${p2}">${p2}</a>${p3}`);
                return `«x${index}x»`;
            }
        );
    }
    'after:highlightElement' ({ el, result, text }) {
        for (var index in self.found) {
            el.innerHTML = el.innerHTML.replace(`«x${index}x»`, self.found[index]);
        }
    }
}

hljs.addPlugin(new DataLanguagePlugin({ dataPrefix: 'hljs' }));

I'm not much of a JS programmer, so perhaps it can be improved. I used «x${index}x» so that its super unlikely to clash with language syntax (since « and » are unicode that isn't valid in any language I use), the x before and after the index is to prevent the index to be highlighted as a number. This works for the languages I've tested it with (C++), but may need tweaking for other languages.
This ended up much easier than trying to merge the streams and works perfectly for my own needs.

since « and » are unicode that isn't valid in any language I use)

Unfortunately they're valid (and worse, actually used) in the Lean theorem proving language.

For anyone following this thread: this is still not supported officially (in core) but I did just update the sample plugin source above such that it now works with the latest 11 releases (it now uses the correct callback hooks)...

How much work would it be to publish the script at the top of this issue at https://github.com/highlightjs/highlight.js-html-merge or similar, without any guarantee of maintenance?

We already link to all the legacy plugins (including this one) on the Wiki... I'd rather not go further at this time. Hosting a separate repository is too close to "official/supported" for my taste.

Removal from core is not necessarily an expression or suggestion that a feature is uncommon or fringe, only that it should not exist in core.

That’s tautologically true, but when your guides to getting started with highlight don’t include a way to use that feature, it absolutely is an expression that such usage/feature is fringe. Removing the feature altogether and suggesting that it could be a plugin instead is absolutely saying a whole lot more than 'we don’t want the code in core anymore'.

guides to getting started with highlight don’t include a way to use that feature

Because it's not a feature.  So far no one has expressed a desire to develop or maintain the plugin.  If someone wanted to step up and maintain the plugin officially (perhaps you'd like to?) I think we'd be happy to link to it when someone asks "how do I do that?".


OLS-1077: Add attach logs option for HPAs

Actually adds the logs for the HPA's scaleTargetRef resource.
Also fixes display of error message when the pods fail to load in the attach logs modal.

/retest

Override failing test not related to this change:
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-console"


Adding Base Defence to the combat stats

This change isn't all that interesting for a pull request, but it is needed by the enemies and worker teams so it'd be better to have it in sooner rather than later

Also unsure what our pull request process will be, created this as a test of sorts

I didn't realise the pull request would add further commits to the friendly-units branch -_-
Latest commit pushed exclusively adds new files, so it should not conflict with anything (unless somebody added a file of the same name)

Talked through how the pull request process works with @Jonoym, everything passed and we're good to merge


Get rid of temp variables

Here is some refactoring mostly to get rid of temporary variables. Hopefully it helps making it even faster ⚡

Thank you for make the code more concise. Do you mind creating a the pull request against dev?


MVG: Retrying request with status_code None

Many a times, different methods in MVG retries calls to the API when it encounters a Bad Gateway. On some retries, the retry message has the word None.

We have not seen it appear again after the fixes in uvicorn keep alive property.
Raman will review the last few days to confirm.

This is the 502 error logs chart from AWS ALB:

We didn't have errors since March 29, so the issue can be closed.


P05/P11: As Participant, I would like to enroll/withdraw for an upcoming Hackathon.

Description
Fixes issues #22 - #P05 and #28 - #P11
Followed up the pull request of #S06/#S09 As Staff I would like to enroll/withdraw as a Judge #90, merged from https://github.com/Ri-Dearg/ci-hackathon-app
Separated JS script to its separate file in static folder
Added a filter in my_tags.py to compare end date of hackaton to today's date
Added participants field in the model of Hackaton.
Changed enroll.html to enrollstaff.html and added enrollpart.html inside hackaton/templates/include
Added an if statement on hackatondetail template to show a button to enroll or withdraw that is only visible to participant user.
Added if statement in ajax_enroll view to allow the database to add or remove users as participants.
Pull request type

[ ] #M01 (Miscellaneous User Story #01)
[x] #P02 (Participant User Story #02)
[ ] #S03 (Staff User Story #03)
[ ] #A04 (Admin User Story #04)
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Related Issue
#22
#28
#35
#38
Testing
Manual testing with a different user type to ensure the button to enroll and its text changes between participant and staff.
Tested the feature of date comparator to ensure the enroll button does not show if hackaton has ended
Screenshots

Additional Information
When testing, noticed that all users are automatically showing as judges or participants and the enrol or withdrawing button does not make changes in the admin panel.
Not sure if this is the type of field, 'ManytoManyField' chosen in the Hackaton model.
Does this introduce a breaking change

[ x] Yes
[] No

Thanks :) the most complex code is from @Ri-Dearg though from whom I followed his choice and added few parts to fix the issue of particpant to enrol and withdraw.

I have applied all changes requested and resolved migration issue as well. There is no current merge conflict.
I have replied to the comment where changes were requested to separate enrollstaff.html and enrollpart.html from hackaton_detail.html as I think it looks clearer separate.
Thanks


Original methods are called instead of stubs if invoke through events

When using Sinon stubs and Vue's event system, it appears that the original, stubbed, methods are still being called instead of the stubs themselves. Consider the following example:
import eventBus from '@/utils' // just a simple Vue instance
import Foo from '@/components/Foo'

const initStub = sinon.stub()
const wrapper = shallow(Foo)
wrapper.setMethods({ init: initStub })
eventBus.emit('event that invokes init()')

Expected Behavior

Foo.init() shouldn't be called
initStub.called should be true

Actual Behavior

Foo.init() is called
initStub.called is false

Notice that the bug (?) doesn't happen if init() is called directly i.e. wrapper.vm.init().

Hm, I'm doubtful that there's a way to fix it. Presumalby, you did something like this:
created () {
  eventBus.$on('event that invokes init()', this.init)
}

When you replace the method init after the event has registered, he eventbus doesn't know about it - it still has the old method as the callback for the event listener.
And vue-test-utils doesn't know about the event bus, which is not part of the component instance.
The same would happen if you registered a "normal" event listener (e.g. window.addEventListener('click', this.init), so this would be something that can happen frequentl in tests.
The only solution I see it to stub the method immediatly:
const wrapper = shallow(Foo, {
  methods: {
    init: initStub
  }
})

I think this is, because when you call bus.$on('event', this.init), the original method reference gets passed to the bus listener. Even if you replace this.init later on the component, the bus will still have referenced the other method. It is just how the bus is designed. I do not see how we can change that.
You could however pass a stub implementation in the test options like this to test the stubbing:
const wrapper = mount(Foo, { propsData: { bus }, methods: { init: initStub }})

Another way to work around it is to wrap the passing function in another one:
created() {
  this.bus.$on('event', () => { this.init() })
},

That way the reference to this.init will be determined during runtime.
In my opinion this is no issue in the vue-test-utils and could be closed.

What exactly are you trying to test? Maybe there is a better way to do it.
I'm looking to write some documents about how/what to test for vue-test-utils, knowing what kind of problems people run into and what they are trying to achieve is valuable feedback @phanan .

I'm closing this issue since it won't be fixed, the solution is to use @LinusBorg's suggestion:
const wrapper = shallow(Foo, {
  methods: {
    init: initStub
  }
})

Woot. When I think @LinusBorg's explanation does make a lot of sense, I quickly tried the suggestion and it didn't appear to work. I'll be spending a little more time when I have it, but closing can seem to be a bit too quick.


No errors when desc/asc ordering modificators are misspelled

By mistake, I made a typo and wrote ...?order=mycolumn.dec in API call – so basically I wrote dec instead of desc.
PostgREST accepted it, producing no errors... It did ordering with asc. This time I was lucky enough to quickly find that typo. But it potentially would be very hard to catch.
I expect that it should report, that only either asc or desc are accepted in that place.

Makes sense, could be annoying to track that sort of thing down otherwise.

I'd like to take a stab at this one. The request should probably respond with a 400 Bad Request and maybe a plaintext payload like:
invalid ordering "dec" on column "mycolumn"

Thank you, I'd appreciate your help with this one! If you run into problems feel free to open a pull request with what you've got and we can discuss it from there.
As for the error message, we usually try to return a json object with fields:

message (required)
details
hint
code

You could put the string you suggested into message, and maybe mention the correct possible values in the hint.

Fixed in #1104.


Retiring tmuxinator

Since we got mprocs now, can we remove tmuxinator? It seems like unnecessary maintenance burden to keep both (and possibly adds confusion for newcomers).

The only problem with mprocs is that you can't easily copy text strings with it. So I still end up using tmuxinator pretty frequently. I don't think the maintainence burden is too high, but this is probably confusing to new contributors.


project page bug

@smaranjitghose  I have fixed the project page bug. Please review.

The bug is fixed for the rest of the cards, except the first one

@smaranjitghose  sorry i didn't see that before. I have fixed it now. Please review again.

@smaranjitghose sorry i didn't see that before. I have fixed it now. Please review again.

Perfect the bug is fixed. There is one small edge case to be handled. At times our project name can be of 5-7 words. In that case, due to the large font size, it splits across multiple lines in the cards for the mobile view. I am merging this PR. Whenever you give a new PR for the other pages, could you please reduce the font size of the headings of the projects

@smaranjitghose sorry i didn't see that before. I have fixed it now. Please review again.

Perfect the bug is fixed. There is one small edge case to be handled. At times our project name can be of 5-7 words. In that case, due to the large font size, it splits across multiple lines in the cards for the mobile view. I am merging this PR. Whenever you give a new PR for the other pages, could you please reduce the font size of the headings of the projects

@smaranjitghose Okay sir!


Crash while Deleting file in workspace

Issue Type: Bug
i have observed that whenever i load multiple folder from disk in workspace ,which donot belong to same directory and while i delete one file visual studio crashes every time. ex: folder1 , folder2 in workspace when i deleted on of file in folder1 it crashes the program.
VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T13:22:08.892Z)
OS version: Windows_NT x64 10.0.19041

Thanks for filling this issue. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/


It can display the pdf, but can't display the signature and seal  by use "Pdf_Viewer_Plugin" in Android.(The PDF has signature and seal )

It can display the pdf, but can't display the signature and seal  by use "Pdf_Viewer_Plugin" in Android.

I met the same problem, but I don't know how to solve it


Update pushsecret_controller.go

Issue-ID: #2164
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

Hey @sugandha-rana are you still working on this or should we take this over?

closing this due to no activity, feel free to re-open or create a new PR, thanks you for your effort!


feat: Pfe tools/pfe dropdown

update docs
added expanded public property
fixed keyboard navigation issues
added tests for keyboard navigation

Thanks @bennypowers!  I addressed your comments.

@heyMP can you check over the changeset, see if it needs updating? (e.g. expanded attribute)


[WIP] Additional Dropzones and Dropzone UX

Description of the problem this pull request fixes
Pursuant to #358, this PR introduces a "border" dropzone type to specify the fill/stroke color of marks as well as the shape/symbol for symbol marks or content of text marks. Similar to the wireframes in #358, dropzones are now labeled by showing a tooltip underneath the mouse pointer.
To ameliorate some of the UX concerns with dropzones also noted in #358, this PR also tweaks the heuristics that determine which selected mark item is selected. In particular, it constructs a 300x200 "viewport" and tests for enclosing items. If it is unable to find any such item, Lyra then chooses the closest intersecting item or, in the worst case, the closest item to the top-left edge of the canvas.

TODO:

[ ] Specify minimum and maximum dropzone lengths to ensure that a dropzone is always visible and never overflows the canvas.

This PR includes:

[ ] Tests
[x] functional comments
[x] high level description of any new components

Oooo.  The only thing I think is missing from this is some sort of labelling so people know which each dropzone does.  I am not sure how you'd add that.

@deathbearbrown Did you notice the little tooltip/label that appears below the mouse pointer?

Oh my gosh I did not. I had to enlarge it.  That's perfect!


cannot download IOS client

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
H:\dp>yt-dlp --list-formats --extractor-args "youtube:player_client=all" "KA0TS9l_nJE"
[youtube] Extracting URL: KA0TS9l_nJE
[youtube] KA0TS9l_nJE: Downloading webpage
[youtube] KA0TS9l_nJE: Downloading ios player API JSON
[youtube] KA0TS9l_nJE: Downloading ios embedded player API JSON
ERROR: url must be a string
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
H:\dp>yt-dlp --list-formats --extractor-args "youtube:player_client=all" "KA0TS9l_nJE"
[youtube] Extracting URL: KA0TS9l_nJE
[youtube] KA0TS9l_nJE: Downloading webpage
[youtube] KA0TS9l_nJE: Downloading ios player API JSON
[youtube] KA0TS9l_nJE: Downloading ios embedded player API JSON
ERROR: url must be a string

Fixed by c999bac02c5a4f755b2a82488a975e91c988ffd8
Run yt-dlp --update-to master or wait until midnight UTC and run yt-dlp --update-to nightly


Last update completely broke oh-my-zsh

I've updated my oh-my-zsh installation today. Now it's completely broken.
I get command not found: ^M and parse errors. At least the first looks like a Line-Ending Issue?
Even a clean installation does not fixed the problem. Let me know if you need further informations!
I'm using zsh 5.1.1 (x86_64-ubuntu-linux-gnu).

That's a known issue, see a temporary workaround at #4069.


Suggestion: TagHelper Expanding Child Objects into their own HTML Elements

The ASP.NET 5 TagHelper documentation gives the following example:
public class WebsiteContext
{
    public Version Version { get; set; }
    public int CopyrightYear { get; set; }
    public bool Approved { get; set; }
    public int TagsToShow { get; set; }
}

public class WebsiteInformationTagHelper : TagHelper
{
    public WebsiteContext Info { get; set; }

    public override void Process(TagHelperContext context, TagHelperOutput output)
    {
        output.TagName = "section";
        output.Content.SetContent(
            $@"

Version: {Info.Version}

Copyright Year: {Info.CopyrightYear}

Approved: {Info.Approved}

Number of tags to show: {Info.TagsToShow}

");
        output.TagMode = TagMode.StartTagAndEndTag;
    }
}

This can then be used in your Razor .cshtml as follows:
<website-information info="new WebsiteContext {
    Version = new Version(1, 3),
    CopyrightYear = 1790,
    Approved = true,
    TagsToShow = 131 }"/>

This will generate the following HTML:

Version: 1.3

Copyright Year: 1790

Approved: true

Number of tags to show: 131

This is pretty ugly tag helper syntax. Is there some way to nest the website-context inside the website-information and get full intelli-sense so that the only allowed child of website-information can be context? See example below:
<website-information>
    <website-context version="1.3" copyright="1790" approved tags-to-show="131"/>
</website-information>

There are several reasons to do this:

You already had lots of attributes on website-information.
website-context makes more logical sense being a child element.
The website-context properties are logically grouped together and would get lost among other properties on website-information.
You could have multiple website-context elements in a collection.

My own real world application is that I have written a TagHelper to generate Twitter Card and Facebook Open Graph meta tags. I currently have to write this:
<twitter-card-gallery
    username="RehanSaeedUK"
    creator-username="RehanSaeedUK"
    title="My Title"
    image0="new TwitterImage("http://example.com/image0.png", 100, 100)"
    image1="new TwitterImage("http://example.com/image1.png", 100, 100)"
    image2="new TwitterImage("http://example.com/image2.png", 100, 100)"
    image3="new TwitterImage("http://example.com/image3.png", 100, 100)"/>

But I would really like to write this:
<twitter-card-gallery username="RehanSaeedUK" creator-username="RehanSaeedUK" title="My Title">
    <image0 image-url="http://example.com/image0.png" width="100" height="100"/>
    <image1 image-url="http://example.com/image1.png" width="100" height="100"/>
    <image2 image-url="http://example.com/image2.png" width="100" height="100"/>
    <image3 image-url="http://example.com/image3.png" width="100" height="100"/>
</twitter-card-gallery>

Related question on StackOverflow.

Is this the same as what's being asked for in https://github.com/aspnet/Razor/issues/496 ?

@dougbu @NTaylorMullen @DamianEdwards FYI

Yes. I had not spotted that issue. My suggestion is similar, although I was not advocating the child elements being tag helpers of their own. In both issues we are talking about turning a complex propery into a HTML element but the possibility of converting a collection should also be considered.

This is a feature area we'll take a look at in the future.

This feature in MVC ?

@abhacid no it is not. It's currently in the backlog to be completed at another time.

We closed the Razor issue for this a little while back. Tag Helpers are a compile-time feature. We have no plans to make it dynamic. https://github.com/aspnet/Razor/issues/496


Customized NPCs lose hair in Unity

In the final unity section with your star-self, any enemies that you have recustomized using capp will show up as bald.

Details
This is technically an issue modders will run into, so I'm curious if bugs like this will fall under the purview of if Starfield will also need an Unofficial Starfield Modder's Patch to catch this sort of thing.
Game Version
1.37
Language
English (EN)
New Game
Yes
Reproduction Steps
Customize characters using capp, reach unity. Baldies. =(

Typo: *any ALLIES that appear


Why does the REF signal increase initially and then stabilize?

2022-07-05T14:54:47+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.05979320118956075
2022-07-05T14:55:50+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06279355673845351
2022-07-05T14:55:55+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06545685341301549
2022-07-05T14:56:00+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06646950400445993
2022-07-05T14:56:05+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06695988190439396
2022-07-05T14:56:10+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06723952887073521
2022-07-05T14:56:15+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06741707676874005
2022-07-05T14:56:20+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06753923336890723
2022-07-05T14:56:25+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06762513887911904
2022-07-05T14:56:30+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.0676902908065424
2022-07-05T14:56:35+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06773909680565772
2022-07-05T14:56:40+0100 [ir_led_ref] [app] DEBUG self.initial_led_output=0.06777670734505768

Not really an issue since #331 is done

It was because we took a blank, and the ADC stored that in batched_, which was then used as a prior in the regression.


iOS debug builds are not persisting keychain data after background

Setup: Simple app with two buttons. 1 button writes and another reads. I am on a physical device iPhone6s ios14.6. I write a simple key and value. Then I read it and it works. Background the app. Foreground the app. Read same key. It doesn't exist.
I cannot figure out what the issue is other than maybe debug builds keychains are cleared when apps are backgrounded?
Does iOS need some amount of time other than waiting for the async to ensure the key gets written to the keychain?
NOTE1: I am NOT making any keychain reads/writes during background.
NOTE2: I already looks into the accessibility in the options and that I don't think relates to this as the phone is already unlocked.
Thanks!

I am having a similar issue with this plugin

I am having a similar issue with this plugin

You don't say ...

Sorry I found out that we had another plugin that was clearing the entire key chain on foreground RIP 😭

@derekpitts28 what plugin is this??
Might be a similar issue for me

Okta sdk for ios. We wrote a plugin for it and the example it gives has us doing a full clear. We changed it so it only clears what is necessary.


common errors: deinit

Have to add some ways to handle deinit. At least using a Task with careful captures to extend the life of non-self values.

Addressed with #49


chore(main): release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2022-09-06)
Bug Fixes

update sgnf_folders (8e99d12)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgpy/releases/tag/v0.1.0 :sunflower:


How to uninstall/stop program from running?

I am trying to delete this program, but it won't let me delete it or the folder because it is still running in script. I'm not adept in computer science, but I desperately want the folder fully off my computer. Any help is appreciated.

Hello,
You can stop the program by extending the tray bar in the right of your task bar. You should see a little icon, of a brain and speech bubble" there (or a green "H" button, depending on the version). Just need to right click, then on "Exit".
You should then be able to delete the folder.
Another solution would be to just restart your computer. The folder should then be removable.
Hope it helps


Fix for arrow keys in credit score slider

The page will now update when the user hits the arrow keys in the credit score slider.

:metal: good catch