etcdmain: backport support for different certs for etcd-gRPC proxy

This PR proposes backporting support for different certs for the etcd-gRPC proxy. The feature has been already introduced in #8277, but not backported to v3.2.
This PR cherry-picks 1365f87d4046469bcc94ad03048a52b8b4367bb0, as well as e5531a4d54e89338e35994ee1c7e69c87c18d0e8, as it introduced some changes in the gRPC-proxy code.
The efbee9d8c788e434cae8da03b03ad55f5a6f67c5 and c5447c2ec91bc349117327de9f7f019cf6cdf1b5 commits have not been cherry-picked, as they require changes to the TLS part of the code. I wanted to keep this PR minimal, with changes only made to the gRPC-Proxy feature, in order to prevent the backwards-compatibility issues.
This PR adds the most important features to enable securing the etcd-gRPC proxy. If you'd like, I can add those two commits as well.
Without flags introduced in this PR, it's not possible (or not that easy) to secure the etcd exposed by etcd-gRPC proxy v3.2.
For example, my GSoC project–etcdproxy-controller exposes etcd for Kubernetes API servers using the etcd-gRPC proxy. When working in production environments, it's very important to have etcd secured, but to keep it fully-compatible with Kubernetes, which is still on v3.2, we should use v3.2 images, that doesn't support TLS in the etcd-gRPC proxy.
I would like to know what do you think about this proposal and is it possible to backport the feature to v3.2.

👍

@gyuho No problem but not sure at all how to do it. I have created this PR against release-3.2 branch, as those commits already exists on master and release-3.3. The releases-3.2 doesn't have the CHANGELOG.
Should I create a new PR? Is there some guidelines for backporting to older versions?

@xmudrii Yes. Separate PR should work. Thanks!

@gyuho Created #9896 to update the changelog.


feat: SHOW PRIMARY KEYS for table

Previously there was a NotImplemented error when running a query to request the PKs of a table.
I added support for listing the PKs of a table.

Perfect thank you!


Simple kitchensink build cmd

Introduces npm run magic (suggestion for better names welcome 😝 ), it installs and links all dependencies and starts watch mode in all subprojects, basically a single command to get you going.
It also adds a vscode workspace file to combine all subprojects in a workspace.

[ ] Update README?
[ ] change magic name?
[ ] confirm that we wanna add vscode workspace?

Could we maybe use lerna in order to automate this process?


Dynamically load lines feature

Added the ability to dynamically load line elements (fixes #4) by passing an array of objects into the lineData property of the options object into the constructor of Termynal class.
I've tried to maintain as much consistency with the existing codebase as possible, including an example and updated README. One step that would still need to be completed is updating the minification of termynal.min.js; unsure of what tool is being used for minification, I wanted to leave that up to the creator/maintainer to keep it consistent.
Also, adding a package.json and pushing this to npm would be super. I'm a huge fan of this project and it'd be great to make it more accessible to developers.

@Saw-mon-and-Natalie, nice find! But, I was hoping there would be a bit more detail like a .babelrc file to work with?


[FEAT] Delete existing products ENDPOINT:

API Endpoint: Delete Existing Products
Description
Develop an API endpoint to delete existing products with proper authentication and validation.
Acceptance Criteria

The endpoint should be accessible at v1/api/products/{id}.
The endpoint should accept HTTP DELETE requests.
The endpoint should be secured to ensure that only authenticated users with appropriate permissions can delete products.
Proper authentication mechanisms (e.g., JWT, OAuth2) should be implemented.
Requests to the endpoint must include a valid authentication token in the Authorization header.Authorization: Bearer <token>

Request

The product ID should be included in the URL path.
No request body is required.

Response

On successful deletion of a product, the API should return a 204 No Content status code.
If the product is not found, the API should return a 404 Not Found status code.{
  "status_code": 404,
  "message": "Product not found"
}

Error Handling

If the user is not authenticated, return a 401 Unauthorized status code.
If the user does not have permission to delete products, return a 403 Forbidden status code.
If there's a server error, return a 500 Internal Server Error status code.{
  "status_code": 403,
  "message": "You do not have permission to delete this product"
}

Purpose
Provides a backend service which allows authorized users to delete products from the system.
Requirements

Develop server-side logic to delete an existing product.
Ensure only users with appropriate permissions can delete products.
Implement proper error handling and status code responses.

Expected Outcome
API endpoint allows deletion of existing products with appropriate authentication and error handling.
Task

Create an endpoint DELETE v1/api/products/{id} to delete a product.
Implement server-side logic to handle successful and failed delete product requests.
Ensure the user has the proper permissions to delete products.
Implement proper error handling for various scenarios (product not found, unauthorized access, etc.).
Write unit tests for the delete product functionality.
Write integration tests for deleting a product.
Perform security testing to ensure only authorized users can delete products.

Testing

Write unit tests for the delete product logic.
Write integration tests for the end-to-end delete product flow.
Test various scenarios:

Deleting an existing product
Attempting to delete a non-existent product
Attempting to delete a product without authentication
Attempting to delete a product without proper permissions

Perform security testing to ensure only authorized users can delete products.

will work on this


Tooltip cutoff on boundaries of the page

Describe the bug
Tooltip opened close to the edge of the window/container creates a scrollbar.
To Reproduce
Steps to reproduce the behavior:

Place a tooltip close to the edge of the containing window.

Expected behavior
Tooltip moves to fit in containing window.
Screenshots

Tooltip arrow is not lining up with button when the tooltip content is large.

Tooltip arrow is not lining up with button when the tooltip content is large.


Adding Cerro Catedral

Adding Cerro catedral, a ski center in Argentina.

Thanks!
Released in 3.40.0
See you on the slopes ;-)

Ha! that's awesome! thanks so much for the quick turnaround
I was thrilled that it was live on the site so soon after doing doing my PR.


@swc/wasm has invalid SPDX license: Apache-2.0/MIT

