[Swagger 2.0] Missing definitions are not validated by Swagger Parser

Swagger Parser does not detect or validate swagger 2.0 definitions with missing response schema definitions. The following code snippet has been used to validate the swagger definition and it fails to identify validation errors in any Swagger 2.0 definitions with missing schemas. A sample definition can be found here [1]. But the swagger editor successfully validates these definitions and points out the error.
SwaggerParser parser = new SwaggerParser();
parser.parse(swaggerDefinition);

[1] Sample
swagger: '2.0'
info:
  version: 1.0.0
  title: Swagger Petstore
  description: A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification
  termsOfService: http://swagger.io/terms/
  contact:
    name: Swagger API Team
  license:
    name: MIT
host: petstore.swagger.io
basePath: /api
schemes:
  - http
consumes:
  - application/json
produces:
  - application/json
paths:
  /pets:
    post:
      description: Creates a new pet in the store.  Duplicates are allowed
      operationId: addPet
      produces:
        - application/json
      parameters:
        - name: pet
          in: body
          description: Pet to add to the store
          required: true
          schema:
            $ref: '#/definitions/NewPet'
      responses:
        '200':
          description: pet response
          schema:
            $ref: '#/definitions/Pet'
        default:
          description: unexpected error
          schema:
            $ref: '#/definitions/ErrorModel'
definitions:
  NewPet:
    type: object
    required:
      - name
    properties:
      name:
        type: string
      tag:
        type: string
  ErrorModel:
    type: object
    required:
      - code
      - message
    properties:
      code:
        type: integer
        format: int32
      message:
        type: string

Any update on this?

Facing the same issue .  I need these errors as well

@tgtshanika Did You managed to resolve this problem?


Capability of seeding unique hash values for aot compilations

as far as I know, the hash values in the filenames are based on the file content itself.
However, I have recently came across an issue that our font files were cached with incorrect content-types. It's more unfortunate that those files were set a year max age of public cache headers.
so normally our users can't simply reload the font files with correct content-type headers by refreshing the page specifically our mobile users.
From the angular cli itself, there seems not be no options seeding the filename hash so it's not an easy task to change the built filenames as basically the font itself will rarely change.

Hi @nealyip, this seems to be similar to an old PR https://github.com/angular/angular-cli/pull/6500 which was closed and un-merged.
Let's me take this with the rest of the team to fully understand why it was closed as it seems that there is no explanation in the linked PR.

Heya @nealyip, I understand that it looks like it would be rather straightforward to address the cache mishap by changing the cache algorithm on the build system.
This isn't a feature we're thinking of adding though. We considered it in https://github.com/angular/angular-cli/issues/6513 (the original issue for #6500), but that use case wasn't compelling enough. I don't think the particular use case in this issue lends more weight to the argument either. For us, we'd incur the cost of developing and maintaining a feature that doesn't seem to be a significant value add.
But it also sounds like it could be addressed on the project side by changing the content of the font files, or removing hashing from the media files. Another approach is to customize the build setup with https://github.com/manfredsteyer/ngx-build-plus. These approach might have pitfalls, and there might be better approaches, but we'd need a more compelling use case to consider adding the feature to Angular CLI itself.


Problem uploading large Maven Artifacts to Nexus Repository Mangaer (3.29.0) with Traefik (2.4.2) as Reverse Proxy

Do you want to request a feature or report a bug?

Bug

What did you do?
I want to use Traefik (2.4.2) as Reverse Proxy for Nexus Repository Manager (3.29.0). Both Applications are running as Docker-Containers on the same host.
What did you expect to see?
Everything works fine, but uploading large maven artifacts (100MB) fails.
What did you see instead?
Everything works fine, but uploading large maven artifacts (100MB) with Jenkins fails.
In the traefik log ther is the message "vulcand/oxy/buffer: error when reading request body, err: local error: tls: record overflow". We don't find more informtaion about this error ... The Jenkins-Pipeline (wich wants to upload to the maven-snapshot reporitory with maven-deploy-plugin in version 3.0.0-M1) fails with: Caused by: javax.net.ssl.SSLException: Broken pipe (Write failed).
For testing, we changes Traefik to Apache (as Reverse Proxy). Now there is no problem - uploading large maven artifacts is working.
Additional there are some warnings "Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel." in the log. It's not clear if there is a connection between the error and the warning.
Output of traefik version: (What version of Traefik are you using?)
Version:      2.4.2
Codename:     livarot
Go version:   go1.15.7
Built:        2021-02-02T17:20:41Z
OS/Arch:      linux/amd64
What is your environment & configuration (arguments, toml, provider, platform, ...)?
services:
traefik:
restart: unless-stopped
image: nexus:10081/traefik:2.4.2
container_name: traefik
command:
- "--providers.file.directory=/etc/traefik/dynamic"
- "--global.sendanonymoususage=false"
- "--global.checknewversion=false"
- "--log.level=INFO"
- "--accesslog=true"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.websecure.http.middlewares=default-security,redirect-to-intra-de"
- "--accesslog.filepath=/log/traefik-access.log"
- "--metrics.prometheus=true"
If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
time="2021-02-10T14:32:32Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:49Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:50Z" level=error msg="vulcand/oxy/buffer: error when reading request body, err: local error: tls: record overflow"
time="2021-02-10T14:32:50Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:50Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:50Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:50Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:50Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."
time="2021-02-10T14:32:50Z" level=warning msg="Upstream ResponseWriter of type *headers.responseModifier does not implement http.CloseNotifier. Returning dummy channel."

Here is the Nexus docker-compose.yml. The Middleware "limit" is not helping ...
nexus-docker-compose.yml.txt

Thank you for spending time reporting the issue.
I’ve tried to replicate the issue you were facing by using the same versions of the applications:

traefik:2.4.2
sonatype/nexus3:3.29.0

I deployed those applications on Docker Swarm as well as on Kubernetes provisioned through K3D. In both examples I was able to upload files larger than 100Mb, even the 1Gb file was successfully uploaded to Nexus.
Additionally, I did another test by installing Nginx with the DAV module enabled that allows uploading files via HTTP. In that example, the file large than 100Mb was correctly uploaded.
There are no extra configuration changes required on Traefik in order to support file uploading.
I attached Docker (traefik-nexus.yaml) and Kubernetes (k8s-deploy.yaml) configuration files that can be helpful with deploying your environment. In the case of Kubernetes, the Traefik Proxy was deployed via Helm Chart with additional values related to certificate resolvers configuration.
If you are still experiencing that issue please provide much more details concerning your running environment and we will try to support you.

