Bren

Why are these changes needed?

Related issue number
#4045
Checks

[] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[tick] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[tick] I've made sure all auto checks have passed.

@BrennanOwYong  can you change your base to this repo's 0.2 branch?


Reconfirm the environment & task & seed & Successs Rate

@avnishn
Noticing that there are lots of issues about the environment & task, I am sorry to open this type of question again. Reading almost of them, I want to confirm whether my understanding is correct.

In my understanding, in meta-RL settings, such as ML10 and ML45.
You set 10 or 45 meta-training environments and 5 meta-test environments, each with 50 tasks.
Is it True?

In the Figure 4-8, "seed (N) = 10" is also used. What's is the seed?
Does it mean that in one environment, like reach-v2, you set 50 different variants/tasks (with different initial object and goal positions) and each variant/task you repeat 10 times?

Based on the above understanding of seeds, I think that 500 (50 tasks * 10 seeds) total epsisodes/trajecories/rollouts are reached for each environment. Therefore the Success Rate  = # success episidoes/ 500. Is it true?

As Meta-World ownership has been transferred from the RLWorkGroup to Farama Foundation, I am closing this issue. If there are any questions or requests for features please join our Discord


Lona should be able to edit colors and typography files

I'd like to see Lona be able to edit the workspace configuration so that it doesn't need to be created before using the workspace.
Happy to take up some of these issues.

Yes, absolutely!
As a first step, I think we could try to make workspace colors editable from within the color picker. Currently we have:

I think it'd make sense to be able to at least add a color, and possibly edit colors from here. Eventually I want there to be an all-in-one place to edit the workspace configuration, without first having to open a component file. But I think that can come later (depends on https://github.com/airbnb/Lona/issues/11), and when it does, it'll re-use the same stuff we build for editing workspace colors directly from the picker.
@haswalt If you're interested, do you want to try to do this? We'd first want to figure out exactly what the UI looks like, but I think overall it wouldn't be too much work (although definitely not trivial either).

@dabbott Sure i'll have a go.

@haswalt do you want to figure out the design also? Or should I make a wireframe or what this'd look like?

I'm happy to have a look at the design. I'll throw up some wireframes when I get some time soon

This is mostly possible now.


Method ::Mail::AttachmentsList#[]= clobbers hash assigned

Mail::AttachmentsList#[]= , given a hash object to assign (instead of a literal hash), clobbers it (by deleting its key-value pairs). (Here is a tiny example gist.)
Clobbering this hash object in this assignment seems to violate POLS (the Principle Of Least Surprise).
This problem IMHO could be avoided best here (on this line) by adding:
value = value.dup

Still an issue on master. We should not be mutating arguments, for sure.


Add brightness slider for Lights.

Adds a brightness slider for lights that support it.
I've purposely not touched upon RGB, or color temperature as that seems to require additional data and probably other UI elements than what can be acomplished using sliders.
Should fix issue #15.
Example of added sliders:

@jesserockz What's your opinion?


Plugin: Regex Replace

A plugin to allow matching and replacing of text in incoming messages with RegEx.
Useful for removing phone numbers from messages.

No merge plz
@DanrwAU @davidmckenzie can you take a look at this?
Im pulling my hair out as to why my .replace() isnt working :(

Scratch that! i managed to get it :D
I use the following to remove phone numbers if you want to test

(?:+61[2-9]\d{8}|0[2-9]\d{8}|\d{4}\s+\d{3}\s\d{3})

should be ok to mege now :)

Looking good 👌 will give her a test run in the morning unless someone else gets there first :)


[Bug] File Logging does not created always

Some reason the file log data does not getting created some times. Maybe its in any folder that I dont know, maybe we should take the logs to documents/patch.

Maybe add that the user name does not getting displayed or getting replaced by a text

When is the file not created? You searched for it after trying to update in the %temp% folder?
Was there an error message? Because we do not catch any error, the whole process should crash I think.

No Error, temp was empty about this

Weirdly it was created a time after closing the launcher (like 1-2 min), but there is another issue: he does not open the s4editorplus, the name etc was correct

What did you try to get a log file?
The editor problem should be another issue


tests: use makeOptRef to create an OptRef object

Commit Message: tests: use makeOptRef to create an OptRef object
Additional Description:
C++17 attempts to enforce explicit deduction rules, so prior code fails in newer builds with the following error:
error: 'OptRef' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]

This PR changes the tests code to use makeOptRef() insted of letting OptRef() deduce the types.
Risk Level: low - tests only
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/assign @RyanTheOptimist


Figure out what's up with pending transactions

Reticketing from FD-5855.
We have 355 pending transactions. That seems like too many. The one in the FD ticket is known to be completed.

See also: https://github.com/gratipay/inside.gratipay.com/issues/736.


Starship init does not work on Windows

I expected starship init to succeed, but instead saw:
[prompt error] exec: "/c/Users/LeimgruberF/scoop/shims/starship.exe": file does not exist
see stack trace with "show $edit:exceptions[0]"
[rprompt error] exec: "/c/Users/LeimgruberF/scoop/shims/starship.exe": file does not exist
see stack trace with "show $edit:exceptions[1]"

and then
show $edit:exceptions[0]
Exception: exec: "/c/Users/LeimgruberF/scoop/shims/starship.exe": file does not exist
  [eval 2]:32:5-159:     /c/Users/LeimgruberF/scoop/shims/starship.exe prompt --right --jobs=$num-bg-jobs --cmd-duration=$cmd-duration --status=$cmd-status-code --logical-path=$pwd

Output of "elvish -version"
0.21.0+official
Code of Conduct

[X] I agree to follow Elvish's Code of Conduct.

Starship is working for me on Windows.
Looking at your path it looks unusual /c/Users/.... Is this cygwin? Can you give more details about your setup and your rc.elv?

Thanks for checking back! rc.elv contains:
eval (starship init elvish)

I do have MSYS2 with the MinGW64 toolchain installed, so this is where those paths come from. I am using PowerShell v7.4.6 inside Windows Terminal.

~> search-external starship
▶ C:\Users\LeimgruberF\scoop\shims\starship.exe


[no-unsafe-subscript] doesn't catch some cases due to definite assignment analysis

Observe this annoying case:
const arr: readonly number[] = [];
const foo: number | undefined = arr[0]; // NOT flagged by no-unsafe-subscript
foo.toString(); // compiles; explodes at runtime

This is caused by definite assignment analysis. Even though foo has an explicit type annotation of number | undefined, TypeScript determines that foo cannot be undefined because it is "definitely assigned". toString() then explodes at runtime.
Our no-unsafe-subscript rule currently doesn't flag const foo: number | undefined = arr[0] because the contextual type of the expression arr[0] is number | undefined (the type of the value it's being assigned to).
This demonstrates that we can't assume the array access is safe even when the contextual type contains undefined -- at least for assignment expressions, which as far as I can tell are the only place that definite assignment analysis applies.
We will have to update no-unsafe-subscript to either ignore the contextual type in all cases (which would cause lots of pain and what amount to false positives) or only in assignment expressions (if possible).
🤦

Released as v4.0.0


When GA?

When it's planned to be announced GA?

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

ID: 51c75ce7-2144-d81a-693c-fb51cc00f3e5
Version Independent ID: cba654ea-ee84-fca4-a76d-717bfb9d9bf5
Content: Automatic OS upgrades with Azure virtual machine scale sets
Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md
Service: virtual-machine-scale-sets
GitHub Login: @gatneil
Microsoft Alias: negat

Thanks for the question! We are investigating and will update you shortly.

Hi folks, neither @gatneil or myself are currently working on this product. Adding @rajsqr to comment.

Thanks @gbowerman!
@rajsqr is this something you could shed some light on?

@imaterek we are targeting to have it release GA in the second half of 2018. So sometime in the next 6 months. Obviously this is just the target so it could change. But this is what we are able to share so far :)


Thank You

Hi Surya,
Just a message to write: Thank you for sharing this component.
Tested with v5.3.3 and the European network.

Great it works !


Phantom go

Thanks! There's a conflict in pyspiel_test.py, can you resolve it?

