Use ghcr.io for conatiner registry

What
We now use quay.io for container registry, but it is boring to manage users and credentials.
Github provides a container registry service. It is free for public images and its access control is integrated with GitHub.
How

enable github container registry
migrate all images from quay.io to ghcr.io
rewrite image names on codes.

Checklist

[ ] Finish implementation of the issue
[ ] Test all functions
[ ] Have enough logs to trace activities
[ ] Notify developers of necessary actions

ghcr.io: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry


Redesign "Plan info" cmp in the plan page - tags instead of status

Now that we a whole new component to indicate the status and progress of the plan, and Plan Tags
the "פרטי התוכנית" component can include the tags instead of the status info.

Hey @drorgivton I've updated the section below the status progress section, so now it included the new tags and relevant information
https://www.figma.com/file/za4s6kKXMHh0X3URWVpXg1?node-id=6591:95665#117804325
also reflected as instances on the relevant screens.


Feature idea: pass remote parameter

afaik the script looks for the »origin« remote only. On several repos I have more remotes like »upstream« etc. Would be cool to type »o upstream« and have the same feature as »o« (which defaults to »origin«).

Done, please check it @pixelbrackets

Cool, works like a charm


meshopt_simplify doesnt reduce triangle count of meshes

I am integrating meshoptimizer in my engine. Goal is to implement an LOD system.
Unfortunately calls to meshopt_simplify always return the same number of indices than the input.
My code sample:
`
/*
struct FullVertex
{
Math::Vec3 position;
Math::Vec3 normal;
Math::Vec3 tangent;
Math::Vec3 bitangent;
Math::Vec2 texCoord;
};
*/
void generateLOD(const Model::Mesh* mesh,
	std::vector<FullVertex>& outVertices,
	std::vector<unsigned int>& outIndices)
{
	// Read the input vertex and index buffers.
	const std::vector<FullVertex>& inVertices = mesh->getVertices();
	const std::vector<unsigned int>& inIndices = mesh->getIndices();

	// The target index count.
	const float targetIndicesRatio = 3.0f;
	const size_t targetIndexCount = (size_t)(glm::max((nbFloat32)inIndices.size()/ targetIndicesRatio, 3.0f));

	// Allocate enough index memory for the simplification.
	outIndices.resize(inIndices.size());

	// The target error.
	const float targetError = 0.01f;

	// Perfom the mesh simplification.
	const size_t nbOutIndices = meshopt_simplify(&outIndices[0],
		inIndices.data(),
		inIndices.size(),
		reinterpret_cast<const float*>(inVertices.data()),
		inVertices.size(),
		sizeof(FullVertex),
		targetIndexCount,
		targetError);

	if (nbOutIndices != inIndices.size())
	{
		std::cout<<"Work done";
	}

	outIndices.resize(nbOutIndices);
	outVertices = inVertices;
}

`
When run on the Sponza atrium meshes, the "Work done" is never reached. Am I doing something wrong or it is a library issue?  I am using the master branch code. I also tried release v018 but it has the issue too.

The sponza model is available here:
https://github.com/Zeta48/Sponza-Atrium
Thanks for helping!

How many vertices and indices are there in some meshes that meshopt_simplify gets as an input? A prerequisite for the simplification algorithm is a "proper" index buffer that doesn't have duplicate vertices - if number of vertices is almost always equal to the number of indices, or if it's only ~2/3 of the number of indices, this is likely the reason (the latter suggests that the .obj loader you use simply tessellates quads without actually reusing vertices).


Error on devcontainer open on MacOS // vscode

Hi there, I installed the DevContainers cli from vscode. If I want to start vscode with devcontainer open I'm getting the following error:
pplicationInsights:Failed to read JSON config file:  [
  Error: ENOENT: no such file or directory, open '/Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/applicationinsights.json'
      at Object.openSync (node:fs:605:3)
      at Object.func [as openSync] (node:electron/js2c/asar_bundle:2:2131)
      at Object.readFileSync (node:fs:473:35)
      at Object.readFileSync (node:electron/js2c/asar_bundle:2:9462)
      at t._loadJsonFile (/Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/dist/node/devContainersUserCLI.js:32:5306)
      at new t (/Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/dist/node/devContainersUserCLI.js:32:4941)
      at t.getInstance (/Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/dist/node/devContainersUserCLI.js:32:5022)
      at /Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/dist/node/devContainersUserCLI.js:33:95718
      at /Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/dist/node/devContainersUserCLI.js:5:244
      at /Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/dist/node/devContainersUserCLI.js:38:32266 {
    errno: -2,
    syscall: 'open',
    code: 'ENOENT',
    path: '/Users/tspindler/.vscode/extensions/ms-vscode-remote.remote-containers-0.338.1/dev-containers-user-cli/applicationinsights.json'
  }

What is wrong here? The file is actually not available.
Thanks in advance :)

Duplicate. Sorry.


Line sometimes stays hidden

https://github.com/DiZhou92/ngx-line-truncation/blob/6423a7b9ac9e70b87160427ce35905cc0a845937/projects/line-truncation-lib/src/lib/line-truncation.directive.ts#L135
Hi there, thanks for the cool library. However, I find that sometimes the element style is still hidden after rendering.
It happens randomly and I don't have a small test case for you but I though it is worth raising it here in case you can see anything obvious.
Could it be possible that clientHeight is <=0 ?

it's hard to say the problem without looking at a specific case, can you provide one?

close because there was no further conversation

I think I've been able to replicate this issue:

You can see the  has text content but also the style is set to hidden still.

Hi
Could you provide your issue scenario in a demo project? thanks
Regards,
Di
On Thu, 30 Jul 2020 at 11:47, Conner Simmons<EMAIL_ADDRESS>wrote:

I think I've been able to replicate this issue:
[image: Screen Shot 2020-07-30 at 11 44 15 AM]
https://user-images.githubusercontent.com/7469758/88944047-41242980-d25a-11ea-8867-729f2a522379.png
You can see the p tag has text content but also the style is set to hidden
still.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/DiZhou92/ngx-line-truncation/issues/23#issuecomment-666474276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTI62V2J6I7FJMRO64FLTR6GIZJANCNFSM4LYGS2RQ
.

@DiZhou92 I've created a StackBlitz with some of the minimum elements from my app to hopefully replicate the issue:
https://stackblitz.com/edit/ionic-dpbvci. I've attached a zip of it as well. Typically the post information is coming from and API, but it was difficult for me to mimic that without giving away some sensitive information.
ionic-dpbvci.zip

Thanks, I will take a look this week.
On Mon, 3 Aug 2020 at 14:41, Conner Simmons<EMAIL_ADDRESS>wrote:

@DiZhou92 https://github.com/DiZhou92 I've created a StackBlitz with
some of the minimum elements from my app to hopefully replicate the issue:
https://stackblitz.com/edit/ionic-dpbvci. I've attached a zip of it as
well. Typically the post information is coming from and API, but it was
difficult for me to mimic that without giving away some sensitive
information.
ionic-dpbvci.zip
https://github.com/DiZhou92/ngx-line-truncation/files/5017749/ionic-dpbvci.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DiZhou92/ngx-line-truncation/issues/23#issuecomment-668180556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTI65AY5L5O6RPAROB6NTR64AGVANCNFSM4LYGS2RQ
.


Deleting an item leading the cart to be empty leads to exception

