Update -AllowRecordingStorageOutsideRegion

Learn Build status updates of commit 6b89040:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@dariomws @get-itips @tseward

Learn Build status updates of commit 749a977:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@tiburd Please merge this PR. Thanks


Allow some waste heat from industry to be used in district heating

Limit of 300 TWh/a according to this paper.

This should not be implemented, since we are already tracking waste heat in industry, and seeing e.g. where it can be used in e.g. CCS or district heating.


Add ctor MapRenderer(IntPtr javaReference, JniHandleOwnership transfer) to Xamarin.Forms.GoogleMaps.Android.MapRenderer

Exception:
System.MissingMethodException: No constructor found for Xamarin.Forms.GoogleMaps.Android.MapRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)
Android >= 5.0, Xamarin.Forms version: last stable.

Could you tell me X.F.GoogleMaps, Google play service and Xamarin.Forms version?
I think resolved this issue in issue73.

X.F.GoogleMaps 1.6.1
Google play service <IP_ADDRESS>
Xamarin.Forms <IP_ADDRESS>

I deployed 1.7.0-beta3 that includes this.
Please check it.


Make diagram of obstacles?

hmm, not sure what this is referring to ...

I think I was referring to all the steps/obstacles from the scientific question to obtaining the data and how your packages help, but diagrams are hard to make.

ah I see. i'll give it a try


Update the Help docuemntation

@baimingze I just created the help documentation for the project. IT would be nice to update the HTML page with the information of this documentation, including the menu, etc. Here the link to the documentation https://github.com/BD2K-DDI/datadiscoveryindex/blob/master/docs/DDI-Help-Page.pdf
In my view this is high-priority.

@baimingze only the links are not working, all the information is correct know. Great job!!!

Thank you, @ypriverol . I have found the reason of the bug. But it will take time to make the change, because of the Angular framework relevant codes need to be reset.

@baimingze is fine, we need to only address this ins the future.

done


Store game IDs in database

Not even sure if this is the right thing to do, and this is all dependent on how we ultimately handle multiple servers.


Sample integrations with mgmt cluster services

Adds two sets of documentation.

integration with mgmt cluster logging to view control plane logs across namespaces
integration with mgmt cluster user workload monitoring to view metrics of hosted control plane machinery

I assume we can grow each set of documentation over time.

/hold cancel


EmojiManager.php

 $name 		= $emoji->getName();
		 $char 		= $emoji->getChar();
		 $category 	= $emoji->getCategory();
		 $updatedAt = $emoji->getUpdatedAt();

That block of code in the update function is not on the same level of indentation as others

function where
remove the space between 76 and 78
function all
remove the space between 113 and 115
function delete
remove the space between line 139 and 141
function update
remove the space between line 196 and 198
function save
remove the space between 233 and 235


GraphHopperServerConfiguration auto-detects available ports

Removed fixation to port 8080. Each test class detects an available port itself now.

What is the use case here? Is it to have parallel tests?

I sometimes ran into this issue when something else on my system is running on port 8080 (this port is quite commonly used by all kinds of software)

I sometimes run into this issue when something else on my system is running on port 8080 (this port is quite commonly used by all kinds of software)

That's the point. In our case, we build GraphHopper on our internal CI-System, where port 8080 is also already in use.

Ok. Makes sense. Can we make creating this URL somehow easier? E.g. with a helper method?
Builder clientRequest(App app, String path) {
   if(!path.startsWith("/")) path = "/" + path;
   return app.client().target("http://localhost:"+ app.getLocalPort() + path).request();
}

And instead of changing the production GraphHopperServerConfiguration can we do this only in the tests? E.g. extend it for a test config?

@taulinger thanks for the changes! Can you add yourself as a contributor (see CONTRIBUTORS.md) and send us your Email address for the CLA?

Thanks!


Button on test tree to expand/collapse all test suites

Useful to quickly get a view of actual tests inside the test suites

I have added the testExplorer.showCollapseButton and testExplorer.showExpandButton configuration properties to version 2.7.0. testExplorer.showExpandButton is a number specifying the number of levels that should be expanded (the maximum is 3).

