The disk migration is too slow

I'm always frustrated when extending the persistent disk for bosh director. It takes long time to copy the data from the old disk to the new disk.
This put the foundation in partial unavailable state. For example, I cannot create on-demand service instances when bosh director is not available.
I would like to disk migration time, the shorter the better.
For example, shall we consider improving the performance by using rsync instead? For example, rsync -avz --delete source/ target/
Currently, it uses tar and pipelines to migrate data.
/:~$ ps axu | grep tar
root    xxxx 0.0 0.0  xxxx  xxx ?    S<  xx:xx  x:xx sh -c (tar -C /var/vcap/store -cf - .) | (tar -C /var/vcap/store_migration_target -xpf -)
root    xxxx 7.3 0.0 xxxxx xxxx ?    D<  xx:xx  x:xx tar -C /var/vcap/store -cf - .
root    xxxx 7.5 0.0 xxxxx xxxx ?    S<  xx:xx  x:xx tar -C /var/vcap/store_migration_target -xpf -

Hey @David-Pivotal,
Thanks for the issue!
This is topic which has come up a few times before, so I'm going to leave these two links here and close this issue as duplicate.
https://github.com/cloudfoundry/bosh/issues/2021
https://github.com/cloudfoundry/bosh/issues/1569


Upgrade docker image

Describe the bug
Version of locust on docker hub doesn't match documentation.
Expected behavior
Version on docker hub matches documentation
Actual behavior
Documentation states events are available under self.locust.environment.events or self.environment.events. However, the version on docker hub still uses the global events variable.
Seems this commit is not in the docker image yet: https://github.com/locustio/locust/commit/78dba230effffea01bae27701100df9865efc0d9
Steps to reproduce
docker pull locustio/locust

The /latest/ path on the documentation refers to the master branch, while the latest docker tag refers to the latest released version. A bit confusing perhaps, but I think it makes sense to have the latest tag point to the latest released version. Use the master docker tag to get the latest version in master.

Got it, that makes sense. Thanks!


Skip uniform names that contain .@data.

In some instances where one would have a structured buffer such as:
struct MyStructure
{
    mat4 Matrix;
};

...

BUFFER_RO( u_MyBuffer, MyStructure, * );

Then the uniform name generated would be:
BGFX Creating uniform (handle *<EMAIL_ADDRESS>num 1

This would fail the uniform name validation check, because of the .@data. in the name.

This should be fixed on shaderc side to now allow .@data. to be treated as uniform.

Done.

Is this consistent behavior with D3D11?

Is this consistent behavior with D3D11?

I have no idea, I found no such check there to begin with.

I have no idea, I found no such check there to begin with.

I mean if you compile with D3D compiler you get exactly the same uniform name that you get with SPIRV after trimming<EMAIL_ADDRESS>


Building a driver: Undefined class Role

Thanks! :)

@driesvints :+1:
Out of the topic, I have created a doctrine usage example to share with the community but some tests are failing. Any other special configuration to be done? (Sorry for the trouble)

here is the gist
https://gist.github.com/zspine/f807ca4f87c75155dd05

Everything seems to look ok. Don't really see what's wrong at first glance.


Provide additional information on how to setup Desktop Server/Peer to communicate with Unity Server/Peer

Describe the problem
This repository does a good job of setting up a basic Web RTC project and explaining the basics. But it does not provide any useful information on how to use the different platforms in tandem, only how to use the platforms with each other.  Because the Unity solution uses Node-dss and the Desktop solution does not, naive users cannot figure out how to bridge the gap between the two and hook these two services together.
Describe the solution you'd like
I would the documentation to explain how node-dss can be configured to connect to the Desktop solution detailed in the existing documentation and vice versa.
Describe alternatives you've considered
I have tried to research this on my own and am continuing to do so, but as a naive user when it comes to server / client programming it is hard to know how to resolve this current issue and bridge this gap.

I don't have a concrete example of this off the top of my head, but having done something like this recently...
The "Signaler" class is specific only to the Unity library, and is supplied as a convenience. The underlying C# library doesn't have any sort of explicit "Signaler" interface. However, it's (arguably) simpler to implement the same idea in C#.
In short, the functionality you have to implement in Desktop/Non-Unity is:

For every 'PeerConnection' object, subscribe to the LocalSdpReadyToSend and IceCandidateReadyToSend events.
When these events are fired, you should transmit the SDP Offer/Answer message or ICE message (in the same way that your unity Signaler class does with the methods you override).
When you receive incoming ICE messages from your signaling server, you should call AddIceCandidate on the appropriate PeerConnection object.
When you receive incoming SDP Offer/Answers from your signaling server, you should call SetRemoteDescriptionAsync on the appropriate PeerConnection object.

If you are handling more than a 1-to-1 call, you need to put in a little bit of extra work to identify which messages should be used with each PeerConnection object.
If you like, you could copy over your Unity Signaler script (there's no base class to inherit though, so remove the override keywords and the inherited class), and call the methods in that to handle this abstraction a little.
If you dig in the Unity library/scripts a bit, you can probably find how they use the Signaler classes. They definitely do some more work before handling Ice/RemoteDescription etc, which isn't all necessary outside Unity, but if you are having problems, that is a good place to start.


Detailed traceback information on exception

We need to have more detailed traceback on errors and exceptions. For example in this questions on stackoverflow - http://stackoverflow.com/questions/41096590/mxnet-build-model-error-on-r
Error message is very abstract - Error in mx.io.internal.arrayiter(as.array(data), as.array(label), unif.rnds, : basic_string::_M_replace_aux
It is difficult for users to understand that the issues is related to mismatch in index value when creating a matrix or any shape of a data structure.
Example of similar issue and fix in Tensorflow package - https://github.com/rstudio/tensorflow/pull/42

Yeah. If you look for issues with "Unclear Error/Doc" you can find some examples.
Let's do this after (or while) we add examples to API docs.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


docs: add alternative approach to using schematic

This PR adds a manual(alternative) guide to introducing Angular Material in Angular Projects.
This would be especially useful to users who want to setup Angular Material on an online code-editor like StackBlitz, CodeSandbox, or NG-Run.

Are online editors like StackBlitz the main thing you're targeting here? If that's the case, I would rather just have a forkable link for each rather than adding everything to the guide.

While these were the main targets, I was also targeting a not so ideal environment, where we could not run the ng add command.
Also since there are a lot of such tools out there, adding these steps would help users using any such tool out there.Also
I could also add forkable links to some of these widely used targets. But along with that, I think having the steps in there would be handy.
Please suggest if I should update the PR with those forkable links.

Closing due to inactivity from the author


Avoid reusing checkpoint when backend or table ID changed

When switching from TiDB backend to Local/Importer backend, the recorded checksum values become invalid. This would lead to strange checksum error.
We should make the checkpoint invalid if the backend is changed (and probably other parameters too).

So We should save backend info to checkpoint and when resume from checkpoint, if backend mismatch, reports an error and exit?

yes


THREESCALE-10713 correct the storage url

What
Correct the storage url in the backend-redis secret.

Reviewed changed file
/lgtm


session does not save values (Sanic 20.3.0)

With Sanic 20.3.0.
The session  doesn't save values.
in file base.py, line 139-140:
if not hasattr(request, "session"):
return
should be removed ?

fix - #66

Fixed by @mikekeda


Undocumented Periodic Boundary Conditions were Intentional

The fix in #20 corrects an intentional application of periodic boundary conditions that supposedly is helpful when using intra-polymer interactions.
Code that depends on these periodic boundaries should be identified and the boundaries put back in if necessary.

For now, since others might be using them, commit 1d2b2ad6fc245af2f2df6d72eab64a4ecec663be reverses the removal of the periodic boundaries. For e.g. confinement, the mcbox size will have to be set to larger than the confinement.

No reason why self-interactions should need periodic boundary conditions. Reopening as we merge codebases with MCparallelMPI and Brad.

Fixed by #27


Welcome message needs to support special characters

The welcome message text should respect special characters. In this screen shot the new lines are not reflected when brought in  from Yaml. When typed directly in typescript this comes through.

Should be surrounded by quotes to force a string. trying with "".
More info in https://stackoverflow.com/questions/19109912/yaml-do-i-need-quotes-for-strings-in-yaml


Boolean attributes can't use logic like an exclamation mark

Describe the issue
Boolean attributes in a configuration have to conform to the regex (true|false)|($\{[^\}]+\}), except for the active attribute. This makes it so that you can't use an ! before a property reference to negate it. To me, this makes no sense and it also makes it less readable and uglier and more complicated to create flexible configurations. I would advice treating all boolean attributes the same way as the active attribute.
Reporter
Lenard
Configuration
This problem causes needles clutter in configurations like:
<Param name="inverted.boolean" value="true" active="!${original.boolean}"/>
<Param name="inverted.boolean" value="false" active="${original.boolean}"/>

Or like this when a sender needs to be either synchronous or not.
<SenderPipe name="SenderPipe" active="${synchronous.boolean}">
      <IbisLocalSender javaListener="Listener"/>
</SenderPipe>

<SenderPipe name="SenderPipe" active="!${synchronous.boolean}">
      <IbisLocalSender javaListener="Listener" synchronous="false"/>
</SenderPipe>

I discussed this with Lenard, the same property is used in several places in the configuration (different pipes and senders), but in some places the negated value is required for further logic/routing.


Support for caching multiple directories

Currently, the plugin only takes in a single directory/path for caching. It would be great to have support for caching multiple directories so you don't have to create multiple entries of cache.

@smsunarto this is an interesting idea but I can't think of a good reason to do this that wouldn't overcomplicate the code of the plugin without a lot of clarifications in the documentation. In particular, when specifying multiple paths my brain automatically assumes that they are to be treated as a unit so they should all be part of the the same cache entry. Unfortunately, that would mean that the cache entry would only work if the same paths are specified and in the same order (and/or further code will be necessary to make the entry calculation stable) which would be counter-intuitive.
On the other hand, if we are talking about each path having its own cache entry, the code changes to the plugin itself is not too complicated. But then you would be assuming that they share the same configuration for every other setting, or we would need to complicate the settings for the plugin A LOT to handle all possible cases for very little gain when using multiple plugin entries in the step makes a lot more sense and is already flexible enough.
Or is there anything I am missing here?

On the other hand, if we are talking about each path having its own cache entry, the code changes to the plugin itself is not too complicated. But then you would be assuming that they share the same configuration for every other setting,

I think this is perfectly fine for starters; I'd imagine this covers the bases for a lot of people who would need to cache multiple directories.
For example: one of our use case is for Go linting and we want to cache both the Go linter artifacts (to make subsequent runs faster) and the golangci-lint binary, which is in separate paths.
I'd imagine people who needs to have different cache configurations would be fine with creating a separate cache entry.

seconding, I have a similar need for two caches. I have a node monorepo orchestrated by nx. I need to cache /root/.npm to speed up npm ci and I need to cache the checkout directory's .nx folder to avoid a full rebuild in each step.


for the visually impaired

I'm going to hold off on this one since we have a functioning method at the moment and I don't want to unnecessarily rock the boat. If I have the time, I will try to test this change on its own.


fix localhost address check in xfcc authenticator

DO NOT CHERRYPICK WITHOUT https://github.com/istio/istio/pull/41171

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
98fa9025467fb26c529f5f244f98954802eaffcf
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
98fa9025467fb26c529f5f244f98954802eaffcf
link
true
/test unit-tests-arm64

release-notes_istio
98fa9025467fb26c529f5f244f98954802eaffcf
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
98fa9025467fb26c529f5f244f98954802eaffcf
link
true
/test unit-tests-arm64

release-notes_istio
98fa9025467fb26c529f5f244f98954802eaffcf
link
true
/test release-notes

unit-tests_istio
98fa9025467fb26c529f5f244f98954802eaffcf
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn PTAL

Thanks for fixing this :)