We found the cause of the Problem. There is a Java-Bug (https://bugs.openjdk.java.net/browse/JDK-8225714) in der Java-Version which executes the Jenkins-Job. After Updating Java to a newer Verison everything works correct.
I think, you can close this issue.
Thank you.


New Button & Input Components

https://freedcamp.com/view/2956183/tasks/panel/task/40270476

Alert Component

Bid Input Component

Button Component

Button Add Component

Button Close Component

Input Component

Link Component

[text-${variant}]: variant, We can customize the text properties

Modal Component

Icon Button Component

@muhadovic keep in mind to add task number to your branch name.

@muhadovic I don't see the buttons below:

@muhadovic can you help me find this kind of button?


Upgrade JUnit 5 5.11.2 -> 5.11.3

This PR contains the following updates:

Package
Type
Update
Change

JUnit 5 (source)
import
patch
5.11.2 -> 5.11.3

Release Notes

junit-team/junit5 (JUnit 5)
v5.11.3: JUnit 5.11.3
JUnit 5.11.3 = Platform 1.11.3 + Jupiter 5.11.3 + Vintage 5.11.3
See Release Notes.
Full Changelog: https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade JUnit 5 5.11.2 -> 5.11.3

See:
- https://junit.org/junit5/docs/current/release-notes/
- https://github.com/junit-team/junit5/releases/tag/r5.11.3
- https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3


Configuration

Added a config parser to easily allow custom file extensions or remove default ones.

Thanks for the help though I implemented a config file using a json file.


add CN translation

Update quality modules completed

Hi, I have issued a release with your localization on the mod portal.
And what is your factorio nickname? I will mention you in my thanks

你好，我在 mod 门户上发布了一个包含你的本地化版本的版本。 你的异星工厂昵称是什么？我会在致谢中提到你

The name is the same. thank you! but it's not necessary. If there are any other changes, please tell me


Could pyspider run without webui?

I just wonder if pyspider can be run without webui.
In detail, if I want to write an web application which takes user-specified element as input and only crawl based on what user tells, could I use pyspider to achieve this?
If possible, how to do that?

Of course.
You can write your own web app to override the default webui.
For example, generate a script as a project which users concern in your front-end, then communicate with pyspider back-end.


Examples in README didn't work

Hello,
As in the README, there has

Now we want to train a model. Edit the example lstm config to say export TRAIN_FILE=train-mtx.torch and start the model training : ./bin/train/train-model.sh 0 bin/train/configs/lstm-example. This will save a model to models/lstm-example/*-model every 3 epochs.

In fact, follow this command won't generate the models trained, I believe we should add the $SAVE_MODEL to 1 to enable save the MODELs

You're right, I went ahead and fixed this. Thanks for pointing it out.


Understand String Immutability - Test not passing

Challenge Understand String Immutability has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
// Setup
var myStr = "Jello World";

// Only change code below this line

mystr = "Hello World"; // Fix Me

![image](https://cloud.githubusercontent.com/assets/9355984/12980921/81787132-d104-11e5-9fff-000569384a55.png)

you can find in  https://code.google.com/archive/

Check your camel case in the variable name.

I'd also like to recommend posting your questions first in the main chat room or the HelpJavaScript room.

Okay. I will triple check before i log anymore defects. Wrong timings and decisions made by  me. Thanks again.

http://stackoverflow.com/questions/2222292/optimize-this-slow-linq-to-objects-query?answertab=active

I had a bug with this. But I was able to pass by making it a array. Please see below
// Setup
var myStr = "Jello World";
// Only change code below this line
var myStr = "Hello World";
var myStr1 = ["Hello World"];
myStr1[0] = "H"; // Fix Me

// Setup
var myStr = "Jello World";
// Only change code below this line
myStr = "Hello World";
// Fix Me
here you go.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1849 ms

Resolved: Bofrost.lu performance has improved in 8719df1 after 28 minutes.


Automatic PR from RestAPI-PR398

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/398

Coverage decreased (-0.006%) to 52.14% when pulling c2b564da0432910c00eec9e70b1117fee2954382 on AutorestCI:RestAPI-PR398 into d77e054df8a17b5b8130b9a0071e49c377a29934 on Azure:dev.


Add composer fields to silence PHPStan

Addresses the following warnings:
16.51 > phpstan analyse
16.82 Note: Using configuration file /opt/composer/v1/phpstan.neon.
18.22  0/6 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0% 6/6 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
18.31
18.31
18.31  [OK] No errors
18.31
18.73 ./composer.json is valid for simple usage with Composer but has
18.73 strict errors that make it unable to be published as a package
18.73 See https://getcomposer.org/doc/04-schema.md for details on the schema
18.73 # General warnings
18.73 - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
18.73 # Publish warnings
18.73 - name : The property name is required
18.73 - description : The property description is required

As noted, these are not strictly needed given that we aren't publishing packages / libraries, but it's always nice to silence warnings for less visual noise.
Fix https://github.com/dependabot/dependabot-core/issues/5695

Complains that I need to regenerate the composer.lock file, but I can't find a way to do that w/o bumping a bunch of libs... when all we need is a single hash updated. 🤦
I'll open a separate PR to run composer update to pickup the other changes first.

@jeffwidman use composer update --lock to only update the lockfile, but not the libraries.
See: https://getcomposer.org/doc/03-cli.md#update-u

Thanks, I did try composer update --lock, but it still resulted in bumping the transitive dependencies which are only listed in the lockfile... what i want is to only regenerate the hash that composer uses to validate that composer.json and composer.lock are in-sync... w/o bumping any library versions at all, not even transitive ones.

@jeffwidman
With a fresh checkout of this branch and a composer install to install the dependencies from the current composer.lock file, the result of a composer update --lock is as I expected.
v1/composer.lock

Only the content-hash is changed

v2/composer.lock

The content-hash is changed
A support section is added to some of the dependencies (when run with the composer v2 executable)

In the vendor/composer directory composer keeps a file (installed.json) that contains the actual versions of the installed dependencies.
If you have updated dependencies in a different branch, than that is in the installed.json.
If you perform a composer install the installed.json file is updated to the situation from the composer.lock.
My guess is that you did not perform a composer install before executing the composer update --lock while the installed.json from the vendor directory was updated in one of the other composer related branches.

My guess is that you did not perform a composer install before executing the composer update --lock while the installed.json from the vendor directory was updated in one of the other composer related branches.

Thanks @stefangr that was exactly it!


chore(ci): add release-please config and action

Will create pr's like this https://github.com/sekwah41/pomatez/pull/1 where when we merge or commit it will update with the latest info as well as generate changelogs going forwards.

I will also edit some of the commit messages relating to the website or where they do not fully follow the conventional commits style and force push so it generates the correct change log.


Nested TextShower

Nested textShower - TextShower within textShower. It would be nice to have an enhancement to support "nested textShower".
Working currently-

A
A Desc
B
B Desc
C
C Desc

Enhancement-

A

a1
a1 Desc
a2
a2 Desc
a3
a3 Desc

B
B Desc
C
C Desc

Hello,
I'm currently very busy, and I am not sure I will update this plugin soon.
If you want, you can try to fix this and make a pull request.

I got nesting to work on my own setup by changing the two lines
this.titleElement = $(box).find($('.TextShower-title'));
this.textElement = $(box).find($('.TextShower-text'));

to
this.titleElement = $(box).children(".TextShower-title");
this.textElement = $(box).children(".TextShower-text");

though this additionally required changing my html structure to have TextShower-title be a direct descendant of TextShower-box, e.g.

Title here.

        Text here.

I have the first level of TS boxes styled separately as well, using CSS selectors with >, i.e.
body > .TextShower-box { }
body > .TextShower-box > .TextShower-title { }
body > .TextShower-box > .TextShower-text { }


pipenv --support crashes | anaconda3-5.0.1 is not a python version

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
pyenv versions

  system
* 3.7-dev-debug (set by /home/jimmy/.pyenv/version)
  anaconda3-2018.12
  anaconda3-2018.12/envs/devel
  anaconda3-5.0.1

pipenv --support

Expected result
Describe what you expected.
Actual result
<details><summary>$ pipenv --support</summary>

Pipenv version: `'2018.11.26'`

Pipenv location: `'/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv'`

Python location: `'/home/jimmy/.pyenv/versions/3.7-dev-debug/bin/python3.7'`

Python installations found:

Traceback (most recent call last):
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/python.py", line 112, in get_versions
    version = PythonVersion.parse(p.name)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/python.py", line 359, in parse
    version_dict = parse_python_version(str(version))
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/utils.py", line 86, in parse_python_version
    raise InvalidPythonVersion("%s is not a python version" % version_str)
pipenv.vendor.pythonfinder.exceptions.InvalidPythonVersion: anaconda3-5.0.1 is not a python version

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/bin/pipenv", line 10, in <module>
    sys.exit(cli())
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1114, in invoke
    return Command.invoke(self, ctx)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/cli/command.py", line 146, in cli
    get_pipenv_diagnostics()
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/help.py", line 33, in get_pipenv_diagnostics
    python_paths = finder.find_all_python_versions()
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 122, in find_all_python_versions
    python_version_dict = getattr(self.system_path, "python_version_dict")
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 54, in system_path
    ignore_unsupported=self.ignore_unsupported,
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 451, in create
    ignore_unsupported=ignore_unsupported,
  File "<attrs generated init 75e45f144e3d5510d54dd5fca6730b98fa0220a9>", line 38, in __init__
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 116, in __attrs_post_init__
    self._setup_pyenv()
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 196, in _setup_pyenv
    version_glob_path="versions/*", ignore_unsupported=self.ignore_unsupported
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/python.py", line 156, in create
    sort_function=sort_function, version_glob_path=version_glob_path)
  File "<attrs generated init df9aff62f78d11cebb5c9958de3903ddd1cf98f8>", line 17, in __init__
  File "/home/jimmy/.pyenv/versions/3.7-dev-debug/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/python.py", line 114, in get_versions
    entry = next(iter(version_path.find_all_python_versions()), None)
AttributeError: 'NoneType' object has no attribute 'find_all_python_versions'

Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).

Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
If you're on macOS, run the following:
$ pipenv --support | pbcopy

If you're on Windows, run the following:
> pipenv --support | clip

If you're on Linux, run the following:
$ pipenv --support | xclip

It seems fixed in the latest git version.
Pipenv version: '2018.11.27.dev0'


binaryen: 114 -> 116

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/WebAssembly/binaryen/releases.
meta.description for binaryen is: Compiler infrastructure and toolchain library for WebAssembly, in C++
meta.homepage for binaryen is: https://github.com/WebAssembly/binaryen
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 116 with grep in /nix/store/has8327y0xpa05645205m13viasa7fz2-binaryen-116
found 116 in filename of file in /nix/store/has8327y0xpa05645205m13viasa7fz2-binaryen-116

Rebuild report (if merged into master) (click to expand)

36 total rebuild path(s)

36 package rebuild(s)

First fifty rebuilds by attrpath
binaryen
emscripten
faust
faust2
faust2alqt
faust2alsa
faust2csound
faust2firefox
faust2jack
faust2jackrust
faust2jaqt
faust2ladspa
faust2lv2
faust2sc
faustPhysicalModeling
faustlive
guitarix
kapitonov-plugins-pack
lldap
magnetophonDSP.CharacterCompressor
magnetophonDSP.CompBus
magnetophonDSP.ConstantDetuneChorus
magnetophonDSP.LazyLimiter
magnetophonDSP.MBdistortion
magnetophonDSP.RhythmDelay
magnetophonDSP.VoiceOfFaust
magnetophonDSP.faustCompressors
magnetophonDSP.pluginUtils
magnetophonDSP.shelfMultiBand
mooSpace
open-music-kontrollers.mephisto
pagefind
tambura
tinygo
vlang
zrythm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/has8327y0xpa05645205m13viasa7fz2-binaryen-116 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A binaryen https://github.com/r-ryantm/nixpkgs/archive/157b6f80c431d35b0c02b8df963acee5c68f05a2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/157b6f80c431d35b0c02b8df963acee5c68f05a2#binaryen

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/has8327y0xpa05645205m13viasa7fz2-binaryen-116
ls -la /nix/store/has8327y0xpa05645205m13viasa7fz2-binaryen-116/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

magnetophonDSP.ConstantDetuneChorus

33 packages failed to build:

emscripten
emscriptenPackages.json_c
emscriptenPackages.libxml2
emscriptenPackages.xmlmirror
emscriptenPackages.zlib
faust
faust2alqt
faust2alsa
faust2csound
faust2firefox
faust2jack
faust2jackrust
faust2jaqt
faust2ladspa
faust2lv2
faust2sc
faustPhysicalModeling
faustlive
guitarix
kapitonov-plugins-pack
magnetophonDSP.CharacterCompressor
magnetophonDSP.CompBus
magnetophonDSP.LazyLimiter
magnetophonDSP.MBdistortion
magnetophonDSP.RhythmDelay
magnetophonDSP.VoiceOfFaust
magnetophonDSP.faustCompressors
magnetophonDSP.pluginUtils
magnetophonDSP.shelfMultiBand
mooSpace
open-music-kontrollers.mephisto
tambura
zrythm

5 packages built:

binaryen
lldap
pagefind
tinygo
vlang

Maintainer pings
cc @asppsa for testing.

Would be superseded by #260267.


update hmr-for-port-80 to razzle v3

Store the client port in a var instead of repeatedly doing an inline calculation
Handle window.location.port = '', which happens if port matches the protocol (80 for http, 443 for https)

https://github.com/jaredpalmer/razzle/pull/1143
A more comprehensive solution.


Implementing multithreaded video decoding

Addressing issue #3388 on implementing multithreaded video decoding.
I attach the sequential reading speeds with multiple number of threads compared to openCV on test videos in torchvision. Note that 0 denotes disabled multithreading.

@datumbox Could you give it another pass perhaps?
All the failures seem unrelated to me


Hugo TODO

make sure our folder structure is the proper one for what we want to achieve. Also see if we can make folder nesting level smaller, maybe by using permalinks or something. For content and static.
can we generate SRI hashes for existent files on the fly? For bootstrap.min.css, bootstrap.*.js,  popper.js/1.14.7/umd/popper.min.js. This would simplify things as we could remove the release-sri script
get image width/height with Hugo when possible (examples images, homepage)
maybe use Hugo Extended version for docs' CSS? This is now done
bep's suggestion:

Re.
{{< partial "callout-warning-color-assistive-technologies.md" >}}

The partial above uses the partial func to load, parse and execute templates. This has its limitations and is possibly ineffective.
I would recommend that you store your callouts (and other content files you want to include) in a so-called headless bundle -- and load them via .GetPage. This way you can use markdown + shortcodes etc.

bep's suggestion:

Ref. {{ block "header" . }} in your single.html template.
Blocks only make sense inside base template(s) (i.e. baseof.html), which I cannot see.  I would highly recommend that you restructure your templates to use them. It removes some repetition.

Fix https://github.com/twbs/bootstrap/blob/6335fbe224f28d2ce65c628756a84113ea65643f/site/layouts/_default/docs.html#L27
Add a body class like layout-{{layout}} page-{{kind}}-{{title}}{{ with .Params.body_class }} {{ . }}{{ end }}

@bep: can you give me an example how to get the SRI hashes https://github.com/twbs/bootstrap/blob/master/config.yml#L49?
The files do exist locally, we just use the cdn link for the doc snippets.
Also, is there any way to get a sha384 hash instead of sha256? I know that 256 should be enough but that's what  we've been using from day 1 and also we suggest on srihash.org, BootstrapCDN etc.
Thanks :)

@XhmikosR have you looked in the documentation? Note that I'm very busy at the moment (also with Hugo), so I would appreciate if you could take general Hugo questions either with 1) the docs or 2) the forum
It is sha256 or sha512 (or md5).

All right, I'll try again based on the docs alone.
Have you thought about exposing sha384 too, though? I can make an issue upstream if you want.

Unfortunately, I can't make it work, like the previous time I tried. Maybe I'm doing it wrong or it just can't work with our setup.
{{ $style := resources.Get "docs/4.3/dist/css/bootstrap.css" | resources.Fingerprint }}
{{ $secureCss := $style | resources.Fingerprint "sha256" }}
<link href="{{ $secureCss.Permalink }}" integrity="{{ $secureCss.Data.Integrity }}" rel="stylesheet">

Maybe someone else has a solution, we'll see.

Curious why you're running Fingerprint twice? Also, I think resources.Get is looking for your CSS file relative to the assets directory, so you may need to change your path. I'm happy to pull the repo down and fool around with it if that would be helpful.

@budparr: please do :)
The path to that file is relative to the /static dir; unfortunately since we can't copy our root dist folder where we need to with Hugo, we need to do this in a manual step.
So, if you do npm run docs-serve you will get the directory structure with the dist folder copied in /static/docs/4.3/dist/.
Thanks in advance for any help!

@XhmikosR As I mentioned earlier, Hugo is looking for those files in the assets directory, yet you're pushing them to the static folder where Hugo can't read them. You're not using Hugo to process your CSS, so you'll have to read the files from that directory.

Change the assets directory setting to match your dist folder (it does not appear you are otherwise using it).
So change assetDir: "site/assets" to assetDir: "dist"

Then, read the dist directory, looping through them to apply the Fingerprint function:

{{/*  Identify the directory */}}
  {{ $path := "./dist/css" }}
  {{ $files := readDir $path }}
{{/*  Range through the files */}}
  {{ range $files }}
    {{/*  You may not need to do this, but the conditional allows you to determine what you want to apss through */}}
    {{ if in .Name "bootstrap" }}
    {{/* Do your work on each file  */}}
      {{ $file := resources.Get (printf "css/%s" .Name) | resources.Fingerprint }}
      <link href="{{ $file.Permalink | relURL }}" rel="stylesheet" integrity="{{ $file.Data.Integrity }}" crossorigin="anonymous">
    {{ end }}
  {{ end }}

