Use plop for components scaffolding

What this for:

To simplify components generation. You could now use some component as component name and it will generate proper names for controllers, files and so on.
Allow to add custom templates for code generation in future. We could prepare some base templates like some.factory.js and some.factory.spec.js and many other stuff. With plop this kind of generators pretty much easier to maintain.
One step to get rid of gulp completely.

Waiting for any feedback.

Blocked by https://github.com/amwmedia/node-plop/issues/25

@gdi2290 @Hendrixer Could you take a look?
p.s. Maybe I should also ping someone else since you guys are always busy?

I would personally question the wisdom in replacing an extremely stable tool gulp with an alpha release of a less known, limited adoption tool.

I'm all for adopting and supporting emerging technologies. I am also always up from being able to remove gulp from any workflow.
Given this is a starter project, people may have very well extended the base gulp configuration and it's removal would be detrimental.
The feedback you really need is from the people depending on / working with this starter. That or you could run the two in parallel for the time being, deprecate the gulp workflow and then see how the potential change is received by the community prior to removing gulp.

node-plop is just inner dependency of plop. Plop itself has 1.7.2 version and it pretty much stable.

replacing an extremely stable tool gulp with an alpha release of a less known, limited adoption tool.

This PR aims to replace gulp-rename + gulp-template (which uses limited lodash templates) on specialized tool for code generation, which uses highly stable handlebars for templates and pretty much popular Inquirer.js for wizards. This allows to simplify boilerplate process (for example you could use component name "my card" instead of only "myCard". Plop will use proper case. So files would be named like "my-card.component.js" and module name will be "ng6Starter.myCard". Also it is pretty much easy to add your own templates of some other stuff.
My team working with plop for about 3 month and they find it much more flexible than just gulp-template + gulp-rename.

deprecate the gulp workflow

This PR doesn't removes gulp or gulp workflow, it just replaces gulp component command to more appropriate and flexible way of boilerplate generation. It has proper documentation and examples on how to make your own templates to reduce routine.
Right now gulpfile is bloated with unneeded stuff which just confuses users. It only used to start webpack and browserify. And as for e2e tests gulp brings more problem than it solves. But removing gulp is another story and should not be discussed in context of this PR. I will create separate issue for that discussion.
Thanks.

@d3viant0ne I will be very appreciated if you could put some more input on this. With this PR I tried to solve this issues:

Make component templates to fit angular styleguide.
proper module name generation (I really not sure that this is best for now)
Simple way to add custom templates (currently adding new templates with gulp isn't something obvious, and plop has documentation and lots of examples)
ability to patch existing code (not included in PR) in order to register newly generated components.

I have the working code from this pull request ready to add also a service plop generator with Unit test and working example. Can we add this pull request into it's own branch so I can sent pull request directly to the branch instead of @fesor 's fork?

@fesor I added a pull request for the plop branch adding the rest of the elements for scaffolding:
Added Service/Factory/Directive/Filter Generators

Closing in favor of #224


Save Slide as Image

Hi All!
This library is a great contribution for the community, tks for that!
Is there a way how to save a slide as an image?
kind regards!

An easy one to answer - but not the answer you want: python-pptx doesn't render the slides so can't do this. You'd have to automate a screen grab - on whichever platform you're on.

@shllgtca I believe you can do this with LibreOffice. It's not pretty; the LibreOffice application needs to be installed and it actually loads as though you were using it to do the save operation by hand, but it does work. Takes a fair amount of time. Probably not a problem for onesy-twosies on your own machine but can be problematic if you're running it in production in the cloud or whatever.
I can't say I've tried it for this exact purpose; I've used it for DOC -> DOCX conversions and actually used it in a production system running in the cloud on Linux.  Much better than not being able to do it though :)
Installing LibreOffice makes the soffice (command-line) command available. I believe you'll have to convert the PPTX to PDF and then use Ghostscript or something for PDF -> PNG or whatever. This SO question has more, others on search I expect:
https://stackoverflow.com/questions/21523267/how-to-convert-pptx-files-to-jpg-or-png-for-each-slide-on-linux
So this process actually has nothing to do with python-pptx specifically, it  works the same no matter how the PPTX got produced. And what you're running is essentially a command-line script, from within Python if you want or using a shell script or whatever suits.


testing: Fix missing simd test due to copy paste typo

Does this seem ok to everybody? I'm trying to avoid doing merges without a single review.


Pdf unminified styles

For reasons that I don't fully understand, wkhtmltopdf tries and fails to make network requests for some assets linked in the styles. There's an unresolved issue on wkhtmltopdf that I'm guessing is relevant here: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2051. Anyway, switching from the minified to the unminified styles seems to avoid the ContentNotFoundError. Longer term, we may want to pick a more robust pdf converter, but this should work for now. To verify, generate a preview pdf locally and confirm that it doesn't blow up.
This PR also removes references to "eregsip", since I got curious about those urls during debugging.

Looks good, but would you mind resolving the merge conflicts?

Conflict resolved--this is what I get for "fixing" whitespace.

:+1:


2.x: Manage exception in case of missing networking

Description of changes
Before this patch during handling of the above exception, another exception occurred causing a bad user experience.
Tests
Before:
pcluster create test
Beginning cluster creation for cluster: test
Unexpected error of type EndpointConnectionError: Could not connect to the endpoint URL: "https://ec2.eu-west-1.amazonaws.com/"
Traceback (most recent call last):
  File "python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
 ...
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "python3.6/site-packages/botocore/httpsession.py", line 394, in send
    chunked=self._chunked(request.headers),
...
  File "python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x10e531668>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
  File "python3.6/site-packages/botocore/httpsession.py", line 414, in send
    raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://ec2.eu-west-1.amazonaws.com/"

Process finished with exit code 1

After:
pcluster create test
Beginning cluster creation for cluster: test
Error: Network connection is required to execute pcluster CLI commands.

Process finished with exit code 1

Checklist

[x] Make sure you are pointing to the right branch and add a label in the PR title (i.e. 2.x vs 3.x)
[x] Check all commits' messages are clear, describing what and why vs how.
[ ] Make sure to have added unit tests or integration tests to cover the new/modified code.
[x] Check if documentation is impacted by this change.

Is it possible to show which network address failed? Sometimes this error happens if you set the region incorrectly (I believe) and it will be more obvious to the user that this is the cause.


Problems consuming<EMAIL_ADDRESS>

Moving our parse logic to url-parse has the side-effect of a less-than-ideal necessary build step or setup.
Someone consuming it needs to be aware of how to build it. There might be several scenarios:
Webpack / Rollup / Browserify build
This is expected to work as the bundling tools already know how to deal with the different dependencies
Karma config setup
Currently, a very barebone setup for testing modules consuming metal-* dependencies looked like this:
  frameworks: ['mocha', 'chai', 'sinon', 'source-map-support', 'commonjs'],

  files: [
    'node_modules/metal/src/**/*.js',
    'node_modules/metal-*/src/**/*.js',
    'src/**/!(node)/*.js',
    'test/environment/browser/env.js',
    'test/**/*.js',
  ],

  exclude: ['src/env/node.js', 'test/**/node/**/*.js'],

  preprocessors: {
    'src/**/*.js': ['babel', 'commonjs'],
    'node_modules/metal/**/*.js': ['babel', 'commonjs'],
    'node_modules/metal-*/**/*.js': ['babel', 'commonjs'],
    'test/**/*.js': ['babel', 'commonjs'],
  },

  babelPreprocessor: {options: babelOptions},

A project depending on metal-uri would now likely need to add browserify and serve additional files such as node_modules/url-parse (and transitive dependencies) or serve and preprocess everything inside node_modules just to be sure.
While I guess we would all agree this is not the ideal scenario, what options do we have? Should we:

Ship a browser-compatible version of metal-uri to be consumed directly in the browser
Clarify the setup configuration steps
Move the parse implementation back into the module

@eduardolundgren, @ipeychev, @Robert-Frampton, thoughts?

I would say to ship a version which works in the browser (the developer will add it to Karma files) in addition to the node version would be the golden middle.

I agree that it's annoying, but since we already face this same problem with metal in general I don't see it as a huge deal.
We're already in the place where the only real way to use metal core is with some kind of bundler.

Closing this since we figured out the issues on the https://github.com/wedeploy/wedeploy-sdk-js.


changed branding to tech talks x intelligenz

changed branding name to tech talks x intelligenz
Fixes : #28

@Abheeshta-P getting merge conflict do try to resolve this

@Sanskriti1102 sure will work on it


[Cache] Configure path for HTMLPurifier cache

Without a configured path the HTMLPurifier wants to create a cache under vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer and to chmod-it to 0777. It is even mentioned in the Troubleshooting.
The code actually supports defining a custom path for the HTMLPurifier cache: https://github.com/opencfp/opencfp/blob/44bad694bbb492eef4b545019324761d5712f381/classes/Provider/HtmlPurifierServiceProvider.php#L21
I propose to update the production.yml.dist and development.yml.dist files adding in the paths.cache.purifier section:
paths:
  cache:
    purifier: /install/path/of/opencfp/cache

as well as adding a small section to the README file explaining that this path should be set.
This way when installing a new OpenCFP instances users won't have to look into the code how to setup the cache, nor will there be a need for troubleshooting the cache any more.

I realised that there is a method to get the cache path for HTML Purifier so there is no need to have it configurable in the configuration.


[FEATURE] Allow volume expansion while in bound state

Is your feature request related to a problem? Please describe
In order to expand a Longhorn volume, it cannot be bound to a running workload. A workload must be shutdown before the Expand Volume option isn't grayed-out.
Describe the solution you'd like
Allow xfs or ext4 volumes to be grown 'live' while volumes are bound. The ability to grow live xfs or ext4 volumes on Linux servers has been available for years, so it is technically possible (barring some Longhorn limitation).

This will be tracked in https://github.com/longhorn/longhorn/issues/1674


Tried all hosts, no connection could be established

Describe the bug
Connection to the camera cannot be established
Additional information

Home Assistant Installation Type (OS - Supvervised - Core): OS
Home Assistant Core Version: 2022.12.9

Hardware Information;

Camera Model: 4G Starlight Camera

Live Streaming Protocol (RTSP/P2P): I don’t know

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624)
nothing there

Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):