@howardjohn I am removing the DNM label. I will follow-up with test case improvements if I find any thing useful

In response to a cherrypick label: new pull request created: #41210


add data skip launch argument for openni2 to limit CPU load

tested on cob4-1: OK

merge together with #529

CR: ok

CR: ok


Update version string in README

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11359/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11371/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11372/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11381/
Test PASSed.

alluxio-bot, merge this please


WAM-V joystick teleoperation

Requires:

https://github.com/gazebosim/gz-sim/pull/1681

This pull request adds the ability to teleoperate the WAM-V, which I think it's very useful for testing scoring plugins.
As a reminder, you need a Logitech F310 controller with the back switch in D mode.
How to test it?
Launch the simulation:
ros2 launch vrx_ros competition_local.launch.py ign_args:="-v 4 -r sydney_regatta.sdf"

Launch the WAM-V:
ros2 launch vrx_ign spawn.launch.py name:=wamv world:=sydney_regatta model:=wam-v x:=-532 y:=162 z:=0 R:=0 P:=0 Y:=1

Launch the usv_joy_teleop launch file:
ros2 launch vrx_ign usv_joy_teleop.py

To control the WAM-V you have to keep the L1 button pressed (deadman button). Other than that, the controls are the same that we used to have. The ball shooter is not installed in the WAM-V but you can confirm that the message is sent by echoing the  /wamv/shooters/ball_shooter/fire topic while you pressed the A button.
ros2 topic echo /wamv/shooters/ball_shooter/fire
data: true
---

Note: I think that the joy_teleop package is still not polished enough to be used with ROS2. As far as I know it's not possible to configure it without a deadman button, which I think it's a bug.

@caguero it looks like testing this PR currently requires building gazebosim from source. Is that right? I see you've merged #1681 but I'm not sure how long this change takes to propagate to the binaries.

This seems to be working as I would expect. A minor caveat is that the thrusters seem more powerful than I remember. For example, by switching from full-forward to full-back, I can stop almost instantly. I can also spin fast in a tight circle, then reverse to spin in the opposite direction with very little transition time. I don't think this is necessarily a problem but it does seem different. Maybe it's a result of not having any of the components on the wamv yet?

This is intended because I set 500 as the scale in the wamv.yaml. I thought it would be handy for testing but let me know if that was too much.


ENH: Override fit method of Laplace distribution with Maximum Likelihood Estimates

This pull request replaces default optimizer with maximum likelihood estimates for scale and loc of the laplace distribution. It falls back on optimizer if a parameter is set and does not match the MLE.

Reference issue

Adds MLE equations to Laplace distribution, part of the #11782 issue. @mdhaber
What does this implement/fix?

Implements MLE equations for laplace distribution according to equations found in the text Evans, Hastings, and Peacock (2000), Statistical Distributions, 3rd. Ed., John Wiley and Sons.pdf, page 124.
Additional information

Currently, when fit is called it first calculates the the MLE for scale and loc. If floc or fscale were provided, but do not match the MLE equations, then it call's the super fit method with the same fixed parameter, while raising a RunTimeWarning. I am wondering if the logic of this is efficient enough, and if it is worth checking the closeness of a supplied parameter and MLE, what the tolerance should be?
I manually tested the MLE results of laplace.rvs data with the log likelihood func from optimizer and they looked to be as good / better than those that the optimizer was able to find. It is much faster. Is there anywhere that tests should be added to ensure this behavior?

The warnings need the stacklevel arguments such that the generated warnings originate from the user calling code and not within scipy code.

Yes, I can confirm that @mdhaber's comments are correct.
For example,func returns the same value for MLE and the optimizer values, in debug mode, having stepped into distn_infrastructure.py:

The warnings need the stacklevel arguments such that the generated warnings originate from the user calling code and not within scipy code.

Thanks @ilayn , I see varying uses of stacklevel across scipy, and I had success with stacklevel=2, is this the result we are looking for?

Thanks for the reminder @ilayn. Yes, that looks right, @swallan. We try to make it look like the error/warming is raised by the function called by the user rather than a function called by that function.

@swallan, thanks for this PR--using explicit formulas for the parameters when they are available is a nice enhancement.
You wrote

If floc or fscale were provided, but do not match the MLE equations, then it call's the super fit method with the same fixed parameter, while raising a RunTimeWarning. I am wondering if the logic of this is efficient enough, and if it is worth checking the closeness of a supplied parameter and MLE, what the tolerance should be?

This is not how floc and fscale are to be handled.  If one of them is given, the user is saying "I know my sample is from a distribution with the given parameter; use MLE to estimate the other parameter."
Fortunately, in this case the restricted distributions are easy to handle.  For consistency with old established behavior, if both floc and fscale are given, we raise an error.  If just fscale is given, then the location is estimated by the median of data, and we're done.  (This works because the MLE for the location is independent of the scale.)  If just floc is given, then the scale is the mean absolute deviation of the data from the given floc.  In other words, whether loc is estimated as the median or given by the user, the scale (if not provided by the user) is the mean absolute deviation of the data from loc.
I have implement the MLE for Laplace in my mpsci library. The mle function is in the file 'laplace.py'.  The code in mpsci doesn't raise an error if both the parameters are fixed--it just returns the given parameters without doing anything--so the logic here might be a little different than what we use in the scipy code, but it shows one way to handle fixed parameter values.  (The names are different: setting floc or fscale in the scipy code corresponds to setting mu or b, respectively, in the mpsci code.)
Here's a simple test case:  suppose data = np.array([1.0, 1.0, 3.0, 5.0, 8.0, 14.0]).   The unrestricted MLE for this data is loc=4 and scale=11/3.  With floc=6, however, the estimate of the scale should be 4.

This is not how floc and fscale are to be handled.

I think that's my fault. I didn't stop to think about whether the analytical formulas could still be used.

If one of them is given, the user is saying "I know my sample is from a distribution with the given parameter; use MLE to estimate the other parameter."

Using the super method to do the job is not inconsistent with that, though...

There is no need to fall back on the generic implementation here.  All the cases can be handled explicitly.

In pseudocode:
if both floc and fscale given:
    error

if floc given:
    loc = floc
else:
    loc = median(data)

if fscale given:
    scale = fscale
else:
    scale = mean absolute deviation of data from loc

return loc, scale

There is no need to fall back on the generic implementation here. All the cases can be handled explicitly.

@WarrenWeckesser Thank you for clarifying!

@swallan During our meeting we discussed a possibility described below. Consider the following:

While holding the location fixed at a given value, you fit the scale using numerical optimization (default implementation).
Given the value of the location, fit the scale according to the analytical expression.
Can the value of the objective function in 1 be lower than the objective function in 2.

I think you mentioned that you had a numerical example? Can you provide it?

I would have assumed this was possible because the analytical expression for the scale was derived when there were two decision variables. For a general optimization problem, I would not assume that:
(a) a formula for the optimal value of a parameter (e.g. the scale) that is derived when two parameters are free (e.g. the location and scale) would be the same as
(b) a formula for the optimal value of a parameter (e.g. the scale) that is derived when only that parameter is free and a second parameter (e.g. the location) is an arbitrary value.
That's why I originally suggested that you fall back on the default numerical implementation, fixing one parameter, if one parameter is given. I didn't think the formula for the second parameter would be valid.
However, it sounds like @WarrenWeckesser has looked into the math and found that in this case, (a) and (b) above are in fact the same. The problems happen to decouple.

@mdhaber I must have been mistaken, I thought that I had seen this happen but wasn't able to replicate it. It appears that the optimal value is always given by the MLE formula, fixed parameters or not.
I tested this by individually fixing both floc and fscale with mle and the optimizer. The results were the same.

OK! Good to know.

Matt and Sam,
Sorry for some of my very terse comments earlier. Now I'll probably err in the other direction and say too much...
In my previous comments, I was focused on Laplace specifically. In general, Matt's points are correct:

For other distributions, we won't necessarily have explicit formulas for all the possible combinations of some parameters being fixed and some not.  When we don't have a formula, we fall back to the numerical optimization.  Because of the way SciPy continuous distributions are parametrized (i.e. they all have location and scale parameters), I suspect a typical case will be that we don't have a formula for the case where no parameters are fixed, but we have one for, say, the location being fixed.  That's the case for the gamma distribution, for example: if the location is not fixed, gamma_gen.fit falls back on the generic optimization.
In general (i.e. for other distributions), if we have an explicit formula for the case where no parameters are fixed, we can't necessarily use those same formula when one or more parameters are fixed.  Whether or not that works depends on the specific properties of the log-likelihood function of that distribution. In the specific case of Laplace, it works.