(You can ignore the failing wheels tests, they will be fixed once https://github.com/deepmind/open_spiel/pull/873 is merged on Monday.. but you will have to rerun ./install.sh locally)

Can you add the game and its description to the games page? (docs/games.md)

Sorry for the delay. I am not sure what is the proper way to edit it.

@lanctot > Can you add the game and its description to the games page? (docs/games.md)
Sorry for the delay. I am not sure what is the proper way to edit it, is there some editor?

It is plain text file. But don't worry about it, I can do it on my end.

Hi @Syor , the test is failing because it appears there is some Linux-specific code (specifically, the header <asm-generic/ioctls.h>. Can you modify the test so that it can run on MacOS?


Update default.example.json

Added makerspacehive role

Had to merge the India Change but we should be good!


Please change assert into throw(maybe) in line 17946

Describe the feature in as much detail as possible.
when run a code like:

void test(const nlohmann::json& a) {
    cout << a["a"] << endl;
}
int main() {
    nlohmann::json a;
    test(a);
}

It just assert fail with no log or hint of the error key. When the project is quite complicated, it is hard to know where i got wrong.

You can check the key in the debugger.


[WIP] link_test: empty sig testcase

 Alice               Bob
   |------- add ------>|
   |------- sig ------>|
   |<------ sig -------|
   |------- rev ------>|
   |<------ rev -------|
   ... log commit tick ...
   |------- sig ------>| <--- this signature doesn't include anything new

Probably the case of https://github.com/lightningnetwork/lnd/issues/1927

Do we need to reconcile this with https://github.com/lightningnetwork/lnd/pull/2927 ?

Reconciled with #2927, closing


UWP incorrect image colors when using transformations

When using and transformation on UWP, result image have invalid colors.
Explanation is here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/80210058-cacb-443e-afe6-e6bd6cfc8f2a/blue-tint-on-image-when-loading-manually-from-stream?forum=winappswithcsharp
Issue is in ToWriteableBitmap method in FFImageLoading.Windows/Extensions/ImageExtensions.cs
You can try it by applying transformation to attached image.

Nice catch! :) Fixed, thank you for the info.


excludes does not accept regexes

An update to the README that would fix #266.
Apparently, due to the use of .match on these array items (in vulcan.js), they are expected to be strings and not RegExp objects.

I signed it!

LGTM
PTAL @garlicnation

Not one hundred percent sure whether my examples are correct. My according pull request to broccoli-vulcanize is failing tests. :-/

Hello azaks! SoS! SoS!
I am a beginner of Polymer programmer. I have a problem programming Polymer.
I had a Polymer program. But during building, the error is checked.
Error is followin as:
"This version of vulcanize is not compatible with polymer<0.0. Please use vulcanize version <0.7.x.
File:\......"
I don't understand that. I did following your suggestion.
But this error is still checked. Help me!
Best regards.
Leonid.


Fancy indexing performance

We have a very common use case where we have an array a with at least 2 dimensions, where the size of the first two dimensions is something like (20000000, 1000), and we have a boolean array c specifying a selection on the first dimension, and we want to apply the selection to the large array. If a and c were numpy arrays this could be coded as a[c] or equivalently a.compress(c, axis=0).
Profiling this with dask on some real data, I find that setting up the dask array a[c] to be rather slow, taking ~20 seconds. Actually computing the selection is then relatively fast, especially if you only want a region of the selection. I wonder if there could be opportunities to optimize the graph setup.
Here is some profiling with real and synthetic datasets: http://nbviewer.jupyter.org/github/alimanfoo/zarr/blob/master/notebooks/dask_2d_subset.ipynb
It seems the time is mostly being consumed within slicing.py, in functions check_index, partition_by_size and posify_index. The built-in function isinstance is also getting called a lot.
Sorry I don't have time to dig more, but I hope something could be done. As well as benefiting interactive analysis, we would actually like to use this within a web application for data exploration and having a wait time of ~20s is too long.
cc @benjeffery

The most obvious culprit is that dask does all of it's indexing operations with native Python types. Operations like posify_index would be much faster rewritten to use arrays of NumPy integers instead.

I've run into a few optimization and slicing issues with dask.array before when working with very large arrays.  Historically I've been able to optimize them down fairly well easily.  No guarantees though.
I'd like to look at the profile results through snakeviz (which I highly recommend).  Can I ask you for a reproducible example that I can run locally?  Perhaps make a random array with slicing indices that have the same distribution?

Thanks, a reproducible example is given in the section "synthetic data" in
the notebook. Basically, make a 2D array where size of first dim is about
20000000 or more, try to index first dim with a Boolean array.
On Tuesday, 13 September 2016, Matthew Rocklin<EMAIL_ADDRESS>wrote:

I've run into a few optimization and slicing issues with dask.array before
when working with very large arrays. Historically I've been able to
optimize them down fairly well easily. No guarantees though.
I'd like to look at the profile results through snakeviz (which I highly
recommend). Can I ask you for a reproducible example that I can run
locally? Perhaps make a random array with slicing indices that have the
same distribution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/1538#issuecomment-246542586, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAq8QpH9ewHYg5yB93VxMgmeSaq-pjbDks5qpfZDgaJpZM4J7Fis
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721

Ah ha!  Indeed
On Tue, Sep 13, 2016 at 12:41 AM, Alistair Miles<EMAIL_ADDRESS>wrote:

Thanks, a reproducible example is given in the section "synthetic data" in
the notebook. Basically, make a 2D array where size of first dim is about
20000000 or more, try to index first dim with a Boolean array.
On Tuesday, 13 September 2016, Matthew Rocklin<EMAIL_ADDRESS>wrote:

I've run into a few optimization and slicing issues with dask.array
before
when working with very large arrays. Historically I've been able to
optimize them down fairly well easily. No guarantees though.
I'd like to look at the profile results through snakeviz (which I highly
recommend). Can I ask you for a reproducible example that I can run
locally? Perhaps make a random array with slicing indices that have the
same distribution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/1538#issuecomment-246542586, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AAq8QpH9ewHYg5yB93VxMgmeSaq-pjbDks5qpfZDgaJpZM4J7Fis>
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/1538#issuecomment-246571932, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszNGF-bDcDMw1hBVMkkBxGRRzBVWXks5qpil4gaJpZM4J7Fis
.

OK, so I've gone from about 20s to 4.5s in https://github.com/dask/dask/pull/1539 in about an hour of work.
About half of this was just avoiding isinstance calls on lists of many integers, instead checking just the first element.
Another large chunk was done by using NumPy in a couple of places, notably  partition_by_size and check_index.  We're still using lists everywhere, but from time to time we convert to numpy and then back again.  We could get more performance by switching to NumPy within all of take probably.  I was just doing the easy things for now though.
My testing script is as follows:
import zarr
import numpy as np
import dask.array as da

a = zarr.empty(shape=(20000000, 200, 2), dtype='i1', chunks=(10000, 100, 2))
c = np.random.randint(0, 2, size=a.shape[0], dtype=bool)
s = sorted(np.random.choice(a.shape[1], size=100, replace=False))

%load_ext snakeviz
%snakeviz ds = d[c][:, s]

I'm not planning to work on this much more today.  I encourage people to take a look.  If more performance is necessary then I recommend considering using numpy arrays within all of take_sorted.  I think that's probably the easiest spot to make the conversion from lists to numpy arrays and still have move of the benefit.

Thanks @mrocklin, using this is going to give a step change in performance for the app. If I get time between other priorities I'll take a look at take_sorted.

If its still too slow and if you can't figure things out then please speak up sooner rather than later.  There is still plenty of performance on the table and other people can help out.

Hi all,
I can confirm that the perfomance is still quite bad, see the following example:
In [1]: import numpy as np

In [2]: import dask.array as da

In [3]: size = 1000000

In [4]: arr = np.ones(size)

In [5]: idx = np.arange(0, size, 2)

In [6]: %time arr[idx]
CPU times: user 1.09 ms, sys: 1.05 ms, total: 2.13 ms
Wall time: 1.83 ms
Out[6]: array([ 1.,  1.,  1., ...,  1.,  1.,  1.])

In [7]: darr = da.from_array(arr, chunks=(1000,))

In [8]: %time darr[idx]
CPU times: user 650 ms, sys: 21.7 ms, total: 672 ms
Wall time: 661 ms
Out[8]: dask.array<getitem..., shape=(500000,), dtype=float64, chunksize=(500,)>

In [9]: size = 5000 * 6000

In [10]: arr = np.ones(size)

In [11]: idx = np.arange(0, size, 2)

In [12]: darr = da.from_array(arr, chunks=(1000,))

In [13]: %time arr[idx]
CPU times: user 41.3 ms, sys: 11.9 ms, total: 53.2 ms
Wall time: 52 ms
Out[13]: array([ 1.,  1.,  1., ...,  1.,  1.,  1.])

In [14]: %time darr[idx]
CPU times: user 22.1 s, sys: 577 ms, total: 22.6 s
Wall time: 22.4 s
Out[14]: dask.array<getitem..., shape=(15000000,), dtype=float64, chunksize=(500,)>

Would be really great to get this time down to something comparable to numpy :)

It looks like most of the time here is in dask/array/slicing.py::sanitize_index.  Do you have any interest in trying to optimize this @mraspaud ?

@mrocklin interest yes, time on the other hand is more difficult. I will try to take a look.

Btw I'm still interested in optimising performance here as it's a very
common use case, although unfortunately I don't have time to work on dask
code.
On a related note, I have been considering adding some limited support for
fancy indexing in zarr, so I'd be interested to know whether it would
improve performance/add value if dask can push some fancy indexing
operations down to the storage layer if supported.
On Wednesday, May 10, 2017, Martin Raspaud<EMAIL_ADDRESS>wrote:

@mrocklin https://github.com/mrocklin interest yes, time on the other
hand is more difficult. I will try to take a look.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/1538#issuecomment-300472296, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAq8QpN_5KjV5cD4tqbk6SPXTQ7Aegv3ks5r4bMIgaJpZM4J7Fis
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
Big Data Institute Building
Old Road Campus
Roosevelt Drive
Oxford
OX3 7LF
United Kingdom
Email<EMAIL_ADDRESS>Web: http://a http://purl.org/net/alimanlimanfoo.github.io/
Twitter: https://twitter.com/alimanfoo

I reran the benchmark in https://github.com/dask/dask/issues/1538#issuecomment-300414777 and things seem to be better today by about an order of magnitude.  Closing.

Reran it also, it is indeed 'only' ten time slower than numpy right now. Thanks for all the great work!


Test against more Node.js versions on Travis CI

I think the test for Node.js 5.0 is broken but it will fixed by https://github.com/Automattic/monk/pull/115


[T2A2][W11-A3]Rachael Sim Hwee Ling

Ready for Review

In general, you have used a few good refactoring mechanisms, I encourage you to do even better!
Take care of typos in your commit messages ;-)
Ensure that the comments are not too generic explaining multiple methods the same way e.g.,"Builds string for showing a command usage instruction"
For other coding standard violations, check how conditional statements are written, naming conventions etc.,


feat: Add mentors page

This PR aims to add the mentors' page
Initially I am adding Ivan and Ever as mentors.
it is still missing information, I will work on another PR first to add bootstrap 5 to the structure.

@EverVino let me know if you want me to add more 'badges' for your card in the mentors page.
Also, let me know if you have any comment or suggestion, pls.
I still need to finish the changes on the teams page.
I will add that changes later today

you could add for me as badges: proficient python and mathematical modelling for chemical processess.

you could add for me as badges: proficient python and mathematical modelling for chemical processess.

great! I will work on that tomorrow!

@EverVino could you review that pls?

LGTM Thank you @xmnlab


[zh] Sych web page for topo manager

This is part of work in umbrella issue:
[zh] Umbrella issue: pages out of sync in tasks section #26178
Topology Manageer (L):
content/zh/docs/tasks/administer-cluster/topology-manager.md

@tengqm Thanks for the review. I've updated the commit.

@tengqm I've fixed the link. thanks.

/lgtm


u-boot-script: Continue to boot flasher images with stock uboot