I did a very quick test on this on your repo, but you may want to adjust to your needs.

@budparr: thanks for looking into this. Unfortunately, I cannot change the assetDir to that. We have our other assets in site/static/.
If I could specify the output folder for the assetDir values, I could then just include the dist folder too. But this isn't supported.

Hey, @XhmikosR I only saw your first edit. Did you make any progress on this?

{{ $js := resources.Get "/docs/4.3/dist/bootstrap.js" }}
{{ $fingerprinted := $js | fingerprint }}

{{ $fingerprinted.Data.Integrity }} // The SRI string
{{ $js.RelPermalink }} // The original path, e.g. /docs/4.3/dist/bootstrap.js
{{ $fingerprinted.RelPermalink }} //  /docs/4.3/dist/bootstrap.xxxxSHA256xxxx.js

Note that for the above to work, these must live inside assetDir.
Another approach that may work better for you is to create a "headless bundle" for these (which would live inside a contentDir (you can have more than one of these).
You would then do something ala:
{{ $bundle := .Site.GetPage "myassets" }}
{{ $js := $bundle.Resources.GetMatch "**/4.3/**/bootstrap.js" }}
{{ $fingerprinted := $js | fingerprint }}
{{ $fingerprinted.Data.Integrity }} // The SRI string
{{ $js.RelPermalink }} // The original path, e.g. /docs/4.3/dist/bootstrap.js
{{ $fingerprinted.RelPermalink }} //  /docs/4.3/dist/bootstrap.xxxxSHA256xxxx.js

As always, the above is easier to show than tell, so if you have a branch you're working on, I would create a suggestive commit.

@budparr: no progress :/
@bep I just gave this a go and it works, sort of :)
Basically I just changed the dir we copy the dist folder to site/assets and then I manipulate the dist files as usual.

This works, but we are missing the .map files and generally any file we don't reference in the templates.
traditionally we use sha384 hashes everywhere, BootstrapCDN, srihash.org etc. Could this be exposed by Hugo assuming we make this to work?
If we go with this approach, it would make sense to use the fingerprint values everywhere instead of us computing them and outputting them in config.yml. So maybe the headless bundle approach is indeed more appropriate here.

Not sure which solution is the best, this or the headless bundle approach, that's something you guys might be able to answer :)
Here's my current WIP branch https://github.com/twbs/bootstrap/compare/master-xmr-hugo
I'm gonna try the headless bundle approach next.

Re sha384 -- see https://github.com/gohugoio/hugo/issues/5815 -- I will get that in the (big!) release on Monday.
With map files etc. in play, I think a "regular leaf bundle" will do the work, as map etc. files will just be copied to destination.

Hey, @XhmikosR I've been out for a conference. Happy to dig into this, though it might take me a couple of days to clear my plate first. Is the branch master-xmr-hugo?

Yup, no pressure :)

@budparr @regisphilibert maybe one of you guys could help us out with tweking the layouts/partials? :)

@XhmikosR We're happy to help. I wasn't able to solve the issue above. Is that the issue specifically we can help with, or others?

@budparr I have a TODO list in my OP https://github.com/twbs/bootstrap/issues/28479#issue-420625161
The layouts issue is a big one and I couldn't fix it either. But if we could solve any of the above, it would help us a lot :) Also, since many people might use our docs for learning purposes, I want us to make sure we do things the right way.

Okay. Well @regisphilibert and I will review and see what we can get done.

Thank you guys, I really appreciate it!

I added one more TODO:

Add a body class like layout-{{layout}} page-{{kind}}-{{title}} {{ with .Params.body_class }}{{ . }}{{ end }}