Nice! I'm a bit concerned about discoverability with the settings being off by default, but oh well.
Anyway, why I'm actually commenting: both buttons seem to have some performance issues with a large amount of tests / suites. In my case, the UI hangs for several seconds after clicking one of the buttons.
I'm not sure how you've implemented it (seems the commits for 2.7.0 haven't been pushed yet?), but at least for collapseAll, using VSCode's built-in showCollapseAll option might be an option, if you're not doing that already:
https://code.visualstudio.com/api/references/vscode-api#TreeViewOptions

It would be better to show these buttons by default.

I'm already using VS Code's built-in collapse button, for this and for expanding there aren't any alternative ways to achieve this anyway (at least AFAIK).
The VS Code developers are gradually introducing a new tree widget to fix the performance problems of the current one, let's hope they offer it to extensions soon.
P.S. I pushed the commits now.

Thanks for implementing this.
I would also recommend showing them by default but perhaps it's worth waiting until the performance issues are resolved by the VSCode team.

I would also appreciate this as a default, I didn't know the feature existed until I looked for an issue about collapsing them.

I enabled them by default in version 2.10.0.

\o/ thanks!


No time zone notification

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Notification
🔖 Feature description
Notifications that are sent by kuma to any channel do not respect the time zone defined in the frontend. Example: (UTC-03:00) America/Sao Paulo

✔ Solution
Include in notifications the time zone of each country/city
❓ Alternatives
Include in notifications the time zone of each country/city
📝 Additional Context
No response

I agree - this needs to be fixed.

@jhonny-v46 This has been fixed in the https://github.com/louislam/uptime-kuma/releases/tag/1.22.0 Release  by https://github.com/louislam/uptime-kuma/pull/3203 and https://github.com/louislam/uptime-kuma/pull/3152
I missed this issue when linking them to the second PR.
=> Could you close this issue as it has been resolved?
(only you or Louis can do so)

Closing as resolved in the 1.22.0-release by https://github.com/louislam/uptime-kuma/pull/3203 and https://github.com/louislam/uptime-kuma/pull/3152


fix(ci): update ci script to use json-compact instead of json

#224  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


Entity filter combinators

Filtering a graph with multiple filter conditions leads to the question, how these multiple filter conditions are combined. In the implementation of #47, filter conditions are combined via AND relation, that as for an entity to be part of the result sub-graph, all filter conditions must be met.
Another possible options is the combination with OR relation, that is  for an entity to be part of the result sub-graph, at least one filter conditions must be met.
A simple approach to leverage this is a global switch, whether to use AND or OR relation to combine filter conditions. A more powerfull aproach allows the combination of filter conditions and groups of filter conditions ina flexible way by arbitrary relations.
If we find a reasoable and user friendly visual way of defining these combinations, the resulting solution is a powerful way of building a (mostly generic) query in a visual non-code way.
Example
Filter conditions
The following filter conditions are specified:

Node is of type Person
Node has attribute name with value 'Simon'
Node has at least one edge

Current filter condition combination (AND relation)
The resulting sub-graph contains all nodes that are of type Person with a name of Simon and at lease one edge attached.
Alternative: OR relation
The resulting sub-graph contains all nodes that are of type Person together with all nodes with a name of Simon together with all nodes that have at least one edge attached.
Generic approach
The filter conditions are combined as (1 OR 2) AND 3.
The resulting sub-graph contains all nodes that are of type Person with a name of Simon together with all nodes that have at least one edge attached.

/CC @julevdl @zuberman35 Possible user-story.


Feat/update annotation

Changes

removed the option of updating the tree by using a walker. with the necessity to do conditional tree edits it was getting too complicated, and performance measurements seemed that for our use case so far it was not any faster.
refactored Transformation into SimpleTransformation. now transformations are responsible for applying selectors and building edits rather than the transformer. This was done to allow transformations to do more complicated edits - specifically to return edits that are conditional

Additions

added update_model_annotation method to the Model class. Allows users to pass a dict of modifications which will be upserted into the model annotation. Users can also set the key 'OVERWRITE_MODIFICATIONS' within the modifications dict to indicate all modifications at that depth should be completely overwritten (ie don't keep modifications that aren't in the dict)

Ticket #12

Thanks for merging! Please make sure to delete your branches after merging ;p


[BYOC][ACL] Support add operation

Added support for an "add" operation implemented via ACL + unit test

@d-smirnov would you address the comments from @lhutton1 or?

Thanks @d-smirnov @lhutton1


Version bump for bug fix (#535)

This is a a version bump following the bug fix from #535.

Windows failures only due to the current issue upstream with fiona. Going ahead and merging, as this PR is independent of that issue.


Fix upgrade install fails after partial install

What this PR does / why we need it:
After my initial install failed when installing rook I tried to re-run the installer. In between running the installer a second time a new k8s version was released. When i ran a second time my installer tried to upgrade k8s and failed with the following error since the kurl-config had not yet been written.
Drain local node and apply upgrade? (Y/n) y
...
Waiting for kubernetes api health to report ok
Error from server (NotFound): configmaps "kurl-config" not found
Error from server (NotFound): configmaps "kurl-config" not found
...
Error from server (NotFound): configmaps "kurl-config" not found
Error from server (NotFound): configmaps "kurl-config" not found
Error from server (NotFound): configmaps "kurl-config" not found
Kubernetes API failed to report healthy

Which issue(s) this PR fixes:

Fixes NONE
Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Fixes an edge case that causes Kubernetes upgrades to fail after an initial installation of kURL is attempted without running to completion.

Does this PR require documentation?

I still need to test this scenario https://github.com/replicatedhq/kURL/commit/b3d4339dd20000450c5f634635b6a5a2205957a9


HTML Editor does not parse the URL link properly

Description
HTML Editor does not parse the URL link properly.
Steps to reproduce

Edit Description of the data model.
Add a link in the description
Markup: GitHub Pages
Or simply: https://pages.github.com/

Behavior
The URL gets changed: http://localhost:8083/undefined
Expected behavior
The correct URL is open.
Environment
UI: 7.0 CORE: 5.0
See related item (Gail has fixed this in the previous release) for email:
https://github.com/MauroDataMapper/mdm-ui/issues/442

Did some testing and was unable to reliably replicate the error.

Pasting one of the supplied links into the description of a data model, saving, and then clicking on it worked fine for 2 data models.
For a 3rd, I was redirected to the undefined page.


Fix basic auth for stratoscale template

Use the correct signature for the basic authentication interface.
This caused the compilation to fail. Fixes #1765

can you run go generate ./generator so that the template changes get embedded in the binary?


implement notification

https://stackoverflow.com/questions/8469705/how-to-set-multiple-alarms-using-alarm-manager-in-android


Docs on Configuring Tenant-Based Adaptive Authentication need to be updated

Describe the Issue:
I have tried to do Tenant-Based Adaptive Authentication demo using the docs described in this link   https://is.docs.wso2.com/en/5.9.0/learn/configuring-tenant-based-adaptive-authentication/
I could not signin to the application and I got the error Application you are trying to access does not allow users from your organization.

Then I try to sign in using the user portal : I got the same error
Then I try to add the /t/123.com/ user-portal
It was working . But the demo app was not developed to handle this multiple situations
How To Reproduce:
Docs should be updated to inform this to the users.

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


Split database packages so that tests can be run with sqlite (same changes as develop)

The intention here was to update the test suite so that there wasn't a dependency on postgres or mysql - a change recently made in develop.
Having made that change however, I've found a rabbit hole of issues starting with out of date test requirements & ending up with parts of the code in release/4.0.x being behind develop and therefore not passing tests.
Not sure where to go from here, but leaving this as a draft for now.

Hi, @marksweb  isn't MySQL or Postgres really our main use case though?
As for all the other findings, should be break them in smaller piece and get those merged then?

@goutnet yeah they're the main databases that will be used. But the discussion that was had (on slack) essentially came down to the fact that we can't expect all developers to have mysql and postgres installed on their machine.
It's fine for our CI, but people should be able to just run tests easily if they're contributing.
And you're right. Keeping this change simple would be ideal, I just hoped I could get tests passing!

Ok, so marked this as ready for review.
Essentially the changes are minimal but in theory this is setup to pass tests now, once tests work.

@marksweb What's the status on this and where can we help?

@vinitkumar it feels like there's maybe some missing config needed for the mysql tests.
I think it relates to the table engine (innodb for example) and the character set. Whatever the defaults are, they don't like this 300 character unique email field.

@vinitkumar Just looking at this again, tests aren't going to pass, but aren't caused by my changes.
The test suite for 4.x is just broken. It's not got changes over the past few years that have been added to the develop branch. I think I saw some commits from 2018 which aren't in this branch of code.
The point of this PR was to split the requirements so that developers don't have to have postgres/mysql to run tests. It achieves that, but it's not going to get all tests passing due to the above issue.

@marksweb since we now have develop-4 would you be ok to rebase this against the develop-4 branch?
Also could you point me to a thing or 2 that we can do to help? I am likely going to start cherrypicking things from develop to update the develop-4 branch in the next weeks. If anything is blocking this that would be nice.

@marksweb since we now have develop-4 would you be ok to rebase this against the develop-4 branch?
Also could you point me to a thing or 2 that we can do to help? I am likely going to start cherrypicking things from develop to update the develop-4 branch in the next weeks. If anything is blocking this that would be nice.

I was of the same opinion too. Also, @goutnet How are we going to decide what to cherry-pick or are you are going to merge to develop into a branch made from develop-4 and see if you can get it to work?

My guess would be:

make the tests run (so cherrypicking whatever is needed for the tests to run)
list all PR/commits since develop/4.x split, and post them one by one, discarding what doesn't make sense
only allow a PR to merge when the tests work
thoughts?

My guess would be:
1. make the tests run (so cherrypicking whatever is needed for the tests to run)

Makes sense.

2. list all PR/commits since develop/4.x split, and post them one by one, discarding what doesn't make sense

Also, make sense. Let's make an issue for it and put it up there?

3. only allow a PR to merge when the tests work

This is already the default policy, no PRs get merged without running tests and also, no self merging the PR. In the very least, it is reviwed by one reviewer and atleast 2 needs to give their go for not so simple code changes.

   thoughts?

I see there is a project for 4.x on github, might want to put it there? Also would want to get the buyin of the cms-4.0 workgroup maintainer :)

@vinitkumar @goutnet the issue I've seen with not merging anything until tests work is just how much is required to get the tests to work.
I didn't know if any tests had been updated by the v4 work so didn't do this, but copying the full tests suite from develop might be a good start. Providing those tests are valid for v4. Cherry picking will be difficult I think.

To suggest that nothing is merged without passing tests would them brining into question how v4 exists given its test suite is so out of date.

To suggest that nothing is merged without passing tests would them brining into question how v4 exists given its test suite is so out of date.

Well, the CI was broken for so long, so none of the tests were running that time. Also, it is more of ideal and recommended scenario that none of the PR gets merged that have broken tests.

@vinitkumar @goutnet the issue I've seen with not merging anything until tests work is just how much is required to get the tests to work.
I didn't know if any tests had been updated by the v4 work so didn't do this, but copying the full tests suite from develop might be a good start. Providing those tests are valid for v4. Cherry picking will be difficult I think.

Totally agree, and I think even that is not enough, we would have to bring all commits too, and try and rebase/resolve conflicts and get it to a working stage. It's going to be a tough job.

Well, the CI was broken for so long, so none of the tests were running that time. Also, it is more of ideal and recommended scenario that none of the PR gets merged that have broken tests.

Yeah I get it, but my point was more because its such a big job thay you'd have one giant PR in order to get to passing tests.
It's such a huge job to do this "properly" that I don't know it warrants the effort. Perhaps if someone has time, cherry picking through it would be a good step forward. But I'm not sure it'll get is to passing tests.

Well, the CI was broken for so long, so none of the tests were running that time. Also, it is more of ideal and recommended scenario that none of the PR gets merged that have broken tests.

Yeah I get it, but my point was more because its such a big job thay you'd have one giant PR in order to get to passing tests.
It's such a huge job to do this "properly" that I don't know it warrants the effort. Perhaps if someone has time, cherry picking through it would be a good step forward. But I'm not sure it'll get is to passing tests.

Yeah, it is a huge task. There are many ways we can approach this:

merge the develop into this develop branch cold turkey and fix stuff unless it is fixed.
Or we cherry-pick the commits from develop-4.x into a branch made from develop and get it to working stage and get the tests and the CMS working (this might be easier than the first step)

Let me know what you guys think.

It's such a huge job to do this "properly" that I don't know it warrants the effort. Perhaps if someone has time, cherry picking through it would be a good step forward. But I'm not sure it'll get is to passing tests.

Somebody calling? o/
We can't merge 4.x into develop that would be just a horrible merge (ask me how I know ;) )
We can however:

copy all test cases from develop onto develop-4 (they will fail, obviously)
spend time and PR to fix them
when they work, start the cherrypicking and port PRs chunk at a time from develop to develop-4

If somebody do 1 as a PR, I volonteer to start 2.

Just for reference:
$ git merge-base develop-4 develop
899a3d8cff3eed984b1038b555da64c4d4a7e316

$ git log 899a3d8cff3eed984b1038b555da64c4d4a7e316.. --pretty=oneline | wc -l
155

So: develop-4 is currently 155 PR/commits behind… some clearly are simple fixes, other may be a bit more involved… nonetheless all of this is necessary (and quickly, before this gets too old).
develop-4 was forked in 2018… and does not seems to have been maintained to develop level since then.

@Aiky30  pinging you in this discussion, what are your thoughts, before we engage on our PR journey?

Here is a speadsheet to list all PR to pull in/work on:
https://docs.google.com/spreadsheets/d/1cN71AhM5YZOiUI47EGqb-tauUeO1O52xMhNGp7j2SAg/edit#gid=1855050070

Just thinking... Having a dedicated branch to getting tests running might be best. Then multiple people could work on it and PRs could merge before the whole thing passes. Then once it's all done, merge it with tests passing.

Makes sense to me.
On Sat, 22 May 2021 at 5:00 PM, Mark Walker @.***>
wrote:

Just thinking... Having a dedicated branch to getting tests running might
be best. Then multiple people could work on it and PRs could merge before
the whole thing passes. Then once it's all done, merge it with tests
passing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/django-cms/django-cms/pull/7042#issuecomment-846394757,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEDITWLCHKDTFES3ILFADTTO6ITXANCNFSM45BNIUUQ
.

--
https://about.me/vinitkme?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb
Vinit Kumar
about.me/vinitkme
https://about.me/vinitkme?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb

I am not sure multiplyinrg the number of parallel branches would really help, I am afraid that might actually complicate the effort…

@goutnet i agree, it's not simple, but it's the easiest way to allow multiple people to contribute to this task.
The alternative would likely be to give people write access to someone's fork so that they have a new remote to push to and that fork can be where the PR is setup from.

If we would want this to work, we would need to a network of dependencies between commits to try splitting them into different paralell paths (avoiding collision as much as possible).
I am Looking into this via git-deps to see if that is possible… but there will likely be a lot of overlap and merge conflicts… which is why I suggested starting from the oldest in the backlog, and going one chunk at a time (manually picking what makes sense, and keeping going).
Not sure how much of that can be splited efficiently without an inital triage (which then becomes the bottleneck).

after initial digging, it seems the commit graph is pretty much fully entangled…  doesn't seem like splitting it would be easy or beneficial… might be one of those task which would be better done by a few individuals closely working together or just one dev…
Let's talk on our meeting Tuesday.

might be one of those task which would be better done by a few individuals closely working together or just one dev…

I would prefer this:

better done by a few individuals closely working together

This is a lot of work, digging 2 years worth of history together and applying relevant patches, fixing tests and getting it all to work together. And, of course, let's talk on Tuesday.

@marksweb  I am retargetting this PR to develop-4


feat(router): Validate payment method type in payments request against given payment method data for non-card flows

Type of Change

[x] Bugfix
[x] New feature

Description
Added the following checks for non-card flows :

Check if payment_method_type is specified.
Check if the specified payment_method_type corresponds to the parent payment_method.
Check if the specified payment_method_data corresponds to the parent payment_method.

Motivation and Context

This PR resolves this issue.
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code

Add required Labels and Milestone.

Please avoid basing your PR on old branches and prefer basing your branches on the main branch instead. Having many commits in a PR adds unnecessary noise when debugging.
I'll be adding the M-api-contract-changes label, since this PR adds additional request validation.

Please avoid basing your PR on old branches and prefer basing your branches on the main branch instead. Having many commits in a PR adds unnecessary noise when debugging.
I'll be adding the M-api-contract-changes label, since this PR adds additional request validation.

Okay sure.


Is the FA tool used to refine ASR result opensourced?

Hi, I read in the paper that when collecting the huge training data,  you are using a FA tool to refine speech ASR results, to drop bad samples. is this tool available?

no, it is not part of the opensource


Use GPFlow as part of a larger graph

Do the authors have any advice on integrating a GP from GPflow as part of a large graph? My two applications are: optimising a loss function with respect to predictive locations, and warping the inputs to the GP.
For the former, this seems to work:
    k = GPflow.kernels.Matern32(1)
    m = GPflow.gpr.GPR(X, Y, k)
    m.likelihood.variance = 0.01
    m.optimize(AdamOptimizer(0.1))
    init  = np.random.rand(3,)
    with m.tf_mode():
        xp = tf.Variable(init.reshape(-1,1))
        nu = np.min(Y)
        mean, cov = m.build_predict(xp, full_cov=True)
        m._session.run(tf.initialize_variables([p]))

but it requires me to call m.optimize() before constructing my further loss functions with build_predict, and I have to be careful about when and which variables I initialise since it seems to decouple the tf.Variables from the model, and give me garbage output after training.
For me, the ideal system would be a way to keep everything symbolic and inside whatever graph/session I am already using.
Xwarp = complex_function(X)
Xpwarp = complex_funciton(Xp)
k = GPflow.kernels.Matern32(2)
m = GPflow.gpr(Xwarp, Y, k)
mu, cov = m.predict(Xpwarp)
lik = m.likelihood()
loss = loss_function(mu, cov)
step = tf.train.AdamOptimizer(0.1).minimize(loss, [Xp])

Is there a way to do this in current GPflow?

Yep, you can do this. GPflow has a convention that the version of the function that returns a symbolic graph is called build_foo. You'll also have to handle the parameters (e.g. lengthscales etc). Something like:
theta = tf.variable(m.get_free_state()) # something to keep GPflow paramters in
m._make_tf_array(theta)
Xwarp = complex_function(X)
Xpwarp = complex_funciton(Xp)
k = GPflow.kernels.Matern32(2)
m = GPflow.gpr(Xwarp, Y, k)
mu, cov = m.build_predict(Xpwarp)
lik = m.build_likelihood()
loss = loss_function(mu, cov)
step = tf.train.AdamOptimizer(0.1).minimize(loss, [Xp])

edited code to ensure tf_mode.

So it seems like GPflow doesn't like having a symbolic expression as an input:
X = np.random.randn(10,1)
Y = np.sin(X)
Xwarp = tf.exp(X)
k = GPflow.kernels.Matern32(1)
m = GPflow.gpr.GPR(Xwarp, Y, k)
m.optimize()

the error is:
AttributeError: 'Tensor' object has no attribute 'shape'.
Do you think this will be an easy fix? I'll hack around with it a bit later, I think parameterised input warps could be quite useful.

Allowing GPflow to have symbolic expressions might not be too straightforward without failry invasive changes I suspect.
On the other hand, I've wanted to do exactly this before, and my solution was to change the kernel as follows. I hope this is useful.
My warping is effectively Xwarp = log(X + \alpha)
class TransKernel(GPflow.kernels.Kern):
    def __init__(self, kern):
        GPflow.kernels.Kern.__init__(self, kern.input_dim)
        self.kern = kern
        self.alpha = GPflow.param.Param(0.1, transform=GPflow.transforms.positive)
    def K(self, X, X2=None):
        X = tf.log(X + self.alpha)
        if X2 is not None:
            X2 = tf.log(X2 + self.alpha)
        return self.kern.K(X, X2)
    def Kdiag(self, X):
        return self.kern.Kdiag(tf.log(X + self.alpha))

Thanks James, closing this.


Use linking call from ergo engine, remove ergo runtime reference from…

… cicero

Coverage decreased (-0.02%) to 89.434% when pulling dc794e22c459dbdd7d98962187e2e972e5d1322f on jeromesimeon:ergo-fix2 into c361e1afc4b7c8937da277fd62a964e1187b419e on accordproject:master.

I believe this should take care of #48 as well. To be checked after re-publishing Cicero.


Update to collaborators API

Convert to collaborators API for permission check (seems to work regardless of whether the user has the microsoft org publicly visible or not, unlike the author_association)
Simplify checkout logic
Add GITHUB_TOKEN to env destroy step

/test

/test

/test-force-approve


hotfix(db) fix Plugins cache_key translation function for C* 2.x

Complex queries (even with ALLOW FILTERING) can cause a Java exception in Cassandra 2. This PR simplifies the query performed by the migration translation function for plugins:select_by_cache_key when using Cassandra 2, to only filter by a single non-null value -- either one of the ids set, or the plugin name as a fallback -- and then further filter the results in Lua.

I think a simpler patch could result in:
  -- build query and args
  local qbuild = { "SELECT * FROM %s WHERE name = ?" }
  local args = { parts[2] }

  if self.connector.major_version >= 3 then
    for i, field in ipairs({
      "route_id",
      "service_id",
       "consumer_id",
       "api_id",
    }) do
      local id = parts[i + 2]

      if id ~= "" then
        insert(qbuild, field .. " = ?")
        insert(args, cassandra.uuid(id))

      else
        parts[i + 2] = nil
      end
    end
  end

  local query = table.concat(qbuild, " AND ") .. " ALLOW FILTERING"

With a single branch for the C* >= 3 case

Edited to be optimized with at least one additional argument on top of name for C* 2.x as this patch already attempts to do

Not on top of, but instead of. The problem here is when we do SELECT * BY plugins WHERE foo = ? AND bar = ? ALLOW FILTERING (and that doesn't match an index), C* 2 doesn't like it. What I'm doing is, if we have a non-null id, use that only (we have indexes for each individual id, and for name) and it only scans by name if no id is given (e.g. when scanning for global plugins).


Add rerun-if for source files?

cc currently emits rerun-if for environment variables, but not for source files.
I suppose we can add this, with a new API to disable this.
Or we could disable it by default by enable user to opt-in.

Duplicate of #765


chore(dcos-ui):  bump DC/OS UI 1.9+v1.9.11-rc1

High-level description
Bug fix related to showing frameworks debug information
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-22291 Marathon-LB Debug page no longer shows deployment problems

Related tickets (optional)
Other tickets related to this change:
Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

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

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot override-status mergebot/enterprise/build-status/aggregate https://jira.mesosphere.com/browse/DCOS-19905


Add object HostGroup

Example:
    - name: "host_group_linux"
      type: HostGroup
      file: "local.d/groups.conf"
      display_name: Linux Hosts
      assign:
        - host.vars.os == linux


Central Remote Admin Server

I have multiple computers with the Kiosk app running, and it would be great if I could specify a central remote administration server all of the apps can point back (or "phone home") to. I would be great since my computers are set to DHCP, and I can't change it without my admin's approval. So the remote admin IP address is always changing.

I'd like something similar for a different reason, doing admin over plain http is a security concern.
I'd like to make a kiosk admin page that the kiosk can query via https to get their config. Perhaps setup gives them an opportunity to set a config url and the kiosk registers a UUID with that remote server which it can get its url in json format from. Perhaps the lazy can even just do it via a GIST or jsonstore?

A small change could change the addon to be configured from policy settings #37
A seperate release with configuration of url, admin username and password, and some of the options would be nice.

This should be resolved by our new Kiosk Device Management Dashboard: https://dashboard.kiosk.cook.company/


PurifyCSS Whitelist Not Working Properly

Laravel Mix Version: 1.0.3 (npm list --depth=0)
Node Version (node -v): 8.1.2
NPM Version (npm -v): 5.0.3
OS: Ubuntu 16.04 & MacOS Sierra

Description:
When PurifyCSS is enabled and a whitelist is defined within the options method in the Mix config, elements in the whitelist are still being removed. My config is the same as before 1.0.0, and it still works fine there if I rollback the Mix version.
Steps To Reproduce:

Install Laravel & Laravel Mix 1.0.0+
Define a stylesheet, and enable PurifyCSS
Add whitelist for PurifyCSS to options
Run Mix and check if whitelisted tags exist

Example Mixfile:
const {mix} = require('laravel-mix');
let webpack = require('webpack');

mix.options({
        purifyCss: {
            purifyOptions: {
                whitelist: ['*fa-*', '*redactor-*', '*twitter-typeahead*']
            }
        }
    })
    .sass('resources/sass/app/app.scss', 'public/assets/css/app.css');

I've attempted moving options to the top and bottom of the config file, and have checked commits for changes to the purifyCSS options. This looks to have been caused by some internal change in v1.0.0+

Thanks, @aaronhuisinga! This is fixed in 1.0.4.
https://github.com/JeffreyWay/laravel-mix/releases/tag/v1.0.4


Move clone in vertical axis only, inside a container

I can't find the documentation to achieve this (moving the dragged clone only vertically and inside its container) just as you have it in the demo page. Could you provide some light on how did you do it? Thanks.

This functionality is not possible at the moment


Converting 0deg -> 0 causes errors in IE11

I've been testing some code in IE11/Windows 7 with Browserstack and found uglify is causing errors in the following code
 background: linear-gradient(0,rgba(105,44,145,0.3),rgba(105,44,145,0.3)),linear-gradient(0,rgba(0,49,131,0.3),rgba(0,49,131,0.3)),linear-gradient(90deg,rgba(0,174,239,0.9) 23.61%,rgba(0,49,131,0.0001) 99.7%)
changing 0 to 0deg (first value in linear-gradient()) fixes this .

This is also a problem in modern browsers if e.g. you define a variable:
:root {
    --myVar: 0px;
}

and use it later for calculations:
.myClass {
    right: calc(var(--myVar) + 10px);
}

Same issue with 'px' getting stripped out when using for a calculation!


feat(mdformat): alternative file finder

The recursive argument to mdformat (.) is quite slow in repos with lots of files and folders where no markdown files are expected to be found. The FindMarkdownFiles function can be used as a speedier alternative.
The typical FormatMarkdown target would look like something like this in that case:
func FormatMarkdown(ctx context.Context) error {
	sg.Logger(ctx).Println("formatting Markdown files...")
	files, err := sgmdformat.FindMarkdownFiles(
		sg.FromGitRoot(),
		sgmdformat.InfDepth,
		true,
		"node_modules",
	)
	if err != nil {
		return fmt.Errorf("find markdown files to format: %w", err)
	}
	args := []string{
		"--number",
		"--wrap",
		"80",
	}
	args = append(args, files...)
	return sgmdformat.Command(ctx, args...).Run()
}

This solution is roughly 60s faster in one of our repos :)

Can we package this in an even simpler way so that users still just have to run a single task that takes care of all this with good defaults?

Can we package this in an even simpler way so that users still just have to run a single task that takes care of all this with good defaults?

Makes sense. Now that I think about it we might as well replace the . and find markdown files ourselves instead by default.

@alethenorio  @odsod  have a look now. Based the solution on ls-files like suggested and made that behaviour the default.
Much neater now if I do say so myself


How to record screen on android

Can you show me where the code for recording the screen and saving the file into local storage?
Thanks!!! 🙏

Hello,
If you want record the screen you can use this example:
https://github.com/pedroSG94/RootEncoder/tree/master/app/src/main/java/com/pedro/streamer/screen
If you want record instead of stream you can replace isStreaming to isRecording, startStream to startRecord and stopStream to stopRecord.
isStreaming:
https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/screen/ScreenService.kt#L112
To:
return genericStream.isRecording

startRecord:
https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/screen/ScreenService.kt#L155
To:
    if (!genericStream.isRecording) genericStream.startRecord(filePath)

And stop record:
https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/screen/ScreenService.kt#L119
To:
  fun stopStream() {
    if (genericStream.isRecording) {
      genericStream.stopRecord()
      notificationManager?.cancel(notifyId)
    }
  }

In ScreenActivity you will need replace the stream url provided in the startRecord to a valid file path

Thanks for your answer. And can I draw a watermark on surfaceview?

Thank @pedroSG94 .


Don't generate import statements for fragments declared in the same file

Description
This prevents ClientSideBaseVisitor.getImports from generating an import for a fragment declared in the same file it's outputting to.  This type of import is a TypeScript compilation error (and is also not necessary, since the const is declared later on in the file).
Related #6520
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Screenshots/Sandbox (if appropriate/relevant):
https://codesandbox.io/s/stoic-minsky-0l3bg
How Has This Been Tested?
I added a test case in the near-operation-files-preset suite labeled with issue number #6520.  It initially failed (reproducing this behavior) and now passes with my fix.
Test Environment:

OS: macOS 11.5.1
@graphql-codegen/cli: 2.1.1
@graphql-codegen/near-operation-file-preset: 2.1.0
@graphql-codegen/typescript: 2.1.0
@graphql-codegen/typescript-graphql-request: 4.1.0
@graphql-codegen/typescript-operations: 2.1.0
NodeJS: 14.16.1

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas (n/a)
[ ] I have made corresponding changes to the documentation (n/a)
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules (n/a)

Further comments
n/a

Hello! Do you know when this change will be released?

@nahtnam I just released a new version

@n1ru4l Thanks, confirmed working! 🙏


Refactor SponsorsListPresenterTest.java

Chore
Description
Refactor SponsorsPresenterTest from org.fossasia.openevent.app.core.sponsor.list to org.fossasia.openevent.app.core.presenter.
Would you like to work on the issue?
Yes

No actually, tests should remain in same package as class being tested

Yes, you're right. I saw it later that the presenter contains protected methods which can be tested in the same package so it must remain in same package. Closing this.


ZDF_neo download error

'% youtube-dl --verbose https://www.zdf.de/filme/stralsund/stralsund-kreuzfeuer-104.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.zdf.de/filme/stralsund/stralsund-kreuzfeuer-104.html']
[debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1
[debug] youtube-dl version 2017.05.29
[debug] Python version 2.7.12 - FreeBSD-9.2-RELEASE-p15-amd64-64bit-ELF
[debug] exe versions: ffmpeg 2.8.8, ffprobe 2.8.8, rtmpdump 2.4
[debug] Proxy map: {'ftp': 'http://montoya:8000', 'http': 'http://montoya:8080', u'https': 'http://montoya:8080'}
[ZDF] stralsund-kreuzfeuer-104: Downloading webpage
[ZDF] stralsund-kreuzfeuer-104: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'formitaeten',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/zdf.py", line 230, in _real_extract
return self._extract_mobile(video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/zdf.py", line 191, in _extract_mobile
for f in document['formitaeten']:
KeyError: u'formitaeten'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 446, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'formitaeten',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.'

Any reason you closed this again? I have the same issue (youtube_dl 2017.05.29, url https://www.zdf.de/comedy/neo-magazin-mit-jan-boehmermann/neo-magazin-royale-mit-jan-boehmermann-vom-23-februar-2017-100.html )

Hello,
video is availible until 6.6.2017 23:59. It can be seen on the
ZDF-Mediathek.
Regards.
herby

Video verfügbar bis 06.06.2017, 23:59
Produktionsland und -jahr:
Deutschland 2014
Am 31.05.2017 um 22:35 schrieb Christian Kündig:

Any reason you closed this again? I have the same issue (youtube_dl
2017.05.29, url
https://www.zdf.de/comedy/neo-magazin-mit-jan-boehmermann/neo-magazin-royale-mit-jan-boehmermann-vom-23-februar-2017-100.html
)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/13241#issuecomment-305309103,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbvpLS_TsnjDx74pPaOKRYJe3QtfPOClks5r_c8CgaJpZM4NrcKU.

Problem still exists (Video has not expired),.
Closing this issue was a mistake.
Sorry.

Video leider nicht mehr verfügbar


Don't log EPIPE errors on client download abort

Before this, when a client aborts a pull, an error is logged for the broken pipe, but this isn't really an error since the broken pipe is expected and is the normal case for client aborts.

LGTM

Bump -- this should be in 1.10

LGTM


How to extend types of Parsers?

Say, the response is a JSON which can be parsed to a student object:
case class Student(username: String, id: Int)
I want a Parser[Student] with parse method return a Task[Response[Student]]
How can I?

got it, Request.parse accepts an implicit parameter with type of Parser

Exactly, but generally I'd suggest to avoid creating such specific Parsers. Use the Json parser and then rely on circe tools to go to a Student from there.
val response: Response[Json] = ???
val student: Decoder.Result[Student] = response.body.as[Student]

Great! Thanks

Oh, I thought I had understand, but not.
Any hint?

Well, can you be a bit more specific about what exactly you didn't understand?

How to get Resonse[Json]? like Response[String].map(parse(_.body))?
and how circe know how to parse to Student?

Oh yeah, sorry, I forgot that there is no default Json Parser, because communicator doesn't depend on circe or any other JSON library. So personally I use circe for JSON with a Parser like this:
import io.circe.parser._
import cats.syntax.either._

implicit val parserJson: Parser[Json] = {
    Parser[String].mapResponse { ( response, content ) ⇒
        parse( content ).valueOr( throw _ )
    }
}

how about this valueOr?
error: value valueOr is not a member of Either[io.circe.ParsingFailure,io.circe.Json]

Did you add the imports?

Oh, cats...
ok now


Added multiple Polygon inputs for Polygon Difference and Union operations

Also added new PointWithin method and associated test to Polygon

Too many changes since, will make a different pull request that is more granular.


2Yes you can start the application with the code and acquire a session with the opened window? Please check #1246

    Yes you can start the application with the code and acquire a session with the opened window? Please check #1246

Originally posted by @anunay1 in https://github.com/microsoft/WinAppDriver/issues/1791#issuecomment-1248142247

    Yes you can start the application with the code and acquire a session with the opened window? Please check #1246

โพสต้นฉบับโดย@anunay1ใน#1791 (ความคิดเห็น)

    Yes you can start the application with the code and acquire a session with the opened window? Please check #1246

โพสต้นฉบับโดย@anunay1ใน#1791 (ความคิดเห็น)

?


Cloud runner support for early exit to allow github ephemeral runners

Changes

Cloud runner latest tweaks. Most noteworthy being - support for an exit early flag that skips cleanup, allowing you run ephemeral self-hosted runners for github in a cloud runner job. You can then run your main workflow and skip the majority of the runner minutes.

Checklist

[x] Read the contribution guide and accept the code of conduct
[ ] Readme (updated or not needed)
[ ] Tests (added, updated or not needed)

Codecov Report

Merging #387 (bcd3329) into main (5ae03df) will decrease coverage by 0.27%.
The diff coverage is 4.34%.

@@            Coverage Diff             @@
##             main     #387      +/-   ##
==========================================
- Coverage   54.69%   54.41%   -0.28%
==========================================
  Files          62       62
  Lines        1918     1926       +8
  Branches      316      318       +2
==========================================
- Hits         1049     1048       -1
- Misses        865      874       +9
  Partials        4        4

Impacted Files
Coverage Δ

...odel/cloud-runner/providers/aws/aws-task-runner.ts
7.56% <0.00%> (-0.48%)
:arrow_down:

src/model/cloud-runner/providers/aws/index.ts
16.66% <0.00%> (-0.84%)
:arrow_down:

src/model/cloud-runner/remote-client/caching.ts
62.50% <ø> (-0.39%)
:arrow_down:

src/model/cloud-runner/cloud-runner-statics.ts
100.00% <100.00%> (ø)


fix: bump k8s manifests branch version

This PR bumps the version of k8s-manifests-branch to fix the issue with the diag generation.
related PR: https://github.com/splunk/ta-automation-k8s-manifests/pull/106
test workflow run:

https://github.com/splunk/splunk-add-on-for-google-workspace/actions/runs/10631152841
https://github.com/splunk/splunk-add-on-for-servicenow/actions/runs/10919108085

:tada: This PR is included in version 4.17.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to get website and email?

Hi
Just I need to have some particular information of a specific app as-

website
Email id

so let me know how to have these things?

@SanjayYadav90 You just call app. get_all_details will get app's developer website and email.


Unreal crashes when opening the listen socket

So i'm trying to open the listen socket but unreal crashes when it does
it does send, i tested it on wireshark
I've turned off auto open for the receive

even if i auto open receive it crashes

Got a crash log?

Assertion failed: Socket != nullptr [File:C:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Networking\Public\Common/UdpSocketReceiver.h] [Line: 53]
UE4Editor_Core!AssertFailedImplV() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
UE4Editor_UDPWrapper!FUDPNative::OpenReceiveSocket() [C:\Users\LENOVOG\Perforce\LowPollyTanks_Abdtaqi\Plugins\udp-ue4\Source\UDPWrapper\Private\UDPComponent.cpp:263]
UE4Editor_UDPWrapper!UUDPComponent::execOpenReceiveSocket() [C:\Users\LENOVOG\Perforce\LowPollyTanks_Abdtaqi\Plugins\udp-ue4\Intermediate\Build\Win64\UE4Editor\Inc\UDPWrapper\UDPComponent.gen.cpp:461]
UE4Editor_CoreUObject!UFunction::Invoke() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5679]
UE4Editor_CoreUObject!UObject::CallFunction() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1023]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2896]
UE4Editor_CoreUObject!UObject::execLetBool() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2797]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1093]
UE4Editor_CoreUObject!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:924]
UE4Editor_CoreUObject!ProcessLocalFunction() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1154]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1093]
UE4Editor_CoreUObject!UObject::ProcessInternal() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1181]
UE4Editor_CoreUObject!UFunction::Invoke() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5679]
UE4Editor_CoreUObject!UObject::ProcessEvent() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2018]
UE4Editor_Engine!AActor::ProcessEvent() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:863]
UE4Editor_Engine!AActor::BeginPlay() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3579]
UE4Editor_Engine!AActor::DispatchBeginPlay() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3519]
UE4Editor_Engine!AWorldSettings::NotifyBeginPlay() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\WorldSettings.cpp:247]
UE4Editor_Engine!AGameStateBase::HandleBeginPlay() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\GameStateBase.cpp:205]
UE4Editor_Engine!UWorld::BeginPlay() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:4416]
UE4Editor_Engine!UGameInstance::StartPlayInEditorGameInstance() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:483]
UE4Editor_UnrealEd!UEditorEngine::CreateInnerProcessPIEGameInstance() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2943]
UE4Editor_UnrealEd!UEditorEngine::OnLoginPIEComplete_Deferred() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1503]
UE4Editor_UnrealEd!UEditorEngine::CreateNewPlayInEditorInstance() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1750]
UE4Editor_UnrealEd!UEditorEngine::StartPlayInEditorSession() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2713]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequestImpl() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1116]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequest() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1019]
UE4Editor_UnrealEd!UEditorEngine::Tick() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1629]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:426]
UE4Editor!FEngineLoop::Tick() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4921]
UE4Editor!GuardedMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:178]