Even if we now load the dtb from the rootfs and default to
the boot partition if not found, but we should continue to load
it from the boot partition if the board is booted with
a stock u-boot, like in the case of a flasher image on a
board that never ran Balena.
Changelog-entry: u-boot-script: Continue to boot flasher images with stock uboot
Signed-off-by: Alexandru Costache<EMAIL_ADDRESS>

@balena-ci retest

@balena-ci I self-certify!


Convolutions with alpha and beta = 1.0

As convolutions with alpha and beta = 1.0 is not implemnted in miopen yet, I was wondering if it is possible to acheive this with some kind of workaround?
I tried the miopenOpTensor but this doesn't work since the input and output tensors do not match.
I'm also a bit unsure about the blending of the computation using alpha and beta. The cuDNN documnetation it says the dstValue = alpha[0]*computedValue + beta[0]*priorDstValue. I don't see how this yDesc = yDesc * alpha + xDesc * beta operation would work if the dimensions are different.
Any suggestions are much apprechiated!

@Zsarl What do you mean that input and output tensors do not match in miopenOpTensor?

Well basically I get this:
MIOpen Error: /data/repo/MIOpen/src/ocl/tensorocl.cpp:151: A and C Tensors do not match.
Since the output dimension of the tensor depends on the number of filters in the convolution, I guess it's inevitable that the dimensions of the input and output tensors do not match?

You can do this perhaps:
Convolution to temp tensor
Dst = TensorOp(alphatemp) + TensorOp(betapriorDst)
Or using tensor scale:
Dst = TensorScale(alphatemp) + TensorScale(betapriorDst)

Thanks a lot for the reply!
I'm a bit rusty with this api, so I don't quite understand your suggestion. Would you mind translating your explaination to a specific example for the forward convolution case?
float alpha = 1.f, beta = 1.f;
miopenConvolutionForward(handle, alpha, xDesc, x, wDesc, w, convDesc, algo, beta, yDesc, y, workSpace, workSpaceSize);

Would the Data tensor y (output) here correspond to priorDst and need to be copied before being mixed with the new y tensor?

@Zsarl MIOpen currently supports alpha=1. So what you really want is a workaround for beta=1. MIOpen follows cuDNN's method of blending computations that you describe above. One way I can think of achieving this currently in MIOpen could be -
y_conv as the output of MIOpenConvolutionForward() // alpha=1, beta=0
y_scale as output of MIOpenScaleTensor() // scale with beta
y_add as the output of MIOpenOpTensor() // y_conv and y_scale as inputs to produce y_add as output.

y_conv, y_scale and y_add all have the same descriptor yDesc. If your beta=1 then you can omit the MIOpenScaleTensor step above.
 miopenStatus_t miopenOpTensor(miopenHandle_t handle,
                                            miopenTensorOp_t tensorOp,
                                            const void* alpha1,
                                            const miopenTensorDescriptor_t aDesc,
                                            const void* A,
                                            const void* alpha2,
                                            const miopenTensorDescriptor_t bDesc,
                                            const void* B,
                                            const void* beta,
                                            const miopenTensorDescriptor_t cDesc,
                                            void* C);

Here aDesc=bDesc=cDesc=yDesc. alpha1=1, alpha2=1, beta=0. A=y_conv, B=y_scale, C=y_add
This is rather a contrived way of achieving this but we are working to add support for arbit alpha, beta soon. Hope this helps.

Thank you for the detailed explaination, managed to get it to work now.
(Seems like only the beta value for ConvolutionBackwardFilter affects classification performance).
Just wondering about what you said:

If your beta=1 then you can omit the MIOpenScaleTensor step above.

Wouldn't it be possible to to use the alpha2 in the MIOpenOpTensor as the beta value directly instead of calling MIOpenScaleTensor prior to using alpha2 = 1 - What is the difference?

MIOpenOpTensor implements the following equation:
C = op ( alpha1[0] * A, alpha2[0] * B * ) + beta[0] * C
So if B and C tensors are the same for you then yes, you can use alpha2 to scale for beta.

OK, thanks a lot for the clarification!


Toolretriever for Agent OpenAI broken

Hi, I ran into some issues with the multi documents example. It seems like the toolRetriever for an OpenAI agent is broken.
Since the constructor has a default value with tools = [] on line 93, checking if tools are an array seems unnecessary. Additionally, the if block on line 112 was always true. This resulted in the toolRetriever never working.
Also, are you hiring? 🚀