(Please take the time and describe the problem you're having before you propose a solution.)
What I'm trying to achieve
Empty a cart.
Steps to reproduce the problem
First method:

Add an item to the cart;
Go to cart;
(optional) open the debugger to see the network request failing;
Remove the item from cart;
The code makes a request to /cart/shipingoptions/ which leads to an exception (not directly visible).

Second method:

Have an empty cart;
Send a POST request to the endpoint /cart/shipingoptions/ with a country;
It should make an exception.

or run
    response = client.post('/cart/shipingoptions/', {'country': 'US'})
    assert response.status_code == 200

What happened instead/how it failed
Note: price = '<< MISSING VARIABLE "price_range.min_price" >>'

ERROR django.request Internal Server Error: /cart/shipingoptions/ [PID:23255:Thread-29]
Traceback (most recent call last):
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 217, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 215, in _get_response
    response = response.render()
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/response.py", line 107, in render
    self.content = self.rendered_content
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/response.py", line 84, in rendered_content
    content = template.render(context, self._request)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/backends/django.py", line 66, in render
    return self.template.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 207, in render
    return self._render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 199, in _render
    return self.nodelist.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/defaulttags.py", line 411, in render
    return strip_spaces_between_tags(self.nodelist.render(context).strip())
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/library.py", line 245, in render
    return t.render(new_context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 209, in render
    return self._render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 199, in _render
    return self.nodelist.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/library.py", line 203, in render
    output = self.func(*resolved_args, **resolved_kwargs)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django_prices/templatetags/prices_i18n.py", line 73, in gross
    return format_price(price.gross, price.currency, html, normalize)
AttributeError: 'str' object has no attribute 'gross'
ERROR django.request Internal Server Error: /cart/shipingoptions/ [PID:23255:Thread-29]
Traceback (most recent call last):
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 217, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 215, in _get_response
    response = response.render()
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/response.py", line 107, in render
    self.content = self.rendered_content
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/response.py", line 84, in rendered_content
    content = template.render(context, self._request)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/backends/django.py", line 66, in render
    return self.template.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 207, in render
    return self._render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 199, in _render
    return self.nodelist.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/defaulttags.py", line 411, in render
    return strip_spaces_between_tags(self.nodelist.render(context).strip())
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/library.py", line 245, in render
    return t.render(new_context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 209, in render
    return self._render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 199, in _render
    return self.nodelist.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django/template/library.py", line 203, in render
    output = self.func(*resolved_args, **resolved_kwargs)
  File "/home/sayuri/py3venv/lib/python3.6/site-packages/django_prices/templatetags/prices_i18n.py", line 73, in gross
    return format_price(price.gross, price.currency, html, normalize)
AttributeError: 'str' object has no attribute 'gross'

@NyanKiyoshi It is indeed a bug, second method worked for me, however first one didn't. Can you share if you removed item from cart in unusual way? I am just clicking trash icon and it seems to work fine.
After some investigation, get_shipping_options from Cart app looks quite obsolete, being a part of /cart/, however art/shipingoptions/ itself does not seems like something we want to share with user.
It's a mystery to me why it is included in main html tag of base.html.
@elwoodxblues any suggestions how we should proceed with this one?

@akjanik This view is called to return a partial template of cart items, recalculated after any modification to the cart. Since this is AJAX call, we have to tell the JS what's the URL of the view, that's why we pass it in base.html. No mysteries in here. I agree it's an obsolete approach and we have a plan to get rid of this in the future.
The bug happens because all prices passed to the template are None. Can we just update the subtotal_table.html template to handle this case?


Add schema for response and request. Add schema extraction for request.

We did not align the other existing tests:
com.epages.restdocs.openapi.gradle.OpenApi20GeneratorTest > should convert multiple resource models to openapi() FAILED
com.epages.restdocs.openapi.gradle.OpenApi20GeneratorTest > should convert single resource model to openapi() FAILED


Fix patient name input and barcode scanner

Change patient mane input to allow names like: Joana d'Arc, Martin Luther King, Jr. and Hector Sausage-Hausen
Prevent barcode scanner from opening new tab when scanned, this blocks CTRL+J instead of CTRL and J allowing J letter input in form fields.
Show error message in Other Names field validation

Coverage remained the same at 50.114% when pulling 4a6dd3969417eb3d65a2ba2cac82d4432d616a49 on valvijo:master into 9829f8dcf262628d4b434d5ad83e827d3bab156e on esaude:master.

 1.0.0_3 Feature: Search Patient


[🐛 in esl-base-component]: incorrect tag is used in case of postponed custom tag name definition

ESL components receive incorrect tag names in case of default tag override
Steps to Reproduce:

Make sure you have components  in markdown statically
Initialize the component (with a delay)

await promisifyTimeout(1000);
// init...

Use a custom tag name

ESLMedia.register('smart-media');

Observe the components' initialization class

Current behavior
The class of initially existing components is set as the default
  <smart-media class="esl-media">

Expected behavior
The definition class should be used instead
  <smart-media class="smart-media">

:tada: This issue has been resolved in version 4.9.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUGFIX] Fixed manufacturer attribute join condition

Fixed manufacturer attribute join condition in ListProductGateway to use supplierID instead of id. This bugs leads to wrong manufacturer attributes when the supplierID differs from the id in s_articles_supplier_attributes.

Good catch! Thanks for your help :+1:


Add mock login for all bestuurseenheden

Adds mock-login for bestuurseenheden that do not yet have the "LoketLB-databankEredienstenGebruiker" session property.

@Riadabd thank you for the PR! I am questioning the need for this PR as I discovered that all bestuurseenheden already have the "LoketLB-databankEredienstenGebruiker" role. The following migration took care of that:
https://github.com/lblod/app-worship-decisions-database/blob/feature/add-mock-login-for-all-bestuurseenheden/config/migrations/2023/20230111172811-update-acm-contexts-mock-users.sparql
I do have some other remarks about this migration for the future that I hope will be usefull to you :)
INSERT {
  GRAPH <http://mu.semte.ch/graphs/public> {
    ?account ext:sessionRole "LoketLB-databankEredienstenGebruiker" .
  }

  GRAPH ?g {
    ?account ext:sessionRole "LoketLB-databankEredienstenGebruiker" .
  }
}

Here you explicitly inserted the new triple in the public graph. While its ok to do that since we know that mock data resides in the public graph, it might be better to derive the graph from the graph that the ?account is located in. This would look something like this:
INSERT {
  GRAPH ?g {
    ?account ext:sessionRole "LoketLB-databankEredienstenGebruiker" .
  }
} WHERE {
  GRAPH ?g {
    ?bestuurseenheid a besluit:Bestuurseenheid ;
      mu:uuid ?uuid .

    ?person a foaf:Person ;
      foaf:account ?account ;
      foaf:member ?bestuurseenheid .

    BIND(IRI(CONCAT("http://mu.semte.ch/graphs/organizations/", ?uuid)) AS ?g)

    FILTER NOT EXISTS { ?account ext:sessionRole "LoketLB-databankEredienstenGebruiker" }
  }
}

Now the ?g in the INSERT block will be replaced by the one in the WHERE block, so it will depend on where the ?bestuurseenheid is located.
The WHERE block still needs some tweaking though, it has too much info, the unknown variable in the INSERT block is ?account. The WHERE block expects you to give a condition to match the ?account. We want to match all accounts that are of type foaf:OnlineAccount and exist specifically for the mock-login-service. Looking at these conditions we end up with the following:
  INSERT {
    GRAPH ?g {
      ?account ext:sessionRole "LoketLB-databankEredienstenGebruiker" .
    }
  } WHERE {
    GRAPH ?g {
        ?account a foaf:OnlineAccount ;
               foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service> .
        FILTER NOT EXISTS { ?account ext:sessionRole "LoketLB-databankEredienstenGebruiker" . }
    }
  }

I think the FILTER NOT EXISTS is self explanatory. A little tip when writing migrations I use myself aswel is to check in app-digitaal-loket if something similar hasnt been done yet. Most of the time is has and you can just copy it and change some values. I  found the following migration that does the same (multiple times though so we only need to copy one of them)
https://github.com/lblod/app-digitaal-loket/blob/master/config/migrations/2020/20200814135500-add-missing-mock-user-roles.sparql


ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.

scrcpy 2.4 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO:     -->   (usb)  19141FDEE00ASP                  device  Pixel_6_Pro
C:\Pixel\platform-tools\scrcpy-server: 1 file pushed, 0 skipped. 36.7 MB/s (69007 bytes in 0.002s)
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27183, retrying on 27184
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27184, retrying on 27185
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27185, retrying on 27186
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27186, retrying on 27187
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27187, retrying on 27188
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27188, retrying on 27189
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27189, retrying on 27190
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27190, retrying on 27191
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27191, retrying on 27192
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27192, retrying on 27193
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27193, retrying on 27194
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27194, retrying on 27195
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27195, retrying on 27196
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27196, retrying on 27197
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27197, retrying on 27198
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27198, retrying on 27199
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: Could not listen on any port in range 27183:27199
WARN: 'adb reverse' failed, fallback to 'adb forward'
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27183: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27183, retrying on 27184
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27184: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27184, retrying on 27185
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27185: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27185, retrying on 27186
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27186: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27186, retrying on 27187
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27187: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27187, retrying on 27188
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27188: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27188, retrying on 27189
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27189: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27189, retrying on 27190
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27190: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27190, retrying on 27191
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27191: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27191, retrying on 27192
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27192: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27192, retrying on 27193
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27193: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27193, retrying on 27194
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27194: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27194, retrying on 27195
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27195: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27195, retrying on 27196
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27196: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27196, retrying on 27197
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27197: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27197, retrying on 27198
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27198: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27198, retrying on 27199
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27199: 以一种访问权限不允许的方式做了一个访问套接字的尝试。 (10013)
ERROR: "adb forward" returned with value 1
ERROR: Could not forward any port in range 27183:27199
ERROR: Server connection failed

[ ] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

https://stackoverflow.com/questions/10461257/an-attempt-was-made-to-access-a-socket-in-a-way-forbidden-by-its-access-permissi ?

I have the same error. Service restart resolve it:
net stop hns
net start hns

I found that if you are using Windows Sandbox, its connection will occupy these ports, so you have to shut down anything like this.


Revert error emit on Slow Stream Gen

This seems to be a symptom of a larger issue....
It seems that streams aren't being properly ended, as this will emit after every song (effectively ruining queuing systems with this emitted as an error). This might account for some memory build up when playing many songs in a row. This PR is a band-aid fix, a real fix should be looked into.

Can confirm.


Backend Database

Are there any databases that are supported here? I would like to use this in production.

Hi @sid027.
Not at all, the goal of the project is to provide a data structure library. If you want to hook it up with a database, this is something you will have to implement on your own.

Thanks!


fix: check EDITOR_MAPPING_PREFIX before appending content type

If a custom Streams template is specified in settings, EDITOR_MAPPING_PREFIX can be undefined and throw a Javascript exception. Check if EDITOR_MAPPING_PREFIX is defined. If not, leave editorType unassigned and try best-guess based on encoding.

@ahanniga Apologies for the late reply. The upcoming TW v5.2.4 release will introduce the $genesis widget which will allow the replacement of the $streams-edit widget with wikitext handling to choose the appropriate editor. The plan is to take advantage of that opportunity to resolve this issue in a more flexible and hackable manner.


Support to Aqara G2 Camara + Zigbee Gateway

Hello,
Is it miio compatible with the Aqara G2 Camara. I would like to use the Zigbee functionality of that camera.
Thanks!

Miio uses Wifi, but Zigbee is something completely different and completely non-compatible. It could only work via a spceific (Aqara?) hub.


Implement Height coding area for Data Manipulation

Hi Team.
As a fanatic user of your plugins, I just bring a suggestion today.
I'm using Data Manipulation plugin long time and is a little annoying the small area for coding. But I'm now using Dynamic Text plugin and seems easier to code due to I can expand the Height of the area.
Could you implement that feature to this plugin too? Will be nice to coding better. Even can affect both, Initial Request and Update Request, I don't think its a problem having one for both.
Like this from Dynamic Text