Appears to crash on .BoundToEndpoint(Endpoint) https://github.com/getnamo/UDP-Unreal/blob/master/Source/UDPWrapper/Private/UDPComponent.cpp#L263, put a breakpoint on that line or line 260 and see what the state of the values are at that point (launch in debugger from visual studio)

I have the same Crash after updating the new UE 5.1.1, in 5.1 the plugins work fine!!

I have the same Crash after updating the new UE 5.1.1, in 5.1 the plugins work fine!!

Hey, I'm really sorry for the confusion it was my bad the crash was from the IP address. it works fine I just wanted to update this so there is no confusion

Hello @getnamo,Thanks for the assistance!
I've opted this for another tool (I've used the PingQoS  if you are wondering) as it's more convenient for my use case, many thanks!


Add option to not run as system proxy and do not install self-signed cert

Adds the following two options:

--do-not-act-as-system-proxy - Do not set the proxy as system proxy
--do-not-install-self-signed-cert - Do not install self-signed certificate

The option --do-not-install-self-signed-cert depends on --do-not-act-as-system-proxy and will return the following error message when it's called without it:
Requires option '--do-not-act-as-system-proxy' to be 'true'
That's due to _proxyServer.SetAsSystemHttpsProxy(_explicitEndPoint) which internally calls CertificateManager.EnsureRootCertificate() when ProxyProtocolType.Https is set.