Some more comments on the MLE for Laplace (for conciseness, I'll use m for the location parameter and b for the scale parameter):
The log-likelihood function for the Laplace distribution for the parameters m and b, and vector of values x with length n, is
ll(m, b; x) = -n*log(2*b) - (1/b)*sum(abs(x[i] - m))

Usually to find the extreme values of such function, one would take the partial derivatives with respect to m and b, set them equal to 0, and solve for m and b to find the candidate extreme values.  The partial with respect to b is
-n/b + (1/b**2)*sum(abs(x[i] - m))

Set that equal to 0; regardless of whether m is fixed or free, we can then solve for b to obtain:
b = sum(abs(x[i] - m))/n

Technically, we can't differentiate ll with respect to m because the absolute value function is not differentiable at 0.  In this case, it is worthwhile to look at the behavior of the expression sum(abs(x[i] - m)) considered as a function of m.  The following plots show two examples,
one with x = [-4, -3.5, -0.5, 1.2, 3.5], so len(x) = 5 and one with x = [-4, -3.5, -0.5, 1.2, 3.5, 4.1], so len(x) = 6.

When len(x) is odd, there is a unique minimum at the median of x.  When len(x) is even, graph has a flat segment--any value of m here minimizes sum(abs(x[i] - m)).  The conventional definition of the median is to pick the midpoint of this interval, and that corresponds to the midpoint of the flat region of the graph.  So median(x) is a minimizer of sum(abs(x[i] - m)); when len(x) is odd, it is the unique minimizer.
Now look at ll(m, b; x); it has the form F(b) - G(b)*H(m), where G(b) > 0 and H(m) >= 0 for all m.  If (b, m) maximizes ll, them m must minimize H(m).  So we can choose m = median(x) as a MLE for Laplace.  This argument applies whether we consider b fixed or free.
The conclusion of all this is summarized in the pseudocode in my previous comment.

@WarrenWeckesser thanks. I think @swallan has responded to your comments.

@WarrenWeckesser Thanks for the specific feedback, and I think that you are right about using assert_allclose(...., atol=1e-15, rtol=1e-15) instead of assert_equal.  Similarly, a random failure popped up with a <= that I had used, so I modified that to use np.allclose with those tolerances.
I also added the note to the docstring, and addressed the inline changes you suggested.

@WarrenWeckesser Are you happy here now?

@tylerjereddy, I just got back to this a few minutes ago.  I give an update ASAP.

When the tests finish, I'll squash and merge.

Merged.  Thanks @swallan, and thanks @mdhaber for reviewing.

I'm taking a second pass through gh-11782, so I thought I should report the results of a test of this fit override. Methods will be described in gh-11782.
For all combinations of fixed/free, this PR is faster. Typically, something like:

It always improves (or maintains when numerical optimization is very good) the NLLF of the fit:

I don't think we need to revisit this; it's looking very good.


Behance clone

Hello, I want to clone this site, GSSOC'22
https://www.behance.net/

@gurjeetsinghvirdee can you assign me this issue?

@gurjeetsinghvirdee can you assign me this issue?

Yeah sure go ahead @NourYoussry

are you still working on this issue @NourYoussry

are me PR bnara tha😒


Auto-generating primitive collections for int and char keys.

Motivation:
Currently we have IntObjectMap/HashMap, but it will be useful to support other primitive-based maps.
Modifications:
Moved the code int the current maps to template files and run Groovy code from  common/pom.xml to apply the templates.
Result:
Autogeneration of int and char-based hash maps.

@Scottmitch care to take a look when you have a moment?

@nmittler - Done with first pass.  Few questions.  Looks good!

@Scottmitch PTAL

@Scottmitch added underscore ... PTAL

@normanmaurer do you want to take a look at this as well?

@nmittler yes... doing now :) Sorry for slacking ;)

@nmittler just some small comments. Great work as usual :)

@Scottmitch @normanmaurer PTAL

@nmittler - Done with another round...few minor comments...LGTM!

@Scottmitch @normanmaurer anything else or shall I cherry-pick?

@nmittler looks good to me but let @trustin also review please :)

@nmittler - I'm satisfied.  Great work!

@trustin do you want to take a look before I cherry-pick?

@nmittler Yes. Will take a look today. Thanks for the heads up!

@nmittler Left a comment about moving the generator script somewhere else. It looks great besides that. Great job!

@trustin moved the groovy code to a file. Shall I cherry-pick?

@nmittler Yes. Nice work!

Thanks for the review! cherry-picked into master and 4.1

@nmittler awesome! Beer on me next time ;)

Am 10.04.2015 um 16:58 schrieb Nathan Mittler<EMAIL_ADDRESS>Thanks for the review! cherry-picked into master and 4.1
—
Reply to this email directly or view it on GitHub.

@normanmaurer oh, you know my weakness :) SGTM!


Show Endpoint Platform

This shows the platform for a given Endpoint. We shouldn't release this
until ALB is actually the new default in API.
--
Screenshot (happy to tweak the copy):

cc @fancyremarker @sandersonet @gib

👍 , explanation looks good.

I'm upgrading this PR a little bit. Rather than just show the platform, customers can now pick their platform... and upgrade to ALB! This uses the new fancy modals with a little help from @sandersonet 😄
Screenshots:
Endpoint List:

Upgrade modal:

New Endpoint menu (this is starting to be a little crowded 😢 ):


Problem autocrafting when crafting pattern involves Processing as well

Issue description:
When trying to autocraft a pattern that has multiple pieces that need to be processed (such as an octadic capacitor) the alloy smeltery only processes one item instead of all needed, never allowing the autocrafting to finish. This also happens with any pattern that includes multiples of the same item that needs to be processed such as item conduit speed upgrades with electrical steel. I have not tested this with another mods machines, only the alloy smelter. I also tried importing to a chest with an importer and an importer attached directly to the alloy smelter. My processing does go across a network transmitter about 66 blocks away from my controller as well if that is relevant at all but all the crafters are on the same side of the network receiver.
What happens:
When trying to autocraft an octadic capacitor, the crafter hangs on the double layer capacitor because it only allows one energetic alloy to be processed (when there are none in my system)  instead of the two necessary for the double layer capacitor. I have no issue with double layer capacitors individually autocrafting, only when they are part of a larger pattern that needs them. This also happened with the item conduit speed upgrade from enderio.
What you expected to happen:
Two energetic alloys to be processed, allowing the pattern to continue to craft.
Steps to reproduce:

Create crafter with alloy smelter attached to it.
Create crafter to craft all necessary parts of an octadic capacitor
Create all patterns to autocraft an octadic capacitor from raw materials
Attempt to autocraft.

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge:<IP_ADDRESS>6
Refined Storage:1.0.1

Does this issue occur on a server? Not sure this was a single player world

same issue here

I'll look at it in a few hrs, temperature here make any serious work impossible unfortunately

Please try this build and let me know if it works:
refinedstorage-1.0.2.zip
(rename .zip to .jar)

Will try it when I get home but it will be later tonight. Thanks

Actually, I can't reproduce this issue (a classic)
I set up autocrafting for the speed upgrades from Ender IO and it just crafted the 4 upgrades properly...

Did that include having to process the electrical steel in an alloy smelter as a part of that process? Because that is where mine is hanging up.

Okay, the build I just gave you didn't really fix it. But I fixed in the dev branch. Expect a release in a few hrs :)
Thanks for reporting


Support send data to remote Otel collector

This epic describe the changes required to allow Kubewarden to integrate with other kinds of OpenTelemetry collector deployments modes. Right now, the only supported  is to send data to OpenTelemetry collector running as sidecar. However sidecar does not allow fetch metadata from the Kubernetes cluster. Therefore, we decided to review how we integrate with Otel collectors. This is a spin off of this issue
This epic has  two major goals:

Keep supporting the current way of integration using Otel collector sidecar with the minimum changes
Support Kubewarden stack send the metrics and tracing data to a remote Otel collector running in the cluster (e.g. deaemonset or deployment) using a secure GRPc communication (TLS)

To allow us to integrate better with Otel collectors we need to allow the Kubewarden controller and the Policy server created by it to send data to collectors running somewhere else in the cluster. This means that we need to configure the exporter in the controller and the policy server to send data to a remote endpoint. Gladly, most of the configuration of the used libraries (go and rust) allow the users to configure the endpoint using environment variables. Besides that, controller already have a CLI flag that allow Otel endpoint customization which the default values is localhost (the sidecar endpoint). Policy server code does not have this CLI flag. But the rust library allow customization using environment variables
For the Go code, both traces and metrics exporters in the OpenTelemetry packages have environment variables used to define endpoints, certificates and many more configuration to send data to the Otel collector. For example:

OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT (default: "https://localhost:4317") - target to which the exporter sends telemetry. The target syntax is defined in https://github.com/grpc/grpc/blob/master/doc/naming.md. The value must contain a scheme ("http" or "https") and host. The value may additionally contain a port, and a path. The value should not contain a query string or fragment. OTEL_EXPORTER_OTLP_TRACES_ENDPOINT takes precedence over OTEL_EXPORTER_OTLP_ENDPOINT. The configuration can be overridden by WithEndpoint, WithEndpointURL, WithInsecure, and WithGRPCConn options.

OTEL_EXPORTER_OTLP_CERTIFICATE, OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE (default: none) - the filepath to the trusted certificate to use when verifying a server's TLS credentials. OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE takes precedence over OTEL_EXPORTER_OTLP_CERTIFICATE. The configuration can be overridden by WithTLSCredentials, WithGRPCConn options.

Therefore, we can use this environment variables to configure the exporter with minimum need of change in the code base. But it's necessary to configure this values in the controller deployment and allow the mounting of the certificate files in the pods.
For the Rust code base, it's also possible to define the endpoint using environment variables. However, it's not possible to define the path of the certificate to be used as in the Go packages (there is an open issue for that). Therefore, the policy server code should be change to add the certificate defined by the user using a environment variable or a CLI flag.
Acceptance criteria

[x] https://github.com/kubewarden/kubewarden-controller/issues/933
[x] https://github.com/kubewarden/helm-charts/issues/591

This issue is a duplicate of this.

[x] https://github.com/kubewarden/policy-server/issues/993
[x] kubewarden/docs#475
[x] Add integration test for the new integration with remote Otel collector