Thanks in advance and you always doing a great job.

@Yoslandy Thank you for opening feature request. I agree and like the height slider for Dynamic Text.
We will plan to add it in the upcoming version.


Link problem in Analyses of metagenomics data - The global picture

On section on initial import of data (Pampa soil: SRR531818
Anguil soil: SRR651839) the link to Zenodo for data links back to tutorial (https://galaxyproject.github.io/training-material/topics/metagenomics/tutorials/general-tutorial/tutorial.html) rather than to the intended (I presume) https://zenodo.org/record/815875#.WcjZorL5hpg
Hope that this is helpful,
Mark

thanks for reporting this @mfernandes61! :)


Firewall creation should be after gcloud was installed

Firewall uses gcloud, so instructions to create firewall should be after gcloud's.
@kubernetes/kube-deploy-reviewers

This change is

/assign karan

/assign medinatiger

/lgtm


Added pytorch sprint to sprints

Hey there, thanks for your contribution!
Just one request before merging, annotated next to the issue. While you're at it, can you please also merge main into your branch and make sure the pytorch sprint is at the bottom of the merged sprint list?
Thanks!

Pytorch is a the bottom of the list. I'm sorry, I'm not sure what you mean regarding 'annotated next to the issue'.

Hey there, thanks for your contribution!
Just one request before merging, annotated next to the issue. While you're at it, can you please also merge main into your branch and make sure the pytorch sprint is at the bottom of the merged sprint list?
Thanks!

Pytorch is a the bottom of the list. I'm sorry, I'm not sure what you mean regarding 'annotated next to the issue'.

Ah, I get it, you mean that you commented next to the issue. I've made the change and caught up with main


Provide a way to select proxy authenticator

I create a proxy selector that read environment variables http_proxy https_proxy all_proxy and no_proxy. The proxy is selected by schema.
But I found no way to create an authenticator matching the proxy selection flow.
In proxyAuthenticator I cannot get anything about which proxy is selected, and... How to configure SOCKS5 authenticator?(By proxySelector)

OkHttp doesn’t know hardly anything about SOCKS authentication.
Consider making a custom SocketFactory that does SOCKS, and specifying the Proxy as NO_PROXY to OkHttp.

thank you. And how can I get the proxy info in proxyAuthenticator ?

I notice that OkHttp only use SocketFactory::createSocket() to create an empty socket. I suppose after that OkHttp will use connect(SocketAddress, int) to connect remote. So I lost the host. There're 2 problem at least:

I can't use socks5h schema, that means the DNS query will do local only.(In some network it's a major problem)
I can't support proxy environment variable no_proxy. It should handle hostname match

My problem partial solved. I miss the parameter route: Route? 🤐 Thank you for your reply. But the Socks5 is also a problem. Even the hostname match will be done at proxy selection phrase, the hostname can't pass to proxy.

Just curious: is the SOCKS for Tor? Something else? Making Tor easy seems like a good idea.

Not only for tor. We'd best support proxy as many as possible. Such as we use shadowsocks and v2ray as proxy tools. Both of them allow socks5 inbound. (They support http proxy also, so it's not a big problem)

Maybe this is a good target, document how to cleanly support this via the socket factory with examples.

A testing PR https://github.com/square/okhttp/pull/7645/files
I've replaced Dns with just faking a localhost address.
And using a Socks5 SocketFactory.
The test is using shadowsocks docker image.  But I don't know what I'm doing.
Exception in thread "main" java.net.SocketTimeoutException: Read timed out
	at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
	at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
	at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
	at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
	at java.base/java.net.Socket$SocketInputStream.read(Socket.java:976)
	at java.base/java.net.Socket$SocketInputStream.read(Socket.java:971)
	at sockslib.utils.StreamUtil.read(StreamUtil.java:42)
	at sockslib.client.GenericSocksMethodRequester.doRequest(GenericSocksMethodRequester.java:66)
	at sockslib.client.Socks5.buildConnection(Socks5.java:200)
	at sockslib.client.SocksSocket.connect(SocksSocket.java:208)
	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:138)

Ok working with https://hub.docker.com/r/serjs/go-socks5-proxy/
But it's using DNS in the client.
Will try to avoid Dns.

@iseki0 do you have any advice on how to achieve this in Java? I can't find an API for this.

I'm create a simple socks5 SocketFactory implementation, soon I will create a PR for it.

@yschimke Is this kind of pull request allowed by the repository? I can’t find any place for the code.

@iseki0 I don't think we are the best repository to host and maintain a Socks5 socket handler. It's not OkHttp specific, so should be useful for others.
Suggestions

Host this in an existing Socks related github project, and we add a sample including docker image to OkHttp
Host this in a new github project and publish to jitpack, and we add a sample including docker image to OkHttp
We include this just as a sample, but developers will need to copy and paste into their project.

Is there a natural home for it.


newuser greetings plugin

Plugin to greet new users and send them the CoC in private

Added a userrequests.js plugin as well

PR updated with 00e59e2

PR updated to include hackernews plugin


Open Source Analysis #315

performed opensource_analysis on survey_results_sample_2018.csv.

@sanjay-kv I completed the issue assigned to me.Please review the PR.Let me know if there are any mistakes.I will rectify them.

@sanjay-kv I would like to add an app.py file to the Streamlit folder. This file will incorporate the analysis performed in the Jupyter notebook into the Streamlit app, making all functionalities and visualizations accessible through the app interface. Is this acceptable?

This PR address the issue #315


Some leagues not working since last update

Same prolem after update it doesn't work anymore

Module stopped working after last update. Please fix this is a great module. very useful!

i have the same problem, the modules dont work after the update

i reverted the last update. so it should work again

so what shoul we do to make it work again?

I did a git pull but still not working

did git pull inside the MMM-SoccerLiveScore directory, then restarted MagicMirror with pm2 and it works again for me. Thanks.


A question about WinUI3's TabView

First of all, because I'm a Chinese, there may be some grammatical errors in it.
I'm using WinUI3 to develop software for editing documents. I want to change the text of the ToolTip for the AddTabButton and the TabCloseButton for the tab view.
What do I do?

The short answer is "it may not be worth it" however if realy want too this is a possible c# solution (c++ should be similar but I don't know that syntax).
The new tab button in the TabView control template has an x:Name of "AddButton". This allows it to found with in the tab view control's visual tree which then enables it's tool tip to be changed. If you have a (simplified) tab view created in xaml:
<Page
    x:Class="MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <TabView x:Name="DocumentTabView"/>
    </Grid>
</Page>

In the page constructor, add the follwing. The loaded event is important, at that stage you know that the visual tree will have been fully constructed:
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();

            DocumentTabView.Loaded += (s, e) =>
            {
                Button addButton = DocumentTabView.FindControl<Button>("AddButton");

                if (addButton != null)
                    ToolTipService.SetToolTip(addButton, "custom add text");
            };
        }
    }

Where the extension method FindControl<T>(string name) searches the visual tree. You could copy it from this stack overflow answer, adding using Microsoft.UI.Xaml.Media; for the visual tree helper class:
https://stackoverflow.com/a/58091583
Exactly the same technique can be used for the close button on each tab. The TabViewItem control template close button's x:Name is "CloseButton".

Very thank you. I will try it later.
从 Windows 版邮件发送
发件人: David Hancock
发送时间: 2023年8月8日 2:44
收件人: microsoft/microsoft-ui-xaml
抄送: WillowTree1184; Author
主题: Re: [microsoft/microsoft-ui-xaml] A question about WinUI3's TabView(Issue #8719)
The short answer is "it may not be worth it" however if realy want too this is a possible c# solution (c++ should be similar but I don't know that syntax).
The new tab button in the TabView control template has an x:Name of "AddButton". This allows it to found with in the tab view control's visual tree which then enables it's tool tip to be changed. If you have a (simplified) tab view created in xaml:

<Grid>
    <TabView x:Name="DocumentTabView"/>
</Grid>

In the page constructor, add the follwing. The loaded event is important, at that stage you know that the visual tree will have been fully constructed:
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
        DocumentTabView.Loaded += (s, e) =>
        {
            Button addButton = DocumentTabView.FindControl<Button>("AddButton");

            if (addButton != null)
                ToolTipService.SetToolTip(addButton, "custom add text");
        };
    }
}

Where the extension method FindControl(string name) searches the visual tree. You could copy it from this stack overflow answer, adding using Microsoft.UI.Xaml.Media; for the visual tree helper class:
https://stackoverflow.com/a/58091583
Exactly the same technique can be used for the close button on each tab. The TabViewItem control template close button's x:Name is "CloseButton".
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Sorry, but your code doesn't work with me.
DocumentTabView.FindControl<Button>("AddButton");

This line of code has an error with me. Compiler tip: "TabView" does not contain "FindControl".
I don't know why. Since I'm a beginner to WinUI3, the language I use is C#. I'm sorry I didn't make it clear at the beginning.

FindControl is an extension method that you have to implement. Copy the code below in to a new "FrameworkElementExtensions.cs" file, change the namespace and add a using statement to reference it where it's called in your code.
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Media;

namespace <your namespace>
{
    internal static class FrameworkElementExtensions
    {
        public static T FindControl<T>(this FrameworkElement element, string name) where T : FrameworkElement
        {
            if (element == null)
                return null;

            if ((element is T result) && (element.Name == name))
                return result;

            int count = VisualTreeHelper.GetChildrenCount(element);

            for (int i = 0; i < count; i++)
            {
                if (VisualTreeHelper.GetChild(element, i) is FrameworkElement child)
                {
                    result = FindControl<T>(child, name);

                    if (result != null)
                        return result;
                }
            }

            return null;
        }
    }
}