2023-01-04 19:39:38.144  INFO  Eufy Security server listening on host <IP_ADDRESS>, port 3000
2023-01-04 19:39:48.530  INFO  Push notification connection successfully established
2023-01-04 19:40:08.631  WARN Station T8151P3022xxxxxx - Tried all hosts, no connection could be established
2023-01-04 19:40:08.635  INFO  Timeout connecting to station T8151P3022xxxxxx
2023-01-04 19:40:24.636  WARN Station T8151P3022xxxxxx - Tried all hosts, no connection could be established
2023-01-04 19:40:24.638  INFO  Timeout connecting to station T8151P3022xxxxxx
2023-01-04 19:40:44.964  WARN Station T8151P3022xxxxxx - Tried all hosts, no connection could be established
2023-01-04 19:40:44.965  INFO  Timeout connecting to station T8151P3022xxxxxx

Would you share your device with me in case further debugging required? (Yes/No): Not this time

I cannnot help here, please reach out to eufy-security-ws repository but owner would help you to share your devices to debug further or share your debug logs with him

I cannnot help here, please reach out to eufy-security-ws repository but owner would help you to share your devices to debug further or share your debug logs with him

well, there is one proposed solution for disconnections here
https://github.com/bropat/eufy-security-ws/issues/130#issuecomment-1229479950
But if that’s the case than it has a lot to do with add-on networking in HAos so this is issue with add-on not client library, no?