@Wesselvdp Thanks for your contribution - great catch!
@himself65 is currently improving the agent; I guess the toolRetriever also needs some re-work.
@Wesselvdp Please note that your current code breaks if you set tools to undefined, e.g.:
new OpenAIAgent({
    tools: undefined,
    toolRetriever: await objectIndex.asRetriever({}),

About getting hired: Sending PRs is the right step to get our attention. Please continue working on more complex examples. Having a look at open issues is a great start.

@marcusschiesser, thanks for the quick response. I don't see the tests failing with my code + undefined tools. All tests seem to pass with the following change to the Agent runner test. Did I miss anything?
 agentRunner = new AgentRunner({
      agentWorker: new OpenAIAgentWorker({ tools: undefined }),
    });

While writing some tests for this PR, I realised changing the params signature type here  might make sense.
type OpenAIAgentWorkerParams = {
  llm?: OpenAI;
  prefixMessages?: ChatMessage[];
  maxFunctionCalls?: number;
} & (
  | { toolRetriever?: ObjectRetriever; tools?: never }
  | { toolRetriever?: never; tools?: BaseTool[] }
);

Not allowing both tools and toolRetriever to coexist in the params represents the function downstream better since the constructor of the OpenAIAgentWorker class will throw an error if that's the case.
@himself65 , on it.

@himself65
The code below is a simplified version of the multi documents agents. I've added some console logs for pointing out the problem. You'll need that extractwikipedia function from the original example too.
import fs from "node:fs/promises";

import {
  Document,
  ObjectIndex,
  OpenAI,
  OpenAIAgent,
  QueryEngineTool,
  Settings,
  SimpleNodeParser,
  SimpleToolNodeMapping,
  SummaryIndex,
  VectorStoreIndex,
  storageContextFromDefaults,
} from "llamaindex";

import { extractWikipedia } from "./extractwikipedia";

const wikiTitles = ["Brazil"];
Settings.llm = new OpenAI({ model: "gpt-4" });

const storageContext = await storageContextFromDefaults({
  persistDir: "./storage",
});

async function main(
  question = "Tell me something about the brazilian economy"
) {
    await extractWikipedia(wikiTitles);
  const countryDocs: Record<string, Document> = {};

  for (const title of wikiTitles) {
    const path = `public/tmp_data/${title}.txt`;
    const text = await fs.readFile(path, "utf-8");
    const document = new Document({ text: text, id_: path });
    countryDocs[title] = document;
  }

  // TODO: fix any
  const documentAgents: any = {};
  const queryEngines: any = {};

  for (const title of wikiTitles) {
    console.log(`Processing ${title}`);

    const nodes = new SimpleNodeParser({
      chunkSize: 200,
      chunkOverlap: 20,
    }).getNodesFromDocuments([countryDocs[title]]);

    console.log(`Creating index for ${title}`);

    const vectorIndex = await VectorStoreIndex.init({
      storageContext,
      nodes,
      logProgress: true,
    });

    const summaryIndex = await SummaryIndex.init({
      nodes,
    });

    console.log(`Creating query engines for ${title}`);

    const vectorQueryEngine = summaryIndex.asQueryEngine();
    const summaryQueryEngine = summaryIndex.asQueryEngine();

    const queryEngineTools = [
      new QueryEngineTool({
        queryEngine: vectorQueryEngine,
        metadata: {
          name: "vector_tool",
          description: `Useful for questions related to specific aspects of ${title} (e.g. the history, arts and culture, sports, demographics, or more).`,
        },
      }),
      new QueryEngineTool({
        queryEngine: summaryQueryEngine,
        metadata: {
          name: "summary_tool",
          description: `Useful for any requests that require a holistic summary of EVERYTHING about ${title}. For questions about more specific sections, please use the vector_tool.`,
        },
      }),
    ];

    console.log(`Creating agents for ${title}`);

    const agent = new OpenAIAgent({
      tools: queryEngineTools,
      llm: new OpenAI({ model: "gpt-4" }),
    });

    documentAgents[title] = agent;
    queryEngines[title] = vectorIndex.asQueryEngine();
  }

  const allTools: QueryEngineTool[] = [];

  console.log(`Creating tools for all countries`);

  for (const title of wikiTitles) {
    const wikiSummary = `This content contains Wikipedia articles about ${title}. Use this tool if you want to answer any questions about ${title}`;

    console.log(`Creating tool for ${title}`);

    const docTool = new QueryEngineTool({
      queryEngine: documentAgents[title],
      metadata: {
        name: `tool_${title}`,
        description: wikiSummary,
      },
    });

    allTools.push(docTool);
  }

  console.log("creating tool mapping");

  const toolMapping = SimpleToolNodeMapping.fromObjects(allTools);

  const objectIndex = await ObjectIndex.fromObjects(
    allTools,
    toolMapping,
    VectorStoreIndex
  );

  const toolRetriever = await objectIndex.asRetriever({});

  // This is the function the agent is running under it's hood for retrieving the tool.
  // You'll see that calling the function here retrieves the tool just fine.
  const retrievedTool = await toolRetriever.retrieve(question);
  console.log({ retrievedTool });

  const topAgent = new OpenAIAgent({
    toolRetriever,
    llm: new OpenAI({ model: "gpt-4" }),
    prefixMessages: [
      {
        content:
          "You are an agent designed to answer queries about a set of given countries. Please always use the tools provided to answer a question. Do not rely on prior knowledge.",
        role: "system",
      },
    ],
  });

  const response = await topAgent.chat({
    message: question,
  });

  // In the response below you'll see "sources" and "nodes" are empty
  console.log({ response });
  return response;
}

export default main;

This screenshot shows the output of the logs: the difference between manually calling the retriever and letting the agent do the work:

I don't see the tests failing with my code + undefined tools.

Test cases doesn't cover all cases, I will upload your example as a test case

LGTM but we need improve those agent code in the future


Pre-file data in CardField component

Is your feature request related to a problem? Please describe.
I am using an scan system to get the info of the card, so now I need pass this data through of CardField component to pre-load the card info
Describe the solution you'd like
I really like pass data (card number and expiration date) via props.
Describe alternatives you've considered
I know that we can create a custom field but I feel that is too much effort, because CardField works perfectly. so if you have any advice what I should do, I am open to get feedback.

https://github.com/stripe/stripe-react-native/issues/346#issuecomment-861997822


Proprietary license in CustomTelemetryChannel.cs

This project is under the MIT license as indicated in the LICENSE file. However, there's a file that claims that it is proprietary:
https://github.com/microsoft/ApplicationInsights-dotnet/blob/a7ca15790a301275ede66722bab21cc8d71f1509/LOGGING/test/Shared/CustomTelemetryChannel.cs#L4
Can someone please fix this? If this file is actually proprietary/confidential code it doesn't belong in an MIT-licensed project.
This project is used as part of .NET 7's source code and having a proprietary license means we are not allowed to use this. That prevents us from building and distributing .NET 7 without additional work.
cc @crummel @lbussell @leecow @MichaelSimons @mirespace @richlander

cc @janani66


[Discussion] Should SVG Sparklines be supported in a future version?

Sparklines are a great way to represent data. Edward Tufte has a great post on the theory and applications.
I think sparklines definitely belong in reporting, the question is whether or not PrettyPandas should implement them itself.
What would a sparkline API even look like? Would this use another python library (that seems ideal)?
I'd love the look of http://metricsgraphicsjs.org/examples.htm#lines for the design.
Here's an example of a notebook with sparklines: https://github.com/iiSeymour/sparkline-nb/blob/master/sparkline-nb.ipynb. I like the way that the notebook has a single column with series data in it. The alternative would be to somehow slice on the index and hide the cells.

Pulling in D3 would probably be overkill on dependencies here too...

I have another library for sparklines, it's less code in one code base which makes it easier to maintain.


Dataset downloading needs an account that is unable to create with non-Chinese phone

Excellent work. It is just that the data downloading pointing to a login window needing an account. Registration to Baidu appears to be challenging using a phone with +44 code (not in the pulldown list).

Thanks for your attention. We have uploaded the datasets on OneDrive. You can try downloading again.

Thanks so much for your swift action. The data are being downloaded smoothly. This issue is closed.


Better Gemfile Usage for Dev/Test Groups

Basically the Gemfile is flat now and doing a build #17 will install gems not needed. One thing I'd like to think about during this work is which AWS SDK gems are also installed for us too on the Lambda images. If needed, this knowledge could even be applied to the space savings part of the build script where we remove wasted space.

This was not once I realized that we do not want to mix the build dirs ./.aws-sam/build/RailsFunction/ Docker Linux builds with local. We keep a wall between local and bin/server-sam to use that directory and we should be great. It does mean that local development focuses on the root and host platform... but that is just fine and what we want. Lamby simply wants to help package and ship your Rails app. Not run full integration tests by default under that local Docker host. If needed, we can write a guide/doc for those willing to go that far. Assuming the Docker issues (https://github.com/customink/lamby/issues/15) are fixed.


Misc doc updates

Updates content with:

kep-004
verbose flag
config idea completion

Rebased following merge of https://github.com/kudobuilder/kuttl.dev/pull/59


Mat-dialog: no component factory found when trying to open other' module dialog or lazy loaded module' dialog.

What is the expected behavior?
No error should occur as in case with MatDialogModule.
But instead I get ERROR Error: No component factory found for *. Did you add it to @NgModule.entryComponents?
What is the current behavior?
I use custom service to wrap my dialogs into custom component. Service has 'openModalWindow' method, which uses MatDialogService and which is used to dynamically create dialogs.
public openModalWindow(component: ComponentType<{}>, config: MatDialogConfig): MatDialogRef<ModalWindowComponent> {
    // Resolve dialog component factory
    const componentFactory = this._componentFactoryResolver.resolveComponentFactory(component);

    // Open dialog with wrapper component
    const dialogRef = this._dialog.open(DialogWrapperComponent, config);

    // Add dialog content inside wrapper component
    dialogRef.componentInstance.viewContainerRef.createComponent(componentFactory);
}

What are the steps to reproduce?

Open dialog with openModalWindow method, pass component type as a parameter.
Works: if component is registered in entryComponents and declarations in current module.
Error occurs in these situations:

Situation 1: If component_2 is registered in declaractions and entryComponents only in module_2, but passed from module_1, which imports module_2.
Situation 2:
2. 1. Navigate from module_1 to lazy loaded module_2.
2. 2. Open dialog_2, registered in declarations and entryComponents of module_2, it will fail.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 7.3.8
Node: 10.7.0
OS: win32 x64
Angular: 7.2.12
Is there anything else we should know?

I'm not sure if it's an angular bug, trying to configure the custom dialog service provider correctly, so factory would combine all components.

Closing, because it is a problem with ComponentFactoryResolver -> angular/angular repository.
https://github.com/angular/angular/issues/17168


is there any python version

is there any python version?

Unfortunately, there is no python version.


sql/expression: fix tuples after merge

Fixes the tuples after the merge of the named type

If we merge #128 first this PR makes no sense anymore and should be closed.


Fix: AMReXBuildInfo on Windows

Generalize the install path of CMake helper scripts to also work well on Windows.
X-ref: https://github.com/AMReX-Codes/amrex/pull/3606

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


New and Improved Squirrel Sprite

Motivation
The sprite of the squirrel in the bridge building part looks very stretchy currently.
Implementation
Draw and insert a new sprite.

The sprite


ECS: Composer installation issues related to downgrading

This is exactly what I feared would happen when you tweeted around downgraded releases ending with .72 on the same repository.

For composer <IP_ADDRESS> is a higher version so it gets installed instead of 11.2.2. This cannot even fixed by requiring PHP 8.1 because the downgraded version has a constraint of "php": ">=7.2" - it should be capped to not support the same versions as 11.2.2.

Composer 11.2.2 cannot be installed even manually because:

symplify/easy-coding-standard 11.2.2 requires symplify/coding-standard ^11.2.2
symplify/coding-standard 11.2.2 requires symplify/rule-doc-generator-contracts ^11.2
symplify/rule-doc-generator-contracts 11.2 doesn't exist: https://github.com/symplify/rule-doc-generator-contracts/tags

Even if I brute-force the installation of 11.2.2 using "minimum-stability": "dev", "prefer-stable": true there is still another problem. composer outdated reports ecs as outdated package saying that I should update to <IP_ADDRESS>. Which is of course incorrect.

Or do you intend for the downgraded version to be preferred over the normal ones regardless for some reason? @TomasVotruba  :thinking: I suppose it does have the benefit of not locking me to new symfony versions since everything is prefixed.

This is now handled as the downgrade release is the only one :+1:


fix: debugging abuse detection

Closing this, as the issue has been fixed in https://github.com/jina-ai/action-hub-updater/pull/8 (for now)


[Bug]: Invalid rows_affected, bytes_processed and runtime on incremental models in current_models

Overview
Because of the way dim_dbt__current_models is written, the rows_affected, bytes_processed and total_runtime stats are wrongly reported using incremental models.
https://github.com/charles-astrafy/dbt_artifacts/blob/1bf85edceac80b1083fc42626437ebeaeaac4363/models/dim_dbt__current_models.sql#L41-L53
latest_model_stats as (
    select
        node_id
        , max(case when was_full_refresh then query_completed_at end) as last_full_refresh_run_completed_at
        , max(case when was_full_refresh then total_node_runtime end) as last_full_refresh_run_total_runtime
        , max(case when was_full_refresh then rows_affected end) as last_full_refresh_run_rows_affected
        {% if target.type == 'bigquery' %}
        , max(case when was_full_refresh then bytes_processed end) as last_full_refresh_run_bytes_processed
        {% endif %}
        , max(query_completed_at) as last_run_completed_at
        , max(total_node_runtime) as last_run_total_runtime
        , max(rows_affected) as last_run_rows_affected
        {% if target.type == 'bigquery' %}
        , max(bytes_processed) as last_run_bytes_processed
        {% endif %}
    from latest_models_runs
    where run_idx = 1
    group by 1
),

Because the models are partitioned by node ID and full refresh, the same model ends up twice in latest_model_stats (with was_full_refresh true and false), but the full refresh almost always has more bytes processed and a longer runtime, meaning the max(bytes_processed) and others report the stats from the full-refresh run, not the actual latest incremental run.
Propositions :

Fixing the current last_run_* columns so they return the stats matching the true last chronological run
Optional: Add some columns that are specific to incremental runs such as

last_incremental_run_completed_at
last_incremental_run_total_runtime
last_incremental_run_rows_affected
last_incremental_run_bytes_processed

I can fix the issue but I need to know which way we want to go with this.
How to reproduce

Write any incremental model
Run it in --full-refresh mode
Run it in incremental mode

Expected behaviour
Actual stats of the incremental run
Screenshots

Environment
Results of running dbt --version:
Core:
  - installed: 1.5.3
  - latest:    1.6.0 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - bigquery: 1.5.3 - Update available!

  At least one plugin is out of date or incompatible with dbt-core.
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Please paste the contents of your packages.yml file here:
packages:
  - package: dbt-labs/codegen
    version: 0.9.0
  - package: dbt-labs/dbt_project_evaluator
    version: 0.6.2
  - package: dbt-labs/audit_helper
    version: 0.9.0
  - package: brooklyn-data/dbt_artifacts
    version: 2.4.3

Hi @Esya thank you for raising this, and I'm sorry for how long it's taken to respond.
This was a really excellent spot, and I think that the right approach is a combination of the two things you've suggested. Due to how long it's taken me to get back to you, I've created a PR which should fix the issue and I'll aim to get it merged asap.

That's awesome, thanks for handling this issue, looking forward to it being merged!


Upload application for redis upgrade tutorial

TODO:

Change TBD in readme to the tutorial link after it's been published.
Push image to gcr.io/google-samples/hello-app-redis:1.0 (no permission now)

Thank you for your review Megan!
For the hello-app server: the tutorial will ask user to run kubectl expose deployment hello-web --type=LoadBalancer --port 80 --target-port 8080 directly instead of applying a server yaml, so I didn't add it in, but let me know if you think add the server yaml is better and I can do that :)
For the error, that is because the redis cluster not come up, the tutorial will guide the user to config the redis cluster, basically run a command like this kubectl exec -it redis-0     --redis-cli \     --cluster create     --cluster-replicas 1 $(kubectl get pods -l app=redis -o \  jsonpath='{range.items[*]}{.status.podIP}:6379 ')


1.0(10) works on IpadOS (iPad Air 2020)

Just FYI:
tested your TestFlight suite and it works just fine on my iPad Air (4. Generation) That's just 4GB RAM.
is there a benchmark prompt or something?

This is great to see! We haven't started collected RP data, but this is really awesome news!

Closing as there's no further actionable issue, but benchmarking is indeed super interesting thing to do!


Exceptions thrown by Java API should extend SKException

Motivation and Context
There were two SKException classes and other exception classes in the API that extended RuntimeException. There should, of course, only be one SKException class. The other exception classes that extend RuntimeException should extend SKException, which makes it easier for a caller who wants to catch exceptions thrown by the API.
Description
The SKException class in com.microsoft.semantickernel.diagnostics was removed in favor of the one in com.microsoft.semantickernel.
Other exception classes in the API were changed to extend com.microsoft.semantickernel.SKException instead of RuntimeException. SKException itself is a RuntimeException.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] The code follows --the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format-- Java code style follows AOSP style.
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

I don't know what happened here. Way too many changes.


Remove reference to e3sm-diags

This was accidentally included in the pyproject.toml file when it was created.

I didn't do any testing because it seemed unnecessary, but @xylar please let me know if there's anything you'd like me to check in addition to the CI tests.


Convert 12C OCM Pages

Convert all Classic Google Sites pages for 12C OCM.

First round of conversions done. The following issues were raised:

#71 - closed as a duplicate of #19
#73 - closed
#74
#75
#76
#77
#78

All pages other than data-guard.html were successfully converted. data-guard.html will be converted as part of issue #33


[Menu] Escape does not dismiss Menu if user clicked address bar and then opened it via right-click

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Menu component does not disappear after pressing Escape, if it was opened using right mouse button and before this user had browser address bar in focus.
Expected behavior 🤔
Menu component should disappear after pressing Escape.
Steps to reproduce 🕹
Steps:
Issue can be reproduced in this example of MUI docs: https://mui.com/material-ui/react-menu/#context-menu

Observe "Context menu" example in docs;
Click on your browser's address bar. Make sure it is focused;
Right-click "Lorem ipsum" text block. Context menu should appear;
Press Escape;

Context 🔦
I am not trying to accomplish anything in particular, but such behaviour might be confusing for end users.
Operating System: MacOS. Issue is reproduced in Chrome v102.0.5005.61 and Safari v13.1.3. I could not reproduce it in Firefox v96.0.2.
Your environment 🌎

`npx @mui/envinfo`
System:
    OS: macOS 10.15.7
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.1/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
  Browsers:
    Chrome: 102.0.5005.61
    Edge: Not Found
    Firefox: 96.0.2
    Safari: 13.1.3
  npmPackages:
    @emotion/react: ^11.7.1 => 11.7.1
    @emotion/styled: ^11.6.0 => 11.6.0
    @mui/base:  5.0.0-alpha.68
    @mui/icons-material: ^5.3.1 => 5.4.1
    @mui/lab: ^5.0.0-alpha.67 => 5.0.0-alpha.68
    @mui/material: ^5.4.0 => 5.4.1
    @mui/private-theming:  5.4.1
    @mui/styled-engine:  5.4.1
    @mui/styles: ^5.3.0 => 5.4.1
    @mui/system:  5.4.1
    @mui/types:  7.1.1
    @mui/utils:  5.4.1
    @mui/x-data-grid: ^5.5.0 => 5.5.0
    @types/react: 17.0.39 => 17.0.39
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript: 4.5.4 => 4.5.4

This is expected. We can catch keyboard events only if the select is on the page, which is not true in this case (the browser's address bar is outside of the web page). In order to understand this, imagine what would happen if a website would be able to capture all keys pressed in the address bar :)
I hope the explanation helps.


Add Spock support

Any chance this could be adapted for use with Spock?

Hello,
I am not familiar with Spock, but looking at its code it also has JUnit4 so theoretically you could meld the two together on JUnit grounds?
Or what kind of adaptation did you have in mind?

Looking to enable CDI injection in my team's tests, which are written with Spock.
May try looking into Spock's support for Junit 4 as a near term solution.

I see.
I am not familiar with Spock so I am not sure if they have some extension system of their own which you could hook into and bootstrap Weld before running tests?
Looking at docs, I suppose they do - https://spockframework.org/spock/docs/2.0/extensions.html#_writing_custom_extensions
Could be interesting to try and play with it sometimes but I won't be able to set it as my priority any time soon.
Alternatively, if you want to try and implement it, I would be able to provide some guidance as to how you start and tear down Weld container for it. In fact, that part would be very similar to what we do here for JUnit.
Note to self - even if we try this, it should probably reside in a separate project since this one is weld-junit.

Any idea how much work this might take?

That's hard to say.
I can't speak much for the Spock side but you basically need to be able to write an extension that executes something before and after test method (or class, depending on how you want to implement it) which shouldn't be hard.
As for Weld, you need to have some knowledge of Weld SE to understand how to start the container and then it's all about what kind of features do you want in your tests. A basic PoC should be very easy. The tricky part of how you tell Weld what classes are beans for each test plus some other config (basically what WeldInitiator or annotation config does here in weld-junit).

The Spock part should probably not that hard to get done.
Maybe I can throw something together in the future.
In the meantime you could indeed use the weld-junit4 artifact of this project together with the spock-junit4 legacy support artifact.
Spock up to 1.3 was based on JUnit 4 and there the weld-junit4 just worked.
Spock 2+ is an own JUnit Platform Engine, but with the spock-junit4 artifact,
still some JUnit 4 constructs are supported, among them rules,
so the weld-junit4 artifact should still be compatible, even with using spock-junit4 being discouraged.
Here you can see an example of a unit test with Spock 1.3 and weld-junit4:
https://github.com/Vampire/command-framework/blob/4e8f3137014399bc3e0673077239dbd641b63b20/src/test/groovy/net/kautler/command/LoggerProducerTest.groovy
For integ tests I indeed do not use this project, but a custom Spock extension which boots a normal Weld SE container like it would be used in production:
https://github.com/Vampire/command-framework/blob/4e8f3137014399bc3e0673077239dbd641b63b20/src/integTestCommon/groovy/net/kautler/command/integ/test/spock/CDIExtension.groovy
https://github.com/Vampire/command-framework/blob/4e8f3137014399bc3e0673077239dbd641b63b20/src/javacordIntegTest/groovy/net/kautler/command/integ/test/javacord/PingIntegTest.groovy

There we have it: #130 :-)

@andrew-simmons this issue is now resolved and there will (shortly) be a release available for Weld 4 (3.1.0.Final of this project) and for Weld 5 (4.0.0.Final)
Big thanks to @Vampire for contributing the implementation!


[boost] build failure

Host Environment

OS: Windows 10
Compiler: Visual Studio 2019
vcpkg: 2020.06.15-nohash
vcpkg repo: pulled on 2020.11.9

To Reproduce
./vcpkg install boost
Failure logs
...
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.74.0/LICENSE_1_0.txt...
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.74.0/LICENSE_1_0.txt... Failed. Status: 56;"Failure when receiving data from the peer"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:182 (message):

      Failed to download file.
      If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
      variables to "https://user:password@your-proxy-ip-address:port/".
      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  installed/x64-windows/share/boost-vcpkg-helpers/boost-modular-headers.cmake:17 (vcpkg_download_distfile)
  ports/boost-compatibility/portfile.cmake:12 (boost_modular_headers)
  scripts/ports.cmake:135 (include)

Error: Building package boost-compatibility:x64-windows failed with: BUILD_FAILED

Additional context
Failed to download manually https://raw.githubusercontent.com/boostorg/boost/boost-1.74.0/LICENSE_1_0.txt
chromium
This site can’t be reached
raw.githubusercontent.com’s server IP address could not be found.

BTW, succeeded to install opencv via proxy, I'm sure the proxy works.

duplicated #11902


Breaking change in 4.5.0 ?

This code doesn't type anymore:
 this.picker.on('emoji', (emoji) => {
      this.log.info(`Emoji selected: ${emoji.emoji}`); ... });

error TS2339: Property 'emoji' does not exist on type 'string'.

94       this.log.info(`Emoji selected: ${emoji.emoji}`);

And indeed, the typing seems to have changed:
on(event: string, callback: (arg: string) => void): void;

Is it on purpose, or is it a typing glitch?
Thanks!

I was using 4.3.0 before, and pinning to 4.4.0 gives another typing error (below).
Maybe a good policy would be to give default value to new parameters? Or maybe it was done in 4.5.0 actually :)
Note: a changelog would be awesome to quickly pinpoint the changes :)
error TS2345: Argument of type '{ position: "bottom"; recentsCount: number; showSearch: false; showRecents: false; showVariants: true; emojiVersion: "12.1"; zIndex: number; i18n: { search: string; categories: { recents: string; ... 9 more ...; custom: string; }; notFound: string; }; }' is not assignable to parameter of type 'Options'.
  Property 'twemojiStyle' is missing in type '{ position: "bottom"; recentsCount: number; showSearch: false; showRecents: false; showVariants: true; emojiVersion: "12.1"; zIndex: number; i18n: { search: string; categories: { recents: string; ... 9 more ...; custom: string; }; notFound: string; }; }' but required in type 'Options'.

 60   picker = new EmojiButton({
                               ~
 61     position: 'bottom',
    ~~~~~~~~~~~~~~~~~~~~~~~
...
 84     },
    ~~~~~~
 85   });