@microsoft-github-policy-service agree

Nice start! Let's see how the code changes after we rename options to be "positive".

That's odd maybe it's loading the wrong cert for the endpoint
https://github.com/microsoft/dev-proxy/pull/530/files#diff-ce6a87a0599e7d66093279273997c48e9c39c5721aa858b9a99b8ab487311668R104
Unfortunately i only have a linux and windows environment to test.

That's odd maybe it's loading the wrong cert for the endpoint https://github.com/microsoft/dev-proxy/pull/530/files#diff-ce6a87a0599e7d66093279273997c48e9c39c5721aa858b9a99b8ab487311668R104
Unfortunately i only have a linux and windows environment to test.

No worries, x-plat dev is hard with the different permutations and specifics. I'll dig into it and report back.

That's odd maybe it's loading the wrong cert for the endpoint https://github.com/microsoft/dev-proxy/pull/530/files#diff-ce6a87a0599e7d66093279273997c48e9c39c5721aa858b9a99b8ab487311668R104
Unfortunately i only have a linux and windows environment to test.

This line seems indeed to be the culprit. When I remove it, all works as intended. I'll dig deeper as to what's special about it

If I look at the code before this PR, then _explicitEndPoint.GenericCertificate stays null after we call _proxyServer.CertificateManager.EnsureRootCertificate();. Where did you find out that we need to call _explicitEndPoint.GenericCertificate = _proxyServer.CertificateManager.LoadRootCertificate(); to load the cert?