it is rather docker and host networking rather than I can manage through add-on. It is either underlying debian (assuming using supervisor) or Home Assistant OS settings. Add-ons cannot configure this.
You can try to run it using docker with host networking and share your experience with us?


Add automated dependencies upgrading

I would like to make it easier to maintain this package long-term. One way would be to automate dependency upgrades, for specific dependencies.
Here are some of the tools I'm aware of that do this:

https://renovatebot.com/
https://depfu.com/
https://github.com/greenkeeperio/greenkeeper

The right tool for the job would have to be configurable to only target dependencies that are testable/tested in CI, so a passing build with the upgrade is a good sign that the package works with the new version.

Addressed by #34.


no SIRI data after 2022/12/27/12/05

It seems that the latest snapshot in the database is 2022/12/27/12/05 (yesterday at 14:05).
when using this URL:
https://open-bus-stride-api.hasadna.org.il/siri_snapshots/list?limit=10&get_count=false&snapshot_id_prefix=2022%2F12%2F27%2F12%2F05&order_by=id%20asc
I get only 1 result (the one from 12:05, GMT+0).
Was there some crash at that time that prevents SIRI data from later times to arrive?

yes, the MOT SIRI endpoint stopped working.. I emailed them about it


Add MBTI as adopter

Added Mercedes-Benz Tech Innovation to the list of adopters, as we use the project in at least one of our projects.
Benjamin Bertow<EMAIL_ADDRESS>Mercedes-Benz Tech Innovation GmbH. https://github.com/mercedes-benz/foss/blob/master/PROVIDER_INFORMATION.md

/approve

hello @Benny-Git !! Thanks a lot for adding MBTI as an adopter!

@Benny-Git - do you have a slack channel/user that I can reach out to you? :)

@gusfcarvalho Easiest would be via mail, I think.


Am/attributes

Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Sign Gradle CLA
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@chengjinshengtaichanyejituan Are you serious? I think you mistakenly clicked somewhere.


Add experimental support for wrangler dev/publish file.wasm

Allow wrangler to work with simple with WebAssembly programs that
operate on stdin/stdout by generating a js shim that uses
'@cloudflare/wasi'
Example:
cargo new hello_wasm
cd ./hello_wasm
cargo build --target wasm32-wasi --release
wrangler dev target/wasm32-wasi/release/hello_wasm.wasm
curl http://localhost:8787/
Hello, world!

I'm actually struggling to get this working locally, but figured I'd merge this and see if we have the publishes working as expected.

It works! Update example -
cargo new hello_wasm
cd ./hello_wasm
cargo build --target wasm32-wasi --release
npx wrangler@wasm dev target/wasm32-wasi/release/hello_wasm.wasm
curl http://localhost:8787/
Hello, world!


Update mergepartitions-command-tmsl.md

The sample has object attribute in the TMSL script. It does work when executed. SSMS generates the script with target attribute instead. And it works.

@ArmandoLacerda : Thanks for your contribution! The author(s) have been notified to review your proposed change.


go generate ./... failed

I encountered a problem when I tried to create an example adapter following the step in the Mixer Out of Process Adapter Walkthrough. I got the following error when I executed the 'go generate ./...' command.
go list -m: not using modules
go list -m: not using modules
go list -m: not using modules
/usr/bin/docker-current: Error response from daemon: invalid volume spec ":/protos/istio.io/gogo-genproto": invalid volume specification: ':/protos/istio.io/gogo-genproto'.
See '/usr/bin/docker-current run --help'.
mygrpcadapter.go:2: running "/my/workspace/path/mixer_codegen.sh": exit status 125
I think I did exactly the steps described in the article and didn't make any changes. Can someone help me with this? I can't solve this problem only through search engines...
My dev env:
go version: 1.12.9
protoc version: 3.9.1
docker version 1.13.1
I‘m not sure if I can ask question like this here. I'm new to Istio and golang, please excuse me if this is a foolish question...

Could you try to enable go module before running codegen? GO111MODULE=on go generate ./...

@geeknoid is the volume mount error related to the build tools?

@howardjohn I think the problem is that go modules was turned off, resulting in an invalid command line being produced for docker.

Thank you for your reply. @bianpengyuan @howardjohn @geeknoid
As @bianpengyuan said, I have solved this problem after I change GO111MODULE from auto to on. But I found there are some modules I can‘t install them through go get command in my network environment even I have configured the proxy.
Is there any way to manually install the module? I tried to download the related source code from github and run go install to install them but this doesn't seem to work... I see they will generate a '.a' file under pkg/linux_amd64 folder. And I still get the unrecognized exception when I run go build ./... command due to my network environment can't download them directly.
Please excuse me if this is still a boring question...

I found the go edit mod --replace command and I think I need to read the tutorial a few more time...(facepalm)


Sitk example words