Agghh! I'm sorry about this. I had changed to have TypeScript automatically generate the typings instead of manually specifying them; obviously I didn't test this as thoroughly as I should. I will try to get this resolved later today, very sorry about the inconvenience!

I have just corrected the typings and released version 4.5.1. I will deprecate both 4.5.0 and 4.4.0 since they both have incorrect typings. Sorry again about that! I will try to publish more detailed changelogs moving forward.

Awesome, thanks for the quick fix!
Out of curiosity, why did you prefer going for any instead of the more precise EmojiEventData type? I understand it may be linked to the fact the types are generated automatically? Interested to understand a bit of how that works.

There is another public event, hidden, that is fired when the picker is hidden. The callback to handle that event doesn't take any arguments, so I couldn't use EmojiEventData. In fact, I just realized, the typing still isn't correct. The on and off functions expect a callback with one argument, but if you're listening for the hidden event, there isn't an argument specified in the callback. This would result in a typing error as well! I need to update the callback to make the single argument optional.


429 Default Behavior Should be to Wait 20 Seconds

As described in Azure/autorest#2601, when a response is a 429 the default behavior should be to wait 20 seconds, or the duration of the Retry-After header. At the moment the behavior is to not retry or wait the duration of the Retry-After header.

Looks like this got fixed in #155