If I remove this line _explicitEndPoint.GenericCertificate = _proxyServer.CertificateManager.LoadRootCertificate(); altogether, proxy seems to be working just fine with the --install-cert false --as-system-proxy false options. Is it needed on Windows?

I added that line because otherwise _proxyServer.Start() would call CertificateManager.EnsureRootCertificate().
public void Start(bool changeSystemProxySettings = true)
{
    // ...
    SetThreadPoolMinThread(ThreadPoolWorkerThread);
    if (ProxyEndPoints.OfType<ExplicitProxyEndPoint>().Any((ExplicitProxyEndPoint x) => x.GenericCertificate == null))
    {
        CertificateManager.EnsureRootCertificate();
    }
    // ...
}

Maybe we could change it to the following?
if (_config.InstallCert)
{
    _proxyServer.CertificateManager.EnsureRootCertificate();
}
else
{
    _explicitEndPoint.GenericCertificate = _proxyServer.CertificateManager.LoadRootCertificate();
}

Maybe we could change it to the following?
if (_config.InstallCert)
{
    _proxyServer.CertificateManager.EnsureRootCertificate();
}
else
{
    _explicitEndPoint.GenericCertificate = _proxyServer.CertificateManager.LoadRootCertificate();
}

Let's try. Could you please update your code and see if it works properly on Windows? I'll then verify it on mac. I appreciate your help 👏

Ok, i've tested it with the changes under windows:

Parameters
Result

--as-system-proxy true --install-cert true
no ssl error and set as system proxy

<no args>
no ssl error and set as system proxy

--as-system-proxy false --install-cert false
as expected "throws ssl error" and you need to ignore the error

--as-system-proxy false --install-cert true
doesn't throw ssl error because root cert is installed

--as-system-proxy true --install-cert false
get's blocked because --as-system-proxy requires --install-cert

I've restarted powershell and removed the installed cert after each test.

Thanks for the detailed tests! I'll run the same on mac to compare the results and will report back


About xModalKD code and MSFSKD figure

Hi, thanks for your excellent work!
I notice that in Fig.4 of 2DPASS paper, the enhanced 3D features is the summation of 3D features and output from the 2D Learner. However,  in this Line of the code, 3D features from spvcnn.py is directly feed into the 3D classifier, without adding feat_learner. What's more, this forward path is not processed during inference, which is also not consistent with the solid line in Fig 4.
Would you please kindly explain the difference between code and paper, and which variable in your code is corresponding to the Enhanced 3D Features in Fig.4? Thanks so much!

Hi @LavenderLA this issue seems to be the same as https://github.com/yanx27/2DPASS/issues/3, and  the input for the 2D learner is not utilized in the inference phase. We already update our arXiv, please check the new one.


CUDA out of memory with 24G GPU

Hi, Sorry for replying so late.
In the ProMISe issue, it was mentioned that this project requires around 24GB of VRAM.
However, I still encounter out-of-memory issue with RTX 3090 (24GB)
while running the following command:
python src/train.py --data colon --data_dir "dataset/Task10_Colon" --save_name "my_train" --multiple_outputs --dynamic --use_box --refine