Thanks for the code, my compiler didn't report an error. But it doesn't seem to work.
Here is my code snippet:
Button TabViewAddButton = MainTabView.FindControl<Button>("AddTabButton");
if (TabViewAddButton != null)
{
    ToolTipService.SetToolTip(TabViewAddButton, "新建企划");
}

But it works like this (this image hides the mouse, which hovers over the "Add tab" button):

I want the prompt displayed to change to "新建企划" when I hover over the "Add Tab" button.
PS: The "x:Name" property of TabView in my project is "MainTabView".

The button's name is not correct, try:
Button TabViewAddButton = MainTabView.FindControl<Button>("AddButton");

I tried, but it didn't work either.

Could you share your code?
https://github.com/microsoft/microsoft-ui-xaml/assets/28826959/e0c00908-7c63-4cc3-ad68-0b208bf0a391

Please replace this code in the window constructor:
      Button TabViewAddButton = MainTabView.FindControl<Button>("AddButton");
      if (TabViewAddButton != null)
      {
          ToolTipService.SetToolTip(TabViewAddButton, "新建企划");
      }

with this, the loaded event mentioned earlier is important:
      MainTabView.Loaded += (s, e) =>
      {
          Button TabViewAddButton = MainTabView.FindControl<Button>("AddButton");
          if (TabViewAddButton != null)
          {
              ToolTipService.SetToolTip(TabViewAddButton, "新建企划");
          }
      };

It work, very thank you! And what about the TabCloseButton?

And what about the TabCloseButton?

That might be... more complicated. I'm not sure there's a way to set that. From https://github.com/microsoft/terminal/issues/10109#issuecomment-843566049

Seems to be initialized here https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/TabView.cpp#L45 as a private member of the TabView class with the text taken from https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/Strings/en-us/Resources.resw#L137.
So I guess WinUI would first need to be adapted to make the tooltip on the close button configurable?

Admittedly, that's on a two years old WinUI 2 build, but I haven't found one since.

Which I also think is tracked in #4930

Closing this issue as the original question appears to have been answered, and the follow-up question about the close button is tracked in the linked bug.


DTR 2.5.x offline images missing

File: datacenter/dtr/2.5/guides/admin/install/install-offline.md
The DTR 2.5.x offline images missing images are missing on this page.

Issue moved to docker/docs-private #880 via ZenHub


Add issue #1850 removing constraint from classes

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature
What is the current behavior? (You can also link to an open issue here)
https://github.com/reactiveui/ReactiveUI/issues/1850
What is the new behavior (if this is a feature change)?
It will allow the updated classes to be used without the Class constraints meaning that they could be used with other structures like interfaces.
What might this PR break?
nothing, I think.
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ajpinedam sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[1.10] Bump Mesos to nightly 1.4.x 5f6d4cd

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/e7b117e0d9072a50756dd90e12d691af572aed7c...5f6d4cdc79e1b28bc2d157d4b5b4aaf941a26d91

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot bump-ee

The mesos bump will be covered by https://github.com/dcos/dcos/pull/3055
The corresponding EE PR is left open, because it carries an modules bump.


Test fundamental properties of CoinSelection.performSelection.

Issue number
ADP-1037
Summary
This PR tests fundamental properties of the CoinSelection.performSelection function.
Details
In the case where performSelection successfully produces a Selection s for a given set of SelectionConstraints cs and SelectionParams ps, we verify that the following properties hold:

selectionHasSufficientCollateral cs ps s
selectionHasValidSurplus cs ps s

Not included in this PR
This PR doesn't include:

tests that verify the failure cases of performSelection
tests that verify the minimum collateral amount calculation.

These tests will be included in future PRs.

bors r+


tickets/DM-38729: Add fileserver

This adds user fileservers to an RSP, managed by jupyterlab-controller.

Oh, also, create a generic NetworkPolicy in the fileservers namespace that will match all running fileserver pods and do the normal work of ensuring that only the ingress can talk to them. You could also block all egress except to the ingress, I think? Although I'm not sure how NetworkPolicy affects mounted NFS volumes.

Once I've updated work on DM-38972 with this, we should close this one unmerged.

I think this branch is now obsolete.


Fix typos in different files

This fixes some small typos I stumbled upon.

Changed commit message to start with capital letter


MainViewContainer is not a valid ViewContainer

Hi,
Here's another one. I cannot set a viewContainer like this
@View(value = "home", injector = DemoInjector.class, viewContainer = MainViewContainer.class)