[RTC] Carousel Component Requirements

[Request To Comment] To anybody who intends to use the Core Components, please provide your feedback about the following requirements for the Carousel component. We want to make sure that we build a component that fits your needs, so don't hesitate to tell us how that component should work, so that you will be able to use it.
User Story
As an author, I want to create a carousel on my page, so that a rotating list of teasers is displayed to the visitors.
Acceptance criteria
Behavior for the page visitors

Display the teasers sequentially one after the other with a sliding animation:

don't slide to the next element when the visitor moves the cursor on top of the carousel (eg. reset the slider's timer)
in case there's only one item in the carousel, don't slide anything

Allow visitors to control the displayed item:

slide one step forward or backward with arrows on the left and on the right
slide to any step by clicking on the bullets (which feature a title attribute that corresponds to the item's title)
if there's only one item in the carousel, don't display the carousel controls

Meet the WCAG 2.0 accessibility standards

Editing capabilities for the authors

Allow to easily add, remove and reorder the carousel items.
For each carousel item, provide the same authoring options than the Teaser component offers:

same editing options on the page
same policy configurations options
same in-place editing options
same drag&drop options from the content finder (eg. for image and page mime types)

For the item images, feature the same capabilities than the image component offers:

same in-place editing options
choosing of the optimal allowed size
but make sure to not flash the images as they are moved into the view (some pre-loading is needed)

Support content targeting within the carousel (so you can use Adobe Target or client-side rules to test/target various banners).

Notes

This new carousel component will serve as replacement for the foundation carousel (foundation/components/carousel) and slideshow (foundation/components/slideshow) components.

Wireframes
Example of a possible appearance for page visitors:

Possible authoring with placeholders that unfold like accordions to edit the different carousel items:

Possible edit toolbar dropdown to select the item to edit:

Possible authoring with the different carousel items as tabs in the edit dialog:

I would rather we don't enforce the type of component that can be used for the carousel and accept any component (text, title, image, teaser, list etc.). What would make the carousel different from the container would be the possibility of switching between items (manually or automatically). For editing the items I would rather we rely on the native editing dialogs of each component.

@reusr1 Thx for your feedback. WRT editing of a large slide show (100 slides), what exactly do you have in mind? A grid view made of small cards for each slide? Something else?

Reading the page visitor notes is it safe to say that one of this components core use cases is being as a teaser/promotional list of pages?
If so I figured it might be helpful to show a walkthrough of how we handle the authoring aspect of components like this in our current instances.
Essentially we built a custom touchUI interaction using the combination of an accordion and a multi-set.
And we did that to allow for the following workflow patterns:

Drag and Drop of pages into path fields that automatically bring in metadata of the associated page (its image, title, URL, etc...).  We do this to save our content creators time from duplicating the context they have already added to the page they are referencing.
Reordering of promotional items through drag and drop using the accordion
Allow for a flexible amount of items to be added (1 or many).  We do this so our content creators can focus on promoting the stories they want to tell while we automatically adapt the UI based on the number added

Here is a video walkthrough:
https://www.dropbox.com/s/7ycvovunxxo7nlx/f5a4e7efb3414d048f456e03796d9bc1.mp4?dl=0
Granted our implementation doesn't yet account for inline editing so we are starting to think through inline edit applied to the workflows I demo in the above video (drag and drop, metadata update and overrides).  And also this is fairly custom currently so we are looking at ways to build a pattern like this more natively in touchUI if possible.
Hope this helps think through possible options for an authoring pattern and please if you have any questions I am up for talking any time.

One of the ideas we're exploring besides the edit dialog is to provide a toolbar widget/dropdown that allows switching carousel items and reordering them:
https://drive.google.com/file/d/1yLCGqOUm93ZkbvTmiUc6lpxD43kpyK3C/view?usp=sharing
For adding, editing and removing slides/items in the carousel the normal editing options would be used. You can check a proof-of-concept at https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/tree/carousel-toolbar-dropdown

Thanks to all who contributed ideas to the Carousel [RTC]! With the recent 2.2.0 Release of the Core Components we have a first version of the Component available and will therefore be closing this issue.
The great ideas here that didn't make it into the release (ability to define Carousel items from a collection / improved editing of large scale slideshows) we have tracked and hope to introduce as future enhancements.
For other ideas for the Carousel bug or enhancements, feel free to create a new GitHub issue.


Typo: wont

https://github.com/jonas747/yagpdb/blob/d59f8a4d3ab8d514aa414f970d855776aaa8dfed/rolecommands/menu.go#L177
https://github.com/jonas747/yagpdb/blob/d59f8a4d3ab8d514aa414f970d855776aaa8dfed/rolecommands/menu.go#L179
It should be won't instead of wont.

This can be closed: https://github.com/jonas747/yagpdb/pull/228


Reject properties unspecified in pipeline schema

This PR rejects properties unspecified in the pipeline schema, if the object has required properties.

ah, sorry, let's merge #423 first, this might impact this

ah, sorry, let's merge #423 first, this ~might impact~ will impact this

yeah sure! I will make it a draft instead

closed in favor of merged https://github.com/eth-easl/modyn/pull/423


(python3) Use shims instead of PrependPath. Provide python3-shim.

Expected Behavior
Create a python3.exe shim instead of setting PrependPath=1.
Optinally a python.exe shim could be created, but this probably causes issues with python2.
While one is at it, a pip3.exe shim should be created.
Current Behavior
Whit PrependPath=1 the path environment variable is cluttered by the installer.
Possible Solution
Do not set PrependPath=1 in the installer, but create a shim.
Context
Most Linux distros provide python2 and python3 (pip2 / pip3) binaries/symlinks. This avoids issues running the wrong python version.

Whit PrependPath=1 the path environment variable is cluttered by the installer.

The path env var SHOULD be cluttered by installer.
Regarding python2/python3/symlinks etc that is larger task and not related to this one. But we area not "distro", only package manager. Its certainly possible to do this on choco level but I don't think anybody here is interested in this at this moment, especially since python2 should die already :)


Custom metrics

Compiled a list of metrics that might be useful in production (can be extended anytime).
Added a fallback to use the custom list to the dcgm-exporter app.

I think we decided to leave them here for now


Timesheet - 05/05/2021 - Nikhil Taneja

Task 1
Reviewed TNBAnon project and had a meeting with @picko1990
Proof of Work

https://github.com/thenewboston-developers/Projects/issues/201

Time Spent
2 hours

Task 2
Discussion with Muhammad Anas Azam Bhatti about rules for core team
Proof of Work

Can be reviewed by auditors in all channel of discord

Time Spent
1 hours

Total Time Spent
3 hours
Account Number
e9c5acac0806aca6ba2c0ade74d93ec4f9a89d8743fa477c52ce9b7817dcad95

@itsnikhil, the proof of work is just a link to the discord issue. Are there meeting notes?

@itsnikhil, the proof of work is just a link to the discord issue. Are there meeting notes?

https://drive.google.com/file/d/1FSt9A6La_dXpAHdHQ1PblWGwk_JieNwg/view

Approved.


mark-private-orgs: Outdated screenshot

Description
The current example screenshot is outdated. It shows a padlock icon, but the current icon is the eye-closed Octicon.
How to replicate the issue + URL
https://github.com/refined-github/refined-github/blob/main/source/features/mark-private-orgs.tsx
Extension version
24.7.23
Browser(s) used
Chrome on macOS Sonoma 14.5


More Czech translations

Hello, @xsuchy! Thank you for contributing. Can you sign our CLA so that I can merge your pull request?

Done


GDScript parser has issues with static typing outer class in inner class.

Godot version: 3.1 alpha 1

OS/device including version: Windows 10

Issue description:

If you give a script a class_name, then try to use that class inside one of the inner classes as a static type, instead it is statically typed as the inner class.
Example script:
extends KinematicBody2D
class_name Pawn

var controller : PawnController = null

func _get_movement_vector():
	if controller:
		return controller.calculate_movement_info(self)
	else:
		return Vector2(0,0)

# Pawn controllers should extend and implement these functions.
class PawnController extends Node:
	func calculate_movement_info(pawn : Pawn):
		return Vector2(0,0)

Godot gives an error on the line controller.calculate_movement_info(self), saying that the function's assigned type (Pawn, the type of self), does not match the function argument's type (PawnController).
For some reason, pawn is assigned the static type of PawnController instead of Pawn.
This error prevents the game from running (parser error).

Still reproducible in the current master branch.

Can confirm that the original issue still exists in 3.1 beta 8.

Looks good. Thanks!


Transactions support

Hi, it's a great project - finally I can use normal DB with asyncio. However it seems that transactions doesn't work:
    object = await peewee_async.create_object(TestModel, text="FOO")
    obj_id = object.id
    try:
        with database.atomic() as txn:
            object.text = "BAR"
            print(await peewee_async.update_object(object))
            raise AttributeError("AAAA")

    except AttributeError as e:
        object = await peewee_async.get_object(TestModel, TestModel.id==obj_id)
        print("TEXT:", object.text)

gives
1
TEXT: BAR

At the moment I have no clue, how could I fix this by myself- if you could give me some hints, I'll be more than happy to contribute.

Hi @mrbox! :)
Using transactions is possible bit tricky. Here's a quick note on that:
https://aiopg.readthedocs.org/en/stable/core.html#transactions
As a workaround we could execute "BEGIN" and "COMMIT" queries directly via database. I think we may add support of raw SQL queries via execute():
yield from execute('BEGIN;')
await peewee_async.update_object(object)
yield from execute('COMMIT;')