[11:35:04.209] Namespace(data='colon', save_dir='./implementation/colon/my_train', data_dir='dataset/Task10_Colon', num_workers=2, split='train', use_small_dataset=False, model_type='vit_b_ori', lr=4e-05, lr_scheduler='linear', warm_up=False, device='cuda:0', max_epoch=200, image_size=128, batch_size=1, checkpoint='best', checkpoint_sam='./checkpoint_sam/sam_vit_b_01ec64.pth', num_classes=2, tolerance=5, boundary_kernel_size=5, use_pretrain=False, pretrain_path='', resume=False, resume_best=False, ddp=False, gpu_ids=[0, 1], accumulation_steps=20, iter_nums=11, num_clicks=50, num_clicks_validation=10, use_box=True, dynamic_box=False, use_scribble=False, num_multiple_outputs=3, multiple_outputs=True, refine=True, no_detach=False, refine_test=False, dynamic=True, efficient_scribble=False, use_sam3d_turbo=False, save_predictions=False, save_csv=False, save_test_dir='./', save_name='my_train')
2024-08-15 11:35:04,209 - Namespace(data='colon', save_dir='./implementation/colon/my_train', data_dir='dataset/Task10_Colon', num_workers=2, split='train', use_small_dataset=False, model_type='vit_b_ori', lr=4e-05, lr_scheduler='linear', warm_up=False, device='cuda:0', max_epoch=200, image_size=128, batch_size=1, checkpoint='best', checkpoint_sam='./checkpoint_sam/sam_vit_b_01ec64.pth', num_classes=2, tolerance=5, boundary_kernel_size=5, use_pretrain=False, pretrain_path='', resume=False, resume_best=False, ddp=False, gpu_ids=[0, 1], accumulation_steps=20, iter_nums=11, num_clicks=50, num_clicks_validation=10, use_box=True, dynamic_box=False, use_scribble=False, num_multiple_outputs=3, multiple_outputs=True, refine=True, no_detach=False, refine_test=False, dynamic=True, efficient_scribble=False, use_sam3d_turbo=False, save_predictions=False, save_csv=False, save_test_dir='./', save_name='my_train')
Unet_encoder features: (32, 32, 64, 128, 384, 32).
Unet_decoder features: (32, 32, 64, 128, 384, 32).
dataloaders are created, models are loaded, and others are set, spent 3.8 for rank -1
num_clicks 50 points_length: 69189 dynamic_size: 13
First batch:   fn: 1.0000, fp: 0.0000, label 0: tensor(0), label 1: tensor(13)
--- ===================================== ---
--- above before model, below after model ---
--- ===================================== ---
dice before refine 0.07599078863859177 and after 0.037667643278837204
num_clicks 50 points_length: 356190 dynamic_size: 11
First batch:   fn: 0.8992, fp: 4.2488, label 0: tensor(11), label 1: tensor(0)
--- ===================================== ---
.
.
.
.
.
.
RuntimeError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 23.69 GiB total capacity; 21.36 GiB already allocated; 42.62 MiB free; 21.59 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

How can I resolve this problem?

Hi,
reduce the iteration number would lower the GPU usage but lower the performance. I have tried 9 and 11, and 9 is slightly lower.
modify the network and input size could be other options if not using pertained model.

Thank you. After changing iter to 9, I can successfully execute the training program.

glad to hear that


Benchmark axes label

Include axes labels in benchmarks plots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.912%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
80

Relevant Lines:
91

💛  - Coveralls


Update the docs with terraform-plugin-docs

This folder's content is not updated for over a year
This doc is generated by https://github.com/hashicorp/terraform-plugin-docs. to reflect the current provider states.
This will rendered to registry.terraform.io once we published it. Note: This is more of skeleton and we should continue iterate and document.
Also, copy the README.md content to index.md

@datianshi please use the tfplugindocs tool as mentioned here, in order to automatically generate documentation in the format required by the Terraform Registry

@bardielle  This is using the tfplugindocs tool.  Since you created another PR, to avoid rebase and confusion. I will just delete this one.


Add support for signing API requests

From the spec:
SHOULD allow a signature secret (used for some API requests,
and to validate WebHook signatures)

Using the signature secret to sign API requests is not yet supported.

@timcraft any idea when you'd have time to implement this?

@pRdm More a question of priorities than time, currently working on refactoring everything for v5 so things like this are easier to implement. Which API do you want to use it with?

@timcraft thanks for the speedy response, my team needed it urgently and we've implemented on our end already.
On a side note, but related to signatures, the current README has an ambiguity in it. In your README:

To check signatures for incoming webhook requests you'll also need to specify the signature_secret argument:

client = Nexmo::Client.new(signature_secret: "signature")

But running the command yields an exception
client = Nexmo::Client.new(signature_secret: "signature")
# => KeyError: key not found: "NEXMO_API_KEY"

client = Nexmo::Client.new(key: "api_key", signature_secret: "signature")
# => KeyError: key not found: "NEXMO_API_SECRET"

client = Nexmo::Client.new(key: "api_key", secret: "secret", signature_secret: "signature")
# => #<Nexmo::Client:0x007fddfef9cbb0 @key="api_key", @secret="secret", @signature_secret="signature", @application_id=nil, @private_key=nil, @host="rest.nexmo.com", @api_host="api.nexmo.com", @sns_host="sns.nexmo.com", @user_agent="nexmo-ruby/4.7.0 ruby/2.4.1">

@pRdm Appreciate that's confusing if you try to copy and paste the code. That should be resolved by making the key and secret optional in #92.

My understanding is that this is implemented. Both for signing requests (where this is allowed by the API) and for validating webhooks.


Update GitHub Actions docs to mention astral-sh/setup-uv

Now that eifinger/setup-uv is under the Astral banner as astral-sh/setup-uv, perhaps the docs for GitHub Actions could be updated to recommend using this action?

Yeah will get to it soon!


Clean up Readme file

Details
Need to clean up the README.md file and make it my own with instructions that make sense to me.

Mostly done, Need to fix the table of contents and make sub docs folder more comprehensive.


fix: adjust semantic version action version

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Could not match input arguments for Orders API call

