Question about defining a new blueprint node

The Subclassing_API.md doc provides a nice example of exposing a function as a blueprint node like so:
def FunnyNewMethod(self, a_word: str):
    ue.print_string('This is a word from blueprint: ' + a_word)

I'm trying to figure out how to:

Expose an output pin (doing something like 'return a_word' doesn't seem to work, as an example.)
Set the 'meta' properties, such as:  DisplayName, Keywords, Category, as seen in the Unreal Docs here

There are a couple examples from the 20Tab docs that are similar in terms of setting the function specifiers like so:
FunnyStaticMethod.static = True
but I'm unsure if the meta properties are exposed in a similar fashion, as I was not able to get them to work. (Although it could be because I did not use the correct syntax, I'm new to python and there's limited/no linting support for this plugin in an IDE since the unreal_engine module can't actually be imported except from within unreal itself.)
I apologize if the answer to this would be super obvious to someone who's not a beginner with Python.
Many thanks.

If you need to return, you must specify the return type as follow:
def FunnyNewMethod(self, a_word: str) -> str:
    ue.print_string('This is a word from blueprint: ' + a_word)
    return a_word

As far as I know, there is no convenient way to set the meta data. You need to get the uclass and uproperty and then call set_metadata or xxx_set_flags on your own. I made some decorators to do these job:
@UCLASS()
class HeroAnimInstance(AnimInstance):
    @UPROPERTY(Category("Variables"), AppendPropertyFlags(BLUEPRINT_READ_ONLY))
    def Speed(self):
        return FloatProperty

    @UPROPERTY(Category("Variables"), AppendPropertyFlags(BLUEPRINT_READ_ONLY))
    def OnlyBlendUpperBody(self):
        return BoolProperty
...
class Category(_UPROPERTY_MetaOperator):
    def __init__(self, name):
        self.name = name

    def operate(self, ue_uclass, name, ue_uproperty):
        ue_uproperty.set_metadata("Category", self.name)


Replace string with const(char)[] for sql string

The library doesn't actually make use of the immutability guaranty and it places
quote some limits on how the SQL command can be constructed (for example from a
buffer that is reused after every command).

Good point, thanks.


Simplify eslint config

Per https://github.com/medic/openrosa-xpath-evaluator/blob/orxe2/package.json#L7, eslint is:

only running on the src/ dir, so no need to delcare test globals
is using .gitignore for its ignore list, so .eslintignore is... ignored

Included in #62


pl.sip fixes

Fixes space compressing and crash on SIP pattern without actual patterns, plus clean-ups and doc fixes.

@stevedonovan you should probably adjust coveralls tolerance or it'll fail on every PR


Could not install fairseq

When I follow your instruction to install fairseq as follow
pip install git+https://github.com/shumingma/fairseq.git@moe
I meet the following errors. Do you have any clue about it?
Collecting git+https://github.com/shumingma/fairseq.git@moe
  Cloning https://github.com/shumingma/fairseq.git (to revision moe) to /tmp/pip-req-build-o2u6y6uv
  Running command git clone --quiet https://github.com/shumingma/fairseq.git /tmp/pip-req-build-o2u6y6uv
  Running command git checkout -b moe --track origin/moe
  Switched to a new branch 'moe'
  Branch moe set up to track remote branch moe from origin.
  Resolved https://github.com/shumingma/fairseq.git to commit 5605b44f973b573fa09ff9acad5b6826c9bb75e3
  Running command git submodule update --init --recursive -q
  fatal: reference is not a tree: adb23324c222aad0aad89308e70302d996a5eaeb
  Unable to checkout 'adb23324c222aad0aad89308e70302d996a5eaeb' in submodule path 'fairseq/model_parallel/megatron'
  error: subprocess-exited-with-error

  × git submodule update --init --recursive -q did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I was unable to reproduce the errors, but found some related issues in the fairseq repo. You may try the solution here to see whether it helps.


Add features to home. Put links to libraries in quick start

Also snuck in something to make relative links in markdown use navigateAction.

:shipit:

:boat:


how to resolve this error

How to resolve this error plz help me its urgent
error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:356:11)
at ServerResponse.header (F:\project fyp\node_modules\express\lib\response.js:767:10)
at ServerResponse.send (F:\project fyp\node_modules\express\lib\response.js:170:12)
at F:\project fyp\app.js:126:6
at Layer.handle [as handle_request] (F:\project fyp\node_modules\express\lib\router\layer.js:95:
)
at next (F:\project fyp\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (F:\project fyp\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (F:\project fyp\node_modules\express\lib\router\layer.js:95:
)
at F:\project fyp\node_modules\express\lib\router\index.js:281:22
at Function.process_params (F:\project fyp\node_modules\express\lib\router\index.js:335:12)

This doesn't look like it has anything to do with api-spec-converter, sorry.
I think your problem is with express. You're probably calling res.send() twice.


Gokulsankar-21-patch-1 to main

now in remote repo la irunthu which means,
Gokulsankar-21-patch-1 to main
inga Gokulsankar-21-patch-1 is 1 commit ahead of main, 1 commit ku munnla iruku,
ipa na antha commit ah na main ku pull reaquest kuduthu merge pann vekren

now Gokulsankar-21-patch-1 branch is ready to merge with main, inga
new ah updated ana files mattum add agum, existing file -> both branch layum same ah iruntha, athu vitudum, my assumption


requiring eventmachine to be less than 1.0.4 as 1.0.4 causes timeouts

This is a temporary fix that forces mailcatcher to use eventmachine -v 1.0.3 or less

Thanks! 1.0.4 is problematic, but if they fix the bugs we should still be compatible with ~> 1.0.0, so I've added != 1.0.4 to the deps in 7533eb.


chore(ONYX-962): move progress bar to the top of the screen

This PR resolves ONYX-962
Description
This PR moves the progress bar to the top of the screen
https://github.com/artsy/eigen/assets/11945712/fcdf0be2-e0f3-4621-aaf1-daaf7d4c8e15

PR Checklist

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

move progress bar to the top of the screen in the new submission flow - mounir

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 (move progress bar to the top of the screen in the new submission flow - mounir)

  Generated by :no_entry_sign: dangerJS against c76cc2d219c720d7446f9e0b00f6f5dad805f038


basic benchmark

Add linux functionalities (cp, rm...)
network testing
compilation testing
retouch hpl benchmark

Coverage increased (+0.08%) to 85.308% when pulling 8ae154c7cd694c9bcc89de0566cc9a5a5e786311 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.08%) to 85.308% when pulling d46553e1196adde5c79b4fd3373888801f6cf724 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.5%) to 85.714% when pulling ed914e9257b24eb05ec2b3b8c6413f621bcd90d8 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.5%) to 85.767% when pulling 2c9deeab23d2457dd6fcdfa990e4b01529575f2b on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.5%) to 85.767% when pulling 2c9deeab23d2457dd6fcdfa990e4b01529575f2b on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.5%) to 85.767% when pulling 015ce02bf00146d45a3c12451e25565de4243fc7 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.6%) to 85.791% when pulling 9cc448bd7e4b1fab25a7920976e001d549f0a046 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.6%) to 85.802% when pulling dff232aa36c87b3a02b314cdb1690971da862348 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.

Coverage increased (+0.6%) to 85.802% when pulling dff232aa36c87b3a02b314cdb1690971da862348 on timocafe:basic into 0cbbdbdba2c95d2acf497d601f41f07f324828dc on tristan0x:master.


Andreas/pip requirements

@jaakko-sf I was trying out the Python scripts and thought it would be a good idea if we have a requirements.pip file so that all dependencies get installed before diving in. I put a note in the README too.
Let me know what you think!

@AnSavvides it's great. I thought the same thing last week but I forgot to do that :(

LGTM, thanks @AnSavvides!


Undefined node in dispatchUIEvent method

I am trying to catch an event on Dom element's node:
https://gist.github.com/monapasan/a4480bcd2aeca1348157
In makeFooter method.
I also have a node on higher level and a scene. All of nodes have onReceive method  but none of those is triggered, if i click on element. And i also have this exceptions. The third object in queue should be node that was clicked, but it's undefined. It's absolutely possible that i doing something wrong. But in this case i don't understand what. I was trying onReceive method,GestureHandler as well as custom component,bun in all cases i get an exception.
Could anyone explain, what is the problem ?