And in order to use with statement we need async context managers that is only supported since Python 3.5: https://www.python.org/dev/peps/pep-0492/#asynchronous-context-managers-and-async-with

@mrbox Jakub, thank you for contribution! I've refactored tests to have a single entry point, renamed database methods to have _async() part as suffix (not prefix) and updated docs.
0.4 version in now on PyPi :)

Closing this issue. Created separate one for bug with connection pool #14

I'm reopening the issue, because I believe we need to rethink transactions implementation from bottom up.
Current implementation may occasionally work, but when running several transactions in parallel tasks it fails almost every time, and there's no surprise - the logic copied from multi-threaded environment is not adapted to single-threaded actually.
Here's a basic test running empty simultaneous transactions - doesn't pass:
https://github.com/05bit/peewee-async/blob/master/tests/tests_py35.py#L73
The correct implementation, I suppose, must store all transaction related data in per-task (e.g. "task locals"). I'm going to move transactions logic development to separate transactions branch to have hands free on publishing updates.

Also, there's a note on autocommit mode in the aiopg docs:
https://aiopg.readthedocs.org/en/stable/core.html#aiopg-core-transactions

While aiopg works only in autocommit mode it is still possible to use SQL transactions.

That means we don't need to switch mode at all.

Closing this issue for now, I hope won't need to reopen :)


Problem with import statement of transformer

This import statement raises an error:
ImportError: cannot import name 'swish' from 'transformers.activations'
Why does this happen? Is it related to the version of transformers you use? How should we make the code runnable?

Hello, I also have the same problem. I am using a single GPU running code. Have you resolved it? How to solve it?

Thank you so so so much!I'll try it.:)

requirements.txt
I've made a dump of the conda environment which I ran ClipBERT


dotfiles::initialize should embed into specified existing files instead of replacing them to preserve functionality (i.e .bashrc, .gitignore and etc)

Right now dotfiles::initialize only has the ability to process .dotfilesignore file.
In order to preserve the functionality of existing files like .bashrc, .gitignore and others, we need to embed our own files into those of Gitpod and other places where we want to install our dotfiles.
Will have to introduce another run-config-file for dotfiles::initialize where we can specify files to be embedded into existing files.

Fixed by https://github.com/axonasif/dotfiles-sh/commit/95688fb8d3713b68610412c16d7160df6fd87019


RFC: Vulnerability response runbook

This RFC proposes the vulnerability response process used by the Bytecode Alliance. It is structured as a runbook: a set of steps to be followed by the team responding to a discovered vulnerability.
It documents the process we followed for several different security advisories in Wasmtime and Lucet, for example:
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-88xq-w8cq-xfg7
https://github.com/bytecodealliance/lucet/security/advisories/GHSA-hf79-8hjp-rrvq

On initial read, this looks really good and is quite complete!
Only thing I would add is that, if the vulnerability is in a Rust crate used by others, adding an entry to the rustsec database is a good last step, after the CVE exists and is public. An example PR is here for last year's Cranelift CVE.

(Forgot to say, sorry!) Great write-up, this definitely will streamline and structure the incident handling process!

@cfallin Thanks, added a RustSec database step to the final section. We haven't been consistent in publishing to that database, but there is no reason not to be.

Motion to finalize with a disposition to merge
This RFC was forgotten for a little while with one piece of unresolved feedback, which has now been resolved. We have been using it de-facto during the time it was open.
Stakeholders sign-off
This effects all Bytecode Alliance projects so I've copied the biggest stakeholder list I could find (#14) and added some new folks. I apologize if I missed anyone, I am happy to add folks.
Arm

[ ] @akirilov-arm
[ ] @sparker-arm

DFINITY

[ ] @granstrom

Embark Studios

[ ] @bnjbvr
[ ] @repi

Fastly

[ ] @cfallin
[ ] @sunfishcode
[ ] @fitzgen
[x] @pchickey
[ ] @peterhuene
[ ] @acfoltzer
[ ] @iximeow
[ ] @aturon
[ ] @cratelyn
[ ] @elliottt
[ ] @jameysharp

Google/Envoy

[ ] @PiotrSikora

Intel

[ ] @mingqiusun
[ ] @abrown
[ ] @jlb6740

Microsoft

[ ] @squillace

Fermyon

[ ] @bacongobbler
[ ] @radu-matei

Mozilla

[ ] @julian-seward1
[ ] @yurydelendik

IBM

[ ] @uweigand

wasmCloud

[ ] @autodidaddict

Unaffiliated

[ ] @tschneidereit
[ ] @bjorn3

As per the RFC process this RFC is entering its 10 day final comment period.
If no objections have been raised by 2022-08-28, we will merge this RFC.

@tschneidereit should be listed in the Fastly section, right?

The final comment period has elapsed without any objections, so I'm going to merge this!


Contact: Hello

Hey,
I work Interchain, we are stewards of Cosmos-SDK, Tendermint and IBC. We would love to begin a chat with the LINE team to talk about various features that have been implemented and possibly will be implemented.

Thank you for your interest. We are currently preparing a Slack channel for communication related to this repository. Please wait a few days.

Due to the nature of large companies that value the LINE brand, there are issues such as security and monitoring of external communication channels, so the channel opening process is delayed. If there is an issue you want to hear a quick answer, you can write it down here.

(accidentally closed by bot😱)


Format services of the catalog discovered

As the services (MySQL, ...) that the command odo catalog list services will display will come from different catalogs, then it is mandatory that when we will display the result that we indicate too that by example MySQL service is coming from ASB, idem for MySQL proposed by Openshift Template
[1] https://goo.gl/FdkXG1

@cmoulliard why is this needed? As a user you don't mind which broker is providing the service, you only interact with the service-catalog which is one and only one for openshift. Then, broker can be many, but that should not matter at all.

If the OpenShift's instance has been provisioned with 2 Service Brokers, then the user will most probably get 2 classes for by example MySQL Database

I agree that adding the Broker name as additional column is perhaps not the most valuable but that could help some teams/projects having qualifying a type of broker instead of another to select the appropriate class = service and plans. By example MySQL (APB) instead of MySQL as APB is related to Ansible PlayBook Format that we agreed to use ...
@jorgemoralespou Make sense ?

have two services with the same name coming even from the same catalog.

Good question. I will have a look as I'm not sure that this field class.Spec.ExternalName is unique and is used as a key (vs field of a record's db)

Here is the info that I propose to show for each class discovered from the catalogs

Name
Description
Versions

dh-mssql-apb
Deployment of Microsoft SQL Server on Linux
N/A

dh-mssql-remote-apb
Microsoft SQL Server Remote APB
N/A

dh-mariadb-apb
Mariadb apb implementation
10.2

dh-mariadb-apb
MariaDB database service, with persistent storage
10.1, 10.2

I think it would be quite rare to have many duplicates in an OpenShift instance, hopefully the cluster-admin does a better job of curating the content and that we do a better job of setting up simple instances of the catalog.
Then it would an a rare exception instead of a common need to solve on the odo command line. The plan is to provide additional data about the classes in the future so that we could show more informative content: provider, provisioned on or off cluster, etc

Showing version is quite tricky because there's no field as version in clusterserviceclass or clusterserviceplan

some of description are too long so, table looks very messy

so, I added PR which shows only plans corresponding to classes. PR is here https://github.com/redhat-developer/odo/pull/687

we can give more info about versions and descriptions in odo catalog describe service which is tracked here https://github.com/redhat-developer/odo/issues/689


register 1.3

@JuliaRegistrator register

added kernel ABC differential evolution,
it requires much less generations to reach reasonable posterio distributions compared to non kernel methods

Registration pull request created: JuliaRegistries/General/16407
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.3.0 -m "<description of version>" ea7bdd5efbcf9b6434500fc57236ecf9b16f86a9
git push origin v1.3.0


Is it possible to set the timezone in the container?

Hi,
thank you very much for the great project. Would like to adjust the time zone of the container to the host system.
Unfortunately I have not been able to do this yet.
Is it possible to adapt them?
version: "3.8"

networks:
    7dtd_proxy:
        external:
            name: 7dtd_proxy

services:
  7dtd:
    image: didstopia/7dtd-server
    container_name: 7dtd
    environment:
      - SEVEN_DAYS_TO_DIE_UPDATE_CHECKING="0"
      - TZ="Europe/Berlin"
      #- SEVEN_DAYS_TO_DIE_BRANCH="public"
      #- SEVEN_DAYS_TO_DIE_SERVER_STARTUP_ARGUMENTS="-logfile /dev/stdout -quit -batchmode -nographics -dedicated"
      #- SEVEN_DAYS_TO_DIE_CONFIG_FILE="/app/.local/share/7DaysToDie/serverconfig.xml"
      #- SEVEN_DAYS_TO_DIE_START_MODE="0"
      #- SEVEN_DAYS_TO_DIE_TELNET_PORT=""
      #- SEVEN_DAYS_TO_DIE_TELNET_PASSWORD=""
    ports:
      - "26900:26900/tcp"
      - "26900:26900/udp"
      - "26901:26901/udp"
      - "26902:26902/udp"
    networks:
       - 7dtd_proxy
    volumes:
      - app:/app/.local/share/7DaysToDie
      - steamcmd:/steamcmd/7dtd
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone.ro
    restart: unless-stopped
    logging:
      options:
        max-size: '12m'
        max-file: '5'
      driver: json-file

volumes:
  app:
    name: 7dtd-data
    driver: local
  steamcmd:
    name: 7dtd-steamcmd
    driver: local

Setting the TZ variable should be enough. Does it not work? Where do you see it not working as expected?


Banana Cake Pop Execute Disabled After Updating HotChocolate Packages to Preview.10 and 12