This is an exhaustive card, thanks for the research work @jvanz :clap:
I envision the user setting the otel configuration values (the endpoint address and the name of the Secret/ConfigMap holding the CA) with our helm chart. This will then be translated by the helm chart either using env variables or flags.
I think the tricky part is how to propagate that to the policy-server, especially the CA to be trusted. That's because the kubewarden-controller isn't aware of the origin of the CA (what is the name and namespace of the Secret/ConfigMap).
Another option could be to let the user configure this detail on the PolicyServer CRD. The kubewarden defaults helm chart could take care of that with the helm chart, but the user would be in charge of managing this detail for their custom PolicyServer instances.
Each approach has its pros and cons. I think we should discuss about them together

Good spike!
I vote also for exposing the endpoint and CA config via our helm charts.

I think the tricky part is how to propagate that to the policy-server, especially the CA to be trusted. That's because the kubewarden-controller isn't aware of the origin of the CA (what is the name and namespace of the Secret/ConfigMap).

We have:

name, namespace of the Secret/Configmap containing the CA, or a way to mount it.
endpoint of the collector.

I suppose we either hardcode things:

hardcoded name, and namespace of the Secret/Configmap is the same namespace of the PolicyServer (as we are doing other secrets right now, and simplifies ServiceAccounts)
endpoint expected in a specific Service for example

Or we pass them into the PolicyServer CRD. At this point I vote to bite the bullet and add it to the CRD, simplifies custom PolicyServer instances.

This is an exhaustive card, thanks for the research work @jvanz 👏

Thanks
Ah, sorry, I should be more precise what I think that we should do. The acceptance criteria is too generic.

I envision the user setting the otel configuration values (the endpoint address and the name of the Secret/ConfigMap holding the CA) with our helm chart. This will then be translated by the helm chart either using env variables or flags.

Yes, that's what I have in mind as well.

I think the tricky part is how to propagate that to the policy-server, especially the CA to be trusted. That's because the kubewarden-controller isn't aware of the origin of the CA (what is the name and namespace of the Secret/ConfigMap).
Another option could be to let the user configure this detail on the PolicyServer CRD. The kubewarden defaults helm chart could take care of that with the helm chart, but the user would be in charge of managing this detail for their custom PolicyServer instances.
Each approach has its pros and cons. I think we should discuss about them together

What I have in mind is that  we should add another field in the CRD to allow user to mount secret with the certificate in the policy server deployment. Follow the same partner we do for the environment variable.

Thanks for the spike!
It looks like we could help OpenTelemetry by adding the missing environment variables. I checked the codebase, and OTEL_EXPORTER_OTLP_HEADERS is already supported, so the issue seems to be a bit outdated.

At this point I vote to bite the bullet and add it to the CRD, simplifies custom PolicyServer instances.

On second thought, we have PolicyServer's spec.Env, we can configure the env variables there via the Controller, without adding to the CRD, if we feel it's too early for that.

@kubewarden/kubewarden-developers I've created three issue to keep track of the changes in the controller, policy server and helm chart. Can you please review it as well? Let me know if I forgot to add something from our conversation earlier Today.

This epic is done and released on Kubewarden v1.20. Closing this issue


 :\

Isn't this already implemented by https://github.com/zkat/pacote/blob/ccc6e9094c2e872f09cc12ae966a0cbc1a570eed/lib/fetchers/git.js#L165-L174 ?


Changed deactivate scope to remove scopes until the supplied scope is found

The deactivateScope handler now removes active scopes until it finds the supplied scope. This helps in scenarios where parent componentWillUnmount handlers run before the children.

Marking as dev problem. We need to talk this through a bit more, as a scenario with nested KeyboardShortcutScope components where the parent is unmounted will result in the child removing all remaining scopes (or at least up to a coincidental match on the child's scope), based on the fact that componentWillUnmount runs first on the parent and then on children.


Escaping embedded colons

Howdy! Thanks for the great project. It's made my work a lot easier.
I seem to have found a bug with escaping colons.  From what you've written here it seems like this case should work, but it doesn't seem to.
Using 1.0.6 and Scala 2.11.8
import com.softwaremill.sttp._

println(uri"localhost:8998")
// http://localhost:8998

val str = "localhost:8998"
println(uri"$str")
// http://localhost%3A8998

Is this a bug or a user error?

I just pushed this specific feature (parsing of embedded host+port combinations) today, but didn't do a release yet. The docs are probably for master, hence the confusion.
But, I'm doing a release right now, so this should be fixed very soon :)

Awesome! Thanks so much!

1.1.0 should be in central in ~15 minutes. Let me know if the above works - or if there are other problems :)

Got it and it works! Thanks!


(Bug) payment link withdrawn multiple times

Two issues happen with payment links

opening payment link when logged out lead to an error message of payment withdrawn - check if there’s some kind of a race or double withdraw because of re-render

Withdrawing payment link then going to claim screen and back to dashboard restores paymentCode in url and tries to withdraw again

there's a bug in react navigator that seems to restore the original params.
so we need some kind of memo or history of withdrawn codes for the current session
(a user should be able to press on a link again to re-try withdraw)

The user can withdraw money once, the second time an error is displayed.
Checked on the Dev env. v0.18.1-2
Devices:
Redmi Go // Android 8.1.0
Video: https://www.screencast.com/t/1WvEgckJZSn

Checked on Dev env (V 0.18.1-2)
The second withdrawal is not performed after come back to the dashboard.
Checked on:
Desktop// Windows 10 x64 // Google Chrome 81.0.4044.122
Video: https://www.screencast.com/t/Lq4RuWGrv


Fixed offloading for PyT version/ Added Attention activation offloading support/ Native FP8 support

PR does the following:

Offloading was breaking for the latest PyTorch versions because torch.compile tried to save some stray tensors which shouldn't be considered for offloading. Added that filter and fixed the issue.

Flash Attention and Fused attention can have it's input activations offloaded which wasn't supported before. Added support for that.

Native FP8 doesn't use transposed FP8 weights in a cache. Added None guards so that this doesn't break.

@sanandaraj5597 Could you clean your PR? It seems to have many unrelated commits


formalizes the host services contract, creates explicit client and server

It looks like a lot of changes, but mostly it's just been relocating and simplifying code. I also created a standard envelope used for responses from host services so that it would be easy to tell errors from success without knowing the individual service's payload type.
Because of the new interface used for host services, the request many function on messaging is currently commented out. Rather than delaying all this work for the one function, I'm okay with leaving it disabled in main for a little while until I can come up with a good way of supporting this kind of functionality for host services.

Unsure why the tests are failing, and it looks like they're not failing as a result of the new code here. Given people's lack of availability this week, I wonder if it makes sense to merge this and then fix the tests in a separate effort?

This addresses #170


TLSEXT_INDEX in  ssl/ssl_local.h vs  ssl/statem_ntls/extensions.c

hi,
in version 8.2.1:
there is no match between definition of enum TLSEXT_INDEX and the declarations in ssl/statem_ntls/extensions.c.
(unlike ssl/statem/extensions.c)
on 14th place in  ssl/ssl_local.h there is delegated_cred extension, while in .c file  it is extended_master_secret.
as result some of following definitions are bad, and it is not possible to access [TLSEXT_IDX_supported_versions] .
can you please tell , what is the intention of this?

It's a bug. Has been fixed in 8.3.0


feat: add endpoint to delete draft project

Summary by CodeRabbit

New Features

Introduced functionality to delete draft projects along with related entities.
Added a new GraphQL mutation for deleting draft projects.
Enhanced user feedback with new error messages for deletion permissions.

Bug Fixes

Improved test coverage for draft project deletion scenarios, ensuring accurate handling of various cases.

Documentation

Updated localization files in English and Spanish to reflect new error messaging related to project deletion.

#1519

@Reshzera Can you fix the CI/CD test workflow, it's failing

@mohammadranjbarz fixed

@Meriem-B Can you review this?

The frontend change related to delete draft donation hasn't been merged on staging , am I right?
and it isn't in scope of this release ?
@Reshzera @mohammadranjbarz

The frontend change related to delete draft donation hasn't been merged on staging , am I right? and it isn't in scope of this release ? @Reshzera @mohammadranjbarz

@maryjaf Yes just the backend is on production, the FE side has not been implemented yet
https://github.com/Giveth/giveth-dapps-v2/issues/1271


[Snyk] Upgrade @alaskaairux/design-tokens from 3.11.0 to 3.13.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @alaskaairux/design-tokens from 3.11.0 to 3.13.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 4 versions ahead of your current version.
The recommended version was released 2 months ago, on 2023-03-27.

Release notes

Package name: @alaskaairux/design-tokens

3.13.0 - 2023-03-273.13.0 (2023-03-27)
Features

grid: create new token values #106 (b20be70)

3.12.2 - 2023-02-063.12.2 (2023-02-06)
Bug Fixes

json: add reference and version data to tokens #96 (52081b3)

3.12.1 - 2022-12-133.12.1 (2022-12-13)
Bug Fixes

tokens: re-import deprecated dark tokens #91 (86e3f6c)

3.12.0 - 2022-12-133.12.0 (2022-12-13)
Features

theme: add build configuration for dark theme tokens #88 (87d8d75)

3.11.0 - 2022-10-063.11.0 (2022-10-06)
Features

emphasis: add new semantic text color #83 (d44a1ea)

    from @alaskaairux/design-tokens GitHub release notes

Commit messages

Package name: @alaskaairux/design-tokens

df8392f chore(release): 3.13.0 [skip ci]
7285c31 refactor(grid): update object names for new tokens
b20be70 feat(grid): create new token values #106
b60fc6f chore(release): 3.12.2 [skip ci]
61a7e76 refactor(tier status): revert deprecation of on-dark tokens
4293274 docs(readme): correct malformed table
52081b3 fix(json): add reference and version data to tokens #96
d857b3f chore(deps): bump json5 from 2.2.0 to 2.2.3
6089651 docs(issues): update issue templates
6d3871f chore(deps): update workflow dependencies
e708974 docs: update readme status badge
18c737a chore(deps): bump minimatch from 3.0.4 to 3.1.2
3b48082 chore(release): 3.12.1 [skip ci]
86e3f6c fix(tokens): re-import deprecated dark tokens #91
0af83f8 chore(release): 3.12.0 [skip ci]
87d8d75 feat(theme): add build configuration for dark theme tokens #88
f349c22 refactor(theme): separate color tokens for light and dark themes #88

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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