Hello. I'd love to help you in the persective of checking those "to dos". I have a couple of questions:
On 1.
Yes, you directory structure can be completely independent of your URL structure. It's hard for me to guess what your ideal content directory structure would be (though I suppose losing 4.3 could help of replacing it by current if the project must build serveral version), but if you provide me with a directory structure I could rearange the files accordingly while maintaining current URL structure.
On 2.
Hugo is capable of producing fingerprints on resources only if they're part of the assets of the project, meaning living in the assets directory which is currently set to site/assets. The resource you want fingerprinted happens to be in the static directory. So we cannot have both live in static and assets...
In order to fingerprint the bootstrap stylesheet, we'd have to move it or mount it as an asset along its brand images.
On 3.
Same as above, Hugo is capable of retrieving the width and height of a given image only if given file is part of the assets directory or a Page Bundle (being a page resource.
On 4.
You are currently using a shortcode to load partials from within the content files's markdown. I can see that 23 times out of 24 times this shortcode is used, it is to call of the partial files prefixed callout- which only contain markdown. Björn Erik suggestion is for you to actually use proper content files to handle those "callouts" and for this move them into the content directory rather the layout directory. They would take the form of a headless page bundle, meaning a directory of content files (could be /content/callouts/ which would not produce any published pages or section.
Then we could introduce a shortcode which fetches such content files and produce their rendered markdown.
He is my proposal:
As it seems this behaviour is only used with the callout "shortcodes", we improve the callout shortcode by adding a second argument  (on top of the "css class" one) which would point to this "content file filename" under the newly created content directory.
If second argument is set and we find a matching "content file", we print its rendered markup, if not we print the content of the shortcode as it is currenlty used.
From:
{{< callout danger >}}
{{< partial "callout-danger-async-methods.md" >}}
{{< /callout >}}

To:
{{< callout danger "danger-async-methods" />}}

The following on the other hand would remain unchanged:
{{< callout info >}}
Note that content should not be larger than the height of the image...
{{< /callout >}}
```
### On 6.
No problem I think.

### On 7.
Current the url is build from the page title which binds title and url together.
It seems the logic here uses an array of "sections" assigned as Front Matter param to build a side menu.
There is several better approach:
1. Keep that logic but reference the content file in the array as relative to the current page:
```yaml
sections:
  - title: Form control
    page: form-control
    description: Style textual inputs and textareas with support for multiple states.
  - title: Select
    page: select
    description: Improve browser default select elements with a custom initial appearance.

Then in the code we can use .GetPage with the items's .page value. .to retrieve the page and its .RelPermalink.
2. Use Hugo Menu system. The drawback is that each concerned page will need to point to the menu in its own Front Matter.
On 8.
No problem, will be easier once 6. is implemented though.

@XhmikosR Is this still something to keep open or can we close?

We still have issues that we haven't fixed. Maybe some day someone will jump in to help us with these :)

Hello! I would like to contribute to this as it is still open. Please let me know


Sort Posts by date desc to match the view on my blog?

Hi, love this plugin! It would be great to sort the posts under POST by date descending instead of alphabetically, so the order matches their appearance on my blog. Thanks!

This idea is on the todo list, and I will implement when I have time. Maybe the next week.
Thanks for your advice.

closed. Detail found in config.


Spare "/functions" folder before create.js

There is a non-existing "/functions" folder before create.js

Thank you!


Blank page after applying the 'Shift + f' hotkey

Steps to Reproduce

Launch Ketcher.
Apply the 'Shift + f' hotkey

Expected behavior
The 'Functional Groups' library is opened.
Actual behavior
A blank page is displayed. Errors appear in the console.
Screenshots

Desktop:

OS: Windows 10
Browser: Chrome
Version: 100.0.4896.127

Ketcher version

v2.4.2-219-g11bc5160

Verified as fixed on Release 2.5.0.


WIP: Support for ink! 3.0.0-rc8

🚧  WIP 🚧
Ended up here:
  --> contracts/tests/pausable.rs:43:9
   |
43 |         #[brush::modifiers(when_paused)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ink_env::call::CallBuilder`, found enum `Result`
44 |         pub fn flip(&mut self) -> Result<bool, PausableError> {
   |                                   --------------------------- expected `ink_env::call::CallBuilder<DefaultEnvironment, Set<ink_env::AccountId>, Unset<u64>, Unset<u128>, Set<ExecutionInput<ArgumentList<ArgumentListEnd, ArgumentListEnd>>>, Set<ReturnType<Result<bool, contracts::pausable::PausableError>>>>` because of return type
   |
   = note: expected struct `ink_env::call::CallBuilder<DefaultEnvironment, Set<ink_env::AccountId>, Unset<u64>, Unset<u128>, Set<ExecutionInput<ArgumentList<ArgumentListEnd, ArgumentListEnd>>>, Set<ReturnType<Result<bool, contracts::pausable::PausableError>>>>`
                found enum `Result<_, _>`

error[E0277]: the trait bound `MyFlipperRef: contracts::pausable::PausableStorage` is not satisfied
  --> contracts/tests/pausable.rs:43:28
   |
43 |         #[brush::modifiers(when_paused)]
   |                            ^^^^^^^^^^^ the trait `contracts::pausable::PausableStorage` is not implemented for `MyFlipperRef`
   |
note: required by a bound in `contracts::pausable::when_paused`
  --> /Users/yarik/work/supercolony/openbrush-contracts/contracts/security/pausable/mod.rs:26:8
   |
26 |     T: PausableStorage,
   |        ^^^^^^^^^^^^^^^ required by this bound in `contracts::pausable::when_paused`

You also will be useful to check that PR: https://github.com/Supercolony-net/openbrush-contracts/pull/49/files

Okay, I'm leaving it as it is.
My contribution to this was insignificant anyway.
Now what is needed is to build a working Europa node and make redspot tests pass.


[ZEPPELIN-5659] Refactor FlinkSqlInterpreter

What is this PR for?
The parsing logic for different flink version is different a lot, this PR is to refactor FlinkSqlInterpreter to move the parsing logic to flink-shims. 3 new classes are created to handle different sql parsing and handling

Flink112SqlInterpreter
Flink113SqlInterpreter
Flink114SqlInterpreter

What type of PR is it?
[ Improvement | Refactoring]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5659

How should this be tested?

CI pass

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

CI is passed, will merge if no more comment


Process callables GHUtility.runConcurrently in batches to save memory

For the urban density calculation we submit millions of callables (one for each edge) to the ExecutorService which results in millions of Future objects (112byte each) and thus a very high memory consumption. Here we process the callables in batches so we can free the memory.

Couldn't we split the stream into one chunk per thread instead?

How exactly would you split it and what kind of benefit do you expect? We tried a few different things but ended up doing it this way.

Let's say you want to execute 4 million Callables using 8 threads. Wouldn't it be more efficient to split them up into chucks of 500k each and execute those sequentially per executor thread?
You'd still end up with all cores being used but with a lot less task scheduling overhead. The chunk size could also be lowered if you fear that some thread could end up with more work.
A parallel stream with a dedicated ForkJoinPool might also handle this a bit better as it's designed to handle small tasks. But no idea if this would have a better memory footprint. We might just replace the memory overhead of the Futures with some Stream internal datastructure.

Let's say you want to execute 4 million Callables using 8 threads. Wouldn't it be more efficient to split them up into chucks of 500k each and execute those sequentially per executor thread?

I don't know, but feel free to try it.

You'd still end up with all cores being used but with a lot less task scheduling overhead.

If this really yields a measurable performance improvement we should change it, yes, but I did not make this comparison.

A parallel stream with a dedicated ForkJoinPool might also handle this a bit better as it's designed to work with small tasks. But no idea if this would have a better memory footprint.

Using a parallel stream there is no way to control the number of threads being used(?).

We might just replace the overhead of the Futures with some Stream internal datastructure.

The overhead of the Futures is no longer a problem since this PR processes the jobs in batches.

Using a parallel stream there is no way to control the number of threads being used(?).

You can instantiate your own ForkJoinPool with the desired level of parallelism and invoke the parallel Stream in it.
https://blog.krecan.net/2014/03/18/how-to-specify-thread-pool-for-java-8-parallel-streams/

(to avoid confusion: this is my work related account)
Small test importing germany-latest.pbf with the urban density calculator capped at 8 threads:
Batch (master)
2023-05-30 10:16:53.700 [main] INFO  c.g.r.util.UrbanDensityCalculator - Calculating residential areas ..., radius=300.0, sensitivity=60.0, threads=8
2023-05-30 10:17:06.435 [main] INFO  c.g.r.util.UrbanDensityCalculator - Finished calculating residential areas, took: 12.735071s
2023-05-30 10:17:06.435 [main] INFO  c.g.r.util.UrbanDensityCalculator - Calculating city areas ..., radius=2000.0, sensitivity=30.0, threads=8
2023-05-30 10:22:25.934 [main] INFO  c.g.r.util.UrbanDensityCalculator - Finished calculating city areas, took: 319.4993s

ForkJoinPool non-async
A little bit faster than our current master and the code is IMHO more readable.

Implementation
  public static void runConcurrently(Stream<Callable<String>> callables, int threads) {
      ForkJoinPool pool = new ForkJoinPool(threads);
      try {
          pool.submit(() -> callables.parallel().forEach(c -> {
              try {
                  c.call();
              } catch (Exception e) {
                  throw new RuntimeException(e);
              }
          })).get();
      } catch (InterruptedException | ExecutionException e) {
          throw new RuntimeException(e);
      } finally {
          pool.shutdown();
      }
  }

2023-05-30 10:05:02.254 [main] INFO  c.g.r.util.UrbanDensityCalculator - Calculating residential areas ..., radius=300.0, sensitivity=60.0, threads=8
2023-05-30 10:05:14.443 [main] INFO  c.g.r.util.UrbanDensityCalculator - Finished calculating residential areas, took: 12.188523s
2023-05-30 10:05:14.443 [main] INFO  c.g.r.util.UrbanDensityCalculator - Calculating city areas ..., radius=2000.0, sensitivity=30.0, threads=8
2023-05-30 10:10:27.089 [main] INFO  c.g.r.util.UrbanDensityCalculator - Finished calculating city areas, took: 312.6464s

ForkJoinPool async
As we don't depend on the order of execution, the async mode might offer better performance. Contrary to my expectations it was a little bit slower in my tests.

Implementation
  public static void runConcurrently(Stream<Callable<String>> callables, int threads) {
      ForkJoinWorkerThreadFactory threadFactory = ForkJoinPool.defaultForkJoinWorkerThreadFactory;
      ForkJoinPool pool = new ForkJoinPool(threads, threadFactory, null, true);
      try {
          pool.submit(() -> callables.parallel().forEach(c -> {
              try {
                  c.call();
              } catch (Exception e) {
                  throw new RuntimeException(e);
              }
          })).get();
      } catch (InterruptedException | ExecutionException e) {
          throw new RuntimeException(e);
      } finally {
          pool.shutdown();
      }
  }

2023-05-30 10:47:20.661 [main] INFO  c.g.r.util.UrbanDensityCalculator - Calculating residential areas ..., radius=300.0, sensitivity=60.0, threads=8
2023-05-30 10:47:32.178 [main] INFO  c.g.r.util.UrbanDensityCalculator - Finished calculating residential areas, took: 11.517575s
2023-05-30 10:47:32.178 [main] INFO  c.g.r.util.UrbanDensityCalculator - Calculating city areas ..., radius=2000.0, sensitivity=30.0, threads=8
2023-05-30 10:52:48.625 [main] INFO  c.g.r.util.UrbanDensityCalculator - Finished calculating city areas, took: 316.44693s

Memory consumption is also looking good:


Create DDEV project with no interaction

Is your feature request related to a problem? Please describe.
I'm always frustrated when setting up test-environments which take hours but are stopped at questions that require a interaction, like: Would you like to continue? [Y/n]
or
Warning from repo.magento.com: You haven't provided your Magento authentication keys. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html
    Authentication required (repo.magento.com):

We have planned on using DDEV-LOCAL for automatic tests and we need the setup-flow to be without interaction
Describe the solution you'd like
A --no-interaction or --quiet flag that automatically answers Yes to all Yes/No questions, like ddev start --quiet
Describe alternatives you've considered
Checked the terminal help but did not find such a solution
Additional context
For some reason DDEV can't read my composer credentials from file so that needs to be inserted using interaction as well. Would be nice if that could be solved without interaction as well.

In ddev v1 17, use ddev start -y
In any version of ddev, set the environment variable DDEV_NO_INTERACTION=TRUE
For composer credentials, put your auth.json in homeadditions. Docs suggest this in homeadditions section.

Ok great, I have tried adding auth.json in homeadditions but I can't get it to work, this is my script
mkdir -p .ddev/homeadditions/.composer
echo '{"http-basic": {"repo.magento.com": {"username": "asdasd","password": "asdasd"}}}' > .ddev/homeadditions/.composer/auth.json
echo '{"http-basic": {"repo.magento.com": {"username": "asdasd","password": "asdasd"}}}' > auth.json

but it doesn't work

The copying happens on ddev start. https://ddev.readthedocs.io/en/stable/users/extend/in-container-configuration/

Some interactivity is now solved but this remains:
$ mkdir ddev-magento2 && cd ddev-magento2
$ ddev config --project-type=magento2 --docroot=pub --create-docroot

Creating a new ddev project config in the current directory (/home/christian/Downloads/ddev-magento2)
Once completed, your configuration will be written to /home/christian/Downloads/ddev-magento2/.ddev/config.yaml

Created docroot at /home/christian/Downloads/ddev-magento2/pub
You have specified a project type of magento2 but no project of that type is found in /home/christian/Downloads/ddev-magento2/pub
No /home/christian/Downloads/ddev-magento2/app/etc/env.php file exists, creating one
Unable to create settings file '/home/christian/Downloads/ddev-magento2/app/etc/env.php': open /home/christian/Downloads/ddev-magento2/app/etc/env.php: no such file or directory
Configuration complete. You may now run 'ddev start'.

$ ddev-magento2 ➜ ddev start -y
$ ddev composer create --repository=https://repo.magento.com/ magento/project-community-edition

Starting ddev-magento2...
Running   Command=ip address show dev docker0
Building db
Building web
Creating ddev-ddev-magento2-db ... done
Creating ddev-ddev-magento2-dba ... done
Creating ddev-ddev-magento2-web ... done

Recreating ddev-router ... done

No /home/christian/Downloads/ddev-magento2/app/etc/env.php file exists, creating one
Successfully started ddev-magento2
Project can be reached at https://ddev-magento2.ddev.site https://<IP_ADDRESS>:49176
Warning: ALL EXISTING CONTENT of the project root (/home/christian/Downloads/ddev-magento2) will be deleted
Would you like to continue? [Y/n] (yes):

The -y flag does not seem to work with ddev composer command?
Is there a way to get pass this?

ddev composer create -y - ddev composer create does have the -y argument.
With any of these you can also echo y | ddev something

Thanks, everything works now :+1:

Yay!

Well there is one thing left, after I run this
mkdir -p .ddev/homeadditions/.composer
echo '{"http-basic": {"repo.magento.com": {"username": "abc","password": "123"}}}' > .ddev/homeadditions/.composer/auth.json

ddev start

echo "Started DDEV";

echo y | ddev composer create --repository=https://repo.magento.com/ magento/project-community-edition

Which works non-interactively, the scripts seems to restart after composer directory is moved and when I later run this:
ddev exec bin/magento sampledata:deploy
ddev exec bin/magento setup:upgrade

Composer credentials are gone again and I can't seem to get them back, have tried this:
mkdir -p .ddev/homeadditions/.composer
echo '{"http-basic": {"repo.magento.com": {"username": "abc","password": "123"}}}' > .ddev/homeadditions/.composer/auth.json
ddev exec bin/magento sampledata:deploy
ddev exec bin/magento setup:upgrade

but it doesn't work

Not completely sure I understand, but I think what you're saying is that you have to study what's happening to auth.json.
So go into the web container and see what's in ~/.composer and figure out what might have happened to it.

It seems like the auth.json file is moved to the wrong location after ddev composer is finished. After this part:
Executing composer command: composer create-project --repository=https://repo.magento.com/ magento/project-community-edition /var/www/html/.tmp_ddev_composer_create_avHvHP

Creating a "magento/project-community-edition" project at "./.tmp_ddev_composer_create_avHvHP"
Installing magento/project-community-edition (2.4.2)
  - Installing magento/project-community-edition (2.4.2): Extracting archive
Created project in /var/www/html/.tmp_ddev_composer_create_avHvHP

But I found a solution and it is:
echo '{"http-basic": {"repo.magento.com": {"username": "abc","password": "123"}}}' > auth.json
ddev exec bin/magento sampledata:deploy
ddev exec bin/magento setup:upgrade


Add support for reserving an asset upon DAO creation.

This required a big reworking of all tests, because creating a DAO now requires that you have some funds, which requires using the soroban asset contract in most tests. Also creating a proposal for a DAO now requires that that DAO actually exists, which has a mutually reinforcing interaction with the previous point. Two tests have been disabled via ignore. The first is due to get_checkpoint_at not considering the case where there are no checkpoints yet. This lead to indexing the first element of an empty vector. I've disabled checkpoint filtering as a workaround, which lead to another test which counts exact number of checkpoint failing, so I disabled that other test. The second disabled test tests the limit on number of proposals, but runs into a limit on cpu-time which the sdk is apparently imposing even for tests. There is (commented out) code for calculating the native asset contract address, but while it works fine natively it does not compile for wasm. I don't yet know if this is deliberate or an oversight. There are (commented out) artifact deps (an unstable cargo feature) in each Cargo.toml which may allow getting rid of init.sh, but I could not yet get it to work. For example if you are running tests and adding log messages in another contract, your changes won't show up with just "cargo test". You need to do "../../init.sh && cargo test", which is easy to forget.

So I can finish this up nicely tomorrow, or fixing checkpoints could be something that the new hire looks at next week. Let me know.


Spectral correlation density

ENH
I did some research and the following code seemed like an estimation of Spectral Correlation Density. I got this code by looking in one of the links mentioned above.Not sure if it's correct.
If it's not I'd like to know if we're expected to write the entire code by ourself because i can't find anything more relevant.
Please review this is my first pull request.
#14783
I'm sorry, it seems I've submitted the same file twice

It looks like you just checked in the MATLAB code from MATLAB Central. That should just be a reference for you as you write the Python implementation to submit as a PR. We don't need the MATLAB code to be checked in. I suggest starting with a fresh branch (rather than git rming the MATLAB file and adding more commits to this one).

Hi @shilpiprd, thanks for this first draft. Aside from what Robert said, don't forget to add the license in a comment. Better solution would be to contact the original author and ask explicitly for use in SciPy under our BSD-3-clause.
https://www.mathworks.com/matlabcentral/fileexchange/48909-cyclic-spectral-analysis?s_tid=srchtitle#license_modal

Thank you again @shilpiprd. Since there was no progress here and lot of people seem interested, I will close this one in favour of #15519.
My message on the issue:

Thank you for the new PR @qbarthelemy. Since @shilpiprd did not reply for a while either here and on the PR it's ok but we generally don't like to have competing PRs. I will close your PR @shilpiprd. You are all invited to help review/discuss the new PR https://github.com/scipy/scipy/pull/15519


Sunsetting IE8

As discussed in #106, we're planning to drop support for IE8 when Microsoft does. That date (April 8th, 2014) is rapidly approaching, and we have a patch (#369) which will drop support for IE8 mouse events.
I'm posting this issue as a heads-up and an opportunity for any discussion.

bump
We've given this an extra 9 months, and I discovered today with version 1.2.0 we are fairly broken on IE 8. DZI tile sources no longer work, the pointer capture fix (mentioned above) which worked great on all IE versions was inconsistent in other browsers so it was removed a couple versions ago, making MouseTracker broken again on IE 8. There's probably more....I just noticed these again today.
So are we ready to drop IE 8 support at this point? Should we patch the latest code to work on IE 8? Should we find the last version that works on IE 8 and document that as the only IE 8 OSD solution?
Discuss! :)

Personally I need IE8 support, so either I'll be sticking with what I'm currently running, or I'll have to figure out how to patch this one way or another!

@benjamind Which OpenSeadragon version are you using?

I'm currently using 1.2, but I've not delved into IE8 compatibility testing yet. I know its on the horizon however as all our apps have to run on IE8 (lots of Chinese users). So either I'll be reverting to the earlier 1.1.x builds or fixing this. :-)

@benjamind  We're not close to making a big decision here, but just curious - would you be ok with having to use a plugin (add another script file after openseadragon.js) to have IE8 support?

That would be fine by me and if it frees up the main library all the better. I compile everything down to a single file anyway so its no overhead at all as far as loading is concerned.

So I've just been handed the unenviable task of making an OSD-based app work in IE8. It's been years since I've had to worry about IE at all, so it's encouraging to read here that even M$ may no longer support IE8.
However, this blog post, by the director of IE, suggests this won't actually be true until January 2016: http://blogs.msdn.com/b/ie/archive/2014/08/07/stay-up-to-date-with-internet-explorer.aspx?utm_medium=referral&utm_source=pulsenews I'll therefore have to wait until the end of next summer before I can really push back. :-(
In the meantime, am I to understand that the latest OSD 1.x should work in IE8? (I've found an old Windows box to try it on... just waiting for IE8 to finish installing on it...)

@mscheper My understanding is that the core OSD still works on IE8. Some of the newer features may not work (like viewport rotation), of course. Please let us know how it goes! We rely on folks like you and @benjamind, who are actually working with IE8, to keep that area shipshape.

It's been two years since we last discussed this... @benjamind, @mscheper are you still needing IE8 support? Anyone else?

No response... maybe it's time to finally let IE8 support go?

👍 On the sites I use, IE8 is currently under 0.1% and that seems like a perfectly reasonable place to say anyone who still cares about it can either continue to use an older release or contribute to maintenance.

Let it go!

Cool. Well, I think we'll make 2.3.0 the official last IE8 compatible release, then :)

#Yay!

@iangilman: Sorry, I went through a period of not watching my notifications properly. It's moot now, but I really appreciate you checking.

@mscheper Moot as in we've already made our decision, or as in you no longer need to support IE8?

2.4.0 has shipped, so I'm closing this. What remains to be done is document the fact, which is covered in https://github.com/openseadragon/openseadragon/issues/106.

FYI, for anyone paying attention here, we are now planning to no longer support IE 9 and IE 10 in OpenSeadragon 2.5.0 (still supporting IE 11).


[Doc] Describe a life cycle of a Table

Problem Statement
To describe a user journay:

How to open a database
How to find table
How to open a table
How to create an empty table
How to append / add / delete data
How to create indexa and re-index
How to drop a table

in both python and typescript.

Use an external table

Create a table from a table
Ques - Table file path or Table object? Or both?
Use case - lanceDB tables could be used as experiment artifacts/assets, so it would need a clean interface to create a working table from an original table without altering it.table = db.import_table(str or LanceTable) # To copy the given table to current connection

import_table could be confusing, maybe call it copy_table for explicit implication that the copied table will not be altered


feat: ✨ initial user application

Related #4

Summary by CodeRabbit
Release Notes

New Features

Introduced a new end-to-end testing configuration for the users application, including Jest and ESLint setups.
Added a basic API with a GET endpoint that returns a greeting message.

Bug Fixes

Updated Jest configuration to ensure consistent testing across applications.

Documentation

Added TypeScript configuration files to enhance type safety and interoperability.

Tests

Implemented new test suites for the AppController and AppService to validate API functionality.

Merged without AI review since initial app only

Close #4

close https://github.com/zhumeisongsong/graphql-federation-workspace/issues/4


Release 0.16.2

This is a tracker to aggregate issues that should be part of 0.16.2. Please add specific Issues or PRs prefixed with the "Depends on" keyword (and remember that PRs need to be backported to the release-0.16 branch).
Depends on https://github.com/submariner-io/subctl/pull/1003
Depends on https://github.com/submariner-io/shipyard/pull/1460
Depends on https://github.com/submariner-io/submariner-operator/pull/2881
Depends on https://github.com/submariner-io/subctl/pull/1006
Depends on https://github.com/submariner-io/cloud-prepare/pull/843
Depends on https://github.com/submariner-io/lighthouse/pull/1434
Depends on https://github.com/submariner-io/shipyard/pull/1465
Depends on https://github.com/submariner-io/submariner-website/pull/1080

Release notes merged and announcements sent.


[UAT] Hero banner with splash on Products Landing page

Same as: https://www.fernleaf.com.my/en/products.html

We should use hero block with "Recipe" variation for this.

This can be achieved with content authoring.

I have updated both the product pages. Please validate.

This has introduced CLS, need to fix this
https://pagespeed.web.dev/analysis/https-main--fonterra-fernleaf--hlxsites-hlx-live-en-products/5qr3uyjyqf?form_factor=mobile
@sselvara @mkbansal1

@asthabh23  Fixed cls issue. closing this card


Fix several redshift/presto unit tests not to share common schema name for meta

Can we merge this too after rebasing? I think it's a good time to increase the version number (I guess to 0.5.7?).

Codecov Report

Merging #310 into master will decrease coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #310      +/-   ##
=========================================
- Coverage   70.77%   70.4%   -0.36%
=========================================
  Files         167     164       -3
  Lines       11178   10702     -476
  Branches     1832    1719     -113
=========================================
- Hits         7910    7534     -376
+ Misses       2812    2747      -65
+ Partials      456     421      -35

Impacted Files
Coverage Δ

...va/org/verdictdb/core/scrambling/ScrambleMeta.java
81.7% <ø> (+0.97%)
:arrow_up:

...rg/verdictdb/exception/VerdictDBDbmsException.java
50% <0%> (-50%)
:arrow_down:

...or/QueryResultAccuracyEstimatorFromDifference.java
47.28% <0%> (-45.49%)
:arrow_down:

...ain/java/org/verdictdb/sqlsyntax/PrestoSyntax.java
39.03% <0%> (-12.19%)
:arrow_down:

...java/org/verdictdb/sqlsyntax/PostgresqlSyntax.java
62.07% <0%> (-10.34%)
:arrow_down:

...c/main/java/org/verdictdb/sqlsyntax/SqlSyntax.java
66.67% <0%> (-8.33%)
:arrow_down:

...core/querying/ola/SelectAsyncAggExecutionNode.java
89.29% <0%> (-6.66%)
:arrow_down:

...ain/java/org/verdictdb/sqlsyntax/ImpalaSyntax.java
67.57% <0%> (-5.4%)
:arrow_down:

...rg/verdictdb/sqlreader/NonValidatingSQLParser.java
70.59% <0%> (-4.41%)
:arrow_down:

...ctdb/core/scrambling/CreateScrambledTableNode.java
68.75% <0%> (-3.79%)
:arrow_down:

... and 64 more

Continue to review full report at Codecov.

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

Sure. I just merged this PR with master and pushed. After it passes tests, I will merge this PR and release 0.5.7.


[ENHANCEMENT] Add readme.md

Please add a readme.md file for better understanding of the code.

✔ Done.


Inaccurate geolocations in Fedora Mirror Manager

The geolocation of many servers of Micro Mirrors is inaccurate in Fedora Mirror Manager. In several instances it should affect load distribution severely, in particular in the USA.
Fedora Mirror Manager has a public list of its estimates of geolocations of mirror servers. If no latitude and longitude are specified by the mirror server administrator, MaxMind's GeoIP database are used to determine the geolocation. However, I'm not sure whether Fedora uses a version of mirrormanager2 yet that allows mirror server administrator to specify latitude and longitude. For many servers of Micro Mirrors I'm suspecting that their location is determined by MaxMind's GeoIP database because their location is so off.
This is particularly important as geographic proximity is a major factor in the mirror server lists generated by mirrorlist-server.
The following servers are, for example, located in Cheney Reservoir Lake near Wichita in Kansas:

cofractal-ewr.mm.fcix.net
gsl-syd.mm.fcix.net
ix-denver.mm.fcix.net
lolhost.mm.fcix.net
nocix.mm.fcix.net
ohioix.mm.fcix.net
opencolo.mm.fcix.net
southfront.mm.fcix.net
volico.mm.fcix.net

This seems to be in the middle of the USA. As a result, these servers might attract requests from all over the country.
I made a best-effort attempt to find out the location of all server of Micro Mirrors. In many instances PeeringDB entries combined with reverse DNS names and traceroute outputs gave plausible results.
I was not able to accurately determine the location of the following servers yet:

abqix.mm.fcix.net
b4sh.mm.fcix.net
bungi.mm.fcix.net
cofractal-sea.mm.fcix.net
coresite-atl.mm.fcix.net
coresite.mm.fcix.net
edgeuno-bog2.mm.fcix.net
forksystems.mm.fcix.net
ipng.mm.fcix.net
lchs.mm.fcix.net
nnenix.mm.fcix.net
ohioix.mm.fcix.net
ridgewireless.mm.fcix.net
stix.mm.fcix.net
uvermont.mm.fcix.net
veronanetworks.mm.fcix.net

I might put more effort into finding their locations later.
If possible, the locations of the following servers should be changed in Fedora Mirror Manager:

Server
Latitude
Longitude
Actual Latitude
Actual Longitude
Factility

ask4.mm.fcix.net
52.9538
-1.1571
53.398917
-1.429056
ASK4 DC1 - Sheffield

codingflyboy.mm.fcix.net
37.5172
-121.9191
37.471809
-121.920111
Hurricane Electric Fremont 2

cofractal-ewr.mm.fcix.net
37.751
-97.822
40.736844
-74.173402
165 Halsey Meet-Me Room

creeperhost.mm.fcix.net
51.4964
-0.1224
51.511552
-0.002424
Telehouse - London (Docklands North)

divergentnetworks.mm.fcix.net
52.5852
-0.236
52.55425
-0.390896
MyHostingSpace - Peterborough

gsl-syd.mm.fcix.net
-33.8715
151.2006
-33.918198
151.1893
Equinix SY5 - Sydney

ima.mm.fcix.net
37.751
-97.822
43.657789
-70.261202
Deep Edge Realty - Portland, Maine (340 Cumberland)

irltoolkit.mm.fcix.net
34.0544
34.0544
34.058096
-118.235357
CoreSite - Los Angeles (LA2)

ix-denver.mm.fcix.net
37.751
-97.822
40.736844
-74.173402
DataBank Denver (DEN3)

lesnet.mm.fcix.net
49.8984
-97.1405
49.894493
-97.135586
LES.NET YWG1

lolhost.mm.fcix.net
37.751
-97.822
37.471809
-121.920111
Hurricane Electric Fremont 2

mirror.fcix.net
37.5172
-121.9191
37.471809
-121.920111
Hurricane Electric Fremont 2

nocix.mm.fcix.net
37.751
-97.822
39.136878
-94.577558
1530 SWIFT - NOCIX

opencolo.mm.fcix.net
37.751
-97.822
37.378892
-121.956248
OpenColo

paducahix.mm.fcix.net
37.1772
-88.723
37.09402
-88.634104
Quad State Internet PAH1 Colocation

ryamer.mm.fcix.net
37.5172
-121.9191
41,872911
-121.920111
Netrality Chicago - 717 S Wells

southfront.mm.fcix.net
37.751
-97.822
41.548129
-90.621185
SFN IA-Davenport

volico.mm.fcix.net
37.751
-97.822
26.289687
-80.130014
500 Green (AKA VOLICO 2.0)

ziply.mm.fcix.net
47.6859
-122.2994
47.921151
-122.226913
EVRTWAXA - Everett Primary Central Office

ask4.mm.fcix.net is located in Sheffield instead of Nottingham.
codingflyboy.mm.fcix.net and mirror.fcix.net are located in FMT2 instead of a graveyard in Freemont. However, their location is not that wrong.
Moreover, the location of the following servers is wrong but at least in the same city:

creeperhost.mm.fcix.net
divergentnetworks.mm.fcix.net
gsl-syd.mm.fcix.net
irltoolkit.mm.fcix.net

lchs.mm.fcix.net is located by Fedora Mirror Manager in an uninhabited area in Australia. The organization seems to be based in Tasmania, so perhaps the servers are located there. Therefore, I left it out.
For others I did not take notes towards the end.
It it is not possible yet, to make specify the location in Fedora Mirror Manager, I will submit corrections to MaxMind through their form in the hope that their find their way into their database.
It might be useful in the future to have the exact location in host_vars for each host, for example, for automation with Fedora Mirror Manager, GeoDNS or other forms of load distribution that is based on location (not that this is the best idea).

I've been working on adding a set of geolocation facts to the host_vars when I touch them. https://github.com/PhirePhly/micromirrors/blob/main/host_vars/b4sh.mm.fcix.net.yaml#L15-L19

This seems to be in the middle of the USA. As a result, these servers might attract requests from all over the country

The problem is that so many client IPs have the wrong geo data in MaxMind as well, which is why I've been unmotivated to try and fix these. I know Fedora is discussing moving away from MaxMind to a higher quality geoIP database but don't know the intention there.

If possible, the locations of the following servers should be changed in Fedora Mirror Manager

I'm not aware of a way to do this, so I'm assuming that you mean submitting fixes to MaxMind.
Same city is correct enough for me; we're just trying to not offer clients mirrors in another timezone here; not send the servers Christmas cards.

Mirror Manager doesn't give us a way to set anything more granular than country, which is frankly the level of useful bounding on what MaxMind is ever going to provide.
I'm also reasonably sure that MirrorManager ITSELF doesn't have any logic to hand out mirrors based on anything more granular than country code because trying to guess where a client is based on it's incoming IP address, again against MaxMind, isn't going to get you anything closer than "you are in " so there isn't any reason to hand this off.
Really the client is the only one who's going to be able to come up with a good idea of what a good path is going to look like for it, and trying to push any of that logic up away from the client to something like Mirror Manager is pointless.  Also keeping in mind physical locality != network locality.
I'm inclined to close this since there's really nothing for us to do here unless I'm missing something?

I've added geo information to the host variables for the nodes which you listed as not being able to figure out on your own. f985253b2bf4bd0bd3a70be75d3636102954e540
Let us know if you need any other information.

Great. I do appreciate your effort on the MaxMind side, and finally giving me the kick in the pants to start updating the hosts vars geo information.


Forging Terminite Ingots into plates

There is a server issue when if you have all the configs and mods synced up it will give you one of the item you are forging and delete your tool used to forge the item. I have tried this on many throw up servers now and it seems that it is only an issue for the server instances. This is on 1.17.1 and here are the mods
architectury-2.5.32.jar
bclib-0.3.1.jar
better-end-0.11.0-pre.jar
Chunky-1.2.124.jar
fabric-api-0.40.8+1.17.jar
modmenu-2.0.9.jar

Duplicate of #291

No, fix will require update of both BCLib & BE, this will require some time. You can make a custom datapack to avoid item loss on your server

Could you outline what would need to be done in order to fix this??? I am not exactly "great" with java.


Add support for get/set java bean standard also for modelish.

This to support Groovy property access.

Note that the ModelishInvocationHandler never looks at method name, only looks for 0 or 1 argument!


Native image build failing using SES and url http client

Issue
I was successfully building a native image using camel-quarkus (consuming from kafka and publishing to aws2 ses and sns) using apache client. This was working ok till I deployed to our EKS cluster using IRSA. I then included the STS  module and got past the webidentitytokens issue. However this was failing intermittently with invalid security token when running as a native image (working fine in jvm mode).
I then tried to switch to url http client, with software.amazon.awssdk.http.service.impl=software.amazon.awssdk.http.urlconnection.UrlConnectionSdkHttpService
Actual Behaviour
JVM version builds and runs ok.
Native build is now failing with below error
Expected Behaviour
Native build completes. (Not sure what seeing i need to be using otherwise)
Quarkus Version:
2.8.1.Final
GraalVM version:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment GraalVM CE <IP_ADDRESS> (build 17.0.2+8-jvmci-22.0-b05)
OpenJDK 64-Bit Server VM GraalVM CE <IP_ADDRESS> (build 17.0.2+8-jvmci-22.0-b05, mixed mode, sharing)
Error Message
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:2.8.1.Final:build (default) on project correspondence-service: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] 	[error]: Build step org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor#client threw an exception: javax.enterprise.inject.spi.DeploymentException: Missing 'software.amazon.awssdk:apache-client' dependency on the classpath
[ERROR] 	at org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor.checkClasspath(AwsCommonsProcessor.java:61)
[ERROR] 	at org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor.client(AwsCommonsProcessor.java:51)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] 	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:925)
[ERROR] 	at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
[ERROR] 	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[ERROR] 	at java.base/java.lang.Thread.run(Thread.java:833)
[ERROR] 	at org.jboss.threads.JBossThread.run(JBossThread.java:501)