Hello
I am getting the Could not match input arguments error when trying to fetch orders. You can see in the URL that the params I set are MarketplaceIds and CreatedAfter.
Weirdly enough when I set the config.host to be the production URL, I get no error (but obviously an array of empty orders as my account has no orders, it's just my developer account.)
(Also, does this gem take care of OAuth or am I correct in thinking that I need to do that myself separately outside of this gem to get the refresh_token of the seller?)
ETHON: performed EASY effective_url=https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders?MarketplaceIds=A1AM78C64UM0Y8%2CATVPDKIKX0DER&CreatedAfter=2023-01-20T17%3A50%3A53 response_code=400 return_code=ok total_time=0.707399
┃ HTTP response body ~BEGIN~
┃ [{"code":"InvalidInput","message":"Could not match input arguments"}]

Thanks so much in advance!

Hi,
It's a different API call but I think is the same problem.
We are having the same problem when doing create_feed_document in the feeds-api-model pointing to the Sandbox. When we point to production endpoints works correctly.
Config to use sandbox:
 AmzSpApi.configure do |config|
        config.region = 'eu'
        config.timeout = 20 # seconds
        config.sandbox = true
        #config.debugging = true
end

And then:
body = AmzSpApi::FeedsApiModel::CreateFeedDocumentSpecification.new(content_type: "text/xml")
response = feeds.create_feed_document(body)

We get the following error:
HTTP status code: 400
Response headers: {"Server"=>"Server", "Date"=>"Wed, 24 May 2023 11:55:30 GMT", "Content-Type"=>"application/json", "Content-Length"=>"121", "Connection"=>"keep-alive", "x-amz-rid"=>"K4H...", "x-amzn-RateLimit-Limit"=>"5.0", "x-amzn-RequestId"=>"be74....", "x-amz-apigw-id"=>"OPF...", "X-Amzn-Trace-Id"=>"Root=1-....", "Vary"=>"Content-Type,Accept-Encoding,User-Agent", "Strict-Transport-Security"=>"max-age=47474747; includeSubDomains; preload"}
Response body: {
  "errors": [
    {
      "code": "400",
      "message": "Invalid input",
      "details": "Invalid input"
    }
  ]
}

When we point to the production endpoint the method returns the url correctly.
Are we missing something? Has someone managed to use the Sandbox with the feeds-api-model?
Thanks in advance


Could not GET

Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized

Same here.

same here

same here

change your dependencies to com.github.smarteist:Android-Image-Slider:Tag

thank you i did this
On Mon, 23 Sept 2024 at 06:53, Muhammad Farhan Gultom <
@.***> wrote:

change your dependencies to com.github.smarteist:Android-Image-Slider:Tag
—
Reply to this email directly, view it on GitHub
https://github.com/smarteist/Android-Image-Slider/issues/265#issuecomment-2367106682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLNCFDMYB6XVMTCIN5H63CLZX5YATAVCNFSM6AAAAABNKC4Z7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRXGEYDMNRYGI
.
You are receiving this because you commented.Message ID:
@.***>

not work

@farhangultom-dev
This solution doesn't work


iOS8 can not set property barsTintColor

Maybe iOS8 quickly show web view controller before call viewWillAppear,
cause of can not set property.

With this is it possible to change the color?

Yes, possible.
But it is no need this commit, because it can change the color.
SVModalWebViewController *webViewController = [[SVModalWebViewController alloc] initWithURL:URL];
webViewController.barsTintColor = [UIColor blackColor];

Thanks!


About BDD-X

I would like to ask a question about the BDD-X dataset, where can I get the video or picture files of BDD-X? I found the file type you gave training_32frames_img_size256 .img.tsv file, which seems to be base64 encoding? I can't be sure because I can't decode it to open as a picture.

Base64 can be read by javascript

I would like to ask a question about the BDD-X dataset, where can I get the video or picture files of BDD-X? I found the file type you gave training_32frames_img_size256 .img.tsv file, which seems to be base64 encoding? I can't be sure because I can't decode it to open as a picture.

Base64 can be read by javascript

@LiuPengJX I would like to ask again, all the encodings in the base64 encoded file are connected together, and the decoding can only be decoded one by one. How should I do it?

The video decoder is implemented in the src/datasets/vision_language_tsv.py. The raw videos could be accessed from email.

Hello, you have done a good job! May I ask whether the experimental results directly use the results in these two files. In addition, this result is a little different from the accuracy of multitasking in the paper, but close to single accuracy. How should I deal with this problem?

Hello, you have done a good job! There are some gaps between the results I ran out and the papers. Experimental configuration: 4 RTX3090 ,bs = 2. The experimental results are obtained from the above two documents. May I ask what is probably the cause of the problem?


Added Ruby 3.2.

✍ Description

Added Ruby 3.2.
Actually use Faraday version

Coverage: 94.681%. Remained the same when pulling 4f68c63275053b465976bcfc05bd6a40452e5f6d on dblock:ruby-3.2.0 into f9374aa4787abe03306d127a886579e77ab7bfa2 on codegram:master.


"getServerThroughput" Changed the attribute name from TPS to callsPerSec.

Changed the attribute name from TPS to callsPerSec.

INPUT
{
  getServerThroughput(applicationId: 2, duration: {start: "2017-06-01 1002", end: "2017-06-01 1005", step: MINUTE}, topN: 10) {
    id
    applicationId
    applicationCode
    callsPerSec
    name
    host
    pid
    ipv4
  }
}

OUTPUT
{
  "data": {
    "getServerThroughput": [
      {
        "id": "3",
        "applicationId": 2,
        "applicationCode": "dubbox-provider",
        "callsPerSec": 20,
        "name": "MacOS X",
        "host": "peng-yongsheng",
        "pid": 1000,
        "ipv4": [
          "<IP_ADDRESS>",
          "<IP_ADDRESS>"
        ]
      }
    ]
  }
}

Coverage decreased (-0.004%) to 19.549% when pulling c1fedb02b5e290fa46dfb87e86349c68730dcb15 on peng-yongsheng:feature/getServerThroughput into 71eb594ed97a6ca47362913d0b2c357cf62770b5 on apache:master.


How to get the theme properties

Hi, before i was able to get the properties of the theme using the next function Theme::getProperty($theme_slug.'::name', ''), right now that function doesnt exist. How can i do to get the theme attributes nowadays?

Please, i see is easy to add, please add the function on the Theme Class, with the next code is enough, i will appreciate it so much
    public function getProperty($property)
    {
        list($theme, $parent) = $this->resolveTheme($this->getCurrent());
        return $theme->get($property);
    }


Initial View Controller for the LiveAuctionsViewController

"Do you ever smile when you program?"

"Err, I guess not"

So this adds the initial view controller, I've got some idea about where it can go from here, but well, it wouldn't be a PR a day if it went from nothing to this

Not trying to make smart abstractions yet either.  I'm noting things down in the comments as I address things. This PR mainly touches https://github.com/artsy/eigen/issues/1086 and https://github.com/artsy/eigen/issues/1085

1 Error

:no_entry_sign:
No CHANGELOG changes made

2 Warnings

:warning:
Needs testing on a Phone if change is non-trivial

:warning:
Found unstubbbed networking requests

ARArtworkViewControllerBuyButtonSpec in test_buy_button__posts_order_if_artwork_has_no_edition_sets
ARCreateAccountViewControllerSpec in test_warning_view__displays_a_message
ARCreateAccountViewControllerSpec in test_warning_view__displays_a_message
AREmbeddedModelPreviewViewControllerSpec in test_iPhone_peek__shows_favorite_and_follow_buttons_for_logged_in_user
AREmbeddedModelPreviewViewControllerSpec in test_iPhone_peek__shows_favorite_and_follow_buttons_for_logged_in_user
AREmbeddedModelPreviewViewControllerSpec in test_iPhone_peek__passes_artwork_to_share_controller
ARFairViewControllerSpec in test_creates_an_NSUserActivity
ARGeneViewControllerSpec in test_creates_an_NSUserActivity
ARGeneViewControllerSpec in test_creates_an_NSUserActivity
ARTopMenuViewControllerSpec in test_navigation__favorites__logged_in__tab_behavior__already_selected__pops_to_root

  Generated by :no_entry_sign: danger

Debug green and debug red are the best.

Yeah, debugColourRandom is pretty good for collection views too

apple's colors just don't do it for me.


New Async streaming in ASP.NET 6

https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-6-preview-4/#async-streaming
Potential to simplify code for this sample project?

This project and async streaming in ASP.NET 6 provide different functionality.
Async streaming in ASP.NET 6 utilizes the new native capability of System.Text.Json to serialize IAsyncEnumerable. So what it does is serializing IAsyncEnumerable into a single JSON collection. The gain (as described in the article) is absence of buffering - data go on to the wire as soon as possible. That said, the client still needs to receive entire object to deserialize it.
What this project is about is serializing IAsyncEnumerable into NDJSON. That requires client which is able to receive NDJSON. In case of NDJSON the IAsyncEnumerable is not serialized into a single JSON object but into a series of objects. There is also no buffering in this scenario and additional difference is that client is able to work with already received objects before all objects have been send/received - on client side the deserialization also happens into IAsyncEnumerable.

Okay, thanks for the information. I have one more question, is it possible to avoid wrapping controllers with NdjsonAsyncEnumerableResult? And just use regular IAsyncEnumerable with Ndjson serializer instead of System.Text.Json?

There is one way to achieve that - I would need to introduce an output formatter into Ndjson.AsyncStreams.AspNetCore.Mvc. That would allow client to decide wheter to serialize into JSON or NDJSON by setting proper value in accept header.
This is something I'm thinking about, but I wanted to wait for some feedback before I make further investments.

Hi @GunboatDiplomat ,
I went into details of this subject here: https://www.tpeczek.com/2021/07/aspnet-core-6-and-iasyncenumerable.html
TL;DR; As the buffering in .NET 5 is done at level of ObjectResult, content negotiation is not possible. In .NET 6 it is possible and I've added support for it.


CUDA_HOME not taking nvcc path

The CUDA_HOME from pytorvh isnt taking path to my nvcc

Can you provide more log information about this bug?

Given that this is an environmental configuration issue, I can try to provide a universal solution. To solve the issue where PyTorch cannot find the nvcc compiler due to an incorrect CUDA_HOME environment variable on a Linux system, follow these steps:

Verify CUDA Installation:
Open a terminal and check if CUDA is installed and where it is located by using the command:
nvcc --version

If this command returns the version of the CUDA compiler, CUDA is installed correctly. If it returns an error, it means either CUDA is not installed or nvcc is not in your PATH.

Locate CUDA Installation Path:
If CUDA is installed, you need to find the installation path. Usually, CUDA is installed in /usr/local/cuda. You can check this by:
ls /usr/local/cuda

If this directory exists, it's likely your CUDA installation path.

Set the CUDA_HOME Environment Variable:
You need to set the CUDA_HOME environment variable to point to your CUDA installation directory. Edit your ~/.bashrc or ~/.zshrc file (depending on your shell) and add the following line at the end:
export CUDA_HOME=/usr/local/cuda

Replace /usr/local/cuda with your actual CUDA installation path if it's different.

Update Your PATH and LD_LIBRARY_PATH:
In the same ~/.bashrc or ~/.zshrc file, add the following lines to ensure that nvcc and the CUDA libraries can be found by your system:
export PATH=${CUDA_HOME}/bin:${PATH}
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}

Apply the Changes:
Save the changes and close the editor. To apply these changes, you need to run the following command or simply restart your terminal:
source ~/.bashrc

Or if you're using Zsh:
source ~/.zshrc

Verify the Setup:
Open a new terminal window and use the following command to confirm that the environment variable is correctly set:
echo $CUDA_HOME

You should see the CUDA installation path you set earlier. Run nvcc --version again to confirm that nvcc can now be found correctly.

By following these steps, you should be able to resolve the issue with PyTorch not being able to find nvcc. If you continue to experience problems when running PyTorch code, make sure that your PyTorch version is compatible with your CUDA version.


feature request: local project files in siteConfig.scripts & siteConfig.stylesheets

We want to include our library distributable in the pages of our documentation site to demonstrate it. There's also a 3rd-party (vendor) script in the node_modules dir that we need to include (to make the indicated code blocks "executable").
Is there a nice way to include local project files in siteConfig.scripts that are outside the ./website/static/ dir?
Right now I'm copying the needed files into ./website/static/vendor at the beginning of every script (start, build, publish), and adding that dir to .gitignore, but it feels hacky.
I propose we treat relative paths in siteConfig.scripts & siteConfig.stylesheets as relative to the location of siteConfig.js and copy those files into the build.
Would the maintainers welcome a PR to add this?

I think this is a reasonable suggestion. PR welcome!
In future we might want to move to a bundler like webpack, rollup or parcel though.

@yangshun I wouldn't mind working on this!

@Airse Awesome, it's yours!

Has there been any progress on this?

Wontfix in v1 with v2 coming up


Noder are not populating PG3

Unable to retrieve my nodes. Please help.
TotalConnect_6-27-2024_55937_AM.zip

Is there anyone supporting this issue and service?

No, this plug-in does not have anyone supporting it.
A quick look at the log and I can't tell if the problem is that it failed to authenticate or if the server is just not returning any data when queried.
Sorry, I don't really know how this plug-in works and can't really help with debugging.

Thanks for replying Bob. Does the dbarentine person still have any input into it's operation, development, etc.?
I have 2 homes under a single account of TotalConnect so my guess is that this is the hitch in the giddyup . . . . . even though that's the way its always been.
??

As far as I know, dbarentine has abandoned it.