Deleting games very quickly leads to 500 Error

create 10 games
go to overview
terminate all games
delete all games as fast as possible

Not happening for me with about 50 games

Could have to do something with the cpu capacity or the network communication of the machines we are using when developing (I am using Intel i3 8th generation with localhost server)

Im using an intel i7-7700k on localhost as well. Can someone else reproduce this error with other hardware?

was able to reproduce, this is not because of the dev system, it is because the hash map for storing games does not handle concurrent requests
java.util.ConcurrentModificationException
	java.base/java.util.HashMap.forEach(HashMap.java:1344)
	com.csselect.database.mysql.MysqlDatabaseAdapter.getTerminatedGames(MysqlDatabaseAdapter.java:479)
	com.csselect.database.mysql.MysqlOrganiserAdapter.getTerminatedGames(MysqlOrganiserAdapter.java:106)
	com.csselect.user.Organiser.deleteGame(Organiser.java:114)
	com.csselect.API.APIFacadeOrganiser.deleteGame(APIFacadeOrganiser.java:170)
	com.csselect.API.httpAPI.GameManagement.delete(GameManagement.java:84)
	com.csselect.API.httpAPI.GameManagement.post(GameManagement.java:76)
	com.csselect.API.httpAPI.Servlet.doPost(Servlet.java:102)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

I'm gonna change the map to a concurrent Implementation


Controls look wonky

In addition, the custom download control is white while the other controls are grey/black:

The wonky look is due to a broken link to the OL CSS.


Tele5 fails with 403: Forbidden

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.03.08
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

C:\youtube-dl>youtube-dl -v --cookies cookies-tele5.txt --no-check-certificate https://www.tele5.de/filme/schlefaz-ich-ein-groupie/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--cookies', 'cookies-tele5.txt', '--no-check-certificate', 'https://www.tele5.de/filme/schlefaz-ich-ein-groupie/']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[Tele5] schlefaz-ich-ein-groupie: Downloading webpage
[Nexx] 1612864: Downloading JSON metadata
[Nexx] 1612864: Downloading m3u8 information
[Nexx] 1612864: Downloading MPD manifest
[Nexx] 1612864: Downloading ISM manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'http://tele5nexx.akamaized.net/1afc9ae5-1bfc-4426-8d8c-f354531988bb/1612864_src_1024x576_1500.mp4'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 1926, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 1865, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\common.py", line 366, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\http.py", line 341, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\http.py", line 109, in establish_connection
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 2238, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden
Description

Trying to download video from Tele5 fails with 403 forbidden, as shown above.

I don't think this is a duplicate of #22810. #22810 was resolved by adding cookies. Note that cookies are included in the log above, and the error still occurs, suggesting a different root cause.


Binary glTF

Very impressive work, @pissang ! Would love to have the option to convert to binary glTF as well. Is this something you will add soon?

Thanks! @nickkraakman . Currently binary glTF export is in the viewer http://pissang.github.io/qtek-model-viewer/editor and native app. Will also add it to the converter later:)

@pissang that is very good news, since we really wish to integrate glTF into our augmented reality workflow! And what about compression using WEB3D_quantized_attributes?

WEB3D_quantized_attributes is already supported in the converter, with -q --quantize argument.

 Thanks so much for your great work.

Hi @pissang, I have created a microservice for our AR platform using your fbx2gltf converter, and it works amazingly well! We will import the converted models into the Unity game engine in runtime, which is finally possible thanks to glTF.
However, importing the models is a lot easier if we have the models in GLB format. Do you have a rough idea on when you plan to implement the GLB conversion option? We would be eternally grateful :-)

Hi @nickkraakman. Glad to hear it works well for your project!  I spend all time on another project these weekdays. Will start developing GLB export from this weekends.
BTW is it needed for your project to embed the images in the GLB file?

Hi @pissang, that timeline would be perfect! Really appreciate all your effort.
For our use case, the GLB would have to include the images as well, yes, since we want to import this one GLB file and have all the assets of the model inside of it. This way we have to make just one call to our server instead of multiple calls.
Please let me know if you need more info!

Hi @nickkraakman , I just add GLB export in the latest fbx2gltf script https://github.com/pissang/qtek/blob/master/tools/fbx2gltf.py. -b --binary is the argument.

Hi @pissang, you rock! Thank you so much for this fast implementation.


Alpine 3.21

I think there should be a document recording all tasks need to be checked/done regularly and when they were done last time, I could only guess some:

dependency update

language (golang, nodejs)
go, js, and other packages
docker images

crowdin sync
gitea.com / demo update
release packages: snap, homebrew, etc


Finished eslint setup

Please review the eslint setup and do you like the rules. Are there any other rules you want me to add? The eslint file is .eslintrc.json

What rules do u have when you code. Do u like semi colons? Do u like to have single quotes or double quotes?

Also do u prefer single or double quotes?

What rules do u have when you code. Do u like semi colons? Do u like to have single quotes or double quotes?

I learned to always use semi colons, even though JavaScript doesn't need them, I learned that it was good practice to use them anyways.

Also do u prefer 2 or 4 indention?

In what context? For what?

4 spaces is a tab and 2 spaces is a half a tab. Right now its 4 spaces aka a tab.

Oh ok, yeah tab, I always use a full tab, looks much cleaner in my opinion

Would you like me to change it to double quotes its currently single?
Also the semicolon are currently not wanted do u want it?

I'm fine with either single quotes or double quotes, so I don't really mind, and not having the semi colon for me is fine too, I just learned that it was good practice

ok i have added the double quotes and semi colon rules as they are better practice

Alright, sounds good

Does it let you merge the PR?


A number of common data type not supported

Hi,
I have done some testing on the insert but I encountered number of issues and would like to lodge a reports.

GUID is not supported and will throw error.
Enum type also not supported.
IList is not supported
Dictionary and SortedList is not supported
List is also not supported

Apart from the issues listed. The data type is not similar and the figure had been rounded up as well. Attached here with the screenshot and the original source code.

public static void TestOrientDBObjectTypeSupported()
{
var GlobalTestDatabaseName = "TestDatabaseName";
var GlobalTestDatabaseType = ODatabaseType.Graph;
var GlobalTestDatabaseAlias = "TestDatabaseNameAlias";
        _server = new OServer(_hostname, _port, _rootUserName, _rootUserParssword);
        //if (_server.DatabaseExist(GlobalTestDatabaseName, OStorageType.PLocal))
        //{
        //    _server.DropDatabase(GlobalTestDatabaseName, OStorageType.PLocal);
        //}

        //_server.CreateDatabase(GlobalTestDatabaseName, GlobalTestDatabaseType, OStorageType.PLocal);
        OClient.CreateDatabasePool(
            _hostname,
            _port,
            GlobalTestDatabaseName,
            GlobalTestDatabaseType,
            _username,
            _password,
            10,
            GlobalTestDatabaseAlias
        );
        DateTime startTime = DateTime.Now;
        Console.WriteLine("Start Time: " + startTime.ToLongTimeString());

        using (ODatabase database = new ODatabase("TestDatabaseNameAlias"))
        {
            var employee = new DemoEmployee();
            employee.Name = "Janet";
            employee.Age = 33;
            employee.SomeVeryLongNumber =<PHONE_NUMBER>1234567;
            employee.BirthDate = new DateTime(2015, 1, 24, 2,2,2);
            employee.Salary = (decimal)23434.1234567891;
            employee.Commission = (double)23434.1234567891;
            employee.Allowance = (float)3434.1234567891;
            employee.IsMarried = true;
            employee.SomeIntegerList = new List<int>();
            employee.SomeIntegerList.Add(1);
            employee.SomeIntegerList.Add(2);
            employee.SomeIntegerList.Add(3);
            employee.SomeIntegerArrayList = new int[3] { 4, 2, 3 };
            employee.SomeDecimalList = new List<decimal>();
            employee.SomeDecimalList.Add((decimal)23434.1234567891);
            employee.SomeDecomeArray = new decimal[3] { (decimal)23434.1234567890, (decimal)23434.1234567890, (decimal)23434.1234567890 };
            employee.Kids = new List<DemoChild>();
            var kid = new DemoChild();
            kid.Name = "Janet";
            kid.Age = 33;
            kid.SomeVeryLongNumber =<PHONE_NUMBER>1234567;
            kid.BirthDate = new DateTime(2015, 1, 24, 2, 2, 2);
            kid.Salary = (decimal)23434.1234567891;
            kid.Commission = (double)23434.1234567891;
            kid.Allowance = (float)3434.1234567891;
            kid.IsMarried = true;
            kid.SomeIntegerList = new List<int>();
            kid.SomeIntegerList.Add(1);
            kid.SomeIntegerList.Add(2);
            kid.SomeIntegerList.Add(3);
            kid.SomeIntegerArrayList = new int[3] { 4, 2, 3 };
            kid.SomeDecimalList = new List<decimal>();
            kid.SomeDecimalList.Add((decimal)23434.1234567891);
            kid.SomeDecomeArray = new decimal[3] { (decimal)23434.1234567890, (decimal)23434.1234567890, (decimal)23434.1234567890 };
            employee.Kids.Add(kid);
            //employee.SomeIListInteger = new List<int>();
            //employee.MyKeyValues = new Dictionary<int, string>();
            //employee.MyKeyValues.Add(1, "Name");
            //employee.SomeIListInteger.Add(7);
            database.Insert<DemoEmployee>(employee).Run();
        }

        DateTime endTime = DateTime.Now;
        TimeSpan duration = endTime - startTime;
        Console.WriteLine("End Time: " + endTime.ToLongTimeString());
        Console.WriteLine("Total time taken: " + duration.TotalSeconds);
    }

public class DemoChild
{
public string Name { get; set; }
    public int Age { get; set; }

    public long SomeVeryLongNumber { get; set; }

    public decimal Salary { get; set; }

    public double Commission { get; set; }

    public float Allowance { get; set; }

    public DateTime BirthDate { get; set; }

    public bool IsMarried { get; set; }

    public List<int> SomeIntegerList { get; set; }

    public int[] SomeIntegerArrayList { get; set; }

    public List<decimal> SomeDecimalList { get; set; }