You're incorrectly overriding onParentMount. This is definitely an issue.
SelectionView.prototype.onParentMount = function onMount(parent, id) {
    Node.prototype.onMount.call(this, parent, id);

should be
SelectionView.prototype.onParentMount = function onMount(parent, id) {
    return this.mount(parent, parentId + '/' + id);

or
SelectionView.prototype.onParentMount = function onMount(parent, id) {
    return Node.prototype.onParentMount.call(this, parent, id);

I tried reproducing this, but couldn't get your example to work. I will try later today, but I'm pretty sure that there is a bug in the application code that results into the nodes not being mounted correctly (see above).

Yes, you are right!
If i remove the whole OnParentMount handler it's seems to be work, but in this case onMount Event on Child don't trigered at all.
http://famous.org/docs/core/Node.html#onMount
if i get it right, this one should be trigered,when the child node was added to the node on higher level?
Or this should triggered only when node was mounted direct to the main scene?
And  also onMount event don't trigger on node level above even if it's direct child from scene?
I would be very grateful if you could explain it.

I'm not entirely sure I understand what you mean by "onMount Event on Child don't trigered at all". onMount is just an alias function for mount. If the onMount function wouldn't be called at all, the node would not be mounted (nothing would work). Therefore I guess that you're not subscribing correctly for the onMount event.
MyNode.prototype.onMount = function(parent, myId) {
    this.mount(parent, myId);

    // MyNode has been mounted.

    return this;
};

Adding a custom component to the node in order to subscribe for the onMount event is problematic due to the fact that adding a component will result into the component's onMount function being called immediately (if the node is mounted). This is a known issue and is being addressed in #211 via the onAdd event.

Thank you,i think now i get what onMount means. I thought it's eventHandler which triggered first the node was rendered.
But i also have an issue :
In my ParentNode class
	ParentNodeClass.prototype.onMount = function(parent, myId) {
        // this will be invoked
    	this.mount(parent, myId);
        // my ParentNode has been mounted
    	return this;
	};
}

In ChildNode class:
	ChildNodeClass.prototype.onMount = function onMount (parent, id) {
           // But this not
	   Node.prototype.onMount.call(this, parent, id); // or this.mount(parent, id)
	   // some that has to be executed
	   return this;
	};

If i understand it right, the Parent-Node's in this case should be call onMount function on subtree classes as well ?

If i understand it right, the Parent-Node's in this case should be call onMount function on subtree classes as well ?

Node#onMount is equivalent to Node#mount. Calling Node#mount results into the children's onParentMount function being called, which in turns results into their Node#mount function being called.
Specifically:
Node.prototype.onParentMount = function onParentMount (parent, parentId, index) {
    return this.mount(parent, parentId + '/' + index);
};

(Node#onParentMount)
and
    i = 0;
    list = this._children;
    len = list.length;
    for (; i < len ; i++) {
        item = list[i];
        if (item && item.onParentMount) item.onParentMount(this, myId, i);
    }

(Node#mount)
So yes, calling Node#onMount "flows down the scene graph". Does that answer your question?

Sorry for late reply.
Yes, that answers my questions, Thank you for help!
I get it to work !
What i actually had to do is:
Node.prototype.onParentMount = function onParentMount (parent, parentId, index) {
    this.mount(parent, parentId + '/' + index);
    // do stuff
   return this;
};

Thank you a lot !


AutoPyBindCUDA issues on CUDA 12.3 / 545.23.08

First of all thank you very much for differentiable Slang, it has been extremely helpful in my project so far and I've already got some colleagues to try it as well.
However, I've ran into an issue which took me quite a while to track down. After our cluster updated the system-wide graphics driver to 545.23.08 and CUDA 12.3 (latest on Ubuntu 22.04) I got invalid memory access or invalid program counter CUDA errors seemingly at random.
I am executing OptiX, standard PyTorch and differentiable Slang kernels in sequence and some (but not all) configurations threw these errors. I could finally track it down to kernels using [AutoPyBindCUDA] on 545.23.08 / CUDA 12.3 while the identical code ran fine on CUDA 12.0/1 and graphics driver (whatever version comes installed with the CUDA toolkit on Ubuntu).
Not sure what caused this, it might be a driver bug, or related to stream synchronization, I did not dive deep enough to confirm. A simple torch.cuda.synchronize() or cudaStreamSynchronize(...) did not solve this problem, however. When re-writing the respective kernels with manual plumbing instead of [AutoPyBindCUDA] the errors disappeared on both systems.
It might be worth looking into this in case someone else runs into the issue.
I just managed to resolve this after a long debugging session and wanted to report, please let me know if I should look into a minimal example.

Please note that the officially supported CUDA version for PyTorch is 11.8 or 12.1 according to their documentation on the Getting Started page. So this is a PyTorch problem not a slang issue. Closing now.


Website Feedback

[ ] Add Contact header

Create Issue
Email
Submit Pull Request (for techies)

[ ] Distribution mailbox

What's the contract header?

@gcharest Typo. It's rather "Contact" header ;)

Ah, makes more sense now lol
Le jeu. 15 août 2019 11 h 04, Gabriel Cossette<EMAIL_ADDRESS>a
écrit :

@gcharest https://github.com/gcharest Typo. It's rather "Contact"
header ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sara-sabr/ITStrategy/issues/183?email_source=notifications&email_token=AAM4TZMSMB77GM6BGIJ7ZHTQEVV7XA5CNFSM4ILVB5K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MB5WY#issuecomment-521674459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAM4TZMOA4TC2Q3IHD6ARTLQEVV7XANCNFSM4ILVB5KQ
.


Test asynchronous code

The library should support asynchronous execution in order to test client-server communications.  That is, instead of executing test cases immediately, functions Test.module() and this.test() should queue test cases for later execution.  Moreover, this.test() should have an alternative way to return the computed result asynchronously.

Implemented in version 1.0.0


Luke/m4 Milestone 1

Lexing and macro table rough draft. Excluding parsing of eval macro.

Continuing to monitor this PR :)
Early comment:  Prefer to avoid serde and JSON, even if only as a dev-dependency.  json/serde is out of line with all the other tools, current and future.

Thanks! What about https://docs.rs/tinyjson/latest/tinyjson/ instead?
On Fri, 17 May 2024, 00:11 Jeff Garzik, @.***> wrote:

Continuing to monitor this PR :)
Early comment: Prefer to avoid serde and JSON, even if only as a
dev-dependency. json/serde is out of line with all the other tools, current
and future.
—
Reply to this email directly, view it on GitHub
https://github.com/rustcoreutils/posixutils-rs/pull/92#issuecomment-2115359316,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCRJ2UJI2D6YCRZ7DGUKJTZCS5AXAVCNFSM6AAAAABHLA2PTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVGM2TSMZRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


[MTB] Add Kyverno policy - Require always image pull

Fixes #1108:

added policy
skip generating sub-titles in README if not defined

/assign @JimBugwadia

/ok-to-test

/approve
/lgtm


General cleanup, add Win32 support, and add Linux-to-Win32 cross-compilation

This PR adds Win32 support to capnp.cc, along with the (extensive!) build infrastructure required to make it available through NPM. See this PR's individual commit messages for the full story.
As written, this PR will break Rewind, by (1) changing the CLI commands used for cross-compilation, and (2) refactoring build.js and build-capnp.sh without testing those changes for any Darwin builds. I can see two options:

Update Rewind to use the new CLI commands, and then test the various Rewind workflows which produce a Darwin build. Some of the possible failures are quite late-bound in my experience (e.g. failing to dynamically load capnp.node), so this would probably require running the resulting builds on an actual Mac.
Pin Rewind's capnp dependency against the most recent commit before this PR (c63332b).

what's our plan for testing that

Henry should be able to run the skeletal client that we've built on his laptop - it won't have anything to connect to, but even getting a connection failed error message is a proof of life

Unfortunately this branch also currently results in the client hanging on Linux, seeming to jam the event loop after a request is dispatched on a capability. I have narrowed this down to the source changes to capnp.cc (i.e. it doesn't seem to be caused by the build system changes) - checking out capnp.cc from main and rebuilding produces a functioning module.

Unless there's any urgency, I'd like to hold off on merging this PR until I've made some progress on TF-361 and TF-362; I have a feeling that both tickets are likely to expose additional bugs.

Any update on this PR? Got mine dependent on it (in order to build transform desktop)

That would be great - thanks @rgprog. It's currently holding up TF-13 as that depends on this main branch (node-capnp) being up to speed with the changes in win32-cross-revert-writev (which is itself dependent on this PR merging).
If you could do this week that would be great, as then can try to merge TF-13 by the time I go away next Weds.
Ta1


Unexpected behavior on ARM devices (tested on Raspberry Pi)

I have encountered an issue which only manifests itself in this particular combination of circumstances:

the client runs any version of openssl on Raspberry Pi (I suspect it happens on any ARM device, but I only tested on RPi);
the server is an Azure App Service;
mutual TLS authentication is enabled;
the client attempts to upload a payload larger than ~100 KB (multipart/form-data over HTTPS).

If any of those is changed, everything works as expected. If all conditions are met, the Azure load balancer actively drops the connection in transit. One-liner test:
bash <(curl -s https://f002.backblazeb2.com/file/bogdan-stancescu/azure/test-appsp-mutual-tls.sh)

Yes, I have tested with bare-bones openssl (I actually built an entire infrastructure to simulate an HTTP client with arbitrary versions of openssl s_client in order to isolate the issue). Yes, I have tried several distros and several openssl versions – PCs always work, Raspberry Pis never work. More details in my StackOverflow post on the topic.
I have also reported a bug to Microsoft on the same topic, because I know the same setup that doesn't work with Azure App Services works with other servers – but it's still unexpected that various builds of the same OpenSSL version behave differently.

The appsp-mutual-tls.log output of the test case on x86_64 GNU/Linux with OpenSSL 1.1.1o Gentoo:
*   Trying <IP_ADDRESS>:443...
* Connected to appsp-mutual-tls.azurewebsites.net (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=*.azurewebsites.net
*  start date: Mar 14 18:39:55 2022 GMT
*  expire date: Mar  9 18:39:55 2023 GMT
*  subjectAltName: host "appsp-mutual-tls.azurewebsites.net" matched cert's "*.azurewebsites.net"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure TLS Issuing CA 01
*  SSL certificate verify ok.
> POST / HTTP/1.1
> Host: appsp-mutual-tls.azurewebsites.net
> User-Agent: curl/7.83.1
> Accept: */*
> Content-Length: 102401
> Content-Type: multipart/form-data; boundary=------------------------febd48d56b11e580
>
* We are completely uploaded and fine
* TLSv1.2 (IN), TLS handshake, Hello request (0):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< Content-Length: 0
< Connection: close
< Date: Sat, 11 Jun 2022 09:22:43 GMT
<
* Closing connection 0

Is this the expected behavior?
FWIW, 100KiB for Content-Length seems to be the threshold. Does this have anything to do with validate-content policy?

@xtkoba try exactly the same on any x86 platform; I'm very curious what your results will be. (To answer your question, no, this is not expected behavior; you should receive 400 instead of 403, and you should also receive some cookies in the response.)

Actually, this is surprising to me. Your results are consistent with my Raspberry Pi experiments, not with my x86 experiments. I'm quite surprised, as I spent a lot of time on this.
The success discriminator is not great, because I wanted to use a vanilla Azure App Service (what runs on the server is actually the default Azure App Service template generated by Visual Studio 2022, with just one minor modification: it spits out the client certificate on the home page). As such, it doesn't actually accept POST requests on the docroot.
Here's how you can tell expected behavior:

Expected: 400 Bad request + some Azure instance affinity cookies
Unexpected: 403 Forbidden + no cookies in the response header.

For the record, the URL points to an exposed App Service (load balancer), it doesn't go through an API Management layer.

I had never tested on x86 with 1.1.1o – now I did. On my Windows 10 WSL2 Ubuntu 20.04 LTS I do get the expected behavior:
*   Trying <IP_ADDRESS>:8080...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> POST / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.68.0
> Accept: */*
> Content-Length: 172371
> Content-Type: multipart/form-data; boundary=------------------------995356349b41d47b
> Expect: 100-continue
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* Mark bundle as not supporting multiuse
< HTTP/1.1 400 Bad Request
< Content-Length: 0
< Date: Sat, 11 Jun 2022 15:26:38 GMT
< Server: Microsoft-IIS/10.0
< Set-Cookie: ARRAffinity=9b51a1a7a2c20743fc6de5cedbffb28709587153c4e52ece3c90202adf0f9a58;Path=/;HttpOnly;Secure;Domain=appsp-mutual-tls.azurewebsites.net
< Set-Cookie: ARRAffinitySameSite=9b51a1a7a2c20743fc6de5cedbffb28709587153c4e52ece3c90202adf0f9a58;Path=/;HttpOnly;SameSite=None;Secure;Domain=appsp-mutual-tls.azurewebsites.net
< Strict-Transport-Security: max-age=2592000
< X-Powered-By: ASP.NET
<
* Connection #0 to host localhost left intact

The output is a bit truncated because I used the workbench I wrote when I investigated this issue, but you can clearly see the difference.

@xtkoba are you running Gentoo on iron or in a VM?

Running on a 15-year-old laptop with no virtualization:
$ uname -a
Linux localhost 5.4.188-gentoo #1 SMP Wed Mar 30 09:04:25 JST 2022 x86_64 Intel(R) Core(TM)2 CPU U7500 @ 1.06GHz GenuineIntel GNU/Linux

Hmm, that's unfortunate, because it can't be replicated. I kept looking for a way to help Microsoft engineers replicate the issue without asking them to set up a Raspberry Pi, and you're the first person able to replicate it on a PC.

Actually, it turns out it can be replicated on Gentoo Linux even in a virtualized environment! It was a long shot, but it was worth it:
docker pull docker.io/gutza/gentoo-appsp-mutual-tls:latest
docker run -it docker.io/gutza/gentoo-appsp-mutual-tls:latest

Then in the container
~/run-test.sh 100 # success (HTTP/1.1 400 Bad Request + Set-Cookie: ARRAffinity)
~/run-test.sh 150 # failure (HTTP/1.1 403 Forbidden and no cookies for you)

Thank you, @xtkoba, for your support in replicating this!

So this is really not ARM related, is it?

To be honest, I'm a bit confused about that. I think there still seems to be a pattern which involves the underlying CPU architecture, because I actually tested the exact same openssl versions on x86 and ARM (1.1.1f and 1.1.1n), and they consistently work or fail depending on architecture, not on openssl version (see my StackOverflow post for a summary). Then again, I'm not at all an expert in C or assembly, so I can only assist by sharing my results.

@tom-cosgrove-arm, I don't see any reference to any specific edge cases in the blog post – the blog post from 2017 talks about a 100% repeatable issue that needed to be addressed on any platform and programming language, including .NET on Windows. The issue I'm reporting is not reproducible on any kind of Windows-y platform, no matter how you send it (curl, Postman, .NET, curl under WSL, whatever); it's not even reproducible in "real" VMs running Ubuntu ("real VMs" as opposed to containerized instances). As such, I don't think that blog post is relevant to this particular issue.

If you need anything from the Gentoo side, let me know.

@Bogdan-Stancescu-RBC Re-reading the blog post and the logs above, I am pretty certain that it is indeed the issue you are seeing.
The issue requires (1) an IIS server (including Azure, which is the case here), (2) large amounts of data in the initial request (which is the case here), and (3) mutual authentication (exactly the case here).
And yes, it is a 100% repeatable issue, unless you implement a workaround, one of which is setting the Expect: 100-continue header.
In the working example on Windows 10 WSL2 Ubuntu 20.04 LTS we do see this header.
In the not working example on x86_64 GNU/Linux with OpenSSL 1.1.1o Gentoo we don't see that header.
So I suspect that whether this works or not depends on the behaviour of the curl version used, rather than necessarily on the OpenSSL version.

Closing since this is marked as resolved.


How suppress DropdownMenu closes when click on CheckboxItem

Expectation
A DropdownMenu with multiple CheckboxItem(s) where the idea is to select more than one item without closing the menu.  The DropdownMenu in this case should close after losing focus, clicking away or pressing the ESC key.
Behavior
The DropdownMenu closes after clicking any item.  This takes the user on a long journey to compose their selection of items.
Question
Is there a way to change this behavior?

You can use onSelect={event => event.preventDefault()} on CheckboxItem

You can use onSelect={event => event.preventDefault()} on CheckboxItem

I came here to let you know that I found a way and it is very similar to yours, but I put my logic in the onClick event.  I tested it with onSelect and it also works.  Now I'm unsure which one would be the most suitable.
Thx @joaom00 ! :brazil: :heart:

You can use onSelect={event => event.preventDefault()} on CheckboxItem

Thanks Man. This helped.


Network builder/refactor everything

Motivation
NOT FOR SUBMISSION
This is a draft PR to show a mostly complete end-state for refactoring the network_builder.
If the end-state looks reasonable, then there is a set of smaller PRs that needs to be worked through to get to this state in an incremental and workable fashion.
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@davidiw
This shows the (almost) final target for network_builder
The PR is not submittable in its current form because of some smoke_test breaks resulting from overly big changes on my part.  If the end-state looks reasonable, then I will start to pull isolated changes off for incremental review.

:umbrella: The latest upstream changes (presumably 0d3d7bffaacc70ae855129e3626e73d6200f8d62) made this pull request unmergeable. Please resolve the merge conflicts.


Support for azure dns

Can we add support for azure dns?
https://azure.microsoft.com/en-us/services/dns/

I'm currently working on Rackspace DNS but could take a look at this after. If I do start, I'll update here.

How is it going with this implementation, anything I can do to help?

Can we use the Azure SDK for GO to get this thing rolling?

@Flowman I've an initial implementation of this using the Azure SDK for GO.


New User Documentation for Harness AI Code Assistant

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description
A new documentation page in the Harness AIDA section of platform docs. This page is supposed to replace the old 'Generate code with AIDA' page.
PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66f5da7668be28636c9c2c89--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66fc50b43c37fcb02dda0ca8--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66fc5135f914aabed272ed3f--harness-developer.netlify.app


Use the const var as the parameter in the construction function

Required for all non-trivial PRs

[x] Sign CLA (if not already signed)

PTAL @zeebo

Who can review this pr?

Thanks @liukun4515.


Error Message

After following all the installation steps in the documentation, the message below below paired while  tried to test if the installation was done properly.
(noisepy) ....MacBook-Pro:~ nnnnnn$ python S0_download_ASDF.py python: can't open file 'S0_download_ASDF.py': [Errno 2] No such file or directory

I am using Mac High Seira OS

Thanks for your interests in using NoisePy. Based on your error msgs, I think you are not running the command line of "python S0A_download_ASDF_MPI.py" from the folder where the scripts are located. Note that the NoisePy is purely scripts based, so they should be run in the same way when you run a python script of your own. Let me know how that helps.

Thanks for the reply and please can you describes the steps for me because I seem to be confuse here? I am using terminal but it only recognise python3 when in base. So when I run all the install commands it ok but gives me the above error message even after trying this "python S0A_download_ASDF_MPI.py".

Hi!
If you use python, you can use in the terminal "python code.py", if you use python3, then use "python2 code.py". I usually alias "python" for "python3" in my bashrc or bash_profile.

Hi,
I have this type of error, "ERROR: Could not build wheels for obspy which use PEP 517 and cannot be installed directly" what should I do please? Thanks

help. I got message that obspy and pyasdf packages are not available. but when pip install it, it shows "Requirement already satisfied". what should I do? please help

I encountered the same issues when trying to run this module. It worked when I tried to Conda install the modules. Another issue that is when trying to run the module is that the file name has a typo in it. The actual file is named S0A_dowload_ASDF_MPI.py. It is missing the N in download.

The installation has been updated, and the file name has been corrected. Thanks for all of your discussion, and I am closing this issue.


[Usability] "X" for clearing models pane search box

To remove the text from the search box and return the models pane list to the default view, a small "X".
Pri: P2

done


[Feature Request] Unified dev Server & UI --config'uration

Is your feature request related to a problem? Please describe.
Server --config option, that was a directory expecting temporal.yaml and temporal-ui.yaml files, was not intuitive. It was removed and now there is no option to configure server and UI (aside from the configs exposed as CLI --flags)

Describe the solution you'd like
Support configuring Temporal server and UI with a single .yaml config file set as temporal server start-dev --config /path/to/temporal-config.yaml
Config's template may look as following:

Temporal  server's existing config https://github.com/temporalio/temporal/blob/master/docker/config_template.yaml
Add a new ui: entry
ui: entry may match UI config template

🧵🧵🧵 for discussion 👇

Config's template may look as following:

Temporal  server's existing config https://github.com/temporalio/temporal/blob/master/docker/config_template.yaml
We add a new ui: entry
ui: entry may match UI config template https://github.com/temporalio/ui/blob/main/server/docker/config_template.yaml

cc @jlegrone @bergundy @dnr @cretz @yiminc

@feedmeapples we should look at redesigning this from first principles.
Maybe your proposal for passthrough configs is good enough but there may be some overlap between the different services and configs that are irrelevant in single binary context.
If we go for a redesign, the configs we expose should be well documented and follow a uniform convention.
I would try out some different options and seeing what feels right.

I think if folks need custom configs, they should probably be using the actual server and not the dev-server. Going to close this, but I'm willing to reconsider if there's customer/user interest.


sdk install should be no-op if package already installed

Right now this is an error, e.g.
Stop! java 13.0.2.hs-adpt is already installed.

This makes it awkward for scripting

Or if you want to keep current behaviour, have a flag to make it no-op if already installed.

I concur. Returning an error when you’re already in the desired state isn’t ideal.

I think that everything that is not on the happy path should be a non-zero return code.
The reason here would be that your script can take an alternative action based on the return code of a command, allowing for smarter logic in scripts.
A non-zero return code is very easy to handle in a bash script btw, see the SDKMAN source code for lots of examples of such error handling.

I think it should follow other "package managers" behavior.
Homebrew, APT, NPM, Snap, all them return zero as status code when the package is already installed.
I'm currently writing a script that tries to ensure that a version of Java is installed, and because of this I have to write a try-catch and check if the output message contains "already installed". That's not good.

@felipecassiors Since you are the forth person asking already, I'd be happy to accept a PR to change this behaviour.
I know it is a cosmetic thing, but apart from the 0 return code, the red text to the tunes of Stop! java 11.0.7.hs-adpt is already installed. should also be changed to yellow for info.

This would also improve #785, as calling sdk env install would result in a non-zero return code if the last candidate is already installed.


Adding sticky cursor and magnetic to the same element causes the element to glitch off the page

So i have set the code like this:
const Navbar = () => {
return (

BALENCIAGA.

Menu

);
};
export default Navbar;
Logo has the magnetic property and is performing as it should, but the burger wrapper isn't.  Cursor sticks to the burger element (spans) and if you try hovering over the burger it glitches off the page.

Hi! please provide a demo on codesandbox.


fix: SDK crash on conversion of double type range values to long type

This pull request targets the issue of values retrieved from parse-server exceeding the long64 value range mentioned in #339
It handles it by using a fallback to the double type with a higher range as this also would be the type with which the higher values can only be added to the parse-server using the .NET SDK.
It also includes a test checking for long max and min values and the double max and min values and the specific value mentioned in the issue.
@TheFanatr Could you take a look at this PR and give me feedback whether or not to change anything (especially the test part as I'm unsure if it will be sufficient)

@TheFanatr @TobiasPott any update on this?

🎉 This change has been released in version 3.0.1


Update to 1.19.4 pls

I get errors trying to add this saying it needs to be changed to 1.19.4 but sadly ya'll have not made that version yet pls do so if possible.

Hi!
Currently on a break, I'm looking for people to update my mods from time to time.
I can't give an ETA but i'm finishing my studies and balancing work and active life currently.
my apologies.
It will be updated at one point, if not soon, later.
I'll resume programming mods when my studies are over


Fix the documentation in Node.js example

const fingerPrint = md.sha1.create().update(asn1.toDer(pki.certificateToAsn1(incomingCert)).getBytes()).digest().toHex();

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

ID: eb440603-950a-c224-f6c9-222ca502d5a5
Version Independent ID: 0b5c4944-0327-91fc-2b0b-c19a1b873b64
Content: Configure TLS mutual authentication - Azure App Service
Content Source: articles/app-service/app-service-web-configure-tls-mutual-auth.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@MLopesSousa Thanks for the feedback! We are currently investigating and will update you shortly.

@MLopesSousa I have assigned the issue to the content author to investigate further and update the document as appropriate.
@cephalin I looked into the issue but I don't feel comfortable with updating the sample code. Is this something you can review and update as necessary?

@janis91 Would appreciate your assistance here. Based on your recommendation in #5051 I added the Node.js code snippet from your blog in our doc. Can you take a quick look at the proposed code revision in this issue and let us know if it's fine?

@cephalin This should be correct.

@janis91 Thank you! I've updated the doc with the new code and it should be published sometime today.
#please-close


Fix the nox -s dev command not spinning up the webserver

Purpose
Spin up the webserver for nox -s dev
Changes

[x] up the webserver service before the RUN command

Checklist

[ ] Update CHANGELOG.md file

[ ] Merge in main so the most recent CHANGELOG.md file is being appended to
[ ] Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
[ ] Add a link to this PR at the end of the description with the PR number as the text. example: #1

[ ] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
If docs updated (select one):

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[ ] Good unit test/integration test coverage
[ ] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
Fixes #

@seanpreston I'll leave this to you to merge or close, but I figured if we run dev we want the server & the shell, just the shell isn't super helpful it feels like


fix(curriculum): Convert blockquote elements to triple backtick syntax for Front End Libraries

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

PR Purpose: Converts blockquote elements to triple backtick syntax in the Description and Instructions sections of the Front End Libraries challenges.
Related to issue #35991

@ojeytonwilliams I made your suggested changes.

@RandellDawson Thanks for doing that, LGTM.

@moT01 @ojeytonwilliams See my comment on #35993. I believe this can be merged now.

🎉


Update to context.tf

what

Update to context.tf

why

Standardization and interoperability
Keep the module up to date

related

Closes #28
Closes #33
Closes #32

/test all


make parquet.task.side.metadata=true by default

https://github.com/apache/incubator-parquet-mr/pull/78
Reporter: Julien Le Dem / @julienledem
Assignee: Julien Le Dem / @julienledem
Note: This issue was originally created as PARQUET-122. Please see the migration documentation for further details.

Julien Le Dem / @julienledem:
Issue resolved by pull request 78
https://github.com/apache/incubator-parquet-mr/pull/78


Some HLS videos won't play in demo

I'm trying to play a video which plays in the hls akamai test player but not in the p2p ones here: http://novage.com.ua/p2p-media-loader/demo.html?url=https%3A%2F%2Flivepeercdn.com%2Frecordings%2F93775d57-b4f9-4960-9d30-f9eb8207608e%2Findex.m3u8&type=clappr
Not exactly sure whats causing this issue. It tries for like a split second and stops.
Thanks

It's the HLS version in some cases. Latest version of HLS does break p2p but video plays if you disable p2p (which defeats the point). I'll raise a separate issue specifically for this


Calling a vuex action in popup.js causing an infinite loop with a wrong commit payload

Hey,
I'm trying to use this plugin in a chrome extension with a simple store:
import Vue from 'vue'
import Vuex from 'vuex'
import VuexWebExtensions from 'vuex-webextensions';

Vue.use(Vuex)

const SET_IS_ENABLED = 'SET_IS_ENABLED'

export default new Vuex.Store({
  state: {
    isEnabled: false,
  },
  mutations: {
    [SET_IS_ENABLED] (state, newV) {
      console.log('SET_IS_ENABLED with:', newV)
      state.isEnabled = newV
    }
  },
  actions: {
    updateEnabledState ({ commit }, newV) {
      console.log('updateEnabledState with: ', newV)
      commit(SET_IS_ENABLED, newV)
    }
  },
  getters: {
    isEnabled: (state) => state.isEnabled
  },
  modules: {
  },
  plugins: [VuexWebExtensions()]
})

When calling updateEnabledState I see an infinite loop:
https://i.imgur.com/DugX402.png
Using:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Is this related to the syncActions? when setting to false - looks like its working?

Is this related to the syncActions? when setting to false - looks like its working?

Recently I found this bug on the new Vuex-v4 branch, I gona investigate it and notice you here when it get fixed on npm


[google-maps] fix occasional crash during resize

For https://github.com/uber/deck.gl/issues/4218
Change List

Safeguard against scale=0

Coverage decreased (-0.005%) to 80.862% when pulling 533fe5e60b25d5ad81acc39dea296f9e1819d881 on x/google-map-resize into be96de815f17ce176ae00088aab5566094cd2519 on master.


chore Log written rows when result sink close

In some cases, audit log in fe says a query did not return any rows. So we log the information when result sink close to help us do check.

run buildall

run p1


How to go about integrating mediapipe's Pose Tracking into an existing Visual Studio C++ project?

I must admit that I am quite a newb when it comes to build systems. So far I've managed to build the hello_word and the Pose Tracking examples on Windows (going through quite a few hoops along the way) https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows
Of course, building those examples gives me an executable, which I can't integrate in another project or c# .
What I'd like to do is have mediapipe as a dll or something similar so I can pass the framework an image and get joint coordinates in return, ideally. Can someone point me in the right direction?

Is this question still valid for you?

I remain highly concerned about this issue and am eager to receive any insights.


Added LOF

Required Changes:

Utilizes LOF from PYOD library instead of Sklearn. Reason : pyods implemenation is much faster and has better attributes and methods.


The Conditions are not stored if to_folder is called

Describe the bug
The refit conditions are not stored if to_folder is called.

[ ] Check if this bug still exist


tokenize a string by tf-hub tokenizer

Hi
When I use the following code in the following link:
bert_preprocess = hub.load(tfhub_handle_preprocess) tok = bert_preprocess.tokenize(tf.constant(['Hello TensorFlow!'])) print(tok)
https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/tutorials/text/solve_glue_tasks_using_bert_on_tpu.ipynb#scrollTo=-ePjboKOPmv4
the output would be:
<tf.RaggedTensor [[[7592], [23435, 12314], [999]]]>
returned token ids are relevant to "Hello", "Tensor", "Flow", "!", I guess. Now, I want to have these equivalent tokens. How could I convert those token ids to these tokens?
Best Regards,
Thanks

@ZahraGithub you can convert the ids back to tokens by reading the vocab.txt file from the preprocessing model (you can find the vocab.txt file in the assets folder of the model. Check out the tfhub_modules folder where tf.hub stores the downloaded models).
If you read the file line by line, the index of line X corresponds to token id X.
Maybe there is a simpler way. But I don't think that the preprocess model can return string tokens. Btw, tf.text can do that.

@arghyaganguly Do you know if the tokenizer from the preprocessor model allows additional arguments for the tokenization?
The sentence piece tokenizer allows subword regularization (https://github.com/google/sentencepiece#subword-regularization-and-bpe-dropout). I have a specific NLP problem were I would like to prevent the tokenizer from using subword tokens with more than 2 characters. Do you know if the tf.hub model tokenizer can support that scenario?

These options are not currently supported. Under the hood, the TF Hub tokenizer relies tf.text library for in-Graph, TF text parsing operations. tf.text provides SentencePieceTokenizer that could be used directly. Though taking a cursory look at it, it might not have these options either.


wrong Date after year 2834

Which version of PhantomJS are you using?
Version: 2.1.1

What steps will reproduce the problem?

call new Date('2900') or any date string higher than the year 2834

Which operating system are you using?
OSX 10.11.6

Did you use binary PhantomJS or did you compile it from source?
binary distribution using npm install phantomjs-prebuilt

Please provide any additional information below.

The machine is configured to CET local time. Not sure if this has any impact on that specific problem.
The problem is that that any call to new Date() using a year higher than 2834 the resulting date will be off by one day
e.g. in phantomjs shell
new Date('2835') // => "2834-12-31T00:00:00.000Z"

in node (v6.4) the result looks like
new Date('2835') // => "2835-01-01T00:00:00.000Z"

in Chrome (54.0.x) the result is
(new Date('2835')).toISOString()  // => "2835-01-01T00:00:00.000Z"

I think it's related to #14506

Could you please try it again but with 2.5 version?


Override all inherited transformations implementations in AffineTrans

Override all inherited transformations implementations in AffineTrans.

I'm not sure what the exact problem was so I'm closing this as no longer relevant.


支持小程序原生自定义组件的双向数据绑定（v-model）

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
支持小程序原生自定义组件的双向数据绑定（v-model）
例如有小程序原生组件
<custom-component v-model="bindValue"></custom-component>

当小程序组件内部修改bindValue的值后，使用以下事件可将修改后的值传出
this.triggerEvent('change', value);

以上事件发出后自动将修改后的值赋值给bindValue变量，实现双向数据绑定

跑跑 lint 和 test


Project stop to fetch gifs from net

We need a control flow inside DataManager to decide when to fetch gifs...or a direct action from user using a gesture or a button on activity

We need a test to take this fail too.


improved appearance of cookie policy page

Related Issue
None
Fixes:  #3852
Description
I have fixed the appearance of cookie policy page present inside cookie consent section in home page and added a cookies accept button which leads back to home page.

Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[X] I have made this change from my own.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

@sailaja-adapa you didnt assign me any labels/tags for this pr? kindly assign me the level and needed labels

Done @Riyachauhan11


feat(catalog): Add catalog weighting to dependency resolver

Signed-off-by: Harish<EMAIL_ADDRESS>
Description of the change:
This PR includes Priority field (on the catalog source) to sort catalog source based on priority which is later consumed by the dependency resolver.

Higher priority value is preferred over lower priority
The default priority for custom catsrc is 0.
Sorting precedence for catsrc is namespace > priority > name

Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

This PR failed tests for 1 times with 2 individual failed tests and 4 skipped tests. A test is considered flaky if failed on multiple commits.

totaltestcount: 1
flaketestcount: 2
skippedtestcount: 4
flaketests:

classname: End-to-end
name: 'Subscription creation in case of transferring providedAPIs'
counts: 3
details:

count: 3
error: |4-
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:1379

	Error Trace:	subscription_e2e_test.go:1517
	            				runner.go:113
	            				runner.go:64
	            				it_node.go:26
	            				spec.go:215
	            				spec.go:138
	            				spec_runner.go:200
	            				spec_runner.go:170
	            				spec_runner.go:66
	            				suite.go:62
	            				ginkgo_dsl.go:226
	            				ginkgo_dsl.go:214
	            				e2e_test.go:54
	Error:      	Received unexpected error:
	            	timed out waiting for the condition

/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/github.com/stretchr/testify/require/require.go:1005

meandurationsec:<PHONE_NUMBER>3333333
classname: End-to-end
name: 'Garbage collection for dependent resources when a bundle with a new configmap
is installed when the subscription is updated to a later CSV with a configmap
with a new name should have removed the old configmap and put the new configmap
in place'
counts: 1
details:

count: 1
error: |4-
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/gc_e2e_test.go:507
could not get installplan at complete phase
Unexpected error:
    <*errors.errorString | 0xc0001f82a0>: {
        s: "timed out waiting for the condition",
    }
    timed out waiting for the condition
occurred
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/gc_e2e_test.go:547

meandurationsec: 312.100609
skippedtests:
classname: End-to-end
name: 'Subscriptions create required objects from Catalogs Given a Namespace
when a CatalogSource is created with a bundle that contains prometheus objects
creating a subscription using the CatalogSource should install the operator
successfully'
counts: 1
details: []
meandurationsec: 20.075543
classname: End-to-end
name: 'Subscriptions create required objects from Catalogs Given a Namespace
when a CatalogSource is created with a bundle that contains prometheus objects
creating a subscription using the CatalogSource should have created the expected
prometheus objects'
counts: 1
details: []
meandurationsec: 15.079386
classname: End-to-end
name: 'Catalog image update'
counts: 1
details: []
meandurationsec: 0.02003
classname: End-to-end
name: 'Subscription updates existing install plan'
counts: 1
details: []
meandurationsec: 0.151669

This PR failed tests for 1 times with 2 individual failed tests and 4 skipped tests. A test is considered flaky if failed on multiple commits.

totaltestcount: 1
flaketestcount: 2
skippedtestcount: 4
flaketests:

classname: End-to-end
name: 'Subscription puppeting CatalogSource health status when missing target
catalog should surface the missing catalog'
counts: 3
details:

count: 3
error: |4-
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:588
Unexpected error:
    <*errors.errorString | 0xc0012dfe70>: {
        s: "E2E bug detected: configmaps \"mock-ocs\" already exists",
    }
    E2E bug detected: configmaps "mock-ocs" already exists
occurred
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:590

meandurationsec: 0.03879866666666667
classname: End-to-end
name: 'Subscription with dependencies from different catsrc with priorities'
counts: 2
details:

count: 2
error: |4-
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:1369

	Error Trace:	subscription_e2e_test.go:1521
	            				runner.go:113
	            				runner.go:64
	            				it_node.go:26
	            				spec.go:215
	            				spec.go:138
	            				spec_runner.go:200
	            				spec_runner.go:170
	            				spec_runner.go:66
	            				suite.go:62
	            				ginkgo_dsl.go:226
	            				ginkgo_dsl.go:214
	            				e2e_test.go:54
	Error:      	Received unexpected error:
	            	clusterserviceversions.operators.coreos.com "csv-main" not found

/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/github.com/stretchr/testify/require/require.go:1005

meandurationsec: 26.818526
skippedtests:
classname: End-to-end
name: 'Subscriptions create required objects from Catalogs Given a Namespace
when a CatalogSource is created with a bundle that contains prometheus objects
creating a subscription using the CatalogSource should have created the expected
prometheus objects'
counts: 1
details: []
meandurationsec: 23.258269
classname: End-to-end
name: 'Subscription updates existing install plan'
counts: 1
details: []
meandurationsec: 0.071045
classname: End-to-end
name: 'Subscriptions create required objects from Catalogs Given a Namespace
when a CatalogSource is created with a bundle that contains prometheus objects
creating a subscription using the CatalogSource should install the operator
successfully'
counts: 1
details: []
meandurationsec: 10.226736
classname: End-to-end
name: 'Catalog image update'
counts: 1
details: []
meandurationsec: 0.553019

/hold

/retest

This PR can be merged as soon as it is lgtm and approve. So I'm removing the hold.
/hold cancel

/retest

@harishsurf once you rebase you should get the latest api package, so we don't need those changes anymore

I think some of Anik's nits around committing files that have no changes except for gofmt are reasonable, but I don't think it should block this pr.
/lgtm

Putting a temporary hold as a precaution while investigating my question about the end-to-end tests.
/hold

/retest

/lgtm

/hold cancel
e2e test comments addressed.

/lgtm
there are a couple of improvements we should make to the tests, but we can do that in a separate PR.

/approve

/retest

/retest

/test e2e-aws-olm

/retest

/retest

/retest

/retest

/test e2e-aws-olm

/test e2e-aws-olm

/retest

/test e2e-aws-olm

/retest

/retest

/retest

/hold

/hold cancel
/retest

/retest

Replaced by #1705


confirm .keys & .values work for MIDIAcccess inputs and outputs

Per @jodinathan request in this comment, I will test and confirm that  .keys and .values also work for WebMidi API "maps alikes' input and output properties of MIDIAccess

thanks for the feedback, glad it worked.
I will close this issue. Feel free to open another one if you find anything


Add next wait to Attempt

Fixes #71, right @lopopolo?

hmm on a closer look, unfortunately the name of tenacity's attribute is misleading.
i'm gonna have to approximate the number myself. probably leave out the jitter


Updates to get_coords() in mop_utils.py

In mop_utils.py get_coords() function, returning the xarray arrays for coordinates instead of only the values. This is we can use it also when we need lat or lon in ocean and sea ice calculations.
Also removing unnecessary "ovar" input argument.

Moving the function get_coords to calc_utils to aovi dcircular import


Update README.md - Github global navigation doesn't need setup

Global is not longer in beta and is generally available. It no longer needs to be setup.

Thanks @HarshBalyan!


wip-2.0 - Inuit grid

This is probably somewhere in the inuit documentation but i couldn't find it..
What would would be the correct way to align the "Røyk" heading with the 6 item(s) text?
Using negative margins on .toolbar?

Do any of you guys use irc? where do you hang out? :)

Hi @LekeFly,
You can get this in various ways, depends on your design and how you want to do that. You can put the padding on your heading, or remove left padding from pager.
Maybe you want to have pager and sorter in one row? Feel free to change everything to get the job done. :) I think we had a chat room for waterlee already. @zeljkoprsa is it alive?

@marjanbonus That chat thing went bust since we don't have enough time for a discussion like that and we switched from HipChat to Slack. Sorry ;)
Let's talk in "issues" related to the betterment of waterlee.


qt55: rename d-bus to dbus

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same formula update/change?
[x] Have you built your formula locally prior to submission with brew install <formula> (where <formula> is the name of the formula you're submitting)?
[x] Does your submission pass brew audit --strict --online <formula> (after doing brew install <formula>)?
[x] Does your submission adhere to Versions "Acceptable Formulae" guidelines?

Mind adding a deprecated_option "with-d-bus" => "with-dbus" here to match the one in the core qt5? Thanks!

@DomT4, sorry for the delay. PR updated.

Merged in https://github.com/Homebrew/homebrew-versions/commit/a1e3df6f4f36b1b4b9061a1566fbd0b92614e4ab. Thanks @miguelarauj1o! No worries about the delay.


docker-machine, hyper-v stops provisioning, getting ip-address fails, but pinging VM is OK

Hi folks.
Rancher OS as a drop in replacement for boot2docker looks great, but IMO docker-machine can't handle it.
to reproduce:

I'm using: https://github.com/rancherio/os/releases/download/v0.3.3/machine-rancheros.iso
docker-machine:  version 0.3.0 (0a251fe)
OS: windows 8.1 pro with hyper-v

I create the vm with:
dm -D create -d hyper-v --hyper-v-virtual-switch with-internet --hyper-v-boot2docker-location D:\os-images\machine-rancheros.iso rancher

The problem is, that docker-machine waits for the ip address which never is returned.
the parameter --hyper-v-virtual-switch with-internet works, since the VM can be pinged. Also see the screenshot.

debug output is:
[executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe @(Get-Command Get-VM).ModuleName
[stdout =====>] : Hyper-V
[stderr =====>] :
Creating SSH key...
Creating VM...
 At least for me it looks good.
Checking the networkadapters says: status OK, but no IP address is shown.
PS C:\Users\Mario> (get-vm -name rancher).networkadapters

Name            IsManagementOs VMName  SwitchName    MacAddress   Status IPAddresses
----            -------------- ------  ----------    ----------   ------ -----------
Netzwerkadapter False          rancher with-internet 00155Dxxxxxx {Ok}   {}

I have the same issue /sub

We haven't tested this.  We really should.  I have zero experience with hyper-v but I'm guessing there is an agent missing in RancherOS that boot2docker may have that communicates the IP address to the hypervisor.  I'll look at b2d real quick to see what up.

boot2docker packages hv_kvp_daemon.  So my guess is if we pull that in and run it it could possibly work.

@deniseschannon Can we see if we can get this in 0.4?  I'd like to support Hyper-V through docker-machine.  AFAIK RancherOS on Hyper-V already works fine, just not through docker-machine.

One thing I notice is that the config.json contains paths to ssl files that don't exist (server.pem & server-key.pem) and instead id_rsa + id_rsa.pub have been generated in to the folder
"AuthOptions" : {
	"StorePath" : "",
	"CaCertPath" : "C:\\Users\\Peter\\.docker\\machine\\certs\\ca.pem",
	"CaCertRemotePath" : "",
	"ServerCertPath" : "C:\\Users\\Peter\\.docker\\machine\\machines\\rancher\\server.pem",
	"ServerKeyPath" : "C:\\Users\\Peter\\.docker\\machine\\machines\\rancher\\server-key.pem",
	"ClientKeyPath" : "C:\\Users\\Peter\\.docker\\machine\\certs\\key.pem",
	"ServerCertRemotePath" : "",
	"ServerKeyRemotePath" : "",
	"PrivateKeyPath" : "C:\\Users\\Peter\\.docker\\machine\\certs\\ca-key.pem",
	"ClientCertPath" : "C:\\Users\\Peter\\.docker\\machine\\certs\\cert.pem"
}

I've created a new feature to track fixing the support of Hyper-V with docker-machine. We can try to get it in v0.4.0.  https://github.com/rancher/os/issues/442

@pflannery Silly question, but does b2d work with Hyper-V?

@ibuildthecloud Not sure, I was following up on an email i received regarding docker-machine http://blog.docker.com/2015/06/docker-machine-0-3-0-deep-dive/ and saw Rancher OS
So i decided to try it with the hyper-v driver. I downloaded machine-rancheros.iso from https://github.com/rancher/os/releases/tag/v0.3.3 then ran
docker-machine.exe create -d hyper-v --hyper-v-boot2docker-location C:\\Users\\Peter\\Downloads\\machine-rancheros.iso rancher

That's when I got the same issue as pmario. I too can ping the VM ok.

This could be a duplicate of #779

sry for the late reply. ... yes it does and rancher os want's to be a drop in replacement. That was the reason I wanted to test it in the first place. ... There would be some nice additional features too ;)

Closing in favor of https://github.com/rancher/os/issues/442


Log error when a failed execution event is received

Add an error entry in the conductor errors log when a failed execution event is received by update_task_flow.

Codecov Report

Merging #90 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage   94.21%   94.22%   +0.01%
==========================================
  Files          37       37
  Lines        2091     2096       +5
  Branches      396      398       +2
==========================================
+ Hits         1970     1975       +5
  Misses         72       72
  Partials       49       49

Impacted Files
Coverage Δ

orquesta/conducting.py
91.56% <100%> (+0.1%)
:arrow_up:

Continue to review full report at Codecov.

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


x/build/cmd/release: TestScript/test_race_install_cgo and TestDWARF fail for -target=windows-amd64, and just TestDWARF fails for -target=windows-386

This is an issue for a specific test. See #39386 for the high level tracking issue.
This can be reproduced if your account has permissions needed to run releasebot (documented here) with:
$ release -target=windows-amd64 -version=go1.15beta1 -watch -rev=cacac8bdc5c93e7bc71df71981fdf32dded017bf
[...]
go test proxy running at GOPROXY=http://<IP_ADDRESS>:50986/mod
go proxy: no archive rsc.io v1.5.2: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.1.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.5.1: file does not exist
go proxy: no archive example.com/newcycle v1.0.0: file does not exist
go proxy: no archive test.go v1.0.0: file does not exist
go proxy: no archive rsc.io v1.5.2: file does not exist
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/test_race_install_cgo (1.21s)
        script_test.go:210:
            # Tests Issue #10500 (1.209s)
            > [!race] skip
            > [!darwin] ! stale cmd/cgo  # The darwin builders are spuriously stale; see #33598.
            FAIL: testdata\script\test_race_install_cgo.txt:5: cmd/cgo is unexpectedly stale

FAIL
FAIL	cmd/go	111.443s
[...]
--- FAIL: TestDWARF (1.62s)
    dwarf_test.go:39: cmd/link is stale - run go install cmd/link
FAIL
FAIL	cmd/link	19.749s
[...]
FAIL
go tool dist: Failed: exit status 1

And:
$ release -target=windows-386 -version=go1.15beta1 -watch -rev=cacac8bdc5c93e7bc71df71981fdf32dded017bf
[...]
--- FAIL: TestDWARF (1.28s)
    dwarf_test.go:39: cmd/link is stale - run go install cmd/link
FAIL
FAIL	cmd/link	25.084s
[...]
FAIL
go tool dist: Failed: exit status 1

@bcmills I've made you an assignee on this issue based on https://github.com/golang/go/issues/39386#issuecomment-641370552 but please let us know if you can't keep looking into this. Thank you.
/cc @toothrot @cagedmantis @andybons @golang/osp-team

I am able to reproduce the error using run.bat, but not using ..\bin\go test cmd/link. That suggest to me that cmd/dist is performing some other modification to the environment that is breaking the test. I'm still trying to figure out what.

Oh, there's the trouble. The bogus “unset GOROOT_FINAL” logic from cmd/dist is for some reason duplicated in run.bat. Fix incoming.
https://github.com/golang/go/blob/b9332ed31aa4c2b73134a1b968761fc4c259ccac/src/run.bat#L37-L41


Requesting multiple permissions in a row results in Never ask again

Overview
I have an application where I need to request 3 permissions at runtime. I request them one by one like this:
@Override
protected void onStart()
{
    super.onStart();

    MainActivityPermissionsDispatcher.showLocationWithCheck(this);
    MainActivityPermissionsDispatcher.writeExternalStorageWithCheck(this);
    MainActivityPermissionsDispatcher.recordAudioWithCheck(this);
}

Expected
There are three dialogs asking if the user wants to allow each permission.
Actual
There is only one dialog, for the first requested permission, and for the other two, @OnNeverAskAgain methods are called, even if the application has been uninstalled before that.
Environment

Which library version are you using?
2.4.0
On which devices do you observe the issue?
Nexus 9 with Android 6.0, a few AVDs with Android 7.0, but not on one AVD with Android 6.0. I don't know why it works fine on this one virtual device...
Note any other information that might be useful
There is a workaround. If I request the second permission, inside the @NeedsPermission of the first one, and in the same way with the third. So this chaining works, but if I simply ask the three permissions one after another it does not work.

Reproducible steps

Is there any particular reason why you don't combine the three permissions into a single signature? When reaching out to the platform, Android will configure a dialog box with multiple pages, prompting each permission group one by one.

Because I read this https://github.com/hotchemi/PermissionsDispatcher/issues/313#issuecomment-299823999
from which I understood that it is better to have them separate :)
Could you share why it doesn't work good in my case? Is it something in Android?

I see - generally it is a better approach to keep permission-protected methods separate, yes. Are you actually utilizing all three of those permissions right after they have been granted? In that case, bundle them together in a single request - from the specific permissions, you're maybe doing something in regards to live streaming?
If you have different features throughout the app, and each requires only one permission, consider avoiding querying everything up front. That may be an undesirable experience for users: Usually, you'd connect requesting the RECORD_AUDIO permission to a user clicking the Microphone button, and the WRITE_EXTERNAL_STORAGE somewhere else.

We need some kinds of detection for this. These consecutive method calls are not going to work.

I need these permissions for voice recognition and a map, and they are needed almost all the time, that's why I am asking upfront for all. But I consider separating them in the future when I make the voice commands optional.
Anyway, the good thing is that I managed to make it work nice with the three combined, without observing the issue described in #313 by having a common @OnShowRationale({ACCESS_FINE_LOCATION, RECORD_AUDIO, WRITE_EXTERNAL_STORAGE}) etc. methods.
So thanks for the proposal about that!
And if it does not work with consecutive method calls I would prefer to have that described in some document.

I don't think we need to have documentation for this. If you want to add that please send us PR anytime.
https://github.com/hotchemi/PermissionsDispatcher/blob/master/doc/known_issues.md

thank you guys!


Clicking on chapters in the outline incorrectly aligns the page horizontally

Attach (recommended) or Link to PDF file here:
https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf
Configuration:

Web browser and its version: Firefox 114.0.1
Operating system and its version: Ubuntu 22.04.2 LTS (x86_64)
PDF.js version: Latest as of the time of posting this issue
Is a browser extension: No

Steps to reproduce the problem:

Open a PDF with both landscape and portrait pages (e.g. esp32-c6 TRM)
Open the document outline
Click on one of the chapters in the outline
If your browser window is too narrow, the pages will not be centered

Note: If you had manually adjusted the horizontal scroll before performing step 3, it would be overridden.
What is the expected behavior? (add screenshot)
The pages should be horizontally centered (scroll X == 0):

What went wrong? (add screenshot)
The pages are not horizontally centered (scroll X != 0):

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Built-in from Firefox 114.0.1; also affects the viewer on mozilla.github.io/pdf.js.
I believe that this behaviour might be a result of the X position of the headers in the PDF file. As you can see in the screenshots, the horizontal scroll is set such that the origin of aforementioned text items is aligned to the left of the frame.
Suggested solution:
Either add an option to, or by default, do not change horizontal scroll position when clicking on chapters in the outline.

I believe that this behaviour might be a result of the X position of the headers in the PDF file.

Correct, the destinations used in the PDF document itself specifies this behaviour; hence this actually works as expected.
Please note that similar behaviour can also reproduced in Adobe Reader as well (i.e. the PDF reference implementation).

Either add an option to, or by default, do not change horizontal scroll position when clicking on chapters in the outline.

Not respecting the horizontal destination-position could easily "break" destinations in some PDF documents and/or at larger zoom-levels, which would thus result in the bug-reports which is essentially the inverse of this one.
Given that all options have a maintenance/support overhead, and given the edge-case nature of this case, I'm unfortunately not entirely convinced that we want to add an options specifically for this.


Moving mediaconvert (1) resource to v1beta1 version

Description of your changes
Adding new resources from group mediaconvert:

[x] aws_media_convert_queue

Fixes #309
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
aws_media_convert_queue - manually and

/test-examples="examples/mediaconvert/queue.yaml"

/test-examples="examples/mediaconvert/queue.yaml"


fmriprep to fsfast interface

I've been struggling to interface fmriprep outputs to the fsfast first level analysis pipeline and was wondering if this problem had been solved by the community?
I've got a start for the surface spaces attached here:
fsfast_surface_example.txt
It runs, but there are still certain aspects (brainmask inclusion, intensity normalization, etc.) that I need to clarify (detailed more in the attached file).
The subcortical volume space is trickier since fsfast requires re-registration to the T1 even though the output of fsfast is already in T1 space and I'm not sure how to circumvent this re-registration yet.
I realize that these issues probably rely on seeking help from the fsfast team, but I wanted to post here as well because this may be a specific case of a broader documentation issue (also in case someone had solved this already). I am a big fan of the fmriprep tool, but I have found it difficult to find  documentation on how to use the outputs for downstream analyses. Different neuroimaging tools each have their own formats and structures. I also haven't seen a python implementation for first levels yet which would be ideal and haven't felt confident enough to extract myself due to uncertainty about the auto-correlation correction approaches.
It could be worth augmenting the documentation with details on how to interface with different analysis pipelines?

I'll answer to your questions in reversed way:

It could be worth augmenting the documentation with details on how to interface with different analysis pipelines?

Totally. We are making steps towards that direction, but all the work is still very premature. All contributions to documentation on this line will be more than welcome.

I realize that these issues probably rely on seeking help from the fsfast team, but I wanted to post here as well because this may be a specific case of a broader documentation issue (also in case someone had solved this already). I am a big fan of the fmriprep tool, but I have found it difficult to find documentation on how to use the outputs for downstream analyses. Different neuroimaging tools each have their own formats and structures. I also haven't seen a python implementation for first levels yet which would be ideal and haven't felt confident enough to extract myself due to uncertainty about the auto-correlation correction approaches.

Totally agreed. Thanks for your support.
Subcortical surfaces (#335) is an overdue feature request. Any effort to implement it will be very welcome.  This code shows how to extract surfaces, as specified in a model of labels from the Aseg atlas. Eventually, I'll migrate that code, but for now it could serve as inspiration to create the subcortical surfaces.
Other than that, your script seems reasonable to me. As you mention, I guess that FSFAST authors are probably best to answer your questions.
If you finally manage to deal with these problems, we will be more than happy to add your scripts as examples to the documentation. Please send them in a PR!

@oesteban Just to quickly note that subcortical analysis in FSFAST isn't the same as subcortical meshes. They just remove the cortex and run volumetric analysis (in MNI305 space) in FSFAST.

Thanks for your answer! Glad to see I'm on the same page. I'll continue to work on this interface and will be sure to share when it's worked out.

Hi @mattboggess, any bottlenecks we could help with? We are right now reconsidering priorities, please let us know if you are still interested in this.

Hey sorry I've been so slow on this. I'm currently waiting on an answer on the freesurfer mailing list to see if there is an easier way to transform the output to fsfast's MNI305 volume space. Doug first suggested just to re-register everything, but I'm hoping there is a simpler approach since the fmriprep output is already in T1 space. I'll follow up on the email since it's been a while.

Ok so here is a script that will take fmriprep outputs for a single subject and task into the fsfast common spaces (fsaverage surface and mni305 subcortical) and directory structure.
fmriprep_to_fsfast.txt
Unfortunately there didn't seem to be a better solution for the mni305 spatial normalization so this script just reruns all the fsfast preprocessing steps necessary to move the volume data to mni305 space.
One should be able to then proceed with first levels starting with mkanalysis-sess as normal except that the -no-mask flag needs to be added for the cortical data. I don't believe the mask does anything for the cortical data, but the first levels script still looks for it as it is normally generated by preproc-sess command.

Cool, thanks. I'm a little confused about the MNI305 bit, just because we have the transforms from T1w space to FreeSurfer-aligned; or do they calculate a per-run transform from BOLD to MNI305?

They do a per-run transform from BOLD to MNI305, using bbregister to first register the BOLD template to T1 and then mri_vol2vol to convert to mni305 using this registration.

Okay, so it is a BOLD-T1-template mapping. That's consistent with how we do it. So it should just be a matter of applying the affine transform from T1w to T1.mgz, and then their MNI305 registration.


Link to the script is missing

Under the Additional debugging steps, "Run the script with username and password" link to the script is missing please update.

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

ID: ce9f3a9a-4b44-050d-a16b-e64fe3e6ebb6
Version Independent ID: cd5893b9-1ba0-33aa-a690-90c255575ff4
Content: Cluster creation fails with DomainNotFound error in Azure HDInsight
Content Source: articles/hdinsight/domain-joined/troubleshoot-domainnotfound.md
Service: hdinsight
GitHub Login: @sreekzz
Microsoft Alias: v-sreiyer

@mogorant  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@CHEEKATLAPRADEEP-MSFT @mogorant - Added a link to the script (in a new page as a code block)

@sreekzz Thanks for updating the link.
@mogorant Noe you can see the link for the script:

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Fixed format for storing Polygons

Polygons where defined as POLYGON((0 0, 10 0),(10 0, 10 10)) but the correct format is a collection of points. POLYGON(0 0, 10 0, 10 0, 10 10))

I don't think this is correct.
Both wikipedia and postgis docs lists Polygons as a collection of linestrings.
POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))

You're absolutely right, but please make a pull request against current master.

Done

Coverage increased (+0.16%) to 79.1% when pulling def032cf0085c4b00246878a26871de4d976d257 on petermein:master into 065cb6963cb42ad533d3804852f02a6de73c25dc on phaza:master.

Remember to update the tests as well. Currently they are failing.

Ai, this is a question of how you wanna build a polygon. In you're design a single linestring should create a closed polygon. This is fine.
On the other hand i was in assuming that you would build a polygon by giving a closed set op linestrings. Maybe for a future implementation.


When it will in GA?

Hello Team,
I need to make a design decision for my project related to policy, can you tell me when this will be in GA?
Regards,
Nitin

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

ID: b1d98d35-46d2-eb6f-6a0b-21df4d6438a8
Version Independent ID: 1a7a0c68-fa1c-d457-2be9-a919d4a5e64f
Content: Preview - Learn Azure Policy for Kubernetes - Azure Policy
Content Source: articles/governance/policy/concepts/policy-for-kubernetes.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

Thanks for your comment @nitinkhandelwal26.
Assigning to content author @DCtheGeek for inputs.

@jluk @LizMS to comment on GA timeline.

An estimate is near the end of CYQ2, be on the look out for announcements in the coming weeks 😄

@nitinkhandelwal26 Since this question is a product question that's been answered and isn't a Docs specific issue or question, I'm going to close this issue.  Thanks again for reaching out!
@MicrosoftDocs/azure-cxp-triage #please-close