Seems we mandate usage of the Apache HTTP client:
https://camel.apache.org/camel-quarkus/2.8.x/reference/extensions/aws2-ses.html#_additional_camel_quarkus_configuration
I'm not familiar with the background as to why that is. Maybe @ppalaga or @JiriOndrusek knows?

Closing as I have it now working with the apache client

In all the AWS component we are using only apache http client. The netty side is for async client and we are not supporting them for the moment


[WIP][SPARK-27194][SPARK-29302][SQL] Define a spark staging committer to resolve FileAlreadyExistingException

What changes were proposed in this pull request?
For dynamic partition overwrite, its working dir is .spark-staging-{jobId}.
Task file name formatted part-$taskId-$jobId$ext(regardless task attempt Id).
Each task writes its output to:

.spark-staging-{jobId}/partitionPath1/taskFileName1
.spark-staging-{jobId}/partitionPath2/taskFileName2
...
.spark-staging-{jobId}/partitionPathN/taskFileNameN

If speculation is enabled, there may be several tasks, which have same taskId and different attemptId, write to the same files concurrently.
For distributedFileSystem, it only allow one task to hold the lease to write a file, if two tasks want to write the same file, an exception like no lease on inode would be thrown.
Even speculation is not enabled, if a task aborted due to Executor OOM, its output would not be cleaned up.
Then a new task launched to write the same file, because parquet disallows overwriting, a FileAlreadyExistsException would be thrown, like.
Caused by: org.apache.hadoop.fs.FileAlreadyExistsException: /user/hive/warehouse/t2/.spark-staging-1f1efbfd-7e20-4e0f-a49c-a7fa3eae4cb1/part1=2/part2=2/part-00000-1f1efbfd-7e20-4e0f-a49c-a7fa3eae4cb1.c000.snappy.parquet for client <IP_ADDRESS> already exists
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:2578)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2465)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2349)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:624)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:398)