    public decimal[] SomeDecomeArray { get; set; }
}

public class DemoEmployee
{
    //public Guid SomeOtherId { get; set; }

    public string Name { get; set; }

    public int Age { get; set; }

    public long SomeVeryLongNumber { get; set; }

    public decimal Salary { get; set; }

    public double Commission { get; set; }

    public float Allowance { get; set; }

    public DateTime BirthDate { get; set; }

    public bool IsMarried { get; set; }

    public List<int> SomeIntegerList { get; set; }

    public int[] SomeIntegerArrayList { get; set; }

    public List<decimal> SomeDecimalList { get; set; }

    public decimal[] SomeDecomeArray { get; set; }

    public List<DemoChild> Kids { get; set; }
    //public IList<int> SomeIListInteger { get; set; }

    //public Dictionary<int, string> MyKeyValues { get; set; }

    // public Color MyFavoriteColor { get; set; }
    //public enum Color
    //{
    //    Blue, Red
    //}
}

@gohsianghwee
GUID saved as string in database,
ENUM saved as string in database
WHDYT

Hi GoorMoon,
I agree with you that GUID may be able to stored as string though it would be good if it can be handled by the driver, however, I feel Enum serialization should be handled by .Net driver itself. What is WHDYT by the way?
Cordially,
Goh

Hi,
of course it would be handled by the driver,  I ask you what do you think to store such types as a string in the database?

HI Goormoon,
I have no problem if the data will be stored as string in the OrientDB eventually. So long the .Net driver can serialize and deserialize it automatically, developers will have less job to do the conversion in manual.

@gohsianghwee,
Could you check again ?

Ho GoorMoon,
Thanks. It's working now but with little problems. The property for SomeVeryLongNumber value is<PHONE_NUMBER>1234567 but it was stored as<PHONE_NUMBER>1234568. The other problem is the Salary is decimal type but at the end stored as double. I am ok with that as the figure is exactly the same. That maybe because of the .Net type and OrientDB type are different. However, Allowance is float type 3434.1234567891 and when it was stored it ended up 3434.124 float type. I would suggest to store it as double instead as developer won't aware of the problem.
By the way, where shall I post OrientDB related question especially on performance on querying. I tried to post it here http://stackoverflow.com/questions/28205406/orientdb-slow-query-performance but seems like no one reply. Could you shed a light? Thanks.

Hi @gohsianghwee ,
orientdb-studio has a bug not show correct type,
orientdb has a bug can't store decimal values #3483.
Have some issues with float type numbers that rounded on the orientdb side.
store float type as double can cause some conversion problem on the driver side.
OrienDB community has excellent user group https://groups.google.com/forum/#!forum/orient-database where you can post questions

Hi GoorMoon,
Noted with thanks. May I suggest if this is the case all the .Net type on float and decimal store as double type in OrientDB instead. As I find it the most accurate of all.
I will have report my performance issue to google group instead. Thanks again for your support.

@poindextrose ,
WDYT about using double as replacement for (float,decimal) ?

Do you mean .Net type using double? That's hard because float and double type always give a wrong answer for normal financial computation. It's more suitable for scientific computation.
However, I think it is good if the type is stored as double in OrientDB. So long it can be deserialized back
to .Net as decimal type.

@gohsianghwee ,
I just tried this and still has issues with DataType conversion from .Net to the OrientDB.
I better would keep this issue open and try to work with orientdb team to fix this issue.

GoorMoon,
Noted with thanks. I shall proceed on the other part of testing instead

@GoorMoon
I recommend that we use a custom BigDecimal implementation for the OrientDB decimal type because OrientDB is using java.math.BigDecimal. Here is one I found, but I haven't evaluated it fully.
I also recommend that we map .NET float to OrientDB float and .NET double to OrientDB double. I've been looking at the broken test case and I'm trying to figure out why the rounding error is happening on the float.

@poindextrose ,
I think you are right, we need to use our custom types for all OrientDB types and not only for Big Decimal. For this we must re-wright driver.

What other types do you think we need to handle as a special case? I think BigDecimal is the only real problem. As a start, we could map C# string to OrientDB BigDecimal and let the user convert the string to their own BigDecimal implementation if needed or let them convert it themselves to C# decimal if the precision loss is acceptable.
I have some ideas for translating the Link* types which I'd like to discuss soon.

I think we need abstraction over all orientdb types in that case driver will be more stable to the features changes in the orientdb side.
Today we not support RidBag and that why we have problem in links.
I think who use driver with oriendb should be aware of warriors orientdb types and complex cases.
What ideas you have about Links ?

Hi GoorMoon,
I figure out some problem with Sorted List type. It will throws error whenever there is a property for sorted list type being inserted. Would you mind to check on this? Thanks.
Cordially,
Goh

@gohsianghwee ,
Sure, do you have some test case for this ?

Hi GoorMoon,
Here you go!
public static void TestOrientDBObjectTypeSupported()
{
var GlobalTestDatabaseName = "TestDatabaseNameAlias";
var GlobalTestDatabaseType = ODatabaseType.Graph;
var GlobalTestDatabaseAlias = "TestDatabaseNameAlias";
        _server = new OServer(_hostname, _port, _rootUserName, _rootUserParssword);
        if (_server.DatabaseExist(GlobalTestDatabaseName, OStorageType.PLocal))
        {
            _server.DropDatabase(GlobalTestDatabaseName, OStorageType.PLocal);

        }

        _server.CreateDatabase(GlobalTestDatabaseName, GlobalTestDatabaseType, OStorageType.PLocal);

        OClient.CreateDatabasePool(
            _hostname,
            _port,
            GlobalTestDatabaseName,
            GlobalTestDatabaseType,
            _username,
            _password,
            10,
            GlobalTestDatabaseAlias
        );
        DateTime startTime = DateTime.Now;
        Console.WriteLine("Start Time: " + startTime.ToLongTimeString());

        using (ODatabase database = new ODatabase(GlobalTestDatabaseName))
        {
            database.Create.Class<DemoEmployee>().Run();

            for (int index = 1; index <= 10; index++)
            {
                var employee = new DemoEmployee();
                employee.SomeOtherId = Guid.NewGuid();
                employee.Name = "Janet";
                employee.Age = index;
                employee.SomeVeryLongNumber =<PHONE_NUMBER>1234567;
                employee.BirthDate = new DateTime(2015, 1, 24, 2, 2, 2);
                employee.Salary = (decimal)(3000 + (index * 3));
                employee.Commission = (double)23434.1234567891;
                employee.Allowance = (float)3434.1234567891;
                employee.IsMarried = true;
                employee.SomeIntegerList = new List<int>();
                employee.SomeIntegerList.Add(1);
                employee.SomeIntegerList.Add(2);
                employee.SomeIntegerList.Add(3);
                employee.SomeIntegerArrayList = new int[3] { 4, 2, 3 };
                employee.SomeDecimalList = new List<decimal>();
                employee.SomeDecimalList.Add((decimal)23434.1234567891);
                employee.SomeDecomeArray = new decimal[3] { (decimal)23434.1234567890, (decimal)23434.1234567890, (decimal)23434.1234567890 };
                employee.YearlyAchievement = new SortedList<int, string>();
                employee.YearlyAchievement.Add(2014, "Best Employee Award");
                employee.YearlyAchievement.Add(2015, "Best Potential Employee Award");

                employee.Kids = new List<DemoChild>();
                var kid = new DemoChild();
                kid.Name = "Janet";
                kid.Age = 33;
                kid.SomeVeryLongNumber =<PHONE_NUMBER>1234567;
                kid.BirthDate = new DateTime(2015, 1, 24, 2, 2, 2);
                kid.Salary = 3000 + (index * 10);
                kid.Commission = (double)23434.1234567891;
                kid.Allowance = (float)3434.1234567891;
                kid.IsMarried = true;
                kid.SomeIntegerList = new List<int>();
                kid.SomeIntegerList.Add(1);
                kid.SomeIntegerList.Add(2);
                kid.SomeIntegerList.Add(3);
                kid.SomeIntegerArrayList = new int[3] { 4, 2, 3 };
                kid.SomeDecimalList = new List<decimal>();
                kid.SomeDecimalList.Add((decimal)23434.1234567891);
                kid.SomeDecomeArray = new decimal[3] { (decimal)23434.1234567890, (decimal)23434.1234567890, (decimal)23434.1234567890 };

                employee.Kids.Add(kid);
                employee.SomeIListInteger = new List<int>();
                employee.MyKeyValues = new Dictionary<int, string>();
                employee.MyKeyValues.Add(1, "Name");
                employee.SomeIListInteger.Add(7);
                employee.SomeIListInteger.Add(8);
                database.Insert<DemoEmployee>(employee).Run();
            }
        }

        DateTime endTime = DateTime.Now;
        TimeSpan duration = endTime - startTime;
        Console.WriteLine("End Time: " + endTime.ToLongTimeString());
        Console.WriteLine("Total time taken: " + duration.TotalSeconds);
    }

public class DemoEmployee : AggregateRoot
{
public Guid SomeOtherId { get; set; }
    public string Name { get; set; }

    public int Age { get; set; }

    public long SomeVeryLongNumber { get; set; }

    public decimal Salary { get; set; }

    public double Commission { get; set; }

    public float Allowance { get; set; }

    public DateTime BirthDate { get; set; }

    public bool IsMarried { get; set; }

    public List<int> SomeIntegerList { get; set; }

    public int[] SomeIntegerArrayList { get; set; }

    public List<decimal> SomeDecimalList { get; set; }

    public decimal[] SomeDecomeArray { get; set; }

    public List<DemoChild> Kids { get; set; }
    public IList<int> SomeIListInteger { get; set; }

    public Dictionary<int, string> MyKeyValues { get; set; }

    public SortedList<int, string> YearlyAchievement { get; set; }

    public Color MyFavoriteColor { get; set; }
    public enum Color
    {
        Blue, Red
    }
}

Why is Guid stored as a string and not a 16-byte binary value?

to support compatibility with other drivers.
On Wed, Jun 17, 2015 at 5:37 AM cwaldron<EMAIL_ADDRESS>wrote:

Why is Guid stored as a string and not a 16-byte binary value?
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/OrientDB-NET.binary/issues/23#issuecomment-112627635
.


implement "repeatable" for ResourceTemplateModal