Cutting a bug, but feel free to re-label if licensing does not warrant the bug label.
Describe the bug
@swc/wasm (https://www.npmjs.com/package/@swc/wasm) has license Apache-2.0/MIT, which is not a valid SPDX license.
Input code - N/A
Config - N/A
Expected behavior
Instead, I think it should have license (Apache-2.0 AND MIT) (AND instead of /), which is a valid SPDX license.
Version
Latest/all?
Additional context
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license provides commentary on licensing syntax, including SPDX references.
Also see the spec/grammar https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/

For more context: this can cause issues with license scanning software and raise alarms that block using the library in some organizations.


updated readme for react native 0.18

The react native 0.18 version has different code base than the one
that is presented in the current readme docs.

@christiansaiki  - hi there...I am not able to find any references to a class called ReactActivity..any idea?

@andpor I haven't found a doc for this, but they have changed the MainActivity.java file.
I have found a simmilar issue here https://github.com/rebeccahughes/react-native-device-info/issues/17
This thread helped me to install your package properly.

I just saw how this library suggests the proper installation of it
https://github.com/rebeccahughes/react-native-device-info
I should have done a better job by putting the new and old way.
If you want I can do this.

Have you tested this new approach? I cannot find any references to ReactActivity ? Where is it coming from?

Yes, please do submit a revised PR with original and new Android instructions...

@christiansaiki - I updated the README file to reflect the alternative approach.


Removable pages pane

Also asked here; I only work with one page, so below is completely redundant for me - I should be able to toggle it via View:

Use this URL https://app.diagrams.net/?pages=0

@alderg Thanks. Can this be done with the desktop app? It's what I mainly use.


Update Mp4ParserWrapper.java

getApplicationContext().getExternalFilesDir(null).mkdirs() returns false. Therefore if the parent of targetFile is getApplicationContext().getExternalFilesDir(null) then the recorder will fail for no reason.
Also if targetFile.exists() && targetFile.length() == 0 it will fail for no reason, because targetFile.createNewFile will return false.
Therefore I'm proposing this change so that if targetFile exists there is no reason not to go ahead and copy to targetFile
Thank you

Thank you! I never thought about such situation.

You're welcome, but I still have a problem which I do not have a clean
solution. That is if mkdirs() returns false but the file does not exist
then it will again fail for no good reason. My original patch fixed that
but it is not clean. By the way, I did not think of this situation I
experienced it and it took me a lot of debugging to figure this out.
On Thursday, May 12, 2016, Nikolai Doronin<EMAIL_ADDRESS>wrote:

Thank you! I never thought about such situation.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/lassana/continuous-audiorecorder/pull/15#issuecomment-218666469

--
Mordechai Kohn


Triage before v0.10.0 release

There are several ongoing PRs. Let's triage which to include in v0.10.0 official release.

#3009

#2968

#2910
#2959
#2943

Personally I'm happy with all of them except #2968. @jsorg71 is looking at fixing this properly and if this is done we don't need that one.
There are a couple of other things I'd like to add for consideration:-

Commit<PHONE_NUMBER>7744d32d90199c2ab890b9265da4b2 which is currently part of #2974. I'm happy to leave the rest of that PR for now, but this commit will make it easier for Debian to support their own non-privileged user code for v0.10. I can factor this into a separate PR.
I've made some comments on commit ccead296e615b92afc17daf67447876fb3c122e0 regarding a tidy-up. Again, I can put a PR together for this.

Thoughts?

Sounds good. Could you raise a separate PR?
Then merge these PRs into devel, cherry-pick to v0.10 next.

Progress report before the weekend.
I've created #3011 relating to the unprivileged user and #3012 relating to the SECCOMP filter.
The following are merged into devel:-

#2910
#2959
#2943
#3009
#3011

I'm waiting for Nex to comment on #3012 as this is a relatively high-risk area and I want to be sure I've got it right.
When I've got approval from Nex I'll backport all of the above to v0.10
We've merged a fix for #2968 on #2969. This uses a lot of memory for big screens, but works. Jay is working on improving this, so when this lands (in devel?) we can consider a back-port to v0.10.

Thanks! Let's wait for Nex.


Feature request: Controller::renderJson()

I think, returning a JSON response is such a common task that a simple convenience method in yii\web\Controller would make sense:
    /**
     * Render a JSON response
     *
     * @param mixed $data the data to return as JSON response
     * @return the data to return as JSON response
     */
    public function renderJson($data = null)
    {
        Yii::$app->getResponse()->format = Response::FORMAT_JSON;
        return $data;
    }

In a controller action you could then write:
return $this->renderJson($model->attributes);

Isn't response formatting as JSON a bit better than that? http://www.yiiframework.com/doc-2.0/guide-rest-response-formatting.html

Hmm, but it again requires extra configuration, right? Unless you extend from yii\rest\Controller you manually have to configure the ContentNegotiator filter. It's really all about convenience.

No. It's as simple as:
$response->format = \yii\web\Response::FORMAT_JSON;
return $model->attributes;

:D But that's exactly what happens in my suggested renderJson(). The sole purpose is, not having to remember the exact syntax ("what was that Reponse property and the name of the constant again ...?") but having one simple method for JSON response.

@samdark, that example should be in the guide at http://www.yiiframework.com/doc-2.0/guide-structure-controllers.html

@dynasource you can find it here: http://www.yiiframework.com/doc-2.0/guide-runtime-responses.html

I see. Well, I understand the reasoning of @mikehaertl very well. If his suggestion can be implemented in another way, we should be clear in the docs about it.

to continue this conversion. Currently we have the following render methods in Controller:

render($view, $params = [])
renderContent($content)
renderPartial($view, $params = [])
renderFile($file, $params = [])
renderAjax($view, $params = [])

I don't think it's a bad idea to add such a generic function like renderJson(). Perhabs we can make it even more generic like:

renderData($data, $format = \yii\web\Response::FORMAT_JSON)

@dynasource I think there are only 2 very common formats: JSON and XML. If you cover both with one generic method you again have to remember that JSON is the default. And you need to look up the FORMAT_XML constant in Response if you need XML instead. So why not having 2 dedicated methods instead:

renderJson()
renderXml()

Not sure about Jsonp and raw.

The framework itself should be as basic as possible. I dont see a problem to extend the base controller with these 2 methods and create your base controller to use in your projects. There are many cases you don't need to send json/xml from a controller.
Even better you could create a trait with these two methods and add them whenever you like.

@yiisoft/core-developers, is there is reason why there isn't a render function for usecases with JSON in the Controller?

Keyword render means there is some processing of some entity composing output.
Usage render for the view file processing is suitable, but for simple JSON compoision  it is confusing.
I do not think such shortcut method should be added, as there could be many response formatters - not only  JSON or XML, creating method for one of them seems to be inconsistent.
If you with to add it anyway better naming can be returnData() or responseData() in following signature:
public function responseData($data, $format) {}

Then it can be used for raw, json or xml:
public function actionFoo()
{
    return $this->responseData($data, Response::FORMAT_JSON);
    //return $this->responseData(file_get_contents('/path/to/file.txt'), Response::FORMAT_RAW);
}

Keyword render means there is some processing of some entity composing output.

If you look at the current render() methods, you are right that there is always some processing going on.
However, most people consider the render functions as the solution to render something to a output. This is also supported by the translation of the term render:

to give: give, deliver, impart, lend, render, afford
to show: represent, reproduce, render, give voice to, describe

With this and consistency in mind, I would expect such a method to include the render terminology, whether it's doing some processing or not. As a new developer I surely would overlook a function like responseData

@klimov-paul the rendering itself has nothing to do with the format of the data being processed if you name it responseData should be very confusing. If I am returning an array or AR is it a JSON/XML or the "render" should decide how to format the function ?

Keyword render means there is some processing of some entity composing output.

Actually converting a PHP data structure into a JSON string is exactly that. Similar to when you render a view you convert it to a HTML string.

I do not think such shortcut method should be added, as there could be many response formatters

JSON and XML are the most common data formats, and Yii already has built in formatters for them. Other formats are far less common and developers will have to configure their own formatters in those cases anyway.
Using just one method to render different formats (e.g. renderData()) defeats the idea of this feature request. renderJson() / renderXml() is far easier to remember than yii\web\Response::FORMAT_XML.

What about renderRaw() For yii\web\Response::FORMAT_RAW support then?

What about jsonp (yii\web\Response::FORMAT_JSONP) ? Should it be method renderJsonP()?
And what about yii\web\Response::FORMAT_HTML - method renderHtml() should exist as well - if we start this improvement.

If you with to add it anyway better naming can be returnData() or responseData() https://github.com/yiisoft/yii2/issues/13036#issuecomment-261475529

what about the combination of your suggestion & the render terminology https://github.com/yiisoft/yii2/issues/13036#issuecomment-261477936:

`renderResponseData()'

How about renderAs($data, $format) ?

For me obvious solution for the issue is using \yii\web\Response::EVENT_BEFORE_SEND event and return of plain array as controller action result:
return [
    'components' => [
        'response' => [
            'on beforeSend' => function ($event) {
                $response = $event->sender;
                if (is_array($response->data) && $response->format === \yii\web\Response::FORMAT_HTML) {
                   $response->format = \yii\web\Response::FORMAT_JSON
                }

            }
        ],
    ],
];

class FooController extends \yii\web\Controller
{
    public function actionFoo()
    {
        return [
           'text' => 'will be formatted as JSON automatically'
        ];
    }
}

Again: The main idea is: Keep it simple!!. I found myself looking up the FORMAT_ constants again and again, if all I want is to send a simple JSON response. Each time I wonder, why is this so inconvenient?
If we now add a method that you have to call like renderData($data, \yii\web\Response::FORMAT_JSON) nothing is improved!  It's much better to set the reponse format and return the data. But we are looking for an easy and elegant solution to a common task.

I have to write a huge block of > 10 lines of very hard to remember configuration just to send one simple stupid JSON response.

???
What is wrong to write a couple of lines in application config just once per project and use simple return statement wherever you need to return a JSON.
Creating separated method for each response format does not follows  Keep it simple!! paradigm.

that's some ugly solution with assumption that array should always be returned as JSON. It's much better to set the reponse format and return the data. But we are looking for an easy and elegant solution to a common task.

This ugly solution assumes JSON will be used by default for each array data, if NO other appropriate formate explicitly specified. For example:
class FooController extends \yii\web\Controller
{
    public function actionFoo()
    {
        Yii::$app->response->format = Response::FORMAT_XML;
        return [
           'text' => 'will be formatted as XML despite the `beforeSend` reponse event'
        ];
    }
}

@klimov-paul What if I have a project where I need both, JSON and XML responses?

I have just posted you an example.

It seems, you do not even paying attention to my comments at all.

How does that "keep it simple" more than e.g.:
RenderTrait {
public function renderAs($data, $format = Response::FORMAT_JSON)
}

or a method in the web\controller.

I don't find this very convenient - and that's what this issue is all about.
Make developers live easy and painless. Also keep the code readable. With your suggestion we would have this in the controller:
return $data;

If I look at this some months later I would have no idea, that this is going to be sent in JSON format. Whereas with:
return $this->renderJson($data);

IMO it's as clear and simple as it can get.

For me obvious solution for the issue is using \yii\web\Response::EVENT_BEFORE_SEND event

although it's ingenious, it's a disentanglement of logic, making it more complex. The use of events is also a workaround. There are many usecase thinkable for this issue to be fixed with a Controller method.

it's a disentanglement of logic, making it more complex.

For me it is convinient: take a general JSON response creation:
class FooController extends \yii\web\Controller
{
    public function actionFoo()
    {
        Yii::$app->response->format = Response::FORMAT_JSON;
        return [
           'text' => 'will be formatted as JSON'
        ];
    }
}

My proposal simply eliminates the necessity to set format all the time, so code becomes to look like following:
class FooController extends \yii\web\Controller
{
    public function actionFoo()
    {
        // no format setup present
        return [
           'text' => 'will be formatted as JSON'
        ];
    }
}

Also this is exacly the same syntax we use at yii\rest\* - no one complains on it back there.

The use of events is also a workaround.

Yes it is. But what the case for having event in framework if do not want to use them? Should we drop event support at Response class, because it exist for 'hacking only'?

There are many usecases thinkable for this issue to be fixed with a Controller method.

Unless you can provide me the anwsers to the question I asked -I do not think so. We have 5 built-in formats at yii\web\Response. If we add a shortcut for one of them - we should add a shortcut for every one - otherwise change is inconsistent.
I understand that it can be overwhelming to format JSON response each time at the large project - that is why I provide you a walkaround is the same fasion, we created it at yii\rest\*.
I can see no reason for creating a batch of shortcut methods.
But as I always say - it is my opinion and I can not force the core team to accept it.
Lets wait for input from other core team members.

The use of events is also a workaround.
Yes it is. But what the case for having event in framework if do not want to use them? Should we drop event support at Response class, because it exist for 'hacking only'?

Why should someone use a site-wide event in a scenario where he/she has only 1 JSON action? Thats rather cumbersome.

Should we drop event support at Response class, because it exist for 'hacking only'?

Events should be used for unique cases in which flexibility is necessary. This usecase is too common for that.

There are many usecases thinkable for this issue to be fixed with a Controller method.
Unless you can provide me the anwsers to the question I asked - I do not think so.

The usecases are:

consistency: returning JSON is a form of render and therefore it is expected in Controller with the other methods
simplicity: using a central event is complex
performance: using a site wide event is not performant
convenience: see the arguments in this topic by @mikehaertl , @nkostadinov

Actually converting a PHP data structure into a JSON string is exactly that. Similar to when you render a view you convert it to a HTML string.

@mikehaertl this is what render methods do but not what your proposed method does. It simply sets the response type. other render methods do not touch the response type at all. So calling this new method renderJson would be inconsistent. Also I do not see why we have $data as an argument if it is not used:
  public function renderJson($data = null)
    {
        Yii::$app->getResponse()->format = Response::FORMAT_JSON;
        return $data;
    }

I guess you would use that method like this:
return $this->renderJson($data);

but it is all about settings the response format, there is no rendering going on. So I would rather see something like this instead:
$this->setJsonResponseType();
return $data;

which is just another syntax for Yii::$app->response->format = Response::FORMAT_JSON;.
I do not really think this improves anything as you would have to look up $this->setJsonResponseType(); the same way you would have to look up Yii::$app->response->format = Response::FORMAT_JSON;.

but it is all about settings the response format, there is no rendering going on

actually there is, otherwise people wouldn't call this method. They want to render (show/present https://github.com/yiisoft/yii2/issues/13036#issuecomment-261477936) a JSON response.

@cebe I see your point, even though there are other methods like renderAjax() which also do things under the hood, which you may not expect. To me renderJson() has proven to be very useful in my projects. IMO it's a matter of writing the correct documentation for such a method.
As an alternative, how about sendJson() then?
return $this->sendJson($data);

As an alternative, how about sendJson() then?
return $this->sendJson($data);

I dont think this is consistent enough. Like you said, you have been looking for a render method. Adding another terminology like send would be confusing. This will could potentially lead to many other methods with the prefix 'send'.
In the end, there still is rendering going on, only postponed by Response::defaultFormatters().
Therefore I would expect a shortcut method with a clear reference to these formatters, such as:

renderDataResponse()

There are two places of rendering response data:

rendering a view file render() renderPartial(), renderContent(), renderFile() and renderAjax(). These all call out to the View component for rending.
response formatting in Response component.

The new method proposed is about controlling point 2, so I'd prefer a name different from render.
We could introduce new methods for creating a response object, which is similar to redirect.
return $this->createJsonResponse($data);
return $this->createXmlResponse($data);

implementation would look like:
    public function createJsonResponse($data)
    {
        $response = Yii::$app->getResponse();
        $response->format = Response::FORMAT_JSON;
        $response->data = $data;
        return $response;
    }

Room for improvement in my opinion. The term render is too tightly connected to the view component and in the end both 1. and 2. are about rendering.

How about return $this->asJson($data)?

return $this->jsonResponse($data);
return $this->xmlResponse($data);

@cebe it sounds like getting response object. Actually, from the user standpoint, I don't see any problems with renderJson and renderXml.

@cebe sounds perfect to me.

not to me. It's inconsistent and the method name is missing its main objective,  the verb part.

Because it's not formatting anything. It is creating a response object of a certain type.

I know. But I've said enough on this subject.

I'd prefer asJson() - it is more readable and more practical - if in IDE you type $this->as you will get hints with all similar methods. It is also more consistent - we have render() not renderResponse().

@rob006 render actually returns rendered string which is not necessary returned. You can save it to database again, for example.

Just noticed the new asJson() and asXml() methods. Nice! We happened to have the exact same methods in Craft 3 (with the same names even :), so thanks for lightening our codebase even more!
We also have asJsonP() and asRaw(), mapping to the like-named response output formatters. Any reason those were omitted in 081ee7c5b13ba3735e8376394b1f016eb30a68e5 @dynasource?

@brandonkelly, because is was not part of this feature request but from a consistency perspective these could be added.

@brandonkelly have you noticed that https://github.com/yiisoft/yii2/commit/081ee7c5b13ba3735e8376394b1f016eb30a68e5 and your implementation are incompatible? Default [] parameter was rejected for some reason.

@Kolyunya Do you mean incompatible from a PHP strict standards perspective? PHP does allow you to override a method and add default values to its params under strict standards. I ended up just removing our versions after seeing this anyway, though. We were never taking advantage of the default [] values in our own codebase.
And fwiw, I think I prefer it w/out the defaults, now that I think about it. If I was new to the codebase and saw return $this->asJson() in a controller action (with no explicit data value), I would probably assume it was trying to JSON-encode the entire controller class.

now that I think about it. If I was new to the codebase and saw return $this->asJson() in a controller action (with no explicit data value), I would probably assume it was trying to JSON-encode the entire controller class.

Agree

Doesn't the fact that omitting method parameter makes it unclear what it does indicate that it was named poorly?


HueBotSample: AnswerAPpHostedMedia failed with reason: CallEnded

After deploying the HueBot on an azure instance the bot doesn't answer the call. Checking the logs it seems it receives the call and returns accept, however the call ends before that?
Response to incoming call:
228925aa-3725-4369-8655-26e6f36aacbb SendAsync,LoggingMessageHandler.cs(139)]
|| correlationId=228925aa-3725-4369-8655-26e6f36aacbb
|| statuscode=Accepted
|| local.msgid=1a61ed64-5c1e-4fa4-a078-0a93fc095961
||Response to incoming:: POST https://cloud-rtc.luware.com/api/calling/call
202 Accepted
Connection: close
X-Microsoft-Skype-Chain-ID: 228925aa-3725-4369-8655-26e6f36aacbb
Content-Type: text/plain; charset=utf-8
{ "notificationSubscriptions": [ "callStateChange" ],
"links": {
  "callback": "https://cloud-rtc.luware.com:10100/api/calling/callback/",
  "notification": "https://cloud-rtc.luware.com:10100/api/calling/notification/"
 },
 "actions": [
    {
      "operationId": "9172976d-12bd-4bf5-9e85-0061dbd79bd5",
      "action": "answerAppHostedMedia",
      "mediaConfiguration": {
        "mpUri": "net.tcp://cloud-rtc.luware.com:20100/MediaProcessor",
        "audioRenderContexts": [
          "29dcaadf-142f-46d3-b210-ea71ff9fbe30"
        ],
        "videoRenderContexts": [
          "b204323a-dd46-4af9-bed0-33e161c1c310"
        ],
        "audioSourceContexts": [
          "c3318e2c-116b-44f3-afd8-7641f62a8b05"
        ],
        "videoSourceContexts": [
          "dadc7d7e-8bf2-4ab1-aebc-5ce1d2527313"
        ],
        "supportedAudioFormat": "Pcm16K",
        "mpMediaSessionId": "609f1c32-4618-4643-8632-070404f42656",
        "regionAffinity": null,
        "skypeMediaBotsVersion": "<IP_ADDRESS>7",
        "mediaStackVersion": "6.0.8980.141",
        "mpVersion": "7.0.697.0"
      }
    }
  ],
  "appState": "fe9a3651-6d4e-4390-8e39-be273f31522f"}
$$END$$

Incoming Callback:
[228925aa-3725-4369-8655-26e6f36aacbb SendAsync,LoggingMessageHandler.cs(90)]
|| correlationId=228925aa-3725-4369-8655-26e6f36aacbb
|| local.msgid=a8c1bc78-30b8-4e02-a26b-2e6983dd6158
||Incoming:: POST https://cloud-rtc.luware.com:10100/api/calling/callback/
X-Microsoft-Skype-Chain-ID: 228925aa-3725-4369-8655-26e6f36aacbb
X-Microsoft-Skype-Message-ID: d8372b67-5ec5-4c7c-861e-73cfe0a15970
Connection: Keep-Alive
Accept: application/json
Authorization: Bearer eyJ0eXAiOiJK...
Host: cloud-rtc.luware.com:10100
User-Agent: Microsoft-Skype/3.0,(Calling/1.0)
Content-Length: 386
Content-Type: application/json; charset=utf-8
{
  "id": "fe9a3651-6d4e-4390-8e39-be273f31522f",
  "operationOutcome": {
    "type": "answerAppHostedMediaOutcome",
    "id": "9172976d-12bd-4bf5-9e85-0061dbd79bd5",
    "outcome": "failure",
    "failureReason": "CallEnded"
  },
  "callState": "terminated",
  "appState": "fe9a3651-6d4e-4390-8e39-be273f31522f",
  "links": {
    "call": "https://b-pma-euwe-01.plat.skype.com:6706/platform/v1/calls/76e5982d-b241-4322-a645-3d6261189adc"
  }}
  $$END$$

Any Ideas where the issue lies?
Only change I did was changing the workerrole to a Standard_D2 vmsize.
Thanks

There was a problem validating the certificate presented by your service: The expected DNS identity of the remote endpoint was 'cloud-rtc.luware.com' but the remote endpoint provided DNS claim 'luware.com'.
What are the values of the Subject Name and Subject Alternative Name list of your server certificate?
Thanks,
Stephen

Thank you for the response.
Subject:
CN = *.luware.com
O = Luware AG
L = Zürich
S = ZH
C = CH
Subject Alternative Name:
DNS Name=*.luware.com
DNS Name=luware.com
So the exact DNS Name of cloud-rtc.luware.com needs to be in the Subject Alternative Name of the certificate?
Thanks,
Marc

@itisslizz
Yes, the "cloud-RTC.luware.com" DNS name needs to be added to the end of the SAN list. We do not yet have wild-card support for bot certificates. Thanks.


Update obsolete timezone docs link in app service settings reference

@cephalin

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I sent email to the content owner today.
@MicrosoftDocs/public-repo-pr-review-team


pyosmium-up-to-date give a strange message when no update to do

When launching pyosmium-up-to-date on a pbf, and no update is available from the server, the command reports an error on a state file, instead of reporting that no update is available.
$ wget http://download.geofabrik.de/europe/andorra-latest.osm.pbf
$ pyosmium-up-to-date -vvvvv andorra-latest.osm.pbf
2020-12-10 22:04:11,336 DEBUG: Replication information found in OSM file header.
2020-12-10 22:04:11,336 DEBUG: Replication URL: http://download.geofabrik.de/europe/andorra-updates
2020-12-10 22:04:11,336 DEBUG: Replication sequence: 2817
2020-12-10 22:04:11,336 DEBUG: Replication timestamp: 2020-12-09T21:42:03Z
2020-12-10 22:04:11,338 INFO: Using replication service at http://download.geofabrik.de/europe/andorra-updates
2020-12-10 22:04:11,338 DEBUG: Using given sequence ID 2817
2020-12-10 22:04:11,406 DEBUG: Loading state info 2818 failed with: HTTP Error 404: Not Found
2020-12-10 22:04:11,408 ERROR: Cannot download state information for ID 2817. Is the URL correct?

I would expect to print the message "No new updates found." instead.
In addition, would it be possible to generate a different error code when no update is available?  It would be useful to check if we should rerun the script or not, in case of a transient serveur connection issue.

Fixed in 56c10dacbd31644511485bc36b965423ad4278dc. pyosmium-up-to-date now returns an exit code 2 when the file already is up to date.

Shouldn't it return 0 in this case? If the data is already up to date, that isn't an error,  is it?

Hmm, it did return an error before, just a different one. So the commit didn't change the behaviour here. But I see your point that returning 0 might be the better way to handle the situation in scripts. @jocelynj how about your use case?

I don't really care here, I only need to be able to differentiate between an up-to-date pbf, or an issue when updating the pbf file.
Returning 0 in the case of a pbf that is already on the latest version is fine for me.

Changed return code to 0.


Memorabilia is a plural noun

pluralize("memorabilia") produces memorabilias, which is incorrect.

pluralize.addUncountableRule('memorabilia')


Documentation regarding temp/cache/log files/folders that can be safely deleted without affecting IDE's functionality

On using Visual Studio IDE (I currently use Community 2019) for C++ development, there seem to be multiple files/folders that are generated that are quite big in size.
Could you please provide a complete list of files/folders that can safely be deleted without affecting the IDE's functionality?
For instance, in VSCode, there are cache folders files that can be deleted. See discussion here. In particular, for vscode-cpptools extension, there is the ipch file/folder that can be deleted. See discussion here.
Similarly, when doing C++ development using VS IDE, is there a comprehensive list of folders that can be so deleted?
Previous questions along these lines seem to provide different answers that are not quite consistent and complete.
See such discussions here, here and here.

@TryerGit -- thank you for your feedback.  Are you following a particular docs.microsoft.com article?  Meanwhile, please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@WilliamAntonRohm
I am not following any specific/single document. I have linked the few documents (forum questions MSDN/Microsoft) I came across  in my OP.
I did raise a question over at docs.microsoft.com. See that discussion here: https://docs.microsoft.com/en-us/answers/questions/575274/please-provide-documentation-about-which-temporary.html
Essentially, their answer seems to be "We don't quite know which folders can be safely deleted. Could you please ask the Developer Community?"
I did ask the developer community here: https://developercommunity.visualstudio.com/t/Please-provide-documentation-about-which/1544765
I have been told that it has been forwarded to the "appropriate engineering team" for "further evaluation".
In the meantime, I also posed a question over on Stackoverflow, which was a resource you suggested. That question is here:
https://stackoverflow.com/questions/69417241/in-visual-studio-ide-is-there-a-comprehensive-list-of-files-folders-that-can-be
Apart from the one vote to close, that question did not gain much traction.

@TryerGit -- the best place for this issue is the Developer Community post you've made.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.
cc @corob-msft for visibility


Unnatural word choice in the settings

Steps to reproduce

Open [Settings]-[Tracking]
The option name is [Update progress after reading]

Expected behavior
The option name should be [Update progress after reading/watching] or something like that.
Actual behavior
The option name is [Update progress after reading]
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 13
Device
Samsung Galaxy A53 & WSA on Windows 11
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

it isn't

Would make more sense to make a new issue for this


python package?

Hi @scriptorron it's me again :)
I think I got extremly close to start indi_pylibcamera
~/data/repos/indi_pylibcamera (main*) » indiserver -vvvv /usr/bin/indi_pylibcamera                                                                                matt@arcturus
2023-06-12T14:23:53: startup: indiserver -vvvv /usr/bin/indi_pylibcamera
2023-06-12T14:23:53: Driver /usr/bin/indi_pylibcamera: pid=772692 rfd=6 wfd=6 efd=7
2023-06-12T14:23:53: listening to port 7624 on fd 5
2023-06-12T14:23:53: Local server: listening on local domain at: @/tmp/indiserver
2023-06-12T14:23:53: Driver /usr/bin/indi_pylibcamera: sending msg nq 1:
<getProperties version="1.7"/>

2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: root-INFO- my PID: 772692
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: root-INFO- my file name: indi_pylibcamera
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: [78:39:32.969549545] [772692]  INFO Camera camera_manager.cpp:298 libcamera v0.0.5
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: [78:39:32.971149369] [772696]  WARN V4L2 v4l2_pixelformat.cpp:328 Unsupported V4L2 pixel format H264
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: root-INFO- found cameras: [{'Model': 'Razer Kiyo', 'Location': 2, 'Id': '\\_SB_.PCI0.GP13.XHC0.RHUB.PRT1-1:1.0-1532:0e03'}]
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: root-INFO- selected logging level: LOGGING_INFO
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defNumberVector indi_pylibcamera POLLING_PERIOD Idle rw
  PERIOD_MS='1000'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defNumberVector indi_pylibcamera POLLING_PERIOD Idle rw
  PERIOD_MS='1000'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defTextVector indi_pylibcamera ACTIVE_DEVICES Idle rw
 ACTIVE_TELESCOPE=''
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defTextVector indi_pylibcamera ACTIVE_DEVICES Idle rw
 ACTIVE_TELESCOPE=''
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defSwitchVector indi_pylibcamera CAMERA_SELECTION Idle rw
       CAM0='On'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defSwitchVector indi_pylibcamera CAMERA_SELECTION Idle rw
       CAM0='On'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defSwitchVector indi_pylibcamera CONNECTION Idle rw
    CONNECT='Off'
 DISCONNECT='On'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defSwitchVector indi_pylibcamera CONNECTION Idle rw
    CONNECT='Off'
 DISCONNECT='On'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defTextVector indi_pylibcamera DRIVER_INFO Idle ro
 DRIVER_NAME='indi_pylibcamera'
 DRIVER_EXEC='/usr/bin/indi_pylibcamera'
 DRIVER_VERSION='1.9.0'
 DRIVER_INTERFACE='2'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defTextVector indi_pylibcamera DRIVER_INFO Idle ro
 DRIVER_NAME='indi_pylibcamera'
 DRIVER_EXEC='/usr/bin/indi_pylibcamera'
 DRIVER_VERSION='1.9.0'
 DRIVER_INTERFACE='2'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defSwitchVector indi_pylibcamera LOGGING_LEVEL Idle rw
 LOGGING_DEBUG='Off'
 LOGGING_INFO='On'
 LOGGING_WARN='Off'
 LOGGING_ERROR='Off'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defSwitchVector indi_pylibcamera LOGGING_LEVEL Idle rw
 LOGGING_DEBUG='Off'
 LOGGING_INFO='On'
 LOGGING_WARN='Off'
 LOGGING_ERROR='Off'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defNumberVector indi_pylibcamera POLLING_PERIOD Idle rw
  PERIOD_MS='1000'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defNumberVector indi_pylibcamera POLLING_PERIOD Idle rw
  PERIOD_MS='1000'
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defTextVector indi_pylibcamera ACTIVE_DEVICES Idle rw
 ACTIVE_TELESCOPE=''
2023-06-12T14:23:54: Driver /usr/bin/indi_pylibcamera: read defTextVector indi_pylibcamera ACTIVE_DEVICES Idle rw
 ACTIVE_TELESCOPE=''

When I was packaging everything I realized that the actual way to install indi_pylibcamera is to clone the repo and symlinking the entrypoint to the one within the repo.
would you consider (yes, I know it's another request from me :joy: ) to rework the repo in such a way that this will become a full featured python package? This way the helpers may live under /usr/lib/pythonX.XX/sites-packages/indi_pylibcamera and /usr/bin/indi_pylibcamera` can be installed under /usr/bin without having to symlink
PS: it seems also that even if the xml spec is there, I don't see the driver on Kstars, any idea on this?

@MattBlack85 I think actually command to verbose logging of indi server is with three vvv not four :)
indi_server -vvv
In KStars you can find indi_pylibcamera driver inside Others section:

At least on my system wich is Raspberry PI OS Bullseye.
About rewriting repro Ronald will have to ansver. Maybe you can give an example structure of Python package?

course you right with the triple v and I see now the pylibcamera under the Others thanks!
to @scriptorron
the scaffold would be more or less the following:
repo root
|________indi_pylibcamera
|                |
|                |__ CameraControl.py
|                |__ SnoopingManager.py
|                |__ indidevice.py
|                |__ print_camera_info.py
|
|________bin
|                |
|                |__ indi_pylibcamera
|
| setup.py

I packaged some python stuff in the past and if you guys like, I can try to make those changes.
This will allow basically to install the scaffold as a python package (pip, pipenv, blabla) and the executable can be installed via pip or packaged for any OS

that would be the best option but I believe it won't make it :|
from what I observed while trying to build it it has a lots of dependencies on external python libraries (which is a first in indi I believe) plus the project structure still implies you are importing a python lib.
Maybe the code from the different files could be merged into a single one (although from a maintenance perspective it is not a good thing), at that point listing the deps would be enough (although, again, I dunno how cmake can be instructed to find for python dependencies when building indi_pylib_camera

It is now on PyPi (https://pypi.org/project/indi-pylibcamera/).
Installation procedure is:
sudo apt-get install libcamera-apps indi-bin python3-picamera2 python3-lxml python3-astropy
sudo pip3 install indi_pylibcamera
sudo indi_pylibcamera_postinstall

It is important to install python3-picamera2 with apt-get! Pip could also install it but it is very likely that picamera2 will not fit to the system libcamera.

I tested it on 3 Raspberries. But would be nice if someone else could test the installation.

Great work @scriptorron! I'll test new installation procedure as soon as I can.

@scriptorron it works for me, I packaged also the camera and all deps for ArchLinux and it's available now as a package for my distro, many thanks!


chore: fix typo

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
Fix typo: IOS => iOS

Can I work on this typo issue @webfansplz  @bruce  @mtodd @spicycode @tpope ?

Do not tag people like this, @webfansplz, it is spam and violates the Acceptable Use Policy.

I misread the thread, it was not @webfansplz who did the spam-tag.


Provide a help target for make

I came across this on another project and wondered if it had any value here:
$ make help
all                            Build, test, and regenerate docs
clean                          Delete build output
build                          Build riff
test                           Run the tests
coverage                       Run the tests with coverage and race detection
docs                           Generate documentation
verify-docs                    Verify the generated docs are up to date
check-mockery                  Check that mockery is available and print installation instructions if it isn't
gen-mocks                      Generate mocks
help                           Print help for each make target

@ericbottard Scott likes this. If you like it too, please merge.

This serious dope has been merged as 5c81e052


"Please update your browser" message on Android Messages app

Hi there, I've recently downloaded the Android Messages app for my MacBook Pro on macOS Big Sur 11.1, however, I have received the message, "You are using an out of date version of your web browser, please update to the latest version before using Messages for web." I updated my chrome browser yesterday and it now says that it is on the latest version (supposedly filling the requirements by the android messages app) however, I am still getting the update chrome browser message when I open the Android messages app. Any suggestions on how I can fix this to get the android messages app working?

I'm getting the same message using macOS Catalina 10.5.7 on my Macbook Pro.  It prevents me from accessing Android Messages on my Mac.  Of course, the application works fine on my Android phone.

I'm getting the same message but with a whatsapp web nativefier webapp

Does the issue persist after re-building your apps with a newer version of Electron, which you pass to Nativefier with flag -e ?

@tom-tb9394 or @Cyberoid  Is the app you downloaded, from here?
https://github.com/chrisknepper/android-messages-desktop

Closing as I have not heard a response back. We can reopen if anyone is still experiencing this.


NV Access reads blank when options are already selected

Prerequisites

[x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate
[x] The issue still exists against the latest master branch of Select2
[x] This is not a usage question (Those should be directed to the community)
[x] I have attempted to find the simplest possible steos to reproduce the issue
[ ] I have included a failing test as a pull request (Optional)

Steps to reproduce the issue

Go to this codepen : http://codepen.io/stephendesjardins/pen/jrWmgq
NVDA with firefox
Select a few options
NVDA will not announce what options are already selected

Expected behavior and actual behavior
I was expecting that NVDA tell us what option are already selected
Environment
Browsers

[ ] Google Chrome
[x] Mozilla Firefox
[ ] Internet Explorer

Operating System

[x] Windows
[ ] Mac OS X
[ ] Linux
[ ] Mobile

Libraries

jQuery version: 2.2.4
Select2 version:4.0.3 and version that is on master

Isolating the problem

[x] This bug happens on the examples page
[x] The bug happens consistently across all tested browsers
[x] This bug happens when using Select2 without other pluigns
[x] I can reproduce this bug in a codepen

Here is what I mean, when it says "vide", it means "empty"

This sounds like a duplicate of https://github.com/select2/select2/issues/3735.

That issue is about changing options in the select-container. I'm talking about when you selected a few options and then you go back to that input, you can't know there are already a few options (see gif attached).

if any fix available fro JAWS16 and NVDA

This seems to be fixed in Firefox and I think this can be closed:

@acconrad it appears that this issue is about the NV Access (NVDA) screen reader - are you using that?

@alexweissman you're totally right, I read that wrong. Please ignore, sorry!

Actually, this is a duplicate of #3735, so we can close it after all!

@alexweissman I already explained to @kevin-brown that this is another issue and he reopened it
please see : https://github.com/select2/select2/issues/4418#event-690850959
Do not close this issue. It is not a duplicate
https://github.com/select2/select2/issues/4418#issuecomment-225668558

JAWS is silent when changing options, and NVDA reads "blank".

Isn't that the exact same issue you described?

NVDA will not announce what options are already selected

@alexweissman
My issue is when you go back into an input with a few items selected, it reads the input as blank instead of that there is something already in the input. So when someone comes into the input with a few items and it reads blank, it gives the impression that there is nothing there. So the user with a disability will submit a form thinking he has only one item in the input when it has three.
The issue that you are referencing is trying to navigate in the options which read blank.
I would highly recommend you look at the gif I posted in this comment : https://github.com/select2/select2/issues/4418#issue-160010005
You will have a better idea of the difference.
Hopefully you will re-open this issue. If you need any clarification, please let me know.

Ok, please edit the title of this issue to make the difference more clear, so it doesn't get closed again in the future.

Changed the title to reflect better the issue. Let me know what you think! thanks

Thanks.  It could still be the same root cause as #3735, but we'll leave it open until you have time to investigate the cause of these issues more 😄

An interim fix would be to disable the auto-complete.
    $("#your_select_element").on('select2:open', function (e) {
        $('.select2-search input').prop('focus',false);
    });

please don't close this issue. It is very much still a problem

Reopening this since it's still not fixed and we still consider it to be an issue.
We welcome pull requests that fix this issue, by the way.

Still welcoming pull requests, I'll gladly review them.

Hi @kevin-brown ,
I made a PR that fixes this issue in firefox. Let me know if you have any feedback on it.
Let's get this done!

I have opened a pull request at https://github.com/select2/select2/pull/5842 which aims to redo the accessibility of the selection area with multiple and single selects to make them more accessible to screen readers. One of the main changes involves changing the selection to ensure the selected items are read out to the user when the search and other areas are focused.
While I understand that it has been a while, it would be greatly appreciated if anyone could help us test out these changes to ensure this ticket has been fixed. You can test these on your own by recompiling Select2 from the lastest develop branch, or you can wait for the next beta release (which should be out once that pull request is merged). Our goal is to significantly improve the accessibility in time for the upcoming 4.1.0 release of Select2.


Remove unnecessary trailing semicolons

@delirious-lettuce - thanks for another great pull request. The changes look good and the unit tests pass. However you've edited three external source files. Editing these files will make it difficult when we want to update to a newer version of these projects.
Please revert the two files you've changed under src/nnvm and the one file under src/xgboost.
Currently, it's confusing what is and is not external. We've just created #87 to track that issue.

@TobyRoseman ,
My mistake! I was avoiding everything under deps but I see what you are saying. I will revert the changes made in those files you mentioned ASAP.

Thanks @delirious-lettuce

@TobyRoseman ,
No problem, thanks for your time!


Allow hemimandibulectomies

As this comment asks:

Tumour at the left mandible requires hemimandibulectomy including left condyle.

However, BRP needs 2 saw boxes (1st and last cutting planes) in order to proceed next step. Basically, intraoperatively only need one osteotomy site (in this case located at the left body of mandible).
Noted orange arrow indicates part of mandibular base. It is a must and should be touching the cutting box for boolean operations to be performed.

This should be set with a label that says "after resection" and a combobox with options:
keep both sides, keep left side only, keep right side only

Almost finished, only needs documentation

There is a bug when creating the neomandible 3D model for hemimandibulectomy mode.
It's because there is no contact between resected mandible left and the bone segment of the contra-lateral side.
The issue may be solved using the new boolean operations logic


Check to ensure that data passed to create index ref values is an object

This PR fixes issues when created a lounge model without passing any argument data to the constructor.
I wasn't sure if the package-lock should be updated to the current version, so if not I can just remove it from the PR.

Can you revert the lock file change and also add a test that performs a save?


Development mode: Custom GitHub organization

Allow to set custom GitHub organization in development mode.
Add arguments to ./hack/development-mode.sh for setting custom git
repository.

@johnmcollier @sbose78 @jduimovich Please take a look. Way how to setup custom github org in development mode.

@jduimovich

not confusing, just regular bug, renamed
now using MY_GITHUB_TOKEN, do not know way how to remove pod or restart deployment after configmap is changed. It cannot be done immediately with execution of hack/development-mode.sh, it has to be deleted after changes are applied by gitops.


It seems computation does not run on GPU

In the line 35 of run.py, it seems GPUs are not used.

When I run the program in training mode, the memory of GPUs are not used.
I guess maybe images and labels are loaded by CPU and physical memory of the server. Only the  backpropogation is calculated on GPU.
Is that right？
Thx

Yes, that is right.

Yes, that is right.
hello,how to calculate on GPU,change cpu to gpu?

hello ,my cold run slowly,your code could run fast?

Yes, I can process up to 250-300 images per second using a V100 GPU.

I use your code,but I only could process 64images per second using v100 gpu ，do you know what should I do?thanks for your reply

Well, it depends on many factors:
1- How many CPUs are you using?
2- How fast is your disk?
3- How much RAM you have?
4- What is your batch size?
5- Have you resized your images to 256*256 or you resize them on the fly?

i have about 20 cpus

3.RAM 300G
4.batchsize 64
5.my image shape about 256x256 .i need resize.
my main trouble is that my gpu occupancy rate is too low.many time it is 0

It shouldn't be 0.
Could you please share your command line?

它不应该是0.
你能分享一下你的命令行吗？

many parameters is your default parameters.

Could you set log_device_placement to True and share the device placement info?

您可以将log_device_placement设置为True并共享设备放置信息吗？

ok,
The computer is not around me，i will  share my device placement info ,9 hours later.


feat: Allow creating and saving alerts with disabled notifications

This PR resolves ONYX-586
Description
Allow creating and saving alerts with disabled notifications.

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Allow creating and saving alerts with disabled notifications. - ole

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (Allow creating and saving alerts with disabled notifications. - ole)

  Generated by :no_entry_sign: dangerJS against 243c82c874ef0e77784eac1e0d7befdbbba17835


Remove effects from HmIP-RGBW when in PWM mode

Fixes #1359

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (254a7eb) 90.36% compared to head (a67c70f) 90.36%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #1367   +/-   ##
=======================================
  Coverage   90.36%   90.36%
=======================================
  Files          49       49
  Lines        5996     5999    +3
=======================================
+ Hits         5418     5421    +3
  Misses        578      578

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Prevent name & type change of existing module fields

UI thing only. Add readonly HTML propery on these fields.
Backend will ignore this change in case it gets through.
A temporary solution/workaround.

Merged


[MODROLESKC-150]: fix loading reference data multiple times

Purpose
Fix loading reference data multiple times

Approach
Role on the Keycloak side is created with new generated ID in any case, therefore check for existence is by role name

TODOS and Open Questions

[ ] Check logging

Learning
Tested locally.
Before:

After:

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added, or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do Rally stories exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail? Which endpoints/schemas changed, etc.
[ ] Do they have all the appropriate links to blocked/related issues?

Are the Rally stories under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally, all the PRs involved in breaking changes would be merged on the same day to avoid breaking the folio-testing
environment. Communication is paramount if that is to be achieved, especially as the number of inter-module and
inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the
responsibility of the PR assignee.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: yaroslav-epam:x: yaroslav-kiriakYou have signed the CLA already but the status is still pending? Let us recheck it.


Create pdu

Email with this domain (pdu.by) is offered by Polotsk State University. For example, confirmation about this can be viewed on http://www.psu.by/index.php/magistratura.html in the section 'Регистрация на @pdu.by'

@scawn please add .txt extension

@scawn Sorry for the delay - we've been launching rebranding and I hadn't time to check the repo for a while.  I've added the domain now manually - you can apply for free licenses.


Import Error

Followed the documentation, and the following are included in the installed apps.
'django_comments',
'mptt',
'tagging',
'zinnia',

And urls.py has been configured as
url(r'^weblog/', include('zinnia.urls', namespace='zinnia')),
url(r'^comments/', include('django_comments.urls')),

I get the following exception!
raise ImproperlyConfigured('%s cannot be imported' % model_path)
django.core.exceptions.ImproperlyConfigured: zinnia.models_bases.entry.AbstractEntry cannot be
imported

Hello,
can you give the version of Python, Django and Zinnia used ?
This error is strange because zinnia.models_bases.entry.AbstractEntry is the default model provided.
Regards

Django (1.6.10)
Python (2.7.8)
Zinnia(0.15.1)
Installed via,  pip install djang-blog-zinnia. Sorry the notifications were flooded, just saw this reply of yours and sending it in asap.

Zinnia 0.15.1 works with Django 1.7
Either you use a more recent version of Django, or you use Zinnia v0.14.x
http://django-blog-zinnia.readthedocs.org/en/latest/notes/compatibility.html#compatibility-with-django
Regards

This is problem with 0.14.x
File "/Users/usr/project/buildout/eggs/Django-1.6.11-py2.7.egg/django/db/models/loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "/Users/usr/project/buildout/eggs/Django-1.6.11-py2.7.egg/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/Users/usr/project/buildout/eggs/django_blog_zinnia-0.14.2-py2.7.egg/zinnia/models/__init__.py", line 4, in <module>
    from zinnia.models.entry import Entry
  File "/Users/usr/project/buildout/eggs/django_blog_zinnia-0.14.2-py2.7.egg/zinnia/models/entry.py", line 6, in <module>
    class Entry(load_model_class(ENTRY_BASE_MODEL)):
  File "/Users/usr/project/buildout/eggs/django_blog_zinnia-0.14.2-py2.7.egg/zinnia/models_bases/__init__.py", line 20, in load_model_class
    raise ImproperlyConfigured('%s cannot be imported' % model_path)
django.core.exceptions.ImproperlyConfigured: zinnia.models_bases.entry.AbstractEntry cannot be imported

I get this error as well with django 1.6.x due to:

import zinnia.models_bases.entry.AbstractEntry
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/zinnia/models_bases/entry.py", line 15, in
from tagging.fields import TagField
File "/usr/local/lib/python2.7/dist-packages/tagging/fields.py", line 9, in
from tagging.models import Tag
File "/usr/local/lib/python2.7/dist-packages/tagging/models.py", line 10, in
from django.contrib.contenttypes.fields import GenericForeignKey
ImportError: No module named fields

Thanks for any suggestion

@simod I think your issue is coming from a too recent version of django-tagging.
Downgrade it and it will be fine.

@Fantomas42 thanks! worked with django-tagging==0.3


Get count of downloading and seeding torrents

Description

I would like to know if it is possible to add a property for downloading torrents count and one for seeding torrents count to the SessionStats class.
Environment

language version:
app/lib/repo version:

How to reproduce

Expectations
Actual result

if it's defined in rpc spec


Events periodically check and update events

[x] Git: Get automatically possibly existing branches
[x] Git: Auto commit
[x] Git: Auto push on existing branch
[x] Git: Auto push on new branch
[x] Github: Create new PR if it does not exist

Opening this for review. But it'll only be truly ready when Hoyo will release another Event.
PR #45 should be automatically updated when that happens. For now it's running on my local env.

I did a rebase because of merge conflict.
About the registry, I never used the GitHub one before. I'll look into that.
Please mind that I made a stack with compose. So, you might want to use the whole compose instead.
I'll see about the registry either tomorrow or in the first half of next week. No promise though.


src!: change all references of "repository" to "registry" for images

When dealing with images, instead of referring to an image repository,
let's use the more correct term "registry", even though we're actually
using "registry/namespace" in most cases.
Fixes: https://github.com/boson-project/faas/issues/154
Signed-off-by: Lance Ball<EMAIL_ADDRESS>

LGTM, minor nit in Function.go

I just missed this one. My search was usually for /repository/i.

@zroubalik I have merged your changes and rebased. PTAL


Issue: Is langchain automatically adjusting its prompts to account for required formats of models such as llama2?

Issue you'd like to raise.
I am wondering if I need to adjust the prompt template of the combine_docs_chain (combine_docs_chain.llm_chain.prompt.template) to account for the needs of llama 2 models that require the following format:
[INST] <> You are a HR-assistant that answers questions:
<>
{query} [/INST]
Suggestion:
No response

What is the current status of this? I'm trying to create a conversation with Mistral which has different formatting than GPT-X. It is difficult to tell what format the ChatPromptTemplate sends to the LLM. In addition how can I change the format according to the LLM that I am using?
from langchain.prompts import (
    ChatPromptTemplate,
    HumanMessagePromptTemplate,
    MessagesPlaceholder,
)
from langchain_core.messages import SystemMessage
from langchain_community.llms import Bedrock

prompt = ChatPromptTemplate.from_messages(
    [
        SystemMessage(
            content="You are a chatbot having a conversation with a human."
        ),  # The persistent system prompt
        MessagesPlaceholder(
            variable_name="chat_history"
        ),  # Where the memory will be stored.
        HumanMessagePromptTemplate.from_template(
            "{human_input}"
        ),  # Where the human input will injected
    ]
)
print(prompt)

memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)

llm = Bedrock(model_id='mistral.mistral-7b-instruct-v0:2', model_kwargs=mistral_kwargs)

chat_llm_chain = LLMChain(
    llm=llm,
    prompt=prompt,
    verbose=True,
    memory=memory,
)

chat_llm_chain.predict(human_input="Hi there my friend")


exit status, int instead of string

🌈 minishell$ expr $? + $?
expanded input: expr 0 + 0
expr: non-integer argument
Position[0]: 'expr' (token type: 5)
Position[5]: '$?' (token type: 5)
Position[8]: '+' (token type: 5)
Position[10]: '$?' (token type: 5)
🌈 minishell$ expr 5 + 5
expanded input: expr 5 + 5
10
The extension $? should be stored as an int instead of as a string.

Oh! That's bc there is no variable expansion yet (other than in heredocs).
Will fix this!


Rationale for removing Ruby Devcontainer Builds?

I have several Rails projects on versions below 7.2, which consume the devcontainer image ghcr.io/rails/devcontainer/images/ruby:3.2.2.
As of https://github.com/rails/devcontainer/commit/ff482df23e0b9036e40793493c6438a1e09f3d3e, the build for Ruby 3.2.2, along with many other Ruby versions, has been removed.
The commit message outlines the rationale:

For Rails 7.2, we will only support the latest patch version of the supported minor Ruby versions.

While it is understandable to limit supported Ruby versions for specific versions of the framework, the removal of these devcontainer images seems abrupt. It's not clear to me why Rails 7.2's Ruby compatibility necessitates the removal of existing older builds, or ceasing the production of those builds altogether.
I don't mind bumping my team's Ruby versions personally, but out of consideration for projects outside of Rails core/Rails 7.2 who may be consuming older images, it'd be beneficial to retain support. After all, those teams may have applications tied to Ruby versions outside those specifically compatible with Rails 7.2.
Unless it is particularly burdensome to continue producing builds for these Ruby versions, is there a strong opposition to restoring them? If not, what is the best channel for dependents to stay informed about when image versions will be deprecated going forward?
Lastly, I'd like to extend my thanks for creating and maintaining these images. They've been an excellent resource, greatly benefiting my team for use on developer machines, Codespaces, and so on ❤

Hi @chtzvt thank you for the report. Our apologies about the images being pulled. There was an issue and we need to republish them - it is still in progress but 1.0.0-3.2.2 is now republished and should be available again.
But yes, going forward, and starting with 1.0.1, to just maintain images for the latest patch versions support by Rails. Since this image is maintained by Rails for use with Rails apps, we will support the versions of Ruby supported by Rails.
However, the ruby feature can be used to build an image with any ruby version currently support by ruby-build. Teams can also use the CI step maintained by the devcontainer org to host their own images on ghcr.


add miremington domain

@DaniloMontoya Pull request merged. Thank you!

@DaniloMontoya Pull request merged. Thank you!


Allocation of 2764800 exceeds 10% of system memory - error. any help?

pi@raspberrypi:~/tensorflow1/models/research/object_detection $ python3 Object_detection_picamera.py --usbcam
2019-02-01 01:25:45.681330: W tensorflow/core/framework/allocator.cc:122] Allocation of 2764800 exceeds 10% of system memory.
2019-02-01 01:25:47.063722: W tensorflow/core/framework/allocator.cc:122] Allocation of 2795520 exceeds 10% of system memory.
2019-02-01 01:25:48.364439: W tensorflow/core/framework/allocator.cc:122] Allocation of 2795520 exceeds 10% of system memory.
2019-02-01 01:25:49.651463: W tensorflow/core/framework/allocator.cc:122] Allocation of 2795520 exceeds 10% of system memory.
2019-02-01 01:25:51.249713: W tensorflow/core/framework/allocator.cc:122] Allocation of 2795520 exceeds 10% of system memory.
: cannot connect to X server