It is a critical issue and would cause job failed.
In this Pr, we define a spark staging output committer to fix this issue:

set a working path under staging dir named partitionPath-attemptId.
after task completed, rename partitionPath-attemptId/fileName to partitionPath/fileName
leverage the OutputCommitCoordinator to coordinate the task commits

Why are the changes needed?
Without this PR, dynamic partition overwrite operation might fail.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Added UT.

gentle ping @cloud-fan
Hi, we found a new solution to fix the issues when dynamic partition overwrite is enabled.

FileAlreadyExsitException when executor was crash
task conflicts with its speculation task.

In this PR, we define a new type of OutputCommitter and leverage the OutputCommitCoordinator to coordinate the task commits.

aslo cc @Ngone51

Can one of the admins verify this patch?

Can one of the admins verify this patch?

gentle ping @cloud-fan @dongjoon-hyun @xuanyuanking @WinkerDu  @LuciferYang @advancedxy

ok to test

Test build #125132 has started for PR 28989 at commit b09a665.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29739/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125132/
Test FAILed.

test this please

Test build #125143 has started for PR 28989 at commit b09a665.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29751/
Test PASSed.

Test build #125143 has finished for PR 28989 at commit b09a665.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SparkStagingOutputCommitter(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125143/
Test FAILed.