not 100% sure it would be part of ResourceTemplateModal or ResourceTemplateForm or what ...

test repeatable = true for type = resource

related to #346, #387

repeatable = true for type = resource works now. fixed by #533


change buildx to buildah

change buildx to buildah
Tested on fork for amd build: https://github.com/AjayJagan/activemq-artemis-self-provisioning-plugin/actions/runs/5545814880/jobs/10125267727
The arm build takes a lot of time as usual(currently triggered a build and waiting): https://github.com/AjayJagan/activemq-artemis-self-provisioning-plugin/actions/runs/5546642908/jobs/10127203403
I guess we can improve the build time in a separate pr.
The push action was successful for my repo: https://quay.io/repository/ajaganat/quay.io/ajaganat/activemq-artemis-self-provisioning-plugin?tab=tags

fails with the following error: tag quay.io//activemq-artemis-self-provisioning-plugin:dev.latest: invalid reference format
looks like it fails in the like 115 of the CI workflow file:
 image: quay.io/${{ secrets.QUAY_NAMESPACE }}/${{ env.IMAGE_NAME }}
the secrets.QUAY_NAMESPACE seems to be null for some reason

fails with the following error: tag quay.io//activemq-artemis-self-provisioning-plugin:dev.latest: invalid reference format
looks like it fails in the line 115 of the CI workflow file:  image: quay.io/${{ secrets.QUAY_NAMESPACE }}/${{ env.IMAGE_NAME }}
the secrets.QUAY_NAMESPACE seems to be null for some reason

this issue is fixed now!


Initial ADAL/MSAL switch

Adds the ADAL/MSAL switch, along with some initial support for authenticating via ADAL/MSAL

I'm fine with the changes, as they're still getting merged in the feature branch, and not the 'main' yet.
We'll be testing and validating all flows, so we can take this in.


Lead Conversion Style Missing when used in the Sales Console

Issue reported in the Power of Us Hub - https://powerofus.force.com/_ui/core/userprofile/UserProfilePage?u=00580000006kYB4&tab=sfdc.ProfilePlatformFeed&fId=0D58000003tmVhV

This looks very similar to the issue resolved for the Manage Household Page in the Partner Community #2837. The fix there was to change the outer div from slds to slds-scope.

Included in beta release 3.120 (Beta 6)

Included in production release rel/3.120


[Bug?]: Tagging torrents for cleanup after the criteria is met doesn't delete the files.

Describe the Bug
Tagging a torrent with a criteria for cleanup which is already met (for example max_seeding_time=1m, ratio=0.01,... ) doesn't remove the files from the disk, only the .torrent from the client.
So when I start downloading something and I plan to delete it after let's say it reaches ratio 2.0, but I have the scheduler run only every 24 hour, if I already reached a ratio 2+, and THEN scheduler tags it with that rule, the torrent is deleted, however the file stays on the disk.
Not sure if that's intended though.
Config
# This is an example configuration file that documents all the options.
# It will need to be modified for your specific use case.
# Please refer to the link below for more details on how to set up the configuration file
# https://github.com/StuffAnThings/qbit_manage/wiki/Config-Setup

commands:
  # The commands defined below will IGNORE any commands used in command line and docker env variables.
  dry_run: false
  cross_seed: false
  recheck: false
  cat_update: false
  tag_update: true
  rem_unregistered: true
  tag_tracker_error: false
  rem_orphaned: false
  tag_nohardlinks: false
  share_limits: true
  skip_qb_version_check: false
  skip_cleanup: false

qbt:
  # qBittorrent parameters
  host:
  user:
  pass:

settings:
  force_auto_tmm: false # Will force qBittorrent to enable Automatic Torrent Management for each torrent.
  tracker_error_tag: issue # Will set the tag of any torrents that do not have a working tracker.
  nohardlinks_tag: noHL # Will set the tag of any torrents with no hardlinks.
  share_limits_tag: seed_limit # Will add this tag when applying share limits to provide an easy way to filter torrents by share limit group/priority for each torrent
  share_limits_min_seeding_time_tag: MinSeedTimeNotReached # Tag to be added to torrents that have not yet reached the minimum seeding time
  share_limits_min_num_seeds_tag: MinSeedsNotMet # Tag to be added to torrents that have not yet reached the minimum number of seeds
  share_limits_last_active_tag: LastActiveLimitNotReached # Tag to be added to torrents that have not yet reached the last active limit
  cross_seed_tag: cross-seed # Will set the tag of any torrents that are added by cross-seed command
  cat_filter_completed: false # Filters for completed torrents only when running cat_update command
  share_limits_filter_completed: false # Filters for completed torrents only when running share_limits command
  tag_nohardlinks_filter_completed: true # Filters for completed torrents only when running tag_nohardlinks command
  cat_update_all: true # Checks and udpates all torrent categories if set to True when running cat_update command, otherwise only update torrents that are uncategorized

directory:
  root_dir: /media/downloads/
  cross_seed:
  recycle_bin: '' #/media/downloads/.RecycleBin
  torrents_dir: '' #/config/qbittorrent/qBittorrent/BT_backup
  orphaned_dir: '' #/media/downloads/orphaned_data
  remote_dir: ''

cat:
  movie-radarr: /media/movies/
  show-sonarr: /media/shows/

cat_change:

tracker:
  ncore:
    tag: nCore
  other:
    tag: other

nohardlinks:

share_limits:
  nCore:
    priority: 1
    include_any_tags:
    - nCore
    max_seeding_time: 30d
    cleanup: true
  default:
    priority: 2
    max_seeding_time: 30d
    max_ratio: 2
    cleanup: true

recyclebin:
  enabled: false
  empty_after_x_days:
  save_torrents: false
  split_by_category: false

orphaned:
  empty_after_x_days: 10
  exclude_patterns:

apprise:

notifiarr:

webhooks:
  error:
  run_start:
  run_end:
  function:
    cross_seed:
    recheck:
    cat_update:
    tag_update:
    rem_unregistered:
    tag_tracker_error:
    rem_orphaned:
    tag_nohardlinks:
    share_limits:
    cleanup_dirs:

Logs
https://gist.github.com/daviddanko/44093e58e9bcef8ef65e830d4ba92a54
Screenshots
No response
Installation
Docker
Version Number
4.1.7
What branch are you on?
master

Not a bug; nothing indicates this is a bug

WARNING!! Setting this as true will remove and delete contents of any torrents that satisfies the share limits (max time OR max ratio) It will also delete the torrent's data if and only if no other torrents are using the same folder/files.

Alright, what about this case?
Let's say I have set share limits max_ratio=1.0 with a cleanup=true and have qbit_manage running every 4 hours.
At 08:00 the script runs.
At 08:10 I download two movies, movie A and movie B.
At 11:50 movie A has a ratio of 0.95 and movie B a ratio 1.05.
At 12:00 qbit_manage runs and tags both of them with the same rule.
Movie A gets tagged, it doesn't meet the criteria (has a ratio of 0.95), so torrent + files are not deleted. Correct.
Movie B, however, meets the criteria (has a ratio of 1.05), but because it wasn't tagged beforehand, only the torrent gets deleted, files stay on the disk.
At 12:10 movie A reaches the ratio of 1.00 and both the torrent and files are deleted, which is correct, however, the files of movie B are still on the disk and will stay there forever.
Wouldn't it make sense if movie B's files would also be deleted?
I have applied the same exact ruleset for both movies, they basically reach the same ratio (which in this case is the only criteria for deletion), but because one torrent reached it 10 minutes earlier, then it stays on the disk?

The only time files will not be deleted if multiple torrents are referencing the same movie.
So if you have Movie A [Tracker 1] and Movie A [Tracker 2], and Movie B [Tracker 1].
If Movie A[Tracker 1] Meets the share limits, only the torrent will be deleted and not the files (Because the Movie A [Tracker 2] is still referencing the files)
Once Movie A [Tracker 2] meets share limits then both the torrent and files will be deleted.
If Movie B [Tracker 1] meets share limits then the torrent and files will be deleted because no other torrent is referencing movie B. Hope that helps.

I'm aware of that but that’s not what’s happening. Each and every one of my torrents reference only one movie. It’s about when is the torrent tagged. I’ve tested it a couple times and that’s my conclusion at least.

Hi bobokun, have you had the chance to check this? I've run some tests today as well and I am pretty sure that's what's happening.
Every torrent of mine references only one file. No files are referenced by two torrents. When the torrent is tagged with a rule which is already met, the files are never deleted. I have to tag the torrent before the rule is met for it to delete the files + torrent.
Just download something and don't tag it yet. Let it seed for a ratio 0.02. Then tag it with a rule which deletes the torrent when a ratio reaches 0.01. And check if the files are deleted.

Try setting the remote_dir to be the same as root_dir instead of leaving it ''

What are you tagging the torrent in order to trigger the rule to delete?

Try setting the remote_dir to be the same as root_dir instead of leaving it ''

I did it and downloaded something. Same behavior.
You can see that the ratio, which is one of the requirements for deletion, is already met before tagging. So the content files were not deleted. If I had the max_ratio set to 3.00, I would have tagged it while it has only a ratio a 2.24, as seen below, and the files would've been deleted.
|========= Cleaning up torrents that have reached ratio/seed limit for default. Priority 2 ==========|
|    Torrent Name: xxxxxxxxxxxxxxxxxx.2024.1080p.AMZN.WEBRip.1600MB.DD5.1.x264-Gala                  |
|         Tracker: http://tracker.opentrackr.org:1337                                                |
|         Ratio vs Max Ratio: 2.24 >= 2.00                                                           |
|         Cleanup: True [Meets Share Limits]                                                         |
|         Deleted .torrent but NOT content files.                                                    |
|     Scheduled Mode: Running every 1 hour.                                                          |
|====================================================================================================|

What are you tagging the torrent in order to trigger the rule to delete?

I'm afraid I don't understand the question.

Hi bobokun, have you been able to test this?

@Dark3clipse Sharing logs that show a torrent is removed but not content itself is completely and utterly useless....
as stated earlier - content is only deleted if no other torrents are referring to that data....that proof has not been provided

@daviddanko can you pull develop with the enhanced logging and re-run see if easier to debug now

using a different image would not materially change the underlying qbitmanage code


DAX Formula