having the same issue here too

Hi, I tried to reduce the batch size in config to "batch_size: 1" and it works for me

@chunyinlai1997  question where do you change the batch size?

@B0B234 change it in the configuration file.

where is config file?


Better explenation for novices

Hi,
is there any chance you can provide better explenation for novices?
I found your container on docker and installed on my unraid rig.
It seems to pull the entire 555mb container but I have no understanding on how to configure it and where to place the configuration file.
This looks like such a useful piece of software but its such a pitty the intructions are so limited, like assuming eveyone is aleady experienced :(
I've tried to do the RPI instalation and that one also did not worked well :(
any advice?

I managed to get it barely running but it says my n26 credentials are not correct. Which is not the case, as I have double checked them :( any idea how to proceed?

I managed to get it barely running but it says my n26 credentials are not correct. Which is not the case, as I have double checked them :( any idea how to proceed?


Compile Models to AWS Inferterian

Hi,
I am trying to compile the models used in DeepFace to work with AWS's Inferteria cheaps, using AWS tensorflow-neuron.
Have you ever tries to do something like this? Out of the box, simply saving the models and calling tensorflow_neuron.compile() didn't seem to work. I can go into details here with the exact exceptions I get, but more broadly I wanted to know if you ever tried doing something like this before and what would be the best way to go about this.
Thank you!

No experience - sorry

may i close this issue? because it is not directly related to deepface. errors come from tensorflow dependencies.

@shirasael did you have any success eventually? I'm about to try the same and wonder if you made it working?

I am also trying to use AWS Inferentia with deepface. Any update on this issue?


Webhooks should get OwnerRef to namespace

/area API
/kind cleanup
/kind good-first-issue
Expected Behavior
It's a common misconception that folks can delete our system namespace (e.g. knative-serving) to "clean up" their cluster for a fresh installation.
Actual Behavior
Unfortunately, we install a lot of things that aren't deleted by deleting our system namespace, and some of those things block reinstallation.  In particular the configmap webhook has no pods, and so it blocks configmap creations.  This creates a chicken/egg problem because the webhook pods need those configmaps to start up properly.
Proposed Solution
I think the simplest solution would be to have our webhooks set up an OwnerReference to the namespace resource within which its target service lives.  We used to do this for the webhook deployment, but removed that due to it being Cluster-scoped -> Namespaced (which isn't supported).  However, Namespace is a cluster-scoped resource, so I think this would work.

/assign

Note the solution in #2098 doesn't clean up everything but does unblock re-install 🎉


ReflectionUtils to support Java "ea" versioning scheme maybe?

Greetings,
On FCP 3.0.3 I've seen that the ReflectionUtils logic for "JAVA_VERSION_IS_9_PLUS" is not handling early access versioning like for e.g. "11-ea" - more info here http://openjdk.java.net/jeps/223) .
In result for such version I get java.lang.NumberFormatException: For input string: "11-ea"
Since Java is expected to evolve much faster do you think it is a good idea to support the early access versioning scheme?
Regards,
zhgzhg

@zhgzhg Thank you, I wasn't checking for the '-' character. I made this more generic so any non-numeric character can be used to break version numbers. The fix will be in the next release, and it is checked into master now, so you can build your own jar if you need this fixed ASAP.


Adding   with any Favicon icon and its automatically creating  tags.

Hello,
Here, In the Trumbowyg editor of project getting some issue.
Actually when I am trying to add code this in source code:

hello

it's Automatically converting this code later with SVG tags like below:

hello

     <svg class="svg-inline--fa fa-angle-down fa-w-10" aria-hidden="true" focusable="false" data-prefix="fa" data-icon="angle-down" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" data-fa-i2svg=""><path fill="currentColor" d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>

I don't want to use SVGs in my code. so any ways I can stop this ?

This what exactly happening with me :
https://www.loom.com/share/36afbd2eb5074df1b034b7b353a812af?sid=885691de-a28a-43ae-8981-6254312c9e53

Here is the actual issue showing as recording:
https://github.com/mixcore/mix.core/assets/124252403/240b1649-4823-4308-9657-99aa627013cb

Hi @arpit1188 thanks for letting us know. We will take a look asap.
In the mean time, please also log an issue to Trumbowyg team as well. I think this might related ti Trumbowyg instead.

hello @Smilefounder, I already logged issue with Trumbowyg team.

Hi @arpit1188 which mix version that you are using?

Hello @arpit1188, this is Trumbowyg's default behavior.
This document is available for viewing at here
We're working on an update, but if you need an urgent change, you can modify this file directly and restart the program (to obtain the correct configuration option, please refer to the document).
File path:  "src\applications\Mixcore\wwwroot\mix-app\js\app-init.min.js" - line 734

Hi @arpit1188 which mix version that you are using?
@Smilefounder
"MixcoreVersion": "1.0.1"

Hello @develite98, As mentioned in documentation. I tried multiple things with different combination but its still not working.
I tried to change svgPath = false and tried tagsToKeep and also tried semantic properties.

Hi @arpit1188 ,
You can try to add this script to portal/Index.cshtml
// Ref: https://stackoverflow.com/questions/49983637/prevent-svg-translation-of-fontawesome

// Notice how this gets configured before we load Font Awesome

Btw, you can also try to add this configuration to prevent trumbowysg from transforming your html tags

@nhathoang989, Thanks its worked for me.


Pull Request Approval Count Bug

Description

The approval count for merge requests is sometimes miscalculated. This can happen whether or not an approval allowlist is set, but unfortunately I am unable to reproduce it accurately.
Gitea Version
1.20.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL/MariaDB

Is the person an official one or not?

Is this your self-host Gitea instance? Could you help me check the official field in the review of this user without showing any sensitive data?
SELECT review.id, review.`type`, official
FROM review
INNER JOIN `user` on reviewer_id = `user`.id
WHERE `user`.name = 'yourusername';

I can only reproduce this issue when the approver approved the PR before join the Owners group.

We close issues that need feedback from the author if there were no new comments for a month. :tea:


[Event registration] Expiring check in qr codes

Current Implementation

In version 2.0 a feature will be integrated to check in to events. It can't be prevented, that users "false check ins" (See Luca app). Although doing this on CWA is harder than on Luca and not so harmful, it is an issue tough.
Suggested Enhancement

Use expiring qr codes to prevent people from checking in to locations they aren't via over social media shared codes. To prevent this hosts are reminded to change they're codes ones a day, when they aren't open. Changing these codes while they're open would break tracing. The qr code should be displayed on f.e. a tv screen, to let it change ever f.e. 5 min.
This can be done in two ways I think:

Use signing technologies like on the web, with a CWA server as a CA.

Or use a concept like the one described below:  (Information about the graphic: Generation of the keys should be done on the host device, and only the public key should be sent to the server (sorry, the website I was using was closed, so I wasn't able to change it)

Expected Benefits

Prevent false check ins while making it possible (with more adjustments) to create bigger events.

@jucktnich Thanks for contributing here. What is the difference to #413?

Internal Tracking ID: EXPOSUREAPP-6087

I think the difference is, that in this solution there is the same ID every time used, with a time stamp and the other issue uses, if I got it right every time another ID.
Here's the message on the right place


Boot image Selection - Deployment ID

If it finds more than one boot image, it uses the highest or most recent deployment ID. ------
Just an advise to clarify that it's task sequence deployment ID... I've spend an hour to find a "boot image deployment ID", I may not the only one stupid😂...

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

ID: 3527c358-cf3f-07ec-1cb8-88982ff99122
Version Independent ID: 2c618192-bb71-d934-d20e-1ceb15cb2e01
Content: Use PXE for OSD over the network - Configuration Manager
Content Source: sccm/osd/deploy-use/use-pxe-to-deploy-windows-over-the-network.md
Product: configuration-manager
Technology: configmgr-osd
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

THanks @Li-xianhua, good clarification. I'm submitting a change now. This issue will auto-close when that change is committed. It will then publish live on the next cycle, which should be tomorrow (Wednesday) around 11am Pacific.


[SiteTraker] Wrong calculated points at pending site.

We find out that site claims are wrong calculated if a member joint after a claim and pending that claim. Than everyone gets or still kept that amount of point you get with less members in a fleet.
An extrem example: boss and two others opens a fleet. Claim an escalation and gets many points. Now 10 more members joining and pending that escalation. Everyone gets that big amount of points.
Would be good to change that.

@marbindrakon is this what SSC wanted that it works or did you just miss to read my issue?

neosilver, this will be fixed when the SiteTracker is re-written.

I thought to change some code would be enough (see below), but the SiteTracker not changed. It is not even caused a different reaction.
Changes in SiteTracker/view.py:
def claim_site(request, fleetID, siteID, memberID):
....
else:
if fleet.current_boss == request.user:
new_fleetsize = site.fleetsize + 1
x = float(get_config("ST_SIZE_WEIGHT", None).value)
n = new_fleetsize
if x > 1:
weight_factor = x / float(n + (x - 1))
else:
weight_factor = float(1)
    site.fleetsize = new_fleetsize
    site.weighted_points = site.raw_points * weight_factor
    site.save()

....
probably I'm doing pretty much everything wrong

I have found the code that causes the values. In the pull request # 205 I changed the code.


Error 1064: You have an error in your SQL syntax

Describe the bug
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"account_myuser" WHERE ("id" = 2) LIMIT 1' at line 1
To Reproduce
db := goqu.New("mysql", repository.conn) ds := db.From("account_myuser").Where(goqu.C("id").Eq(id))
Expected behavior
toSQL return string: SELECT * FROM "account_myuser" WHERE ("id" = 2)
I am using MySQL version: 5.5.5-10.4.10-MariaDB-1:10.4.10+maria~bionic
Dialect:

[ ] postgres
[X] mysql
[ ] sqlite3

Additional context
Add any other context about the problem here.

You import the mysql dialect?
import         _ "github.com/doug-martin/goqu/v9/dialect/mysql"
```

and use
```
	dialect := goqu.Dialect("mysql")
```

Yes, I did and it worked, but I forgot to close the ticket :)


Fab component fails to respond to click ( ref TouchableOpacity position: absolute )

react-native, react and native-base version
"react-native": "0.46.4"
"react": "16.0.0-alpha.12"
"native-base": "2.2.1",
Expected behaviour
Fab component onPress should respond to being pressed.
Actual behaviour
The component does not respond
Steps to reproduce (code snippet or screenshot)

Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
tested only on Android
Any other additional info which would help us debug the issue quicker.
Removing position: 'absolute' solves the problem - apparently related to react-native's Touchable component behaviour.
The following code works as expected.

@IndeDude I am not sure what do you mean by position absolute here. And a screenshot/Gif would be helpful in this case

Closing this due to inactivity

@shivrajkumar here is the GIF for your reference. I am using the latest version on native-base - 2.3.2, but still I am facing this issue. I tried it on Android emulator and real Android device too.

I have the same issue: https://stackoverflow.com/questions/47115933/react-native-base-fab-as-single-button

@gauravdhiman tried a similar code with "native-base": "2.3.2". Couldn't find any issue. Attaching a gif.

Closing the issue due to no response


Change name of "isOnAc"-method

The name "isOnAc" is not very clear since this function only returns true when the battery is charging. Hence the name should be changed to something like "isCharginBattery".

Closed by 9ba80dab8a807e1c6e98b150fcfa1c3c378ed540


Feat / update sdk for iroise

This MR updates the SDK for Iroise (following the public-apis update) by:

adding a required jobs argument to the create_batch function
adding an optional wait argument to that same function in case the user wants to wait for the batch results
updating/adding tests for new functionalities
skipping tests for temporarily disabled functionalities (add_job and complete_batch which won't be usable since the batch will automatically be completed).

Don't forget to bump the version!

http://gitlab.local:30080/pcs/public-apis/-/issues/100 for updating the documentation.


Fix some lint (11 - ordered imports)

#54

We already have fix-on-save enabled, but I didn't know about that, thanks.  Don't want it in the standard "lint" script because that's run on build integration and verification, added new script.


This is a bug?Or do I really have to wait until then?

Thanks for reporting, you can see the real date when you click Register here: https://info.rancher.com/rancher-kubernetes-online-training-2020-10-29
I passed the wrong date along to get fixed.


"Miriștea", "Osmancea" are listed in the drop-down menu

Description:
When user writes "Miriștea", "Osmancea" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Miriștea"

Expected results
The location appears in the drop-down menu as "Sat Miriștea, CONSTANȚA, (Mereni)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Osmancea"

Expected results
The location appears in the drop-down menu as "Sat Osmancea, CONSTANȚA, (Mereni)"


Raise specifically typed exceptions when a request fails

Is your feature request related to a problem? Please describe.
When a request to Dalle fails, the reason is logged but None is returned. This makes it difficult to programmatically figure out why the request failed and respond appropriately. For instance, if a request fails because the prompt violates safety standards, you may want to tell the user to try a different prompts. But if a request fails because of a lack of credits, you may want to tell the user to go add more credits before they try again.
Describe the solution you'd like
I think it would be helpful for the Dalle2 client to raise exceptions when there are problems so code like the following would work
import dalle2

try:
	images = dalle2.Dalle2('sess-XXXX').generate('prompt')
except: dalle2.exceptions.PromptRejectedException:
	return {'message': 'Try a different prompt'}
except: dalle2.exceptions.OutOfCreditsException:
	return {'message': 'Please refill your credits'}

Describe alternatives you've considered
This would be a breaking change, so it should be considered carefully. Here are some alternatives that would preserve backwards compatibility:
Provide a context object dalle2.error_status that would provide information about the most recent request (similar to how Flask provides a request context object https://flask.palletsprojects.com/en/1.1.x/reqcontext/)
import dalle2

images = dalle2.Dalle2('sess-XXXX').generate('prompt')
if images is None:
	if dalle2.error_status.reason == dalle2.ErrorStatusReason.PROMPT_REJECTED:
		print('Prompt Rejected:', dalle2.error_status.message)
	elif dalle2.error_status.reason == dalle2.ErrorStatusReason.OUT_OF_CREDITS:
		...
	else:
		...

But this is less clean and more error prone than exceptions.
Have exceptions be opt-in like client = Dalle2('sess-XXXX', raise_on_error=True). But adding configuration overhead like this would make the package code more complex and also could cause a fair amount of friction for users.

yeah great idea. do you want to tackle this issue? seems like you have some experience with this. could assign you @nathanfdunn


Bug: Does it work in an Angular project with libraries

Hi,
I'm figuring out this library, since I really like the idea to provide the mocks of your component in stead of just acceptating everything.
Currently I'm trying to mock a component in an Angular application with a angular library. Like this
projects
--- app1
--- componentX which uses ComponentY <-- i don't get this test working
--- lib1
-------ComponentY
I got an error like this:
resolve '/lib/forms/j.pipe' in 'x:\xxx\xxx.git\xxx-xx\xx\xx-xxx\src\app\xx\xx-view'
  Parsed request is a module
  using description file: Dxxx\x\xxx.xxx\xxxx-web\package.json (relative path: ./xxx/xxx-xxx/src/app/xxx/xxx-view)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: x:\xx\xxx-x\package.json (relative path: ./x/x-x/src/app/x/x-view)
      Field 'browser' doesn't contain a valid alias configuration
      using description file: x:\x\xxx\x-x\dist\xxx-xxx\package.json (relative path: ./lib/x/xxxxxx)
        no extension
          Field 'browser' doesn't contain a valid alias configuration
Is this setup already tried before?
If requested, I can provide a example project

Hi,
thank you for the report. Might you share how the test, the componentX's class and its template look like too?

Hi @appienvanveen, I hope this finds you well, do you have any update on my previous comment?

I will try to reproduce it tomorrow. I tried Friday but then it worked
somehow
Op zo 14 jun. 2020 11:53 schreef MG<EMAIL_ADDRESS>
Hi @appienvanveen https://github.com/appienvanveen, I hope this finds
you well, do you have any update on my previous comment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ike18t/ng-mocks/issues/139#issuecomment-643744069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIKUAE4OT2OBAO5GJOD6HTRWSM3PANCNFSM4N4JDYLQ
.

I've tried it again and it works now. Dunno what exactly was wrong; probably my mind was already weekend :)

Ah, awesome :)


GeoMakie.jl warnings during tests leading to precompilation failure

Hi!
When precompiling GeoMakie.jl in tests, I am seeing this kind of warnings:
WARNING: Method definition isfinite(Union{GeometryBasics.AbstractPoint{Dim, T} where T where Dim, GeometryBasics.Vec{S, T} where T where S}) in module GeometryBasics at /home/runner/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:134 overwritten in module GeoMakie at /home/runner/.julia/packages/GeoMakie/vcMuZ/src/utils.jl:128.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
WARNING: Method definition isfinite(Union{GeometryBasics.AbstractPoint{Dim, T} where T where Dim, GeometryBasics.Vec{S, T} where T where S}) in module GeometryBasics at /home/runner/.julia/packages/GeometryBasics/ebXl0/src/fixed_arrays.jl:134 overwritten in module GeoMakie at /home/runner/.julia/packages/GeoMakie/vcMuZ/src/utils.jl:128.
┌ Warning: Module GeoMakie with build ID ffffffff-ffff-ffff-0000-005c2cd9cc5a is missing from the cache.
│ This may mean GeoMakie [db073c08-6b98-4ee5-b6a4-5efafb3259c6] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1948

(See here https://github.com/JuliaSpace/SatelliteAnalysis.jl/actions/runs/8863099460/job/24336758108#step:6:715)
Is this something know or a new issue?

Ah, that's the result of a new GeometryBasics release.  I'll release a patch version with those removed shortly.

Hi @asinghvi17 !
I saw you bump the version but it was not registered. Is there something I can do to help?

Thanks for reminding me :D - release is in progress now.


(Release 4) Java Module support

Description
DO NOT MERGE at this time
This PR proposes adding module support to Egeria

Adds module-info.java to each project which provides a module name, lists 'requirements' and defines 'exports' (other capabilities are possible)
Module names have been autogenerated (IntelliJ) and take the form 'egeria.open.metadata.implementation.frameworks.governance.action.framework.main'
Updates some dependencies (module support needs explicit visibility)
corrects some code issues (see below)

The following have not been modularized due to dependency chain complexities

Open Lineage janus connector
Graph repository connector

Details of c

Related Issue(s)
See #2377

Testing

Build
Coco 'building a data catalog'

Still to do

Unit tests/FVT (needs updating for java module support)
review required package changes
Javadoc

Not included

External applications
Additional connectors

Release Notes & Documentation

Will need to write content for java module support
Additional notes

Propose we review this proposal at our next face to face
Still work to do to fix tests, javadoc
Need to consider if we want to rename our modules from egeria-${path}.main or similar (ie align with org.odpi ...)
needs consumption oriented testing
need to agree on what we do with the errant janusgraph related components
need to be ok with the proposed package changes (see below)

See ** for package changes

Note that this works if test/javadoc excluded & will be used as a discussion point in our Jan meetings where we'll decide whether to go ahead with module support, and complete the work.


--already_cached and moving cache_dir to the end of the include path

As discussed, a new option called --already_cached.
And the lookup of .checked files follows the include path with cache_dir (if any) at the lowest priority.
Awaiting an Everest CI run.

See #1596 for discussion about this.
Note, this requires a cache version number bump. I've added a version number field for prims.fst (@tahina-pro) which should be incremented on future .checked file upgrades.

got an Everest green and merged


posix_spawn is not yet supported on sparc-solaris (sparc-solaris2.11)

posix_spawn is not yet supported on sparc-solaris (sparc-solaris2.11), falling back to default implementation. If you believe this is an error, please file a bug at http://github.com/jarib/childprocess/issues

We've replaced all backends with Ruby's built-in Process.spawn for portability. Try upgrading to childprocess 5.x, which was just released.


Update Python requirement in docs

Description of changes:
Due to the reliance on cbmc-viewer==2.11 this needs to be python >=3.8 and pip is also required. With Python 3.6 only cbmc-viewer 2.9 and 3.2 are supported.
Resolved issues:
None
Call-outs:
None
Testing:
N.a.
Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

We'll adjust it back down to 3.6 after the next release when we switch to viewer 3.2, but good change until then!


NSFW links not being mark as read

Hello! That is because NSFW history is disabled. You can enable it in Settings > History


Ignoring Redis fields that are missing in the model?

When I change my model, any fields that are still present in Redis cause a NoMethodError, e.g.
> Device.all.entries[0]
Traceback (most recent call last):
        2: from (irb):5
        1: from (irb):5:in `entries'
NoMethodError (undefined method `created_at=' for #<Device:0x0000000004c48278 @attributes={}, @_memo={}>)

Is there any way to get Ohm to ignore any fields from Redis that are not in the model? - or is there some other recommended strategy to handle this?

I believe you wanted soveran/ohm repo.

Yes I did, apologies!


[LiveComponent] in-view and tab-active modifiers for polling

From https://github.com/symfony/ux/issues/102:

Future D) Polling enhancements: (1) poll less often when the browser tab is not active and (2) don't start polling until visible

<div
    {{ attributes }}
    data-poll="delay(500)|in-view|tab-active|$render" {# only poll when component is in viewport and browser tab is active #}
>

Livewire automatically reduces polling when the tab is not active - https://laravel-livewire.com/docs/2.x/polling#polling-background - which seems like a nice way to handle this.
For "in-view", I'd use visible, but I like it. So:
<div
    {{ attributes }}
    data-poll="delay(500)|visible|$render" {# only poll when component is in viewport. requests are reduced automatically when browser not in view #}
>

I also like keeping consistency with Livewire when possible: their solutions are tested and it's nice to introduce less concepts to the world.

So add a keep-alive modifier?

Yes, we probably should 👍

Is checking if tab is active and component is in the viewport native js or do we need to add a library?

No need for another library - just using that as an example


Dockerizes the seed

This Dockerfile works, but it's HTTP only.
There is an HTTPS version, backed by letsencrypt in the works, but it's not ready yet.

:shipit:

@SethDavenport I assume based on the ship it squirrel that this can be merged?  If so would it be possible to get this merged? (I don't have merge permissions)