☹
Thank you,
Paul Straten
@.***
From: Bob Paauwe @.>
Sent: Sunday, June 30, 2024 9:56 PM
To: UniversalDevicesInc-PG3/udi-totalconnect-poly @.>
Cc: Paul Straten @.>; Author @.>
Subject: Re: [UniversalDevicesInc-PG3/udi-totalconnect-poly] Noder are not populating PG3 (Issue #1)
As far as I know, dbarentine has abandoned it.
—
Reply to this email directly, view it on GitHubhttps://github.com/UniversalDevicesInc-PG3/udi-totalconnect-poly/issues/1#issuecomment-2199085533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6YMKG7JVWVKDTOQSI3DRTZKDALTAVCNFSM6AAAAABJ74YXHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGA4DKNJTGM.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Suppress NumbaWarning

I get this all the time, not useful:
NumbaWarning: Cannot cache compiled function "numba_funcified_fgraph" as it uses dynamic globals (such as ctypes pointers and large global arrays)

Yes, those are annoying. But maybe we should filter those out in pytensor itself?

Fair enough. I guess I reasoned here because nutpie uses the numba back-end on behalf of users. However if the warning is always useless can just do it there.


Read if needed on NEED_UNWRAP

Motivation:
There are some use cases when a client may only be willing to read from a channel once its previous write is finished (eg: serial dispatchers in Finagle). In this case, a connection with SslHandler installed and ctx.channel().config().isAutoRead() == false will stall in 100% of cases no matter what order of "channel active", "write", "flush" events was.
The use case is following (how Finagle serial dispatchers work):

Client writeAndFlushes and waits on a write-promise to perform read() once it's satisfied.
A write-promise will only be satisfied once SslHandler finishes with handshaking and sends the unencrypted queued message.
The handshaking process itself requires a number of read()s done by a client but the SslHandler doesn't request them explicitly assuming that either auto-read is enabled or client requested at least one read() already.
At this point a client will stall with NEED_UNWRAP status returned from underlying engine.

Modifications:
Always request a read() on NEED_UNWRAP returned from engine if a) it's handshaking and b) auto read is disabled and c) it wasn't requested already.
Result:
We have an internal test that passes with this patch, but stuck establishing a TLS connection without it. I'm happy to add a unit test, but I need some pointers on where to put it.

@vkostyukov Add it to the test folder of the handler module or in the testsuite module. Also please check why your change produce other testfailures. Thanks!

Thanks @normanmaurer! I had a look at the failures and I think I have an idea about what's going on. I'l add the test once I fix the existing failures.

Thanks a lot! Just ping me once ready

Am 25.03.2016 um 06:46 schrieb Vladimir Kostyukov<EMAIL_ADDRESS>Thanks @normanmaurer! I had a look at the failures and I think I have an idea about what's going on. I'l add the test once I fix the existing failures.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Yay @vkostyukov, tests pass again

Thanks @normanmaurer! Working on a unit test right now. Will ping you once this PR is updated (should be done before noon in SF).

Ok cool

Also once done ensure you update the commit message to be inline wirh our template:
http://netty.io/wiki/writing-a-commit-message.html

@normanmaurer I added a unit test that tests: channel active, write, flush case. Although I'm having hard times figuring out how to create an EmbeddedChannel with auto-read = false so I can test write, flush, channel active events sequence (that's what Finagle does today).

It's not really possible... Use LocalChannel

Am 25.03.2016 um 22:25 schrieb Vladimir Kostyukov<EMAIL_ADDRESS>@normanmaurer I added a unit test that tests: channel active, write, flush case. Although I'm having hard times figuring out how to create an EmbeddedChannel with auto-read = false so I can test write, flush, channel active events sequence (that's what Finagle does today).
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Or just NioSocketChannel...

Oh thanks! Let me try that.

@normanmaurer In the meantime, what do you think of adding a new constructor to EmbeddedChannel that also accepts ChannelConfig?

I don't think this is needed honestly

Am 25.03.2016 um 23:20 schrieb Vladimir Kostyukov<EMAIL_ADDRESS>@normanmaurer In the meantime, what do you think of adding a new constructor to EmbeddedChannel that also accepts ChannelConfig?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@vkostyukov seems like there is a leak. I suspect you not release the buffer in your unit test. Run the test with "-Pleak" to see it.

@vkostyukov you think you will get this done today? I woul like to cut another release tomorrow

Yeah, I will pick it up in the morning. I guess we're extremely interested in including this into the next release since it blocks our work on TLS in Finagle/Netty 4.
As a side note. I tried using both LocalChannel and NioSocketChannel, but still not sure I can figure out how to explicitly control the order of events. I want to make sure we test both cases: WritAndFlush and then ChannelActive and vise versa.
@normanmaurer Anyways, thanks a lot for you support. Totally appreciate your time on this.

Can you explain me exactly what you would like to test ? If I know exactly what you try to do I may be sble to give some tips

Am 28.03.2016 um 09:01 schrieb Vladimir Kostyukov<EMAIL_ADDRESS>Yeah, I will pick it up in the morning. I guess we're extremely interested in including this into the next release since it blocks our work on TLS in Finagle/Netty 4.
As a side note. I tried using both LocalChannel and NioSocketChannel, but still not sure I can figure out how to explicitly control the order of events. I want to make sure we test both cases: WritAndFlush and then ChannelActive and vise versa.
@normanmaurer Anyways, thanks a lot for you support. Totally appreciate your time on this.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Does https://github.com/netty/netty/pull/4254 relate at all?

Nope

Am 28.03.2016 um 12:04 schrieb Johno Crawford<EMAIL_ADDRESS>Does #4254 relate at all?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@normanmaurer Thanks! As far as I understand SslHandler, there are two different code paths that start a handshake on a client: 1) either handlerAdded or channelActive 2) flush (after write). This PR fixes both code paths so the underlying engine is not starving anymore. What I'm trying to test is two different order of events: flush -> channelActive and channelActive -> flush. The second order is pretty easy to test. In fact the current state of this PR already does that. I'm having troubles figuring out how to make sure a channel (an SslHandler on top of channel) will get flush before channelActive.
This seems to be pretty simple task to do. And EmbeddedChannel (I think) is designed to be able to test handlers in separate.
Okay, wile writing this I figured out something. I will insert a handler right in front of SslHandler that drops any channelActive events so I can test the first code path. That works in my head, but let me try that in a wild.
Thanks again!

That will work :)

Am 28.03.2016 um 18:24 schrieb Vladimir Kostyukov<EMAIL_ADDRESS>@normanmaurer Thanks! As far as I understand SslHandler, there are two different code paths that start a handshake on a client: 1) either handlerAdded or channelActive 2) flush (after write). This PR fixes both code paths so the underlying engine is not starving anymore. What I'm trying to test is two different order of events: flush -> channelActive and channelActive -> flush. The second order is pretty easy to test. In fact the current state of this PR already does that. I'm having troubles figuring out how to make sure a channel (an SslHandler on top of channel) will get flush before channelActive.
This seems to be pretty simple task to do. And EmbeddedChannel (I think) is designed to be able to test handlers in separate.
Okay, wile writing this I figured out something. I will insert a handler right in front of SslHandler that drops any channelActive events so I can test the first code path. That works in my head, but let me try that in a wild.
Thanks again!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@normanmaurer I just updated the PR. Hopefully that leak will go away since I'm not calling ch.finish() at the end of the test. Let's see if CI agrees to it.

Let me check

Am 28.03.2016 um 19:22 schrieb Vladimir Kostyukov<EMAIL_ADDRESS>@normanmaurer I just updated the PR. Hopefully that leak will go away since I'm not calling ch.finish() at the end of the test. Let's see if CI agrees to it.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@vkostyukov I think once you addressed my comments the leak is gone and it is ready to be merged.

@vkostyukov - thanks for the PR! after comments address lgtm.

@normanmaurer, @Scottmitch thank you for the review!
I've updated the PR and addressed all the comments except for the readDuringHandshake one. I'm happy to spend some time to try to figure out what do with that (maybe check that flag in readIfNeeded in some way), if you think this is something we need to address as part of this PR.

LGTM

Cherry-picked into 4.1 (84bbbf7e09513e761496fe1faf3407fc06a32228) and 4.0 (ea4a8e339c54f1e4eb3a047f397d0801d53ff0a6).
@vkostyukov thanks a lot!


Refactor monosor.com to garden.narze.live in e2e test

Let's see if the test pass

🤔

Yeah, that too has to be fixed T_T

Hope it passes 🤞


FancyZones with keyboard shortcuts doesn't "restore" window before snapping, for "maximized" windows

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.356]
PowerToys version: Version 0.11.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce
I am multiplexing two examples here.

Enable "Override Window Snap hotkeys ..." option in the FancyZones settings.
Open and maximize (Windows + Up) a (a) Microsoft Edge or (b) Windows Explorer window.
Snap that window onto a zone using the shortcut keys, Windows + Left/Right.

Expected behavior
I expect them to be a restored (un-maximized) window; with a maximize button next to the close button, and maximizable with Windows + Up.
Actual behavior
The maximized window gets snapped maximized. It cannot be re-maximized; one has to restore it first, then maximize it. It has weird maximization artifacts on its title bar.
(a) There is a white bar artifact at the top.
(b) Although it isn't as clear, the title bar still looks wonky, especially around the icon on the top left corner.
Screenshots
Imgur is blocked in my country. I cannot upload images.

Hi, thanks for your report.
The screenshots here are not needed, the issue is easily reproduced. In the future, note that GitHub supports attachments.

I see, thank you. I assumed that GitHub supports attachments via imgur.com or some other partner that is blocked in Turkey (like Stackoverflow does, I hardly ever see images there), since I actually indeed have done exactly as shown in the link you've provided.
Apparently the culprit was my university's network, or something else. I don't know what exactly, but I shut down my computer, reopened it at home, and I can do it now. I have updated the original post to include the screenshot I had prepared.