Nice article guys!  I'd like to see more star schema prep articles in the future.
Also, FYI, the [AverageTicketsSold] DAX measure doesn't make much sense.  You can't divide by DISTINCT() because it returns a table - perhaps you meant DISTINCTCOUNT() ?

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

ID: 4b85a32a-639a-ff6d-36ee-220445ba3373
Version Independent ID: b5a3bd35-5f8d-cd38-4d78-ce6337412487
Content: Run analytics queries against tenant databases using Azure SQL Data Warehouse
Content Source: articles/sql-database/saas-tenancy-tenant-analytics-adf.md
Service: sql-database
GitHub Login: @stevestein
Microsoft Alias: anjangsh; billgib; genemi

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

@stevestein The example 'measure' code sample needs to be updated:
AverageTicketsSold = DIVIDE(DIVIDE(COUNTROWS(fact_Tickets),DISTINCT(dim_Venues[VenueCapacity]))*100, COUNTROWS(dim_Events))

@simonnuss Thank you so much for taking time to go over the tutorial.
In this equation, we are trying to calculate the average number of tickets sold for each venue. This requires dividing the number of tickets sold for the venue by the total capacity of the venue. The total capacity is venue capacity * number of events hosted by the venue. For the above DAX measure, DISTINCT() will return a single value (which is venue capacity) not a table for each venue. If DISTINCTCOUNT() is used, the result will be 1 because each venue has 1 value for the venue capacity.
Please reach out at<EMAIL_ADDRESS>if there is still any confusion.

I don't know anything about your dataset, but if you are trying to
calculate the average number of tickets sold for each venue then you can
try something like the following:
AVERAGEX( SUMMARIZE( TableName, TableName[Venue Name] ), CALCULATE( SUM(
TableName[Tickets Sold] ) ) )
I have never seen a division by a table function, e.g., DISTINCT(), in my
years of using DAX.  Sure, it may work in your example but it will not work
in most cases.  DISTINCT() is a table function that returns a table.  See
the documentation here
http://msdn.microsoft.com/en-us/query-bi/dax/distinct-function-dax.  If
you still wish to use DISTINCT() for some reason, then I suggest wrapping
it in a COUNTROWS() to guarantee the return of a scalar value.
Thanks,
Simon
On Fri, May 11, 2018 at 2:26 PM, anumjs<EMAIL_ADDRESS>wrote:

@simonnuss https://github.com/simonnuss Thank you so much for taking
time to go over the tutorial.
In this equation, we are trying to calculate the average number of tickets
sold for each venue. This requires dividing the number of tickets sold for
the venue by the total capacity of the venue. The total capacity is venue
capacity * number of events hosted by the venue. For the above DAX measure,
DISTINCT() will return a single value (which is venue capacity) not a table
for each venue. If DISTINCTCOUNT() is used, the result will be 1 because
each venue has 1 value for the venue capacity.
Please reach out at<EMAIL_ADDRESS>if there is still any
confusion.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/7985#issuecomment-388446895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXY-dBjvgaJ6T7lRgL3d2lgoI152Mqm6ks5txde6gaJpZM4TvjDV
.

@simonnuss Thanks for the feedback. Let me test the DAX that you have suggested to calculate the average number of tickets and then follow up on this thread. We are using a sample data set but I do want to make sure that the query works in most cases for calculating averages.

@anumjs is this ready to be closed? triage team, please assign this item to @anumjs

@Mike-Ubezzi-MSFT - can we reassign or close this one?

Assigned to @anumjs to confirm functionality. If this is ready to be closed, please let us know. Thank you!

The relevant change is made in the doc. The PR just merged so this issue is ready to be closed.Thanks!

@simonnuss We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Update submodule pointer for doc/CMakeModules

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Not super important, but should be done after release 1.1.0 to keep up with the changes in the NOAA-EMC CMakeModules repository.
Additional context
n/a

Closed via https://github.com/NOAA-EMC/spack-stack/pull/390


Trying to get PR #262 to pass CI tests.

retest this please

Codecov Report

Merging #294 into master will decrease coverage by 0.82%.
The diff coverage is 8.16%.

@@             Coverage Diff              @@
##             master     #294      +/-   ##
============================================
- Coverage     46.49%   45.66%   -0.83%
+ Complexity      206      200       -6
============================================
  Files            96      101       +5
  Lines          1712     1732      +20
  Branches        181      184       +3
============================================
- Hits            796      791       -5
- Misses          859      883      +24
- Partials         57       58       +1

Impacted Files
Coverage Δ
Complexity Δ

...ava/com/redhat/ipaas/github/GitHubServiceImpl.java
0% <ø> (-21.67%)
0 <0> (-9)

...a/com/redhat/ipaas/github/GitHubConfiguration.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ava/com/redhat/ipaas/github/GitHubServiceNoOp.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...est/v1/handler/integration/IntegrationHandler.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...m/redhat/ipaas/openshift/OpenShiftServiceImpl.java
10.65% <0%> (-1.28%)
0 <0> (ø)

...github/backend/KeycloakTokenAwareGitHubClient.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...om/redhat/ipaas/openshift/OpenShiftDeployment.java
0% <0%> (ø)
0 <0> (?)

...re/src/main/java/com/redhat/ipaas/core/Tokens.java
0% <0%> (ø)
0 <0> (?)

...m/redhat/ipaas/openshift/OpenShiftServiceNoOp.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ore/src/main/java/com/redhat/ipaas/core/Names.java
72.72% <72.72%> (ø)
3 <3> (?)

... and 6 more

Continue to review full report at Codecov.

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

retest this please


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.5 to before v5.10.83",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=efc2214b6047b6f5b4ca53151eba62521b9452d6",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e65a8707b4cd756d26d246bb2b9fab06eebafac1"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "efc2214b6047b6f5b4ca53151eba62521b9452d6",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "e65a8707b4cd756d26d246bb2b9fab06eebafac1",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ice: avoid bpf_prog refcount underflow\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.83 by commit e65a8707b4cd756d26d246bb2b9fab06eebafac1, it was introduced in version v5.5 by commit efc2214b6047b6f5b4ca53151eba62521b9452d6. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002474


misc: update pypi

Influenced from: https://pypi.org/project/numpy/

@FabioLuporini merge?

Thx, merging


Unable to resolve ReactNativeART.js

Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 2.53 GB / 11.89 GB
Binaries:
Yarn: 1.9.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
Watchman: 4.9.4 - E:\Downloads\Compressed\watchman\watchman.EXE
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-173.4720617
##Package
{
"name": "Chat",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"firebase": "^5.5.3",
"react": "^16.5.2",
"react-native": "0.57.2",
"react-native-gifted-chat": "^0.4.3",
"react-navigation": "^2.17.0"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.48.0",
"react-test-renderer": "16.5.0"
},
"jest": {
"preset": "react-native"
}
}
Description
i am just using firebase and react-native-gifted-chat , when i try to build that error comes any solution please ?

I faced this problem too with react-native 0.57.2
You can downgrade to 0.52.1 and everything works like a charm or you can follow this

I faced this problem too with react-native 0.57.2
You can downgrade to 0.52.1 and everything works like a charm or you can follow this

i got this error this time :'(

IS this after downgrading? Or did you follow the instruction to fix the reactnativeART.js error?

Issue #21490 deals with the error you are facing currently. If you are on 57.2, this  solution in comment seems to work for most but if you still face any errors it's highly recommend to go back to 57.1. 57.1 may throw errors with Babel runtime but that can be fixed by running npm install --save @babel/runtime and you would be good to go

Ty @flowkraD for taking care of this, closing given that there has been no further activity.


feat: add search component

Purpose
closes #61
Approach
Implement Search styles and React component.
Testing
Storybook.
Risks

Exposes Input ref
Has (0, 2, 0) CSS specificity rules
Has webkit specific style resets
Props redirection is unorthodox - className and style are applied to <label>, all the rest is applied to <Input>
Icon requires the <Icons> sheet. Alternatively, inlining <IconSearch /> would compromise efficiency (size)

Would we want to exclude type search from allowance for Input component?

Would we want to exclude type search from allowance for Input component?

Because Search needs it, the workaround is annoying, we'd have to unsafe cast.
e.g.
export const Search = () =>
  <Input type={'search' as 'text'} />

Besides, people might want a type="search" input that differs in style from ours, so I think it's fine.


How to test with DI'd HttpClients?

Is there a chance we could get a section on how to write tests against this?  Typically I run the "real" Startup class in order to get the real DI container and then swap in external services like HTTP and AWS with mocks.  HttpClient is not mockable so I'm currently riding the struggle bus on how to get a mock HttpMessageHandler into the mix.

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

ID: 881cef77-11ef-ac11-06d0-0996a1ccfa1b
Version Independent ID: 3d356334-e672-7e8b-1fef-7944ebee99eb
Content: Make HTTP requests using IHttpClientFactory in ASP.NET Core
Content Source: aspnetcore/fundamentals/http-requests.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @stevejgordon
Microsoft Alias: scaddie

If we do something specific, it would probably be better in either the unit testing or integration testing topics.

https://docs.microsoft.com/aspnet/core/mvc/controllers/testing
https://docs.microsoft.com/aspnet/core/test/integration-tests
... note that we don't maintain the unit testing topic in the Test, Debug, Troubleshoot area. That one is maintained in .NET Core docs.

I'll mark this for the Integration Testing project so the product unit can decide if they want us to pursue it.

I have a partially completed, long overdue post on testing with HttpClient and HttpClientFactory. I'll try to pick that up again after my upcoming vacation and share the link. Happy to help distil some of that into a doc afterwards if appropriate.

cc: @tdykstra @Rick-Anderson ... :point_up:

some of that into a doc afterwards if appropriate.

If it boils down to just mocking a few objects correctly, I wonder if it can be covered with an added section (possibly with a sample app example).
btw @tdykstra Would the MVC controllers testing doc be better off in the Test, debug, and troubleshoot node with the rest of the testing docs? If so, I could move that TOC entry when I work on Test, debug, and troubleshoot enhancements (aspnet/AspNetCore.Docs #10150), which is coming up quick for work.

Would the MVC controllers testing doc be better off in the Test, debug, and troubleshoot node with the rest of the testing docs?

Yes that makes sense.

Moved to the tracking issue for this topic: Integration tests MASTER issue #16341