Added words to the dictionary taken from the SimpleITK examples.  Also addresses the following issue:
https://github.com/SimpleITK/SimpleITKSpellChecking/issues/13

Is this the right place for the update? The additional dictionary is per repository, so should be updated in the SimpleITK repo. The spellchecker repo additional dictionary file doesn't need to be updated, unless this is relevant for the testing.

Yeah, I dunno.  I was going to update the dictionary in the SimpleITK repo too.

There's no need to update the additional_dictionary.txt file here. This repository's additional_dictionary.txt should be minimal used as part of the spell checker testing. Each external repository is responsible for maintaining its own additional_dictionary.txt. I think you can delete this PR, no need for it unless the additional words are used in the testing.

But then should I just remove the dictionary all together from this repo?

I don't think so, it should be used in the testing so that it is clear that using the additional dict works (so that we know those other repositories can use an additional dictionary).


I use pysource-codegen to find source code where black and ruff differ in the formatting

hi, I wrote pysource-codegen which can be used to generate random python code and I thought that it could be a good idea to use it to compare ruff with black to find source code which gets formatted differently.
here is the first of many examples which I found:
test seed  0
minimize
ruff and black are formatting the following code differently:
async def name_4[**name_0](name_3: {[name_2], name_4, name_0 >= name_0, name_3, name_2}): # type: ignore
    pass

black:
async def name_4[**name_0](name_3: {[name_2], name_4, name_0 >= name_0, name_3, name_2}):  # type: ignore
    pass

ruff:
async def name_4[**name_0](
    name_3: {[name_2], name_4, name_0 >= name_0, name_3, name_2}
):  # type: ignore
    pass

diff:
--- black

+++ ruff

@@ -1,2 +1,4 @@

-async def name_4[**name_0](name_3: {[name_2], name_4, name_0 >= name_0, name_3, name_2}):  # type: ignore
+async def name_4[**name_0](
+    name_3: {[name_2], name_4, name_0 >= name_0, name_3, name_2}
+):  # type: ignore
     pass

ruff version: ruff 0.1.3
black version: black, 23.10.1 (compiled: no)
Python (CPython) 3.12.0
There are many of other examples where ruff and black format differently (different seeds). It is hard for me to decide which formatter formats correctly. I hope it is useful for you to improve ruff format further.
here is the script which I used:
from pysource_codegen import generate
from pysource_minimize import minimize

import subprocess as sp
from difflib import context_diff, unified_diff

def contains_bug(code, diff=False):
    """
    returns True if the code triggers a bug and False otherwise
    """

    black_result = sp.run(
        ["black", "-q", "-"], input=code.encode(), capture_output=True
    )
    black_formatted = black_result.stdout.decode()

    ruff_result = sp.run(
        ["ruff", "format", "--isolated", "-q", "-"],
        input=code.encode(),
        capture_output=True,
    )
    ruff_formatted = ruff_result.stdout.decode()

    if diff:
        print()
        print("black:\n")
        print("``` python")
        print(black_formatted)
        print("```")

        print()
        print("ruff:\n")
        print("``` python")
        print(ruff_formatted)
        print("```")

        print()
        print("diff:\n")
        print("``` diff")
        print(
            "\n".join(
                unified_diff(
                    black_formatted.splitlines(),
                    ruff_formatted.splitlines(),
                    "black",
                    "ruff",
                )
            )
        )
        print("```")

    return ruff_formatted != black_formatted

def find_issue():
    for seed in range(10000):
        print("test seed ", seed)
        code = generate(seed)

        if contains_bug(code):
            print("minimize")
            new_code = minimize(code, contains_bug)

            print("ruff and black are formatting the following code differently:")
            print("``` python")
            print(new_code)
            print("```")

            contains_bug(new_code, diff=True)

            result = sp.run(["ruff", "--version"], capture_output=True)
            print("ruff version:", result.stdout.decode())

            result = sp.run(["black", "--version"], capture_output=True)
            print("black version:", result.stdout.decode())

            return

find_issue()

requirements:
pysource-codegen
pysource-minimize
ruff
black

Sorry for the late response -- realizing I forgot to comment here back when it was filed, but thank you for doing this! I'm going to close to keep the issue tracker actionable, but I appreciate your help.


Image loading order and High RAM usage

Very nice tool for reading webtoons locally but there are a few problems.
First (Fix ordering)
I understand that it gets the images by the OS alphabetic sorting.
But it's very common that chapters are named as
1.jpg ... 9.jpg, 10.jpg, 11.jpg
As of right now (ver1.1). I've printed to order and WebtoonReader actually loads them like.
1.jpg - 10.jpg - 11.jpg - 12.jpg - 13.jpg - 14.jpg - 15.jpg - 16.jpg - 17.jpg - 18.jpg - 19.jpg - 2.jpg - 20.jpg
I fixed this by trying to do a numeric reordering at the Fill function first. So the common cases where the pages are just numbers would be correctly ordered. You just need to import re at the beginning of the file and change the fill function.
def fill(self):
    if os.path.exists(self.path):
        files = [f for f in os.listdir(self.path)]

        search = lambda x: re.search(r'\d+', x)
        if_search = lambda x: int(search(x).group()) if search(x) else float('inf')
        files_sorted = sorted(files, key=if_search)

        # Gets all images from directory and adds to list
        for name in files_sorted:

Second (HUGE RAM USAGE)
This is by far the biggest problem.
This tool is too RAM intensive.
You might not have noticed if you only tried it with small chapters. I myself only noticed it when my PC started to shutdown after trying to open a webtoon folder with 300+ pages.
Loading a 100 pages 100 mb sized webtoon is actually consuming 8.5 Gigs of RAM
I'm not sure how Tkinker handles it canvas. But it might be necessary to dynamically load the pages to solve this issue.
I don't think there is an easy way out of this.
Third (Invert mouse drag)
Just a suggestion. Maybe add a invert mouse drag options.
I actually prefer to scroll upwards to I changed it manually the yview to -deltaY
def update_scroll(self, event):
    deltaX = event.x - self._starting_drag_position[0]
    deltaY = event.y - self._starting_drag_position[1]
    self.canvas.xview('scroll', deltaX, 'units')
    self.canvas.yview('scroll', -deltaY, 'units')
    self._starting_drag_position =  (event.x, event.y)

Edit: PS
I also deactivated the load last chapters feature here.
As it takes a while to load big chapters, the programs appears stuck before you can even select the chapter you actually want to read, so I personally don't like this feature. An option to disable this might be nice for someone who doesn't know how to change the code.
And maybe add a progress bar to show how far along the image processing is?
I put a print on the console for myself here just to know how far along it is.
For example. A 35mb, 95 pages compressed chapter takes about 20-30 seconds to load here.

Hello, thank you for the feedback and issues found.
In the latest release, I've fixed the image loading order, to "natural sorting", which is what you described above. I did this for chapter loading but apparently not for image loading. This issue has been fixed.
For the large RAM usage, I've made the chapters now load 5 images at a time, instead of all them at once, saving memory usage of python having to store in memory all the images.  I've not yet created the feature to scroll backward to load the previous 5 images, but that will be implemented soon. For now, this SHOULD work, and will also help with your edit of loading last chapters taking a long time. Since the program now only loads 5 images at a time, I did not add an option to not load previous chapters since this issue shouldn't exist now due to the image load cap.
As for your final issue, I've added an option to the settings menu for inverted mouse drag. In addition to this, I've also added the automatic canvas update feature, so now any settings changed in the menu will update without the need to reload the program.
Thank you for your documentation an issues, let me know if there's any other problems that you come across.


Internal Script Error - opcode #12 accessing enum

Godot version:
Godot 3.2.3, Windows 64-bit
OS/device including version:
Windows 10 Pro, version 20H2
Issue description:
When attempting to run the project, I get an internal script error when I attempt to compare an int parameter to an enum:

Apologies if I'm just doing something wrong - the error message said to report, though, so I figured I'd do that.
Steps to reproduce:
Run the included project.
The debugger should break on TerrainData.gd:19
Minimal reproduction project:
InternalScriptErrorOpcode12.zip
Can also find the project here, it's very nascent and should hopefully be relatively straightforward to browse through. . .: https://github.com/jcsato/Bunker-Godot

For additional color, I was previously on Godot 3.2.1 and was getting the same error on the same line, but it said opcode #9. Did my due diligence upgrading to 3.2.3 and on that version I get opcode #12 instead.

For additional color, I was previously on Godot 3.2.1 and was getting the same error on the same line, but it said opcode #9. Did my due diligence upgrading to 3.2.3 and on that version I get opcode #12 instead.

In debugging, the debugger didn't seem to know what the TERRAIN_TYPES enum was. I changed things up to put TERRAIN_TYPES into its own script (Const) and autloaded it. When I did that and changed the code to e.g.
if type == Const.TERRAIN_TYPES.LIGHT:

it compiled without issues.
Based on that, I think what happened here is that my enum/const wasn't accessible to the Terrain class for some reason, and the compiler broke trying to figure out that error.
. . .Maybe. Either way, hope that's at least somewhat helpful.

In debugging, the debugger didn't seem to know what the TERRAIN_TYPES enum was. I changed things up to put TERRAIN_TYPES into its own script (Const) and autloaded it. When I did that and changed the code to e.g.
if type == Const.TERRAIN_TYPES.LIGHT:

it compiled without issues.
Based on that, I think what happened here is that my enum/const wasn't accessible to the Terrain class for some reason, and the compiler broke trying to figure out that error.
. . .Maybe. Either way, hope that's at least somewhat helpful.


[Doc] Upgrading+from+a+Previous+Release

Issues
1.please explain this in a bit details, at first glance its a bit confusing
Copy the following configuration files from the <NEW_IS_HOME> and paste it in the copy of the <OLD_IS_HOME> in the relevant path.
2.Under "Configuration changes: Click here to view the table.."
"carbon.xml file stored in the <IS_HOME>/repository/conf/identity folder." but the carbon.xml is not inside the identity folder but the repository/conf folder
3.The document [1] does not discuss about moving any required webapps which could be a required step.
[1]https://docs.wso2.com/display/IS550/Upgrading+from+a+Previous+Release
4.We need to mention changed on api-manager.xml
5.From IS-KM5.3.0 to IS-KM5.5.0 just moving the user-mgt.xml wont work as the below property needs to be added.
 <Property name="UsernameWithEmailJavaScriptRegEx">^[\S]{3,30}$</Property>

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Always self-update the SDK tools before installing build tools

This is more or less a simplified version of PRs #87, #44, #41, #37, in the sense that it always self-updates the SDK tools before installing the build tools, and does so after resolving the platform tools. The latter is necessary as the SDK tools depend on the platform tools, and resolving the SDK tools first would result in an error like
Skipping 'Android SDK Tools, revision 24.4.1'; it depends on 'Android SDK Platform-tools, revision 23.1 rc1' which was not installed.