Bug Description
I have recently updated my HotChocolate Package References to Version=12.0.0-preview.10 and then again to Version=12.0.0-preview.12
GraphQL Queries which previously worked under Banana Cake Pop cannot be executed (though they seem to parse properly) because the Execute Button remains disabled.
Sample Query
A typical example of one of my GraphQL Queries (some are simpler, some more complex) is as follows:
query {
  patients(order_by: {id: DESC}) {
    nodes {
      id
      nameUsed {
        nameUse
        fullName
      }
      addressUsed {
        addressType
        addressUse
        fullAddress
      }
      telecomUsed {
        telecomSystem
        telecomUse
        telecomValue
      }
      patientLanguage {
        languageCode
      }
      patientRelative {
        patientRelativeName {
          nameUse
          fullName
        }
      }
      patientContact {
        patientContactName {
          nameUse
          fullName
        }
      }
      patientIdentifier {
        identifierType
        identifierValue
      }
      gender
      birthDate
      maritalStatus
      approvalStatus
      isActive
      created
      updated
    }
  }
}

Environment
I am running under Windows 10 Home x64 Build 19042 and am targeting net6.0 running Version 6.0.100-preview.4.21255.9 of the .Net Framework SDK.
As a suggestion for the future, it would be great if Banana Cake Pop had some sort of "Information" or "About" button - to report the currently installed version.
However, I do not think Banana Cake Pop is the issue.  I must be missing some annotation now required of the query definitions.
Yes; it was working very well until the two recent HotChocolate Updates mentioned above.

Corrected the former GraphQL order_by keyword, which has apparently been renamed to order.  This change had no effect on the issue being reported.
I have upgraded to use the HotChocolate.Data package.  I have not installed HotChocolate.Data.EntityFramework.

This issue was resolved when I upgraded to the latest Version="12.0.0-preview.14" of your HotChocolate.AspNetCore, HotChocolate.Data, and HotChocolate.Types.* packages.
Thank you for resolving this issue so quickly.


chore(ref): ref for tests from go-chi

What this PR does / why we need it:
Add ref links for test code borrowed from go-chi
Special notes for your reviewer:
/cc @ddysher
Release note:

NONE

/lgtm


feat: #2056 - added color to preference headers

Impacted files:

abstract_user_preferences.dart: added optional header asset and color methods
user_preferences_connect.dart: implemented header asset and color
user_preferences_contribute.dart: implemented header asset and color
user_preferences_faq.dart: implemented header asset and color
user_preferences_page.dart: fine-tuned the display of header with color
welcome_page.dart: unrelated overflow fix

What

Added a background color to svg headers in settings.
No color for dark mode.

Screenshots

dark
light

Fixes bug(s)

Closes: #2056

Codecov Report

Merging #2069 (681e880) into develop (2ea0da3) will increase coverage by 0.27%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2069      +/-   ##
==========================================
+ Coverage     8.86%   9.13%   +0.27%
==========================================
  Files          161     177      +16
  Lines         6623    8492    +1869
==========================================
+ Hits           587     776     +189
- Misses        6036    7716    +1680

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
12.64% <0.00%> (-19.67%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
64.10% <0.00%> (-18.88%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
19.60% <0.00%> (-14.61%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
26.47% <0.00%> (-4.96%)
:arrow_down:

...s/smooth_app/lib/pages/onboarding/next_button.dart
0.00% <0.00%> (-4.00%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

packages/smooth_app/lib/main.dart
15.17% <0.00%> (-2.72%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

... and 152 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 0b52c09...681e880. Read the comment docs.


XGBRegressor Laptop Price Predictor

XGBRegressor trained model for predicting the price of the laptop according to user's requirements

bro please change the folder name to project name
and change the path put it in XGB folder and then we can merge it
thank you


Trains derail at speed above 0.4 blocks/tick

BkCommonLib version: 1.67 SNAPSHOT
TrainCarts version: 1.75 SNAPSHOT
Spigot version: spigot-1.8.8-R0.1-SNAPSHOT

Problem or bug: I am making an amusementpark in minecraft so traincarts is the most needed plugin but somethings wrong that in some turns the cart derails if it goes above roughly 0.4 blocks/tick only by remodeling the lay out it works, other amusementparks don't have this problem so I don't know why I am having this. by derailing the train often just falls through the rails and the block beneath falling to the ground.
Expected behaviour: to not derail if going at higher speeds than 0.4 blocks/tick
Steps to reproduce: I really don't know how to reproduce this problem, from the minecraft server I know I am the only one having this problem.
(I am sorry for possibly bad english, I am dyslectic and it's not my native language)

Hey man,
This is a bug that i cant fix. I dont know how other servers fix it.
Also there is a 1.11.2 release coming soon and fixed almost al bugs.

Matthijs

and what is soon, april, may, june? I need it al fixed by the beginning of june

Don't have any idea myself. It should be ready in a few weeks.


Record fetch handler

Fetch record by ids.

@carmenlau and I just checked all SDK, all of them have a fetch record by ID api, but they all are calling query api on the server, though in iOS SDK, there is an underlying NSOperation which is calling record:fetch.
So are we going to remove this api on server?


Thermostate Danfoss Ally Quirk - Integrate new model eTRV0103

https://github.com/zigpy/zha-device-handlers/blob/23a166902e50d5c32019e0d4d32a968715041bb6/zhaquirks/danfoss/thermostat.py#L114
Hello,
I just installed my new Danfoss Ally, which is has this signature:
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4678, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0301",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x000a",
        "0x0020",
        "0x0201",
        "0x0204",
        "0x0b05"
      ],
      "out_clusters": [
        "0x0000",
        "0x0019"
      ]
    }
  },
  "manufacturer": "Danfoss",
  "model": "eTRV0103",
  "class": "danfoss.thermostat.DanfossThermostat"
}

Obviously, this is a different model than the default quirk is made for. Hence, the quirk is not applied.
I assume/hope that attributes and all are the same.
Could you integrate the new model in the default quirk?
Thanks a lot.
Micha

But your device signature is saying that the quirk is loading.
Maybe do you have enabled your local quirk?

Yes, you are right. I locally added the model to the list and it loaded. Actually, I just recognized this after I wrote this issue.
Nevertheless, the model should be integrated into the default file.

Moreover, I don't know, if the quirk is actually working for the new model. It appears to me that values are not correctly read or written, using the defined attributes.

Are there any improvements when just adding the new model to the quirk?

I have not tried your updated version but only one which I changed myself.
I expected to use attributes like external_measured_room_sensor or  control_algorithm_scale_factor. E.g., the first one seems to work. The second one does not. I can write a new value and also read it back, but the control performance of the TRV does not change. As I understood, control_algorithm_scale_factor is some measure for a time constant of a filter, with which the set point is filtered. My "problem" is that the temperatur overshots significantly, obviously due to a too high integral gain of the PI controller. The filter would lead to a reference that the system can follow and hence reduce wind up of the integral part.


improve version config scheme

After PR #6, it is now evident that the version selection scheme in gen_api.erl is going to start looking ugly before too many more NIF revisions.
Quick ideas to think more about later when I have time...

Use when X>Y logic to select APIs.
Add an intermediate layer that explodes a NIF version number into a set of flags for selecting APIs.

I was about to point out 18.2.1 fails because the NIF version is 2.9 :).
Can I send a patch that just checks Version is > 2.7 for now?

@tsloughter Just FYI, You can take my code from PR https://github.com/goertzenator/ruster_unsafe/pull/6 for OTP 18.2.x. It does not do when X>Y but when X=:=W; X=:=Y; X=:=Z. (I followed the conversion in the current code base.)

Oh, I didn't notice #6 had that. I simply quickly forked and did >= {2.7}.


Revoke NONE type of noise mechanism in protocol config

Implementation of the API change in https://github.com/world-federation-of-advertisers/cross-media-measurement-api/pull/173.

Current dependencies on/for this PR:

main

PR #1226

PR #1233   👈
PR #1184

This comment was auto-generated by Graphite.

This change is

Closed this PR as its API PR is closed. See https://github.com/world-federation-of-advertisers/cross-media-measurement-api/pull/173 for more details.


Transforming this (however roughly) into a Mojo application, with sub…

…commands, instead of separate executables. Fixes #3.

This quite roughly mashes main-branch code into place without any deep attempt to make it more mojo-ey.
We'd also need to plug the hole of it displaying far too much help info by default. Nobody needs to know about 'cpanify', e.g.


Promote GSuiteAddOns APIs to 1.0.0

Changes in Google.Apps.Script.Type version 1.0.0:

Commit 19b4d05: fix: add outer classname for addon_widget_set proto for java

Changes in Google.Cloud.GSuiteAddOns.V1 version 1.0.0:
No API surface changes; just dependency updates and promotion to GA.
Packages in this release:

Release Google.Apps.Script.Type version 1.0.0
Release Google.Cloud.GSuiteAddOns.V1 version 1.0.0

Created release for Google.Apps.Script.Type-1.0.0
Created release for Google.Cloud.GSuiteAddOns.V1-1.0.0


Create team signed invites

The commits d6b5729fd7a8...fe887308373c introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)


pods running as root user security alerts

Describe the solution you'd like
I am using the helm installation of csi, (chart version 0.0.17, app version 0.0.13)
The installation creates pods which are defined to run as root user
When connected to Azure Security Center I get this recommendation: "Running containers as root user should be avoided"
Is there a practice to use a different permission level?
Should this ASC recommendation be ignored?

Kubernetes version: (use kubectl version): 1.20.4
Cluster type: (e.g. AKS, aks-engine, etc): AKS, 1.18.14

Hi @aramase deploying to kube-system worked in terms of the security center alerts
The SecretProviderClass was deleted and I recreated it.
Now the secrets are not created when new pods are scheduled
Could it be related somehow to this change?

@aramase is there any troubleshooting I can use for this case?


allow prefix in oranda serve

closes https://github.com/axodotdev/oranda/issues/90
closes https://github.com/axodotdev/oranda/issues/71

Can't approve because it's my PR but ship it!


[feature] Support zip with __MACOS when uploading models in MacOS

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
Zip will contain __MACOS when users zip the models in macOS, we should support such case.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

Can describe how to recurrence and test the case？ @gaocegege

You can zip the model directory using macOS builtin zip tool in the UI.