will try to fix it.

Test build #125196 has started for PR 28989 at commit 0492977.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29807/
Test PASSed.

Test build #125205 has started for PR 28989 at commit bc7d2b5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29816/
Test PASSed.

Test build #125196 has finished for PR 28989 at commit 0492977.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SparkStagingOutputCommitter(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125196/
Test FAILed.

Test build #125212 has started for PR 28989 at commit a7a8d4b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29823/
Test PASSed.

Test build #125205 has finished for PR 28989 at commit bc7d2b5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125205/
Test FAILed.

Test build #125212 has finished for PR 28989 at commit a7a8d4b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125212/
Test PASSed.

Test build #125275 has started for PR 28989 at commit 0d722a9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29885/
Test PASSed.

Test build #125275 has finished for PR 28989 at commit 0d722a9.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125275/
Test FAILed.

close this,
I am wrong about that, I thought the taskAttemptContext.getTaskAttemptId.getId is same with the taskAttemptId of spark and it would at most create several(the largest task attempt number) staging partition dir.
But the taskAttemptContext.getTaskAttemptId.getId is also a uniq id, so this would also create multi staging partition dir for each task.
Prefer to #29000


DEDICATED_COMPRESSOR_2KB fails to init

I don't know why but it fails spectacularly. Fallback to SHARED_COMPRESSOR?