This PR fixes a bunch of issues, mainly issue #43, but also issue #101 and related ones.

Hi,
I'm using this PR version in a project with multiple subprojects each is android library and one is an app. It seems that the plugin downloasd Android SDK tools 24.4.1 again and again between the different subprojects and between subsequent builds.
It seems that some kind of "already installed" mechanism isn't in place.
Thanks

Confirmed. I was assuming the update command itself to be smart enough to only do the download if there actually is something to update. I'll look into it.

@pelegb Would you mind trying with the updated PR?

@pelegb Would you mind trying the force-pushed update to this PR?

@sschuberth it doesn't seem to solve the issue. The tools are being updated in each subproject and in each build.
Thanks for the quick response.

@pelegb Thanks for checking, I believe to have found the issue. Please try again with the new force-pushed version.

@sschuberth I'm receiving "No SDK tools available for update." in subsequent builds. Strange.

I think I found the issue, you need to use listAll instead of listUpdate android command because once installed the tools don't appear in the list anymore

Why is that an issue? I'd say it works as expected. Once the latest SDK tools have been installed, they naturally are not available for update anymore.

Your correct. Thanks

So can you confirm it's working correctly for you now?

Yes

Great, thanks for checking!

Closing this as the Android Gradle plugin 2.2.0 has this feature built-in and this whole project is deprecated now.


add part6 metadata

First pass inclusion of a specific part on metadata:

WTH
WCMP2
WNM

We will have to refine section numbering and formatting, but this can follow in a subsequent PR.
Note that this PR needs to be rebased once #48 is merged (will do).

Status: we need to confirm whether this PR should be put forth in the guide or as a separate document as discussed at the W2AT meetings last week.

Closing, given the specifications will be moved to the WIS Manual as an annex.


SSR isn't working

I changed something and now SSR is broken....why?!

fixed removing socket.io (temporary)


how can i use it with react

how can i use it with react ?
i can not configure like simple editor react
can u see my question
https://stackoverflow.com/questions/74764111/i-can-not-configure-easymde-rtl-into-react
i want use it in my application instead of simple editor react
becasue does not have rtl
but i can not configure code at all this codes all aboyt javascript but my application is react i need code like this
<SimpleMDE value={body} onChange={setBody} required />
but for easymde all is unclear and nothing is work please help me understand

@am0029
You can use react-simplemde-editor

i asked they tell to me their mde is not rtl . i find jodit mde . but i still have problem with jodit


Downwards compatibility to Android 4.4 at least

It would be great to see this project being compatible with at least KitKat or even Ice Cream Sandwich. I took a lot of inspiration from the Google I/O app's source code and I am happy to see a new demo app like this. But fact is: today, we still need compatibility at least for an Android 4.x version, too!
Thanks!

Sorry, already existed....


Express json output tags time and times as seconds.

The json specification says that 'time' and 'times' should be expressed as seconds.
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/json_test_results_format.md

Done, I think decimal should work fine.

Thanks, please send me a screenshot of reasonable test times if it works! :)


changelog-json序列化数字时，将10.000000序列化为科学计数法 1E+1 了

changelog-json内部也是依赖flink-json组件，可否把flink-json的json.encode.decimal-as-plain-number属性在changelog-json也支持？

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!


There is no doc for NU1702

There is for NU1701 and there is for NU1703.
But not for NU1702 which reads as following:
Warning
NU1702
ProjectReference 'MyProject.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v3.1'. This project may not be fully compatible with your project.

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

ID: 377ae860-386f-149f-c5e0-410d3aa89dbc
Version Independent ID: 2b145147-fd3f-d1aa-2694-071a31542d9a
Content: NuGet Warning NU1701
Content Source: docs/reference/errors-and-warnings/NU1701.md
Product: nuget
GitHub Login: @zhili1208
Microsoft Alias: lzhi

Hey @abatishchev,
I can't provide an ETA right now, but we're trying to improve our cadence on solving issues such as this. cc @JonDouglas


Do not run macos process renaming if debugger is loaded

Description
For some time, I have had problems with running napari under the debugger on macOS (breakpoint is not working, for example).
Partially it was caused by a problem reported in #6432 (direct breakepoint invoke). But breakpoints from IDE were not working because of running the second process under the hood.
This PR adds checks if debugger (pdb or pydevd) is already loaded and then does not start a separate process.
This PR will simplify life of persons who develop napari plugins on macOS.
The side effect of this PR is that it will disable renaming for persons who have npe1 version of napari-console (version <0.0.9)