The NavigationManagerGenerator complains about not being a valid ViewContainer.
INFO] GET /recompile/demo
[INFO]    Job com.github.natros.gwtviews.demo.Demo_1_0
[INFO]       starting job: com.github.natros.gwtviews.demo.Demo_1_0
[INFO]       Compiling module com.github.natros.gwtviews.demo.Demo
[INFO]          Computing all possible rebind results for 'com.github.gilbertotorrezan.gwtviews.client.INavigationManager'
[INFO]             Rebinding com.github.gilbertotorrezan.gwtviews.client.INavigationManager
[INFO]                Invoking generator com.github.gilbertotorrezan.gwtviews.rebind.NavigationManagerGenerator
[INFO]                   [ERROR] com.github.natros.gwtviews.demo.client.views.MainViewContainer is not a valid ViewContainer for View com.github.natros.gwtviews.demo.client.views.home.HomeView.
[INFO]          [ERROR] Errors in 'com/github/gilbertotorrezan/gwtviews/client/NavigationManager.java'
[INFO]             [ERROR] Line 40: Failed to resolve 'com.github.gilbertotorrezan.gwtviews.client.INavigationManager' via deferred binding
[INFO]          [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[INFO]             [WARN] com.github.gilbertotorrezan.gwtviews.client.INavigationManagerImpl
[INFO]          Unification traversed 16271 fields and methods and 1534 types. 1501 are considered part of the current module and 1501 had all of their fields and methods traversed.
[INFO]       [ERROR] Compiler returned false
[INFO]       [WARN] recompile failed
[INFO]       [WARN] continuing to serve previous version

You can test here
https://github.com/natros/gwt-views-demo

maybe this will help you

Thank you

I can't release a version right now, but I deployed the 1.2.4-SNAPSHOT to Maven. Please test with it for now if you can. And thanks again for the bug reports =)

it's working.
thank you.

Version 1.2.4 released.


Can't change user password

I dont know, if im just blind, or if there is a real problem.
When im signed in as a user, and try to change the users password, and it says "saved".
Then im not able to login with the new password, but the old is still working.
There are no problems, when i change the password in the User Management as admin.

That's actually an issue. I've fixed it in 74e895610642552c98c0015d0f8347735aaed457 and it will be released in the next release.

Fixed in v0.6.1.


fix: last col cannot be expanded

Last col is now expandable
https://github.com/qlik-oss/sn-pivot-table/assets/29652890/0f0b3303-cdca-42fd-9cbf-c2b88ce2c3e6

Did you take a look at why layoutService.size.x did not give the correct value?

the layoutService.size.x will always count the measures in that case, so we have one measure -> we get x as 1
if i add two measures -> x will become 2 and so on

the layoutService.size.x will always count the measures in that case, so we have one measure -> we get x as 1 if i add two measures -> x will become 2 and so on

That makes sense


Migrating layout parser interface to timo

This is step 1 to move layout parser from SPP to timo: https://github.com/allenai/scholar/issues/32320

Updated description to link to issue.
The same file page0.png is used to in layoutparser's integration test code in spp and villa's integration test code here


Remove magma bow recipe

cuz hypixel removed the recipe https://wiki.hypixel.net/Magma_Bow

dont mind the commit garbage

Will be automatically updated whenever i update the dangerous branch


on_attach doesn't get run if one of the configs throws an error

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Issues

[X] I have checked existing issues and there are no issues with the same problem.

Neovim Version
v0.9.5
Dev Version?

[X] I am using a stable Neovim release version, or if I am using a dev version of Neovim I have confirmed that my issue is reproducible on a stable version.

Operating System
OSX
Minimal Config
-- this template is borrowed from nvim-lspconfig
local on_windows = vim.loop.os_uname().version:match("Windows")
local function join_paths(...)
	local path_sep = on_windows and "\\" or "/"
	local result = table.concat({ ... }, path_sep)
	return result
end

vim.g.loaded_remote_plugins = ""
vim.cmd([[set runtimepath=$VIMRUNTIME]])

local temp_dir = vim.loop.os_getenv("TEMP") or "/tmp"

vim.cmd("set packpath=" .. join_paths(temp_dir, "nvim", "site"))

local package_root = join_paths(temp_dir, "nvim", "site", "pack")
local install_path = join_paths(package_root, "packer", "start", "packer.nvim")
local compile_path = join_paths(install_path, "plugin", "packer_compiled.lua")

local null_ls_config = function()
	local null_ls = require("null-ls")
	-- add only what you need to reproduce your issue
	null_ls.setup({
		sources = {
			null_ls.builtins.diagnostics.eslint_d,
			null_ls.builtins.formatting.gofmt,
		},
		debug = true,
	})
end

local function load_plugins()
	-- only add other plugins if they are necessary to reproduce the issue
	require("packer").startup({
		{
			"wbthomason/packer.nvim",
			{
				"nvimtools/none-ls.nvim",
				requires = { "nvim-lua/plenary.nvim" },
				config = null_ls_config,
			},
		},
		config = {
			package_root = package_root,
			compile_path = compile_path,
		},
	})
end

if vim.fn.isdirectory(install_path) == 0 then
	vim.fn.system({ "git", "clone", "https://github.com/wbthomason/packer.nvim", install_path })
	load_plugins()
	require("packer").sync()
else
	load_plugins()
	require("packer").sync()
end

Steps to Reproduce

Open a .go file

That's it. The on_attach won't get run, and more importantly doing :NullLsInfo will yield no sources attached, even though gofmt should be attached.
Now, you can try deleting the eslint_d source, and then it'll work fine.
Reproducibility Check

[X] I confirm that my minimal config is based on the minimal_init.lua template and that my issue is reproducible by running nvim --clean -u minimal_init.lua and following the steps above.

Expected Behavior
Gofmt should work in go files and on_attach should be run, regardless of whether one of the sources throws an error.
Actual Behavior
I get the following error in the console: [null-ls] failed to load builtin eslint_d for method diagnostics; please check your config
And no sources are loaded
Debug Log
[WARN  Tue Mar  5 16:51:14 2024] /Users/ahmed/.local/share/nvim/site/pack/packer/start/none-ls.nvim/lua/null-ls/builtins/init.lua:17: failed to load builtin eslint_d for method diagnostics; please check your config

Help
No
Implementation Help
No response
Requirements

[X] I have read and followed the instructions above and understand that my issue will be closed if I did not provide the required information.

Ok a small update, after this kept not working, I've just noticed that eslint_d and a few other sources have been completely removed. Does anyone know why this happened?

Search for eslint_d in #81. You should migrate to https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#eslint or use https://github.com/nvimtools/none-ls-extras.nvim


Provide external authentication services with Certificate signature information

We are looking to build an external authentication services that checks if an Bearer token matches a client's TLS certificate. Currently this does not appear to be possible. It would be useful if some way of identifying the client's certificate was passed to the auth service.

This is pretty essential for client certificate validation to be useful. E.g. the NGINX ssl module sets variables for cert validation result as well as DNs, fingerprint, serial, content etc. which can be passed to the auth service via headers (see https://nginx.org/en/docs/http/ngx_http_ssl_module.html#variables).

We've landed the extauth APIs in upstream Envoy recently, and will be switching to that soon. I think the upstream Envoy interface supports this use case. cc @gsagula

@richarddli Envoy upstream provides access to SSL connection data, so I assume that most of this information is available:
https://github.com/envoyproxy/envoy/blob/2a453756e415b05fe4a62ebb2d9f6df18bd557d5/include/envoy/network/connection.h#L187
https://github.com/envoyproxy/envoy/blob/2a453756e415b05fe4a62ebb2d9f6df18bd557d5/source/common/ssl/ssl_socket.h#L25
@PranayAgarwal I'm not familiar with the ngx_http_ssl_module. Could you please provide a bit more detail about which fields need to be sent to the authorization server?
Thanks!

Here is what nginx exposes:
$ssl_client_verify - client cert validation result ("SUCCESS”, “FAILED:reason”, or “NONE”)
$ssl_client_escaped_cert - the certificate itself
$ssl_client_fingerprint, $ssl_client_i_dn, $ssl_client_s_dn, $ssl_client_serial, $ssl_client_v_end, $ssl_client_v_remain, $ssl_client_v_start - various cert fields, in case the full thing isn't needed
The auth server or upstream server itself may use any or all of them depending on its authorization logic. It would be ideal to add some of the common fields as default headers, and the rest optionally via fields in the ambassador TLS config.

@PranayAgarwal Thanks for the details. I will dive into Envoy to see what we need.


need directions for running validation tests locally

It looks like the CI jobs run some validation against the content. It would be nice to know how to run those locally before creating a pull request.

It validates that all links are reachable, the other 'test' is just build the site, which is at 'readme' for using a container to validate that it renders properly

doc is at https://github.com/metal3-io/metal3-io.github.io/blob/master/README.md  the only difference is that CI also validates broken links as said before, but not just on new article but on all the website

I see checks with names "Header rules", "Pages changed", "Redirect rules", and "Mixed content". What are those?

That's for netlify if you use 'traffic rules' to load balance received requests between sites, etc, we just use them for the page preview, so you can disregard those.

https://www.netlify.com/docs/continuous-deployment/

@dhellmann is this clear now? something else that needs clarification?

Closing out of inactivity


vs studio 2022 collapse code hide class/function names

This issue has been moved from a ticket on Developer Community.

[severity:It's more difficult to complete my work]
In 2019, collapsing does not hide the class/function name and the contents of the parentheses after it。
Class Obj():
def init(self):
something here
something here
after collapsing:
Class Obj():
def init(self): ...
In 2022, the collapse hides the class/function name and the contents of the parentheses after it
after collapsing:
Class Obj():
def...

Original Comments
Feedback Bot on 10/9/2022, 06:10 PM:
(private comment, text removed)

Original Solutions
(no solutions)

duplicate of https://github.com/microsoft/PTVS/issues/7032


Cannot spawn vehicle

Hello, I carefully followed your instructions, but running the 1st launch file roslaunch mavros_nav_2d gazebo.launch, the vehicle will not spawn, and i get the following message:
Resource not found: The following package was not found in <arg default="$(find mavlink_sitl_gazebo)/worlds/empty.world" name="world"/>: mavlink_sitl_gazebo
I think my system is looking for mavlink_sitl_gazebo instead of posix_sitl_default. I am unsure of how to resolve this. Also, is it really necessary to use PX4 1.8.2? Why?
Thank you

This example is not maintained unfortunately, so the PX4 1.8.2 was the version working at that time. I know Firmware 2 is out now, but the px4/mavros config of this project has to be migrated. At least https://github.com/matlabbe/mavros_nav_2d/blob/master/launch/slam.launch should be pretty similar for the latest px4 version. You may restart from latest px4/mavros drone example, and add the realsense camera like this to simulated drone: https://github.com/matlabbe/mavros_nav_2d/blob/356ba6e1d74a7fa4a5fcf5c2fd958c4be4dc10c2/urdf/drone.urdf.xacro#L276-L290

I updated the config file to work with PX4 v1.11.3, the current version I am using for another project that is yet to be finished (we tend to stick on same version for the whole project). I updated the README with installation instructions. I think the original error was that git submodules of PX4 were not cloned.
When changing PX4 versions, make sure to cleanup the eeprom and etc folders created in ~/.ros, I had some problems difficult to debug that may be caused by incompatible config files with different versions still in my ~/.ros folder. px4fmu_common was crashing everytime.

Would be fixed by the update to PX4 v1.12.3: https://github.com/matlabbe/rtabmap_drone_example/commit/f13b40dcea986dce2f725ceebc3316ec00cfa664


feat: add support to customize gcloud command of LocalDatastoreHelper

Fixes #19

This does not build & test cleanly for me in my environment which doesn't have gcloud on my PATH, the full test suite would run successfully prior to this change.
My java & maven:
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T11:06:16-04:00)
Maven home: ~/opt/maven/latest
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: ~/opt/java/jdk1.8.0_201/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.2.17-1rodete3-amd64", arch: "amd64", family: "unix"

build log with timeout failure

@BenWhitehead Thanks for catching this, it's fixed please check again this in your env.

@BenWhitehead  Both the comments have been addressed. PTAL


composer config hangs

Description:
docker-compose build workspace hangs as follows
=> CACHED [ 65/111] RUN if [ false = true ]; then  composer global require "laravel/installer" ;fi                                                                                0.0s
 => [ 66/111] RUN if [ https://mirrors.aliyun.com/composer/ ]; then     composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ ;fi                                          257.9s

There are two point about composer config in the Dockerfile of workspace. The first is successful，but the Second hangs.
the difference is the first's USER is laradock， the second's USER is root.
Dockerfile as follows
###########################################################################
# Composer:
###########################################################################

USER root

# Add the composer.json
COPY ./composer.json /home/laradock/.composer/composer.json

# Add the auth.json for magento 2 credentials
COPY ./auth.json /home/laradock/.composer/auth.json

# Make sure that ~/.composer belongs to laradock
RUN chown -R laradock:laradock /home/laradock/.composer

# Export composer vendor path
RUN echo "" >> ~/.bashrc && \
    echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bashrc

# Update composer
ARG COMPOSER_VERSION=2
ENV COMPOSER_VERSION ${COMPOSER_VERSION}
RUN set -eux; \
      if [ "$COMPOSER_VERSION" = "1" ] || [ "$COMPOSER_VERSION" = "2" ]; then \
          composer self-update --${COMPOSER_VERSION}; \
      else \
          composer self-update ${COMPOSER_VERSION}; \
      fi

USER laradock

# Check if global install need to be ran
ARG COMPOSER_GLOBAL_INSTALL=false
ENV COMPOSER_GLOBAL_INSTALL ${COMPOSER_GLOBAL_INSTALL}

RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
    # run the install
    composer global install \
;fi

# Check if auth file is disabled
ARG COMPOSER_AUTH_JSON=false
ENV COMPOSER_AUTH_JSON ${COMPOSER_AUTH_JSON}

RUN if [ ${COMPOSER_AUTH_JSON} = false ]; then \
    # remove the file
    rm /home/laradock/.composer/auth.json \
;fi

ARG COMPOSER_REPO_PACKAGIST
ENV COMPOSER_REPO_PACKAGIST ${COMPOSER_REPO_PACKAGIST}

RUN if [ ${COMPOSER_REPO_PACKAGIST} ]; then \
    composer config -g repo.packagist composer ${COMPOSER_REPO_PACKAGIST} \
;fi

# Export composer vendor path
RUN echo "" >> ~/.bashrc && \
    echo 'export PATH="~/.composer/vendor/bin:$PATH"' >> ~/.bashrc

...

###########################################################################
# Laravel Installer:
###########################################################################

USER laradock

ARG INSTALL_LARAVEL_INSTALLER=false

RUN if [ ${INSTALL_LARAVEL_INSTALLER} = true ]; then \
    # Install the Laravel Installer
    composer global require "laravel/installer" \
;fi

USER root

ARG COMPOSER_REPO_PACKAGIST
ENV COMPOSER_REPO_PACKAGIST ${COMPOSER_REPO_PACKAGIST}

RUN if [ ${COMPOSER_REPO_PACKAGIST} ]; then \
    composer config -g repo.packagist composer ${COMPOSER_REPO_PACKAGIST} \
;fi

Expected Behavior:
build successfully
Context information:
Output of git rev-parse HEAD
baa65a6e9e835f049654939bc7989f0fcd1f18dc

Output of docker version
Client:
 Cloud integration: v1.0.31
 Version:           23.0.5
 API version:       1.42
 Go version:        go1.19.8
 Git commit:        bc4487a
 Built:             Wed Apr 26 16:12:52 2023
 OS/Arch:           darwin/arm64
 Context:           default

Server: Docker Desktop 4.19.0 (106363)
 Engine:
  Version:          23.0.5
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.8
  Git commit:       94d3ad6
  Built:            Wed Apr 26 16:17:14 2023
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.20
  GitCommit:        2806fc1057397dbaeefbea0e4e17bddfbd388f38
 runc:
  Version:          1.1.5
  GitCommit:        v1.1.5-0-gf19387a
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker-compose version
Docker Compose version v2.17.3

System info: Mac, Windows or Linux. Include which disto/version
Mac M2

Steps to reproduce the issue:

docker-compose build workspace

Stacktrace & Additional info:
.env file as follows
CHANGE_SOURCE=true

### WORKSPACE #############################################

WORKSPACE_BASE_IMAGE_TAG_PREFIX=latest
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
WORKSPACE_COMPOSER_VERSION=1
WORKSPACE_COMPOSER_AUTH_JSON=false
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://mirrors.aliyun.com/composer/
...
WORKSPACE_INSTALL_LARAVEL_INSTALLER=false

[+] Building 5.7s (69/115)
 => CACHED [ 23/111] RUN if [ false = true ]; then     apt-get -qq -y install mysql-client &&     curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/8.4.6/drush  0.0s
[+] Building 5.8s (69/115)
 => CACHED [ 23/111] RUN if [ false = true ]; then     apt-get -qq -y install mysql-client &&     curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/8.4.6/drush  0.0s
[+] Building 6.0s (69/115)
 => CACHED [ 25/111] RUN set -eux;     if [ false = true ]; then       apt-get -yqq install php7.2-bz2;     fi;     if [ false = true ]; then       apt-get -yqq install php7.2-gmp;     fi;     if [  0.0s
[+] Building 323.5s (70/115)
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 68.43kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/laradock/workspace:latest-7.2                                                                                0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 446B                                                                                0.0s
 => [  1/111] FROM docker.io/laradock/workspace:latest-7.2                                                                                0.0s
 => CACHED [  2/111] RUN if [ true = true ]; then     sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list;     sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/a  0.0s
 => CACHED [  3/111] RUN set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g 1000 laradock &&     useradd -l -u 1000 -g laradock -m laradock -G docker_env &&  0.0s
 => CACHED [  4/111] RUN ln -snf /usr/share/zoneinfo/PRC /etc/localtime && echo PRC > /etc/timezone                                                                                0.0s
 => CACHED [  5/111] COPY ./aliases.sh /root/aliases.sh                                                                                0.0s
 => CACHED [  6/111] COPY ./aliases.sh /home/laradock/aliases.sh                                                                                0.0s
 => CACHED [  7/111] RUN sed -i 's/\r//' /root/aliases.sh &&     sed -i 's/\r//' /home/laradock/aliases.sh &&     chown laradock:laradock /home/laradock/aliases.sh &&     echo "" >> ~/.bashrc &&     0.0s
 => CACHED [  8/111] RUN echo "" >> ~/.bashrc &&     echo "# Load Custom Aliases" >> ~/.bashrc &&     echo "source ~/aliases.sh" >> ~/.bashrc &&    echo "" >> ~/.bashrc                               0.0s
 => CACHED [  9/111] COPY ./composer.json /home/laradock/.composer/composer.json                                                                                0.0s
 => CACHED [ 10/111] COPY ./auth.json /home/laradock/.composer/auth.json                                                                                0.0s
 => CACHED [ 11/111] RUN chown -R laradock:laradock /home/laradock/.composer                                                                                0.0s
 => CACHED [ 12/111] RUN echo "" >> ~/.bashrc &&     echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bashrc                                                                                0.0s
 => CACHED [ 13/111] RUN set -eux;       if [ "1" = "1" ] || [ "1" = "2" ]; then           composer self-update --1;       else           composer self-update 1;       fi                             0.0s
 => CACHED [ 14/111] RUN if [ true = true ]; then     composer global install ;fi                                                                                0.0s
 => CACHED [ 15/111] RUN if [ false = false ]; then     rm /home/laradock/.composer/auth.json ;fi                                                                                0.0s
 => CACHED [ 16/111] RUN if [ https://mirrors.aliyun.com/composer/ ]; then     composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ ;fi                                     0.0s
 => CACHED [ 17/111] RUN echo "" >> ~/.bashrc &&     echo 'export PATH="~/.composer/vendor/bin:$PATH"' >> ~/.bashrc                                                                                0.0s
 => CACHED [ 18/111] RUN echo "" >> ~/.bashrc &&     echo 'export PATH="/var/www/vendor/bin:$PATH"' >> ~/.bashrc                                                                                0.0s
 => CACHED [ 19/111] COPY ./crontab /etc/cron.d                                                                                0.0s
 => CACHED [ 20/111] RUN chmod -R 644 /etc/cron.d                                                                                0.0s
 => CACHED [ 21/111] COPY ./ca-certificates/* /usr/local/share/ca-certificates/                                                                                0.0s
 => CACHED [ 22/111] RUN update-ca-certificates                                                                                0.0s
 => CACHED [ 23/111] RUN if [ false = true ]; then     apt-get -qq -y install mysql-client &&     curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/8.4.6/drush  0.0s
 => CACHED [ 24/111] RUN if [ false = true ]; then     curl -fsSL -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | bash &&     chmod +x /usr/local/bi  0.0s
 => CACHED [ 25/111] RUN set -eux;     if [ false = true ]; then       apt-get -yqq install php7.2-bz2;     fi;     if [ false = true ]; then       apt-get -yqq install php7.2-gmp;     fi;     if [  0.0s
 => CACHED [ 26/111] RUN set -eux;     if [ false = true ]; then         apt-get install -yqq libldap2-dev php7.2-ldap;     fi;     if [ false = true ]; then         apt-get install -yqq smbclient   0.0s
 => CACHED [ 27/111] RUN if [ true = true ]; then   apt-get install -yqq pkg-config php-xml php7.2-xml &&   if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;  0.0s
 => CACHED [ 28/111] COPY ./xdebug.ini /etc/php/7.2/cli/conf.d/xdebug.ini                                                                                0.0s
 => CACHED [ 29/111] RUN if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo P  0.0s
 => CACHED [ 30/111] RUN sed -i "s/xdebug.cli_color=0/xdebug.cli_color=1/" /etc/php/7.2/cli/conf.d/xdebug.ini                                                                                0.0s
 => CACHED [ 31/111] RUN if [ false = true ]; then   if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]  || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") !=  0.0s
 => CACHED [ 32/111] RUN if [ false = true ]; then     apt-get install -y --force-yes php7.2-phpdbg ;fi                                                                                0.0s
 => CACHED [ 33/111] COPY insecure_id_rsa /tmp/id_rsa                                                                                0.0s
 => CACHED [ 34/111] COPY insecure_id_rsa.pub /tmp/id_rsa.pub                                                                                0.0s
 => CACHED [ 35/111] RUN if [ false = true ]; then     rm -f /etc/service/sshd/down &&     cat /tmp/id_rsa.pub >> /root/.ssh/authorized_keys         && cat /tmp/id_rsa.pub >> /root/.ssh/id_rsa.pub   0.0s
 => CACHED [ 36/111] RUN if [ false = true ]; then     apt-get install -yqq pkg-config &&     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then       pecl install mongo;       echo "extension=  0.0s
 => CACHED [ 37/111] RUN if [ false = true ]; then     apt-get install -yqq librabbitmq-dev &&     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then       printf "\n" | pecl install amqp-1.11.  0.0s
 => CACHED [ 38/111] RUN if [ false = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then       echo "PHP Driver for Cassandra is not supported for PHP 8.0.";     else       apt  0.0s
 => CACHED [ 39/111] RUN if [ false = true ]; then     add-apt-repository -y ppa:ondrej/pkg-gearman &&     apt-get update &&     apt-get -yqq install php-gearman ;fi                                  0.0s
 => CACHED [ 40/111] RUN if [ true = true ]; then     apt-get update     && apt-get install -yqq php7.2-redis ;fi                                                                                0.0s
 => CACHED [ 41/111] RUN set -eux;     if [ false = true ]; then       if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then         echo '' | pecl -q install swoole-2.0.10;       elif [ $(php -r   0.0s
 => CACHED [ 42/111] RUN set -eux;     if [ false = true ]; then       if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then         echo '' | pecl -q install xlswriter &&         echo "extension  0.0s
 => CACHED [ 43/111] RUN if [ "false" = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then       pecl install taint &&       echo "extension=taint.so" >> /etc/php/7.2/mods-avai  0.0s
 => CACHED [ 44/111] RUN if [ true = true ]; then     apt-get -yqq install libpng16-16 ;fi                                                                                0.0s
 => CACHED [ 45/111] RUN if [ false = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then       pecl -q install inotify-0.1.6 &&       echo "extension=inotify.so" >> /etc/php/7.  0.0s
 => CACHED [ 46/111] RUN if [ true = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then         apt-get -yqq install wget &&         wget https://github.com/nikic/php-ast/arch  0.0s
 => CACHED [ 47/111] RUN if [ false = true ]; then     apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47FE03C1     && add-apt-repository -y ppa:hadret/fswatch     || apt-get update -yqq    0.0s
 => CACHED [ 48/111] RUN if [ false = true ]; then     apt-get install -yqq graphviz ;fi                                                                                0.0s
 => CACHED [ 49/111] RUN if [ false = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") != "8" ]; then       curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/  0.0s
 => CACHED [ 50/111] RUN if [ false = true ]; then     apt-get -y install mysql-client &&     curl https://drupalconsole.com/installer -L -o drupal.phar &&     mv drupal.phar /usr/local/bin/drupal   0.0s
 => CACHED [ 51/111] RUN if [ false = true ]; then     mkdir -p /home/laradock/.nvm &&     curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash         && . /home/laradoc  0.0s
 => CACHED [ 52/111] RUN if [ false = true ]; then     echo "" >> ~/.bashrc &&     echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bashrc &&     echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # Th  0.0s
 => CACHED [ 53/111] RUN if [ false = true ]; then     echo "" >> ~/.bashrc &&     echo 'export NVM_DIR="/home/laradock/.nvm"' >> ~/.bashrc &&     echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.  0.0s
 => CACHED [ 54/111] RUN if [ false = true ]; then     find /home/laradock/.nvm -type f -name node -exec ln -s {} /usr/local/bin/node ; &&     NODE_MODS_DIR="/home/laradock/.nvm/versions/node/$(nod  0.0s
 => CACHED [ 55/111] RUN if [  ]; then     . ~/.bashrc && npm config set registry  ;fi                                                                                0.0s
 => CACHED [ 56/111] COPY ./.npmrc /root/.npmrc                                                                                0.0s
 => CACHED [ 57/111] COPY ./.npmrc /home/laradock/.npmrc                                                                                0.0s
 => CACHED [ 58/111] RUN if [ false = true ]; then     echo "" >> ~/.bashrc &&     echo 'export PNPM_HOME="/home/laradock/.local/share/pnpm"' >> ~/.bashrc &&     echo 'export PATH="$PNPM_HOME:$PATH  0.0s
 => CACHED [ 59/111] RUN if [ false = true ]; then     [ -s "/home/laradock/.nvm/nvm.sh" ] && . "/home/laradock/.nvm/nvm.sh" &&     if [ latest = "latest" ]; then         curl -o- -L https://yarnpk  0.0s
 => CACHED [ 60/111] RUN if [ false = true ]; then     echo "" >> ~/.bashrc &&     echo 'export YARN_DIR="/home/laradock/.yarn"' >> ~/.bashrc &&     echo 'export PATH="$YARN_DIR/bin:$PATH"' >> ~/.b  0.0s
 => CACHED [ 61/111] RUN set -xe;   if [ false = true ]; then     apt-get -y install sudo wget &&     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then       curl -L -o /tmp/aerospike-client-p  0.0s
 => CACHED [ 62/111] RUN if [ false = true ]; then   apt-get update && apt-get install --no-install-recommends -y wget   && mkdir /opt/oracle       && cd /opt/oracle       && wget https://github.co  0.0s
 => CACHED [ 63/111] RUN set -xe;   if [ false = true ]; then     add-apt-repository -y ppa:pinepain/libv8-archived     && apt-get update -yqq     && apt-get install -y libv8-5.4 &&     if [ $(php   0.0s
 => CACHED [ 64/111] RUN if [ false = true ]; then     composer global config --no-plugins allow-plugins.kylekatarnls/update-helper true &&     composer global require laravel/envoy ;fi              0.0s
 => CACHED [ 65/111] RUN if [ false = true ]; then  composer global require "laravel/installer" ;fi                                                                                0.0s
 => CANCELED [ 66/111] RUN if [ https://mirrors.aliyun.com/composer/ ]; then     composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ ;fi                                 323.4s
canceled

I can visit www.youtube.com，so I set as follows
CHANGE_SOURCE=false


build-osuosl-aix71-ppc64-1 has named pipe issue..?

AIX builds are failing I think with named pipe issue/leakage?
Is /tmp/sh-np.* full/too many?
https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk18u/job/jdk18u-aix-ppc64-temurin/69/console
18:34:43  /opt/freeware/bin/bash: cannot make pipe for process substitution: No such file or directory
18:34:43  /opt/freeware/bin/bash: /tmp//sh-np.NB4Mab: ambiguous redirect
18:34:43  cp_64: cannot stat '/home/jenkins/workspace/build-scripts/jobs/jdk18u/jdk18u-aix-ppc64-temurin/workspace/build/src/build/aix-ppc64-server-release/support/test/hotspot/jtreg/native/support/libsetfldw003/libsetfldw003.o.log': No such file or directory

File system appears to be fine - 11% space used and 15% inodes in use. Is this reproducible?

FYI That particular file looks to have been created at 1834 UK time:
root@p8-aix1-adopt01:[/tmp]TZ=GMT0BST ls -ld /tmp/sh-np.NB4Mab
prw------- 1 jenkins staff 0 Jun 23 18:34 /tmp/sh-np.NB4Mab
root@p8-aix1-adopt01:[/tmp]

https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-aix-ppc64-temurin/74/console
https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk18u/job/jdk18u-aix-ppc64-temurin/69/console
https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk18u/job/jdk18u-aix-ppc64-temurin/68/console
@sxa seems reasonably repeatable

Not the first time we're seeing this https://github.com/adoptium/infrastructure/issues/929

Not the first time we're seeing this #929

My concern is that it's not clear this is the same problem since there is no indication that the file systems were full. The actions taken in there should have prevented the original problem from being seen again.

FYI @aixtools

I researched this long time ago.
Most of the cases where bash is using these feature are not actually needed (when used as a mechanism to 'pipe' to tee.
However, I think I may have found a few that are needed.
I worked out a 'hack' that would resolve this for AIX, but the bash group did not feel it was the correct solution path - iow, not accepted as a PR.
Since then, just been using cron to cleanup the mess.

I'm going to close this and continue any further discussion in the original issue in order to avoid discussion fragmentation/duplication.
I've got a PR in which will attempt to clear it at the start of each build since the cron job does not appear to be doing an adequate job for some reason. That PR will also log to the console how many files it has found which may help diagnoses. After a JDK17u build I've just done there were 9341 left over.


Use eslint for finer control of code format

Checklist:

[x] Code contains relevant tests for the problem you are solving
[x] Ensure all new and existing tests pass
[x] Update any relevant READMEs and docs
[x] Submit to the develop branch instead of master

Description:
Switches us from using just prettier to using eslint + prettier
I switched to eslint because it is much more configurable, and I have had a great experience it with it on another project.
We now have:

Enforced consistency over var/const/let. Followed style suggested in this article. Also see https://github.com/OriginProtocol/origin-js/issues/192.
Consistent use of quotes (double or backticks)
Lots of other nice restrictions that are enabled by eslint out of the box, like preventing unused vars

I'll defer to @DanielVF on some of this. I certainly favor const > let > var and generally eslint. 👍

I really like eslint too @tyleryasaka - thanks for working on this.
One suggestion would be to consider using the jsx-quotes rule to enforce use of double quotes in JSX attributes (which is similar of HTML, where double quoting is more conventional) while staying with single quotes in the JavaScript (which seems to be the standard throughout the app so far, and is definitely my personal preference)
https://eslint.org/docs/rules/jsx-quotes
Thoughts on that?

@jordajm Once this gets merged I can do a similar PR in demo dapp repo!

I prefer const > let > var as well.
const does catch errors from time to time. I don't like it, since it makes half my lines longer than the should be and harder to read, but the utility is undoubtable, and so I use it anyway.
Prettier as done a great job of just automatically working and bringing the code into formatting spec. There a big difference between a tool you just run and it works, vs something that spits out lists of spacing errors that you have to go fix yourself - which has always been my past experience with eslint. (Has it gotten better?)

RE: single / double quotes, a convention I have heard of is to use double
quotes to specifically denote strings, since a lot of times in code there
will be string types that are not necessarily strings.
Sort of like the string and symbol distinction in ruby. They can be
substituted for one another, though a symbol usually denotes a string value
as opposed to a string.
On Tue, Jun 5, 2018 at 12:09 PM, Daniel Von Fange<EMAIL_ADDRESS>wrote:

I prefer const > let > var as well.
const does catch errors from time to time. I don't like it, since it
makes half my lines longer than the should be and harder to read, but the
utility is undoubtable, and so I use it anyway.
Prettier as done a great job of just automatically working and bringing
the code into formatting spec. There a big difference between a tool you
just run and it works, vs something that spits out lists of spacing errors
that you have to go fix yourself - which has always been my past experience
with eslint. (Has it gotten better?)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OriginProtocol/origin-js/pull/225#issuecomment-394825962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJiZ2sjy0MlzuQzOT3PgosBx4yKhl02ks5t5tdrgaJpZM4UZ9f2
.

Updated to use prettier-eslint-cli

Single quotes it is! The vote is 2:1 in favor of single quotes. (I abstained but if I had to pick I also like single quotes - easier for me to read and type.)

Next up: spaces vs tabs... jk jk

@micahalcorn I believe I have addressed all the concerns raised here. How do you feel about merging this? (Good to merge as quickly as possible to reduce conflicts.)


api docs: Fix JavaScript example for /streams api endpoint.

This commit fixes the JavaScript tab in 'Usage example'
for 'Get all streams' that currently shows python code.

Testing Plan:
GIFs or Screenshots:
Earlier

Now

Awesome, merged, thanks for fixing @shanukun!


Add VPA for CSI node driver if shoot enabled VPA

How to categorize this PR?

/area auto-scaling
/kind enhancement
/priority normal
What this PR does / why we need it:
When the shoot enables the vertical pod autoscaler then the ControlPlane controller will now create a VerticalPodAutoscaler object for the csi-node-driver daemon set.
Special notes for your reviewer:

✅ Depends on https://github.com/gardener/gardener/pull/2478
The second commit in this PR adapts the code after the changes in https://github.com/gardener/gardener/pull/2463

Release note:

The `csi-node-driver` is now auto-scaled by the VPA in case the Shoot sets `.spec.kubernetes.verticalPodAutoscaler.enabled=true`.

/ready
/needs review
/invite @ialidzhikov
/assign @ialidzhikov


updated about version 2.x

Functions 2.x is also generally available now https://azure.microsoft.com/en-us/blog/introducing-azure-functions-2-0/
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

ping @CESARDELATORRE @mvelosop for review.


run train.py with test_local.gin successfully but have a problom with hypernerf_interp_ap/ds_2d.gin

the programe stuck when initializing model ,I have wait for 5 hours but it doesn't work .And  I cant use ctrl+c to end it ,must ue kill XXX to stop it.

You're likely running out of GPU or system memory. If it hangs for 5 hours maybe you ran out of system memory and it's swapping?

You're likely running out of GPU or system memory. If it hangs for 5 hours maybe you ran out of system memory and it's swapping?

Thank you for your ansower~! I set a small batch_size and solve this problem~
I have more questions :
1.I have train model and render frames successfully,but i think the numbers of rendered frames is not enough to render a smooth video(like your example viedos 60fps)。Which parameters should i change to interpolation more frames?
2.the datasets you provide have prefix（interp，vrig，misc），for example,vrig_3dprinter,it means it must use hypernerf_vrig_ds(ap)_2d.gin to train?  What's the differences between interp,vrig and misc?
3.To get the best performance ,i should set ```
TrainConfig.use_weight_norm =True
TrainConfig.use_elastic_loss = True
TrainConfig.use_background_loss = True
right? Are there any other parameters that need to be adjusted？

Thank you for the brilliant work!


Actix integration example

@tyt2y3 regarding why we can't use runtime-actix-native-tls here
sea-orm = { path = "../../", version = "^0.2", features = [
  "macros",
  "sqlx-all",
  "runtime-actix-native-tls",
], default-features = false }

https://github.com/launchbadge/sqlx/issues/1117

@tyt2y3 regarding why we can't use runtime-actix-native-tls here
launchbadge/sqlx#1117

Interesting

Hey @marlon-sousa, do you know when actix-web v4 will be stable?

Yup, the SQLx folks also said, this question comes up every other week ) haha.
The story is, yes, latest SQLx depends on a tokio version not compatible with Actix 3.
So ideally we can upgrade to Actix 4, but it's still in beta, so meanwhile it could still be meaningful to use Actix 3, as I guess it will take some time before it goes out of beta.
Performance-wise, I am not sure whether or not it will make a significance.
Finally thank you for trusting and depending on us for your project. We will together make it a success!

Hello,
When is actix-web 4 going to be released is such a question everyone wants to know, including me ...
Still some question persists:

What is the difference between runtime-actix-** and runtime-tokio-** features, since actix itself uses tokio?
What are the consequences to imbed an async-std runtime inside a tokio runtime? Is it safe or reasonable enough to do it in production? Because as soon as this example is released everyone using actix-web will start copying and pasting it and using it for their projects in production as this is going to be the official way of doing it, as documented by the project authors.

My understanding is that every time a call on any sea-orm function happens they will be scheduled in a different event loop, and I am not sure if this is or isn't blocking from the point of view of the original caller. If a full runtime plus future poolings and such happens inside another runtime event loop this has potential to cause a huge enormous mess in actix which basicly needs that everything inside their threads be fast and light.

Perhaps we can have two actix examples? v3 & v4 one each

Actix beta v4 has been out for quite some time. I highly suggest anyone starting a new project with actix should use the beta v4. v3 of Actix uses an outdated version of tokio and it makes it painful to work with other libraries which require tokio > v1

#190


error with createMany on generated client - v2

Description and expected behavior
Hi, another small issue I found-
It seems createMany isn't working with the generated client, or at least the TS types are incorrect. This is the error I get.
invalid `db[model].create()` invocation in
/.../node_modules/@zenstackhq/runtime/enhancements/delegate.js:340:44

  337 if (this.options.logPrismaQuery) {
  338     this.logger.info(`[delegate] \`create\` ${this.getModelName(model)}: ${(0, utils_1.formatObject)(args)}`);
  339 }
→ 340 const result = yield db[model].create({
        rank: 1,
        ~~~~
        entityId: "cltvkqusu00084fz087jqxaan",
        userId: "cltlxxg6m000013legrdssavr",
        note: "",
      ? data?: UserRankingCreateInput | UserRankingUncheckedCreateInput
      })

Unknown argument `rank`. Did you mean `data`? Available options are marked with ?.

It looks like internally it is passing the data directly to create(...) instead of to the data field create({ data: ... }).
I verified this by changing my createMany to look like createMany({ data: [ { data: ... } ] }) and it did work, however TS believes it is incorrect.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

ZenStack version: 2 alpha 7
Prisma version: 5.11
Database type: Postgresql

Let me know if you want a more detailed example / repro

Thanks again as always 😄. Making a fix and will publish a new version today!


Namespace Cannot Be Minecraft Error

Is it a mod compatibility issue?
Select One
If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)
No response
Minecraft version
1.20.4
Describe the issue
Putting /dims clone_dimension immersive_portals:bright_void immersive_portals:spatial_void in as a command throws a trailing data / expected whitespace error. I am completely unsure how I am even supposed to set the namespace.
The error itself:
Expected whitespace to end one argument, but found trailing data  ...ve_portals:spatial_void<--[HERE]
This is probably a stupid rookie mistake on my part, but I don't think there is a way to set the namespace without getting a trailing data error.


OpenCV 3.1.0 CvCascadeImageReader::NegReader::create() has a bug

dirname is not initialized. What i think the developer meant to do was:
string dirname, str;//dirname - was not in use
std::ifstream file(_filename.c_str());

dirname = GetDirName(_filename);

if ( !file.is_open() )
    return false;

while( !file.eof() )
{
    std::getline(file, str);
    if (str.empty()) break;
    if (str.at(0) == '#' ) continue; /* comment */
    imgFilenames.push_back(dirname + str);//append file name to directory
}
file.close();

For windows my function for getting the dirname is:
inline std::string GetDirName(std::string filePath)
{
	//Get GT filename
	char drive[_MAX_DRIVE];
	char dir[_MAX_DIR];
	char fname[_MAX_FNAME];
	char ext[_MAX_EXT];
    _splitpath_s( filePath.c_str(), drive, dir, fname, ext);

    return std::string (drive) + std::string (dir);
}

I am afraid that the variable is still old code which was not deleted. It is not used anywhere else in code so just adding functionality for it seems useless. I suggest removing it with a PR, if you are up to it, else I will do it for you!

Hi, i want to work on this pull request....any ideas on how to approach this bug...?

I have made the necessary changes....please review it....

Looks fine to me.


CSGUnion() throws access violation in debug build with released linked OpenVDB

Environment
Operating System: Windows 10 Pro
Version / Commit SHA: 895efbfe0d84b30dbf44b3d7e11e68e298d1ba3c(aka. current master)
Other: MSVC 2019 x64 .dll release built
Error

Debug built of project with relase built of openvdb linked: When joining multiple FloatGrids with openvdb::tools::csgUnion() the release build of the dynamically linked openvdb library throws an "access violation reading location 0xFFFFFFFFFFFFFFFF" error.
Debug with debug lib works.
Release with release lib works.

Steps To Reproduce
Link dynamic release library with debug build and execute a openvdb::tools::csgUnion() operation.
Expected behavior
It should be possible to link a release version of the library with a debug build without any errors.
Additional context
Debug build with release library linked output: An access violation error occured.

Debug build with debug library linked output: No error occured.

It should be possible to link a release version of the library with a debug build without any errors.

Eh... on Windows yes and no - you'll need to make sure you're using the same CRT throughout all your libraries. This can be a pain to set up. The release build of OpenVDB will use the release version of the Windows CRT. If you're using a VS project, debug builds will typically force linkage to the debug version of the CRT (usually with /MDd or /MTd). This will not be compatible with the default release installation of OpenVDB or any other release library that has an STL interface.
If this is indeed the case and you just want debug info in your program and want to continue using release dependencies, I suggest you configure your project to use the release version of the CRT (i.e. /MD or /MT) with debug information (i.e. -g).

Okay, thank you for clarifiying that ;)
Another (related) question in this case: Should the FindOpenVDB.cmake script provide debug/release dependent library linking based on the build type like other libraries do? From what I've seen I think currently not, right?
I think form a usability perspective it would penefit the library. Just in case I might feel like trying to address this, would there even be an interest from your side to add that to the offical repo or is there no priority to support/maintain out of the box debug library linking in the long run?
Thank you very much for your time and have a nice weekend ;)