Window bits has to be 9 or more according to zlib code, which makes 3kb the smallest valid


Enable support for aggregations in  Elastic search

Elastic search 1.4 supports  performing aggregations over data . Enable the same with Kundera.

Fixed with Kundera-2.15.1


[FEATURE REQUEST] Global option to disable setting up all tests

To speed up CMake configuration it would be nice to have a global option to skip setting up tests at all if no tests are built.
Solution might be to add a separate switch or checking OIIO_BUILD_TESTS value before adding the tests:
if (NOT ${PROJECT_NAME}_IS_SUBPROJECT AND OIIO_BUILD_TESTS)
    oiio_setup_test_data()
    oiio_add_all_tests()
endif ()

Addressed by #3227

Thanks, not against testing per se, oiio-testsuite is just quite the chubby beast.


Add Base64 URL

Adds ability to decode Base64 URL format into the files. It isn't added to init.py yet, waiting for the tag system to be in Ciphey. Also, I did not add a test either, as it would just be the same as normal Base64.

Adds ability to decode Base64 URL format into the files. It isn't added to init.py yet, waiting for the tag system to be in Ciphey. Also, I did not add a test either, as it would just be the same as normal Base64.

make sure to add to the wiki, just put (release Candidate stage) after it so people know it's not in the core program :)


Add a command to run hooks without full import

While developping some import hooks, it could be useful to have a management command allowing to run hooks without running a full import again.
In my case, import attempts take several minutes because of lots of not found images that raise ConnectionError exceptions. This could be better handled, however, having a way of running only hooks without a full import could really make developping hooks faster.
I started working on this, and would be happy to submit a PR, however I would like to hear some feedback about whether it could be a bad idea before going too far.
What I have in mind is the following: split WordpressImporter.run method into several methods

prepare_run
run_hooks

prepare_run
Everything needed to run both hooks and the main import run
https://github.com/torchbox/wagtail-wordpress-import/blob/main/wagtail_wordpress_import/importers/wordpress.py#L61-L72
run_hooks
This code block could live in a single method and be called at the bottom of WordpressImporter.run method
https://github.com/torchbox/wagtail-wordpress-import/blob/main/wagtail_wordpress_import/importers/wordpress.py#L198-L222
Thoughts
It might require a "dry run" in order to set the imported_pages variables.
Also, another way of doing things could be through a command line argument --hooks_only.

Developing import_hooks can be a challenge especially if you are doing it on a live import. I noticed on some of your PR's/Issues you use a cut down version of the xml file which is a great idea and something I do too.
I light of that I built this: https://github.com/nickmoreton/wwi-docker-develop so I can run up a complete developing setup that includes both WordPress and Wagtail and you just run ./setup.sh after cloning it and in a couple of minutes you have Wagtail with a small import completed.
I'd love to hear what you think about it! Potentially you could create your own commands in the Wagtail part.


populating app_id with apiKey from settings

Fixes #30

cc @ccnixon

@ccnixon I updated the original track and orderCompleted test cases to include checking for the app_id. I just added a couple cases to validate that it still works when apiKey is not included in settings as well. Is that what you want?
Sorry if that's a dumb question, just want to make sure I'm addressing what you want :).

@aloisbarreras - yeah I guess verifying the outgoing payload includes the app_id should suffice. We can try and merge this shortly.
Thanks,
Chris

Superseded by https://github.com/segment-integrations/integration-appboy/pull/34.
See comment for more info: https://github.com/segment-integrations/integration-appboy/pull/34#issuecomment-291595460


New package: GenTeX v0.3.0

Registering package: GenTeX
Repository: https://github.com/rikhuijzer/GenTeX.jl
Created by: @rikhuijzer
Version: v0.3.0
Commit: de9d8e95d784b01083b762d2565cdb8d58571655
Reviewed by: @rikhuijzer
Reference: https://github.com/rikhuijzer/GenTeX.jl/commit/de9d8e95d784b01083b762d2565cdb8d58571655#commitcomment-42705328

Block auto-merging

This pull request can be closed since it is superseded by https://github.com/JuliaRegistries/General/pull/21968.


make file resource use properties

Start dogfooding properties

Note: Chef::Mixin::Securable will need to be done as well. Chef::Mixin::Properties should give you the DSL you need in there; include will bring the properties in correctly.

:+1: on this though, whether you make the other changes or not.

@chef/client-core passes on my desktop now and /should/ pass in appveyor/travis unless there's a sunspot...  ready for review

@jkeiser can you look at those last three commits, i have questions, in order:

is that the right way to create a new Array every time for a default?
was i using the is: syntax wrong or is that the correct fix?
why the hell is identity different from name?  should we be specifying both of those everywhere?

okay done tweaking for realz now

I think we've covered everything there, and this looks good! :+1:

okay finally made windows happy.
@chef/client-core now this is really 100% ready for review

LGTM

:+1:


Page Error

@detmach commented on Fri May 29 2020
Page Error

Belge Ayrıntıları
⚠ Bu bölümü düzenlemeyin. docs.microsoft.com ➟ GitHub sorunu bağlantısı için gereklidir.

ID: b6728e59-93ec-891e-0416-94819296ad72
Version Independent ID: 5d581acc-c651-2112-844a-6b85dc5a99a6
Content: ASP.NET Core 'de yanıt önbelleğe almaResponse caching in ASP.NET Core
Content Source: aspnetcore/performance/caching/response.md
Product: aspnet-core
Technology: aspnetcore-performance
GitHub Login: @olprod

@srvbpigh commented on Fri May 29 2020
Hello, @detmach
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Hi team,
The localized versions of this document have the tables broken
It's Machine-translated
best

@JasonCard  @CeciAc  Take a look at Content: ASP.NET Core 'de yanıt önbelleğe almaResponse caching in ASP.NET Core or look at it in Chrome and select translate to english. It looks like MT is broken. I don't see an issue with the MD file.
My guess is the following metadata is causing the problem
no-loc: [Blazor, "Identity", "Let's Encrypt", Razor, SignalR]
It's not needed for this file. I could remove it and merge to live to see if that fixes it.
cc @scottaddie @wadepickett @guardrex

@Rick-Anderson @CeciAc I recognize this issue which was fixed in another repo, so I'm now trying re-upload the source file into our loc platform to see if it will resolve the issue. Will update. This issue appears to be on loc tooling side, so it can be moved back to loc repo and/or assigned to me.

Hi @detmach
Thank you for your feedback.
It appears this issue is now resolved, but please let me know if there are still any issues.
@Rick-Anderson Could you please help to close this issue?

Merhabalar, Gün içerisinde inceledim ve herhangi bir sorun göremedim. İlgilendiğiniz ve yardımcı olduğunuz için teşekkürler.


Final warn

Added more features!

Made minor modification to grammar in notifications on infraction for a final warned user


Warning added wrt ORJSONResponse usage

Hi, I've lost enough time today ;-) to convince me that other people's time may be spared by adding this (maybe obvious) warning.

📝 Docs preview for commit fbd46afb3bcbe0cbb5d6b976b92690e145656681 at: https://268e1b07.fastapitiangolo.pages.dev

Spotted a typo and reworded a phrase.

📝 Docs preview for commit d319d5f4fb835318e52df0186510cf3799b65391 at: https://cba9a7dd.fastapitiangolo.pages.dev

Hey @FedericoMassaioli.
There is a phrase at the beginning of the document that explicitly says. 🤓
But if you return a Response directly, the data won't be automatically converted, and the documentation won't be automatically generated (for example, including the specific "media type", in the HTTP header Content-Type as part of the generated OpenAPI).
We might find this warning a little redundant.
Thanks so much for your time and interest in helping us with the documentation. 🙇

Hi @estebanx64 , I saw the phrase you quoted, but I misread it as applying to Response only, not to *JSONResponse.
Moreover, I just spotted, at the end of the page introduction, the statement:
And if that Response has a JSON media type (application/json), like is the case with the JSONResponse and UJSONResponse, the data you return will be automatically converted (and filtered) with any Pydantic response_model that you declared in the path operation decorator.
which did not happen to be true, in my experience, which moved me to add the warning

Thanks @FedericoMassaioli, this was clarified here in this PR: https://github.com/fastapi/fastapi/pull/12067, to cover not only ORJSONResponse but also the other classes, as the behavior applies to all.
I'll now close this one, but thanks for the interest! :coffee:


when a creature is dismissed or moved into box, its energy should continue regenerating as when it was deployed

done for party, box will be done tomorrow

nvm about box lol


Bug: /test.php show home page

Describe the bug
It seems the route doesn't handle "." even it registered in the route config.
CodeIgniter 4 version
latest develop and 4.1.1
Affected module(s)
Router
Expected behavior, and steps to reproduce if appropriate
It shows 404 page or show the page if route is registered.

Run spark serve

php spark serve

open browser http://localhost:8080/test.php

Context

OS: MacOS Big Sur
Web server Apache
PHP version 8.0.2

update: it seems only .php that throw to welcome page (home page).


Ability to add Line Height token in rem units

Is your feature request related to a problem? Please describe.
Currently we can add font size in rem units but we can't add line height in rem units.
Describe the solution you'd like
Ability to add line height values in rem units as well.
Describe alternatives you've considered
Currently using px values to define line height tokens.

Would it be possible to have lineHeight as a unitless value?
You can add it as a percentage in Figma, but in code, unitless values are often required.
For example, line-height: 1.5


Zpage list not updating

The zpage listing of a user's profile remains when you return to your profile.
Steps:

Enter the profile of a Creator
Open the menu and tap on Public to go to your profile
Check the list of zpages

https://user-images.githubusercontent.com/37910384/233978484-003b5973-21c3-4c2f-a98c-678839885e66.mp4
Expected behavior:
The zpages list should show the zPages you have created.
Current behavior:
The zpages list shows the zPages from the previous Creator.
The same happens in reverse, after being in your profile, refresh the page and then go back to the previous profile.

thanks!