I was hoping this would solve my long-term issue of breakpoints not working whenever qt is involved, but it doesnt :( Anyways, nothing breaks here on linux.

I was hoping this would solve my long-term issue of breakpoints not working whenever qt is involved, but it doesnt :( Anyways, nothing breaks here on linux.

you mean calling breapoint() in code?

nothing breaks on windows either here, but don't have a mac to test.

After a brief chat with @Czaki, turns out my problem is actually solved by https://github.com/napari/napari/pull/6436#pullrequestreview-1727045176 :D


Barcode patterns don't seem to scan

The 3x3 barcode patterns don't seem to be working anymore, even when trying with your provided examples.

me too.
I tried to use custom pattern and barcode. But it doesn't work with latest aframe-ar.js.
No matter I specified type or preset, a-maker only recognized "hiro" marker.
It seems latest release is wrong to switch marker pattern....
Is there any solution?

Looking at issue #54 it looks like this was fixed and then broken again. 3x3 barcodes are working for me in the July 1 commit ( e9aea5deb0ee010ece3e2ab07d84b587c374b66b ) but no longer work from the next commit ( bb72f755f85d253fdac482b59309fe071eeb099b ) on July 5. I have been trying to see if I can find why they stopped working, but a lot of code changed in that commit and I haven't been able to get to the bottom of it. (testing on the multiple-independent-markers.html example and my own test scene)

a quick fix for me was use the version ( https://github.com/jeromeetienne/AR.js/commit/e9aea5deb0ee010ece3e2ab07d84b587c374b66b )  and yes there is a lot of code changed between these two commits.

Apparently  #260 fixes this issue:
Get latest version of AR.js and change barcodeValue to value
<a-marker type='barcode' value='5'></a-marker>
Please get back to us if this is still not working for you, until then the issue remains closed.

@ZoltanVeres  Confirming #260 fixes the issue in the 'dev' branch where it was merged to, is the intention to merge this back into master now?

I've tried master and dev branches, but none of them works with barcode markers. As other users said, the commit ( e9aea5d ) works.

Hi @clavis-magna , yes this will be merged back to master. Not sure when tough, this is for @jeromeetienne  to decide, since he is more qualified to make this decision then me.

Hi @dburongarcia, Can you please open up an issue with some more details, please also state that this happening on the dev branch as well, also if you provide a steps to reproduce that will be great!

Commit 7cb6ea5 broke it.

If we  use  aframe-ar, where would this have to be fixed? thank you

I can't make barcode markers working with releases 1.5.5 or 1.6.0 please someone help

The AFrame barcode functionality was broken in some later release. An easy way to get using it is to download the version of AR.js (incl. the Aframe library) found here: https://github.com/jeromeetienne/AR.js/archive/e9aea5deb0ee010ece3e2ab07d84b587c374b66b.zip


Fix warning on tests with init constructor

Currently, pytest reports skipping tests with __init__ constructor, see failed build:
PytestCollectionWarning: cannot collect test class 'TestSchemaElement'
because it has a __init__ constructor
(from: tests/unit_tests/data_science_utils/schema/test_identifier.py)

It turned out that no actual test cases that had been skipped. Instead, the warnings were caused by helper classes starting with name Test which are only used in actual test cases. In order to suppress the warnings the classes only need to contain a class attribute __test__ = False , see stackoverflow.
This affects the following classes

TestSchemaElement from: data_science_utils/schema/test_identifier.py
TestQueryHandler from: query_handler/test_query_handler_interface.py
TestOutput from: query_handler_runner/test_mock_query_handler_runner.py
TestSetup from: udf_communication/peer_communication/test_abort_timeout_sender.py
TestSetup from: udf_communication/peer_communication/test_acknowledge_register_peer_sender.py
TestSetup from: udf_communication/peer_communication/test_background_peer_state.py
TestSetup from: udf_communication/peer_communication/test_connection_establisher.py
TestSetup from: udf_communication/peer_communication/test_connection_establisher_builder.py
TestSetup from: udf_communication/peer_communication/test_connection_is_ready_sender.py
TestSetup from: udf_communication/peer_communication/test_payload_handler.py
TestSetup from: udf_communication/peer_communication/test_payload_message_sender.py
TestSetup from: udf_communication/peer_communication/test_payload_receiver.py
TestSetup from: udf_communication/peer_communication/test_payload_sender.py
TestSetup from: udf_communication/peer_communication/test_register_peer_forwarder_is_ready_sender.py
TestSetup from: udf_communication/peer_communication/test_register_peer_sender.py
TestSetup from: udf_communication/peer_communication/test_synchronize_connection_sender.py
TestSetup from: udf_communication/peer_communication/background_thread/connection_closer/test_connection_closer.py
TestSetup from: udf_communication/peer_communication/background_thread/connection_closer/test_connection_closer_builder.py
TestSetup from: udf_communication/peer_communication/background_thread/connection_closer/test_connection_is_closed_sender.py
TestJSONQueryHandler from: udf_framework/test_json_udf_query_handler_factory.py
TestJsonUDFQueryHandlerFactory from: udf_framework/test_json_udf_query_handler_factory.py

Done in the scope of #174 / #182


Toggl button not showing on Jira issue popup

OS version: Windows 10
Browser version: Chrome, 76.0.3809.100
Extension version:  1.40.7

Relevant integration (if any): Jira

🐛 Describe the bug

The Toggl Button is showing on the story window but not on the popup.
Story window

Popup

Expected behavior
Button should show on both windows/pages

Steps to reproduce

Not reproduced yet.
Other details or context
User case

case

Hey there! I'd like to work on this, if it isn't already assigned :) @dooart @nidarasheed

Hey, @stevenwally! Nobody is working on this yet. Feel free to submit a PR!

I wasn't able to reproduce the issue, the button appears as expected on the issue dialog:

@nidarasheed can you find out if this is still happening on their end?

@ApocalypticFish I couldn't reproduce their issue either - the button shows up in the sidebar too, with the next gen setting on:

Can you find out if it's ok for them now?

@lise-toggl I've messaged both users :) I'll let you know if they get back to me.

Users have reported that the button is showing so closing this issue :tada:
I couldn't reproduce the multiple buttons issue either, if you get more information from the user on how to reproduce it (a recording would be :ok_hand:) please open a new issue for that one :)

One user replied with the following

Its on the Backlog page of Jira. I have the new issue view enabled. It happens with most every field that I edit there. I hope this helps!


how to get value of the different scope atom outside the scope

let say I am creating a list of of something. Each thing has a scope. In the parent I want to access all the atom value.
is it possible? And if it is not, what do you recommend in that use case?

Sorry, I cannot get your point clearly. Would you like to share a simple example? You can use https://codesandbox.io/s/react-new as a starter.
Sounds like atoms in atom trick can work, but I still need clearer descriptions. The point is, atom itself is a config that can be shared between components.
References:

https://jotai.org/docs/guides/composing-atoms
https://jotai.org/docs/guides/atoms-in-atom
https://jotai.org/docs/recipes/large-objects


Move QA4 to the new vlan range

As part of the hardware relocation the vlan ranges need to be adjusted.
QA now has a range of 3x 16 vlans starting from vlan 800. We'll start
by moving qa4 to the new range of VLAN 832-847.

I guess this can be closed because we go back to 700 range. See wiki: https://wiki.microfocus.net/index.php/SUSE_Cloud/qa/vlans

@kbaikov updated to the new ranges


Support asciidoc tags for reusing module content

Current behavior
Any module content that is reused in the source uses the // tag: ... surrounding syntax, and these portions are not converted to the expected include by the splitter.
Example 1: The following section in the source creating-running chap is retained exactly as is after the split, instead of being converted to an include as expected:
// tag::ref-kogito-app-examples[]
[id='ref-kogito-app-examples_{context}']
== Example applications with {PRODUCT} services

{PRODUCT} includes example applications in the https://github.com/kiegroup/kogito-examples[`kogito-examples`] repository in GitHub.
....
// end::ref-kogito-app-examples[]

Example 2: The following include in the source process-services chap, which is an include that points to the reused/tagged module content, is duplicated exactly as is over to the target instead of being converted to a standard include:
include::{asciidoc-dir}/creating-running/chap-kogito-creating-running.adoc[tags=ref-kogito-app-examples]

Desired behavior
Convert tagged module content in the source like this:
// tag::ref-kogito-app-examples[]
[id='ref-kogito-app-examples_{context}']
== Example applications with {PRODUCT} services

{PRODUCT} includes example applications in the https://github.com/kiegroup/kogito-examples[`kogito-examples`] repository in GitHub.
....
// end::ref-kogito-app-examples[]

To a standard include in the target like this:
include::modules/creating-running/ref-kogito-app-examples.adoc[leveloffset=+1]

And convert an include for the reused module content in the source like this:
include::{asciidoc-dir}/creating-running/chap-kogito-creating-running.adoc[tags=ref-kogito-app-examples]

Likewise to a standard include in the target like this:
include::modules/creating-running/ref-kogito-app-examples.adoc[leveloffset=+1]

I am unsure what you want in example 1. That should be the source of the tag. I can't convert that to an include because it won't go anywhere, If I'm understanding correctly, what you're asking for would be like telling something to include itself, but without any reference to what it is. Maybe we need to jump on a call quickly to get on the same page.

Meaning, that module section in the source is supposed to be converted to a module file and then replaced with an include as usual during the split, but because it’s surrounded by the tags (in order to enable it to be reused elsewhere via include), the splitter apparently doesn’t convert it to a module file and nor replace the content with the module include. Just retains that module section text as is.
If still unclear, happy to chat more. Sorry for the confusion.

Huh. Okay, thanks. I'll take a look.

Looking at this a bit more, it looks like this is gated behind a preprocessor ifdef line. Could you try removing that ifdef (and corresponding endif) and seeing if it works as intended? If it does, there's a new feature I added a couple of days ago to pass attributes to asciidoctor (using -a / --attributes KEY=VALUE). You could give that a shot passing KOGITO-ENT=true with the -a flag.

@LightGuard , ah, that would actually explain too why those "Additional resources" sections and an artifacts include didn't make it over, since they too are ifdefed.
Yep, that was it. Just confirmed. Cool, so sounds like will be resolved by passing the attributes variable now. Thanks Jason.

Perfect! Feel free to close the issue.
Sent from my iPhone

On Jun 22, 2020, at 16:48, Stetson Robinson<EMAIL_ADDRESS>wrote:

@LightGuard , ah, that would actually explain too why those "Additional resources" sections and an artifacts include didn't make it over, since they too are ifdefed.
Yep, that was it. Just confirmed. Cool, so sounds like will be resolved by passing the attributes variable now. Thanks Jason.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@LightGuard , well, before I close, this issue is more generally about converting both the tagged portion (Example 1 above, which sounds like will be resolved with the attribute flag) and the corresponding include in the source that needs to be converted during the split to the corresponding include for the assembly (Example 2 above). So the use of tags has those to aspects to it, both of which require some handling by the splitter.
So in short, the behavior with tags during the split needs to go like this:

Delete the tag beginning and end that surrounds the module when the module is split (so you don't end up with the surrounding tags in the split module file).
Replace that tagged module content with the corresponding include in the generated assembly as usual (sounds like this step will be taken care of).
Convert any existing includes in the source that rely on this tag (point to it for reuse) to the corresponding include in the split version. See Example 2 above.

I walk through this as well in the "Desired behavior" portion above, with examples of what the tagged portion and the source include should be converted to. Let me know if it's unclear and we can jump on a quick call.

Two and three should be done. I don’t see a reason to do one, and it could potentially break other tagged regions that don’t reference a section. Tagged sections are delimited with comments. It might be a little noise in the source, but won’t affect the output.

@LightGuard I guess that's true. I really don't see anyone using tags for anything other than reuse in the source, and I did want to cut down on the noise in the split version, but I suppose it's not good to make those assumptions about tags long term.
Closing.