numpy.linalg.LinAlgError: Singular matrix with color deconvolution

This code is returning an error:
W_target = dask.array.from_array([
    [0.5807549,   0.08314027,  0.08213795],
    [0.71681094,  0.90081588,  0.41999816],
    [0.38588316,  0.42616716, -0.90380025]
])

stain_unmixing_routine_params = {
    'stains': ['hematoxylin', 'eosin'],
    'stain_unmixing_method': 'macenko_pca',
}

W_source = S_source.T[pairwise_distances(
    S_source.T, W_target.T).argmin(axis=1), :].T
W_target = S_target.T[pairwise_distances(
    S_target.T, W_target.T).argmin(axis=1), :].T

tissue_rgb_normalized = deconvolution_based_normalization(
    ihc_rgb,
    W_source=W_source,
    W_target=W_target,
    stain_unmixing_routine_params=stain_unmixing_routine_params,
    mask_out=masking(ihc_rgb) if use_mask else None
)

Here's the relevant part of the stack trace:
  File ".../macenko.py", line 178, in normalization
    mask_out=masking(ihc_rgb) if use_mask else None
  File ".../python3.6/site-packages/histomicstk/preprocessing/color_normalization/deconvolution_based_normalization.py", line 105, in deconvolution_based_normalization
    **stain_unmixing_routine_params)
  File ".../python3.6/site-packages/histomicstk/preprocessing/color_deconvolution/color_deconvolution.py", line 260, in color_deconvolution_routine
    Stains, StainsFloat, wc = color_deconvolution(im_rgb, w=W_source, I_0=None)
  File ".../python3.6/site-packages/histomicstk/preprocessing/color_deconvolution/color_deconvolution.py", line 77, in color_deconvolution
    Q = np.linalg.inv(wc)
  File "<__array_function__ internals>", line 6, in inv
  File ".../python3.6/site-packages/numpy/linalg/linalg.py", line 547, in inv
    ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
  File ".../python3.6/site-packages/numpy/linalg/linalg.py", line 97, in _raise_linalgerror_singular
    raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix

Here's W_source:
[[ 0.58290042  0.21542109 -0.0927159 ]
 [ 0.72414757  0.84884955  0.5099034 ]
 [ 0.36856124  0.48275065 -0.85522061]]

Here's W_target:
[[ 0.59929213  0.09243651 -0.00763791]
 [ 0.71776717  0.89055597  0.44791856]
 [ 0.35448446  0.44538248 -0.89404173]]

The shape of ihc_rgb is (3, 256, 256).
I would give more information, but I'm unable to consistently reproduce this error (the error occurs in the script I pasted above, but not in another script).
EDIT: To clarify, when I said the error doesn't occur in another script, I mean the above code is in a method, and this method is called in two locations. From one location everything works as expected, and from the other, I get this error.

Having a specific image where we can reproduce the error would greatly help.  The specific parameters passed to deconvolution_based_normalization would do instead (probably just ihc_rgb).

Unfortunately, I can't recreate the error, so I'll close this. I know I haven't updated HistomicsTK recently, and I don't think I found a solution. I'll reopen this issue if I come across it again.

Yikes—I just realized I wrapped the code block in a try-except so I could continue development. I'm still unable to consistently reproduce this error, but this might help:

TCGA-A7-A13E-01Z-00-DX1 from MoNuSeg

The stack trace indicates that the W_source matrix is singular. I checked the matrix you provided though and it's not singular. That is why you cannot reproduce the error.
You need to have at least two linearly independent columns in the stain matrix when calling color deconvolution.

Alright, I've singled our dataset down to three images that produce this error. Here's one of them:

If you'd like the other images, I can send them too.
I'm still trying to reproduce the error, and I'm struggling. The following produces an all-black output:
import numpy as np
from PIL import Image
from histomicstk.preprocessing.color_normalization.\
    deconvolution_based_normalization import deconvolution_based_normalization

ihc_rgb = np.array(Image.open(
    '/tmp/TCGA-NH-A8F7-01A-01-TS1.png').convert('RGB'))
W_source = np.array([
    [0.35950424,  0.35950424, -0.16814837],
    [0.80753471, 0.80753471,  0.54895428],
    [0.46759426,  0.46759426, -0.81876451]
])
W_target = np.array([
    [0.59929213,  0.09243651, -0.00763791],
    [0.71776717, 0.89055597,  0.44791856],
    [0.35448446,  0.44538248, -0.89404173]
])
stain_unmixing_routine_params = {
    'stains': ['hematoxylin', 'eosin'],
    'stain_unmixing_method': 'macenko_pca'
}
tissue_rgb_normalized = deconvolution_based_normalization(
    ihc_rgb,
    W_source=W_source,
    W_target=W_target,
    stain_unmixing_routine_params=stain_unmixing_routine_params
)

Does this reproduce the matrix singularity error, or is there a different error (output being black)?

This script I just sent doesn't reproduce the matrix singularity error—there is a new error. I didn't create a new issue since the all-black output only happens with images that produce the matrix singularity error, so it seems like there might be a common problem.

So these images that produce an all black output also trigger the matrix singularity error? How are you bypassing the error to generate output?

I have a script that runs calls macenko.py for normalization. When running this script, I get the matrix singularity error for three images.
In an attempt to reproduce this issue, I created a new file with the contents I sent earlier. When I run this new file, I don't get an error, but tissue_rgb_normalized ends up as an all-black image.

I'm trying to work the original example with the images you provided. 'S_source' and 'S_target' are not defined.
Please provide in a single post a stand-alone working example and data that produces the error.

I've been working on that but I cannot for the life of me figure out why I can't reproduce this. I'll send a stand-alone example as soon as possible, but if it helps, for now, removing the W_source=W_source fixes the issue.
The W_sources for the 3 images are singular. I'll do some more research and see what we should do in the case that W_source is singular.

W_source can be singular / non-invertible, but must have at least two columns that are linearly independent. In that case the third column is derived to be orthogonal to the first two so that the matrix is invertible.
Each column here represents a stain, and so that is why you need at least two (you wouldn't deconvolve an image of a tissue stained with a single stain).


Update README.md

Added @AdamOIC / @ChadSLS / @mheadd / @cityofasheville / @axtheset and many other resources.


46 dependencies

#46

fully migrated to poetry and management of package dependencies with pyproject.toml.
removed requirements.txt
reduced number of dependencies from 51 to 17

Tested all execution scripts - everything seems to be running ok even after changes to dependencies. Can now be merged


What comes in must go out

This resolves my issue with #414 and makes SILE get along a lot better in a *nix environment. You can now use SILE pretty much any way you would use a any standard  POSIX utility to read/write input. This includes acting as part of a pipeline where the document comes from STDIN and the rendered PDF goes to STDOUT. For example you could run
$ echo "<sile>This is an XML string</sile>" | sile - | lpr

This feeds an XML document string into sile and sends the output straight to the default printer without fussing with intermediate files. This may sound like a party trick, but consider even for this simple trick four commands would have been run:
$ echo "<sile>This is an XML string</sile>" > doc.xml
$ sile doc.xml
$ lpr doc.pdf
$ rm doc.xml doc.pdf

This quickly gets out of hand when you have a complicated chain of things you want to run either on the input side, the output side, or both.
This works and using "-" as a filename flag to trigger processing STDIN is relatively standard behavior, but personally I would rather see this be the default for when no filename is provided and move the interactive readline interface behind a flag.

Um, actually I didn't mean to merge this without discussion first, esp with at least one  hack in place. That was entirely accidental because I had my git remotes listed backwards. I've reset that and will re-submit this PR.


Can't Read Nunchuck Data

I'm trying to read the data off the Nunchuk but failing...I feel like there's some initialization function that I'm not calling or something like that, because the sample scene works fine for me.
Here's my code to find the Wiimote:
WiimoteManager.FindWiimotes();

if (!WiimoteManager.HasWiimote()) { return; }

wiimote = WiimoteManager.Wiimotes[0];

wiimote.SendPlayerLED(false, false, false, false);

wiimote.SendDataReportMode(InputDataType.REPORT_EXT21);
wiimote.SetupIRCamera(IRDataType.BASIC);

if (wiimote.current_ext != ExtensionController.NUNCHUCK) {
    print("no nunchuck");
    print(wiimote.current_ext.ToString());
    return;
}

print("wiimote has nunchuck");
print("Stick: " + wiimote.Nunchuck.stick[0] + ", " + wiimote.Nunchuck.stick[1]);

I always get the no nunchuck line printed, and wiimore.current_ext.ToString() is reported as NONE. AS far as I can tell, that is expected behaviour, as the nunchuck isn't even fully detected at this point; I don't see the An extension has been connected. debug message until after these messages are printed out.
Here's my code in my Update() method:
if (!WiimoteManager.HasWiimote()) { return; }
wiimote = WiimoteManager.Wiimotes[0];

int ret;
do {
    ret = wiimote.ReadWiimoteData();
} while (ret > 0);

if (wiimote.current_ext == ExtensionController.NUNCHUCK) {
    NunchuckData data = wiimote.Nunchuck;
    print("got nunchuk!");

    // Use nunchuck data
    // ...

} else {
    print(wiimote.current_ext.ToString());
}

In this case, I always drop into the else block, even after the "An extension has been connected" message is printed out.
I sprinkled in some debug statements in Wiimote.cs and noticed that in RespondIdentifyExtension, the val identifier has the hex value 0xFF00A4200000, which is almost the same as the value for ID_Nunchuck except the highest byte is FF instead of 00.
I'm not sure what is causing this. Am I missing an initialization function somewhere? Am I supposed to send some data to the wiimote before trying to read nunchuck data?

Same problem =(

Same problem with classic Nunchuk.

It SOMETIMES worked for me, then not anymore. It seems to be sporadic. It drove me crazy.
I'm using WiiBuddy from the Unity Asset Store now, it's reliable. Unfortunately without source code, but that's still the best library to use the Wii. I use it with a Dolphin Bar, that's really painless in aspects of connecting with windows.

I'm using WiiBuddy now from the Unity Asset Store. It comes without source code, but it works out of the box and recognizes the Nunchuck.

I had to set the data report mode to REPORT_BUTTONS_ACCEL_EXT16 to get Nunchuck data from my controller.
By default I was only getting switch data back from just the Wiimote.
I think a better description of what data is returned for each InputDataType would help greatly.


PQC support in libacvp

ACVP server already supports test vector for PQC algorithm like ML-DSA
https://pages.nist.gov/ACVP/draft-celi-acvp-ml-dsa.html
Do we have plan to support it in client side?
Thanks
Dong

Hello,

LMS is currently supported in recent releases
ML-KEM support is complete and functional in the 2.2.0 branch, not yet released

Supports liboqs testing (for time being)

ML-DSA will get a small fix in the 2.2.0 branch tomorrow and should be complete then, not yet released

Waiting on oqs ML-DSA implementation updates to support testing

SLH-DSA work should be completed in the next week or so in the 2.2.0 branch

2.2.0 will likely be released by end of year if not earlier, but the branch is generally kept in a working state. There are a few platforms that might not function properly at the moment (e.g. Windows).
Thanks,
Andrew


Project example

Is there a project example in github that contains playbook, rulebook, inventory...?

I can create the project but do not see the playbooks. I am assuming I have the project structure wrong? Dont see any errors in the logs.
"log":"2023-03-20 13:10:27.662 UTC:client backend:[150407]: DETAIL:  parameters: $1 = '42b564c9f891882c0d596bdd0355f4ad844e36c9', $2 = 'https://github.com/blancettb/blb-ansible-playbooks.git', $3 = 'blancett', $4 = 'blancett'\n","stream":"stderr","time":"2023-03-20T13:10:27.663711356Z"}


Fix Code coverage issue with Ant build tool

Manual Testing done [TIP Tests]
Added UTs
Ref PR: https://github.com/Microsoft/vsts-tasks/pull/2750

:shipit:


fix: bump nx/rspack to latest for nx upgrade

Description

Related Issue

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] I have updated the documentation.

dude thank you


Bump HAL to 0.11.0

The I2S constructor had to be change as its signature changed.
New features brought by this change are listed in https://github.com/stm32-rs/stm32h7xx-hal/blob/master/CHANGELOG.md.
A follow-up patch will leverage these to introduce a driver for the
flash memory.
Signed-off-by: Petr Horacek<EMAIL_ADDRESS>

Awesome, thank you Petr!


Actually enable dotplots for multi-part variants

This worked for me.

Thanks, I had this change somewhere but I must not have merged it!


WIP: fix: allow combining include and exclude

Reason for change
For a CI pipeline I was trying to scan just container images but without the healtcheck and docker trust check:
./docker-bench-security.sh -i test -c container_images -e check_4_5,check_4_6
This wasn't yet implemented so I took a stab at it.
Technical explaining
The magic is in the sed:
sed -ne "/$i()/,/}/{ /{/d; /}/d; p}" functions_lib.sh

$i is the checkname, for example container_images so it matches on container_images() { until }
This results in:
# sed -ne "/container_images() {/,/}/p" functions_lib.sh
container_images() {
  check_4
  check_4_1
  check_4_2
  check_4_3
  check_4_4
  check_4_5
  check_4_6
  check_4_7
  check_4_8
  check_4_9
  check_4_10
  check_4_11
  check_4_end
}

But I am just interested in the checks so just print the checks:
# sed -ne "/container_images() {/,/}/{/check/p}" functions_lib.sh
  check_4
  check_4_1
  check_4_2
  check_4_3
  check_4_4
  check_4_5
  check_4_6
  check_4_7
  check_4_8
  check_4_9
  check_4_10
  check_4_11
  check_4_end

And then I just did the same grep trick as checkexclude to exlude test.

Thanks @wilmardo for the PR, looks interesting and I'll have look asap.

Looks good! Could you update the README with a couple examples as well?

I made a little improvement to make it a bit more versatile . The sed is now:
sed -ne "/$i() {/,/}/{/{/d; /}/d; p}" functions_lib.sh
The change is that it does not match on check anymore but removes the lines containing { and } so it now also works for functions without checks.
# sed -ne "/cis() {/,/}/{/{/d; /}/d; p}" functions_lib.sh
  host_configuration
  docker_daemon_configuration
  docker_daemon_files
  container_images
  container_runtime
  docker_security_operations
  docker_swarm_configuration
  docker_enterprise_configuration

So a command like this works now:
./docker-bench-security.sh -i test -c cis -e host_configuration,docker_enterprise_configuration
I will add a commit for some documentation :)

Awesome!

Added the examples in the readme but while writing I found another case which isn't working yet.
sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -e docker_enterprise_configuration
I will refactor the logic a bit more, decided against it while starting this change but it will make it more usable in the long run :)
Set the title to WIP until I implented this :)

Great! Thanks for doing this :)

Reworked the include exclude logic so now all combinations should be possible:

sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -e docker_enterprise_configuration
sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -e docker_enterprise_configuration,check_2_2
sh docker-bench-security.sh -l /tmp/docker-bench-security.sh.log -c container_images -e check_4_5

Added them to the readme.
I tried my best to test this thoroughly but I could have easily missed something due the fact that is it my own code ;)
Happy reviewing 🎉

@konstruktoid PTAL, no need to rush just bringing this to your attention again :)
Best of wishes for 2020! 🎆

@wilmardo no worries, I just wondered, see comment above, why the export was removed. I believe it might be necessary on some distributions.


Rename table aws_ec2_regional_settings to table_aws_ec2_regional_setting

Please provide Int-test and example query. All file name should be updated.

As discussed, the table name will not change


[uart,dv] Correct number of RX break level coverage bins

Kokoro misbehaving and a restart didn't help. All other CI looks good and this change is unlikely to cause lint issues so merging.


Encoded-key based authentication

It is a common and suggested use case to use spring data cloud spanner and spanner-jdbc for liquibase for application based database migrations. When you use spring data spanner, one recommended way is to set spring.cloud.gcp.spanner.credentials.encoded-key that contains a base64 encoded service account json to setup authentication.
It would be very beneficial if spring jdbc uses and supports this way of credential providing too. Right now, I workaround by defining a conditional initializer that creates a credentials file on application startup and reference the created file via connection url jdbc:cloudspanner:/projects/my-project/instances/my-instance/databases/my-db;credentials=/path/to/credentials.json.
does it make sense that you also accept the encoded-key via a Connection property, or via some other mechanism that behaves similar to the concept of spring data spanner?
thanks in advance!

Awesome, thank you! Will give it a try ASAP.

Awesome, thank you! Will give it a try ASAP.

Oh, I'm afraid I should have phrased my 'Fixes' comment a little bit differently. The change in https://github.com/googleapis/java-spanner/pull/1223 will implement this feature, but only once the JDBC driver picks up the latest version of the Spanner client library. So even if you pull the main branch of the JDBC driver now, you will not automatically get this feature. If you really want to test it out today, you would need to clone both the Java client library and the JDBC driver, and update the reference in the JDBC driver to the client library to use your local version.


There was an error accessing

There was an error accessing /home/mhadi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions. The underlying system error is Errno::EPERM: Operation not permitted @ rb_file_s_rename - (/tmp/bundler-compact-index-20170831-15666-1on94rh/versions, /home/mhadi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions)
after execute this commands
sudo chmod 1777 -R /home/mhadi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47
and
sudo chmod 1777 -R /tmp
it show this
There was an error accessing /home/mhadi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions. The underlying system error is Errno::EPERM: Operation not permitted @ rb_file_s_rename - (/tmp/bundler-compact-index-20170831-15687-39acgn/versions, /home/mhadi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions)

Can you attach the output of bundle env. Which command were running as well when you got this error?
Something you can try to do is delete /home/mhadi/.bundle/cache/ and /tmp/bundler-compact-index-20170831-15687-39acgn and then try again.

@mhadiahmed were you able to resolve your issue? The issue seems to be the user that is running bundle install doesn't have access to /home/mhadi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47.

I'm closing this for now. If you're still experiencing your original issue don't be afraid to re-open this ticket.


fix: update gh action to v0.9.5

When using the gh action:
...
      - name: "Update schemes"
        uses<EMAIL_ADDRESS>...

I'm still getting the missing decimals, I'm guessing it is because the version in the action.yml file was not updated to v0.9.5?

Note, that I don't have any experience with github actions, so if there something else that I should do to create a release for a gh action, let me know.

Is there nothing else that needs to be done so that the action uses the latest version? I just tried with uses: "tinted-theming/tinted-builder-rust@latest" and it still pulling the 0.9.1 image.

It should be working now, the latest tag was at the v0.9.5 tag, but since the change in this PR happened afterwards, latest points to a point where the action is still looking at 0.9.1.
I've created an issue for this: https://github.com/tinted-theming/tinted-builder-rust/issues/8

Perfect, confirmed working.


LABEL BlockType?

Now I am actively studying the components of Scratch and its modifications. As I understand it, BlockType.LABEL was only added to PinguinMod and I want to know how it works from the inside. In total, I found only 2 commits related to this type (first, second) and, I wonder if there were any more commits to add it?

Is this the right place for questions? It's just my first question here...

I suggest using the discord for asking questions

Now I am actively studying the components of Scratch and its modifications. As I understand it, BlockType.LABEL was only added to PinguinMod and I want to know how it works from the inside. In total, I found only 2 commits related to this type (first, second) and, I wonder if there were any more commits to add it?

turbowarp now has labels to

Now I am actively studying the components of Scratch and its modifications. As I understand it, BlockType.LABEL was only added to PinguinMod and I want to know how it works from the inside. In total, I found only 2 commits related to this type (first, second) and, I wonder if there were any more commits to add it?

since you arnt in the discord im going to mention it here
see here for how blocks get defined
see here for how the block xml list is built into a full xml element to be used here
and as you kinda already mentioned, the xml for the label is generated here which is called by this function which is called by this

Nooo! I have an account for 20 years how could this happen!

Sorry for the confusion, English is not my native language and I thought you were talking about age. And how long do I have to wait for registration?

7 days

Okay, I'm using my old account :(

Thanks for the clarification!


[Autocomplete] Access getOptionLabel in renderOption

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
We are overriding the default renderOption but we cannot access getOptionLabel in the custom renderOption function, to get the correct label.
I propose exposing getOptionLabel via the ownerState parameter of renderOption, i.e. adding it to this object:
https://github.com/mui/material-ui/blob/6f7acbb9921a624ec8bf835b5ed6caef58eba748/packages/mui-material/src/Autocomplete/Autocomplete.js#L484-L495
Examples 🌈
This is our component override:
 defaultProps: {
    // ...
    renderOption: (
      props,
      option: React.ReactNode | { label: React.ReactNode },
      { selected },
      ownerState
    ) => {
      return (
        <li {...props}>
          {selected && <CheckIcon />}
          {
            // Work around not having access to the getOptionLabel prop here.
            typeof option === "object" && option != null && "label" in option
              ? option.label
              : option

            // Ideally the above code would be just this: (so it would work with other label props as well)
            ownerState.getOptionLabel(option)
          }
        </li>
      );
    },
  },

Motivation 🔦
If this feature is not added, we would need to drop support for getOptionLabel in our lib in order to use renderOption.

Actually, getOptionLabel is passed in ownerState but only if a user passes a custom getOptionLabel. The default getOptionLabel is not passed. So this seems more like a bug.

You are correct; there is a bug. We forgot to pass the default getOptionLabel prop to ownerState in #36971. All props with default values should be explicitly passed to ownerState.
The addition of ownerState as a fourth parameter to renderOption was to enable global customization of different options (https://github.com/mui/material-ui/issues/33423) in the pull request https://github.com/mui/material-ui/pull/36971, which caused this issue to surface up. You can see the demo here - https://mui.com/material-ui/react-autocomplete/#globally-customized-options. This change was released in v5.14.0. I'm glad to see that you are using it.

Also noticed that the internal value is not passed to ownerState

@emlai Would you like to create a PR?

No, we already have a workaround in place

@ZeeshanTamboli
I've fixed the issue and raised PR. Please review.

Also noticed that the internal value is not passed to ownerState. (I need it for custom styles set only when an option is selected.)

@emlai, Which value your referring? Coz I see both TextField inputValue and selected options value is accessible in renderOption.

inputValue you can access from option state - 3rd param.
value you can access from ownerState - 4th param.

Moreover, if you want to style based on selected. This is also available from option state param.


Tilt stopped work; setcap issue

My Tile hasn't logged the last two beers.  I tested the device and the app connects fine.  Fermentrack is reporting that setcap isn't set correctly.
I ran getcap to display and they were there.
I ran setcap -r /usr/bin/python3.7 to clear all caps; and
ran sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/python3.7
this appeared to fix the issue (I have a gravity reading now.
FT is still reporting setcap error.  When I run getcap, I see the settings are a bit different than what the script expects.
pi@raspi:~ $ getcap -v /usr/bin/python3.7
/usr/bin/python3.7
pi@raspi:~ $ sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/python3.7
pi@raspi:~ $ getcap -v /usr/bin/python3.7
/usr/bin/python3.7 = cap_net_admin,cap_net_raw+eip

As you can see the +eip is attached to the net_raw instead of net_admin.
Is this causing the erroneous report?

I'm seeing the same issue on my side.
Interestingly Fermentrack does occasionally recognise the Tilt and will log data - but it randomly disconnects.

I've ended up removing this test as part of an upcoming release of Fermentrack that no longer targets non-containerized installs, as we have control (via the Dockerfile) of exactly what flags are set. Going to tag this as pending pull, and close once everything is merged to Master.


fix: admin and owner state changed to Addr, and corresponding tests fixed

Description:
Commit Message
type: commit message

see the guidelines for commit messages.
Changelog Entry
version: <log entry>

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have documented my code in accordance with the documentation guidelines
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[ ] I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #687 (0fa0ff4) into main (e6d5089) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff            @@
##               main     #687   +/-   ##
=========================================
  Coverage     69.03%   69.03%
  Complexity      406      406
=========================================
  Files           152      152
  Lines         13836    13836
  Branches        290      290
=========================================
  Hits           9551     9551
  Misses         4133     4133
  Partials        152      152

Flag
Coverage Δ

rust
67.02% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...s/cosmwasm-vm/cw-xcall-ibc-connection/src/admin.rs
98.55% <100.00%> (ø)

...osmwasm-vm/cw-xcall-ibc-connection/src/contract.rs
53.82% <100.00%> (ø)

...s/cosmwasm-vm/cw-xcall-ibc-connection/src/owner.rs
92.59% <100.00%> (ø)

...s/cosmwasm-vm/cw-xcall-ibc-connection/src/state.rs
70.54% <100.00%> (ø)


opensync: add radius nas ip config

Add functionality to configure nas ip.
Fixes: WIFI-1715
Signed-off-by: Arif Alam<EMAIL_ADDRESS>

Merged debb9aa, thank you


How to get correct accuracy?

Hello, I tried the source code of your method on Visda-2017 with the backbone of ResNet101, but I only got 71.7%. So I want to know how to get 84.3%, thank you very much.

Closing in favor of #3


Pillow update past 4.1.1 is broken

OS == Windows 10 && OSX

JPEG can't use alpha channel, converting to rgb resolves the issue.
Latest update fixes this, and also removes manual installation of pillow


add random GET argument for imageUrl faker

When using multiple imageUrl with same configuration, only one image is loaded from lorempixel since the generated url are the same.
This pull requests adds an argument to tell Faker to add a random GET parameter to the generated url in order to have different images from lorempixel.

Superseded by #494

Merged in the other PR, thanks for your contribution!


Hide <subtitle>s

Don't show the <subtitle> for episode <lockup>s if the <title> and <subtitle> are the same.

Or always show original broadcast date. Like "Di 17 Nov 2015" as mentioned in an other issue.


1823825 | Message fixes | Address validation issues | 34

This PR is for user story 1823825.
Fixed an issue with missing table headers.
If these changes are not appropriate, please let me know. I'm only trying to clean up validation issues in this repo. So I can easily close this PR or modify it in whatever way is best for the content.

Docs Build status updates of commit 68d49a8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/technical-guides/optimizing-filegroups-for-the-databases1.md
:bulb:Suggestion
View
Details

biztalk/technical-guides/optimizing-filegroups-for-the-databases2.md
:bulb:Suggestion
View
Details

his/core/choosing-the-appropriate-programming-model1.md
:bulb:Suggestion
View
Details

biztalk/core/wcf-client-must-allow-impersonation-to-use-single-sign-on.md
:white_check_mark:Succeeded
View

biztalk/core/wcf-run-time-errors.md
:white_check_mark:Succeeded
View

biztalk/core/web-server-on-host-port-not-found.md
:white_check_mark:Succeeded
View

biztalk/core/windows-components-may-not-be-installed.md
:white_check_mark:Succeeded
View

biztalk/core/world-wide-web-service-on-host-not-available.md
:white_check_mark:Succeeded
View

biztalk/core/x12-error-encountered-during-instance-generation-field-can-repeat-in-biztalk.md
:white_check_mark:Succeeded
View

biztalk/core/x12-error-encountered-during-serialization-in-biztalk-server.md
:white_check_mark:Succeeded
View

biztalk/core/xlang-s-reserved-words.md
:white_check_mark:Succeeded
View

biztalk/esb-toolkit/using-the-resolver-components-in-your-code.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/appendix-b-install-the-microsoft-sharepoint-adapter.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/prepare-your-computer-for-installation.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/best-practices-for-administrative-maintenance.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/best-practices-for-maintaining-performance.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/biztalk-server-2010-operations-guide.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/phase-1-scoping-the-assessment.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/system-resource-costs-on-hyper-v.md
:white_check_mark:Succeeded
View

his/core/active-directory-schema-reference2.md
:white_check_mark:Succeeded
View

his/core/added-headers-and-subvectors1.md
:white_check_mark:Succeeded
View

his/core/close-plu-request2.md
:white_check_mark:Succeeded
View

his/core/common-schema-collections-for-the-host-file-system1.md
:white_check_mark:Succeeded
View

his/core/compiler-options-for-3270-applications1.md
:white_check_mark:Succeeded
View

his/core/compiler-options1.md
:white_check_mark:Succeeded
View

his/core/configuring-an-ip-dlc-connection2.md
:white_check_mark:Succeeded
View

his/core/configuring-an-ip-dlc-link-service1.md
:white_check_mark:Succeeded
View

his/core/configuring-biztalk-adapter-for-host-applications1.md
:white_check_mark:Succeeded
View

his/core/connections-and-the-snacfg-utility1.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/optimizing-filegroups-for-the-databases1.md

Line 2, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Learn more about: Optimizing Filegroups for the Databases' is duplicated in 'technical-guides/optimizing-filegroups-for-the-databases1.md(2,14)', 'technical-guides/optimizing-filegroups-for-the-databases2.md(2,14)'.

biztalk/technical-guides/optimizing-filegroups-for-the-databases2.md

Line 2, Column 14: [Suggestion-duplicate-descriptions] Attribute 'description' with value 'Learn more about: Optimizing Filegroups for the Databases' is duplicated in 'technical-guides/optimizing-filegroups-for-the-databases1.md(2,14)', 'technical-guides/optimizing-filegroups-for-the-databases2.md(2,14)'.

his/core/choosing-the-appropriate-programming-model1.md

Line 57, Column 2: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

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

Docs Build status updates of commit 503e29e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/wcf-client-must-allow-impersonation-to-use-single-sign-on.md
:white_check_mark:Succeeded
View

biztalk/core/wcf-run-time-errors.md
:white_check_mark:Succeeded
View

biztalk/core/web-server-on-host-port-not-found.md
:white_check_mark:Succeeded
View

biztalk/core/windows-components-may-not-be-installed.md
:white_check_mark:Succeeded
View

biztalk/core/world-wide-web-service-on-host-not-available.md
:white_check_mark:Succeeded
View

biztalk/core/x12-error-encountered-during-instance-generation-field-can-repeat-in-biztalk.md
:white_check_mark:Succeeded
View

biztalk/core/x12-error-encountered-during-serialization-in-biztalk-server.md
:white_check_mark:Succeeded
View

biztalk/core/xlang-s-reserved-words.md
:white_check_mark:Succeeded
View

biztalk/esb-toolkit/using-the-resolver-components-in-your-code.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/appendix-b-install-the-microsoft-sharepoint-adapter.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/prepare-your-computer-for-installation.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/best-practices-for-administrative-maintenance.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/best-practices-for-maintaining-performance.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/biztalk-server-2010-operations-guide.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/optimizing-filegroups-for-the-databases1.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/optimizing-filegroups-for-the-databases2.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/phase-1-scoping-the-assessment.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance.md
:white_check_mark:Succeeded
View

biztalk/technical-guides/system-resource-costs-on-hyper-v.md
:white_check_mark:Succeeded
View

his/core/active-directory-schema-reference2.md
:white_check_mark:Succeeded
View

his/core/added-headers-and-subvectors1.md
:white_check_mark:Succeeded
View

his/core/choosing-the-appropriate-programming-model1.md
:white_check_mark:Succeeded
View

his/core/close-plu-request2.md
:white_check_mark:Succeeded
View

his/core/common-schema-collections-for-the-host-file-system1.md
:white_check_mark:Succeeded
View

his/core/compiler-options-for-3270-applications1.md
:white_check_mark:Succeeded
View

his/core/compiler-options1.md
:white_check_mark:Succeeded
View

his/core/configuring-an-ip-dlc-connection2.md
:white_check_mark:Succeeded
View

his/core/configuring-an-ip-dlc-link-service1.md
:white_check_mark:Succeeded
View

his/core/configuring-biztalk-adapter-for-host-applications1.md
:white_check_mark:Succeeded
View

his/core/connections-and-the-snacfg-utility1.md
:white_check_mark:Succeeded
View

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

@MandiOhlinger This PR is ready for merge.


Always populate ResponseMetadata

This makes sure that, so long as the response was able to be parsed
into a dict, the ResponseMetadata key is always provided. This is
important because we use that for more than just what the service
directly returns.
cc @kyleknap @jamesls @stealthycoin

This is an edge case, but some services are reported to occasionally omit the data we would need to have been putting the response in previously. Since some customers are beginning to rely on additional data we add to that metadata, we should still be putting it in.

Current coverage is 97.57% (diff: 100%)

Merging #1064 into develop will increase coverage by <.01%

@@            develop      #1064   diff @@
==========================================
  Files            44         44
  Lines          6934       6936     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6766       6768     +2
  Misses          168        168
  Partials          0          0

Powered by Codecov. Last update dffa9b3...8545833


Update fs2-io to 3.2.10

Updates co.fs2:fs2-io from 3.2.9 to 3.2.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-io" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "co.fs2", artifactId = "fs2-io" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #365 (5e63aaa) into master (a4a12c4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #365   +/-   ##
=======================================
  Coverage   84.61%   84.61%
=======================================
  Files          35       35
  Lines         221      221
  Branches       10       10
=======================================
  Hits          187      187
  Misses         34       34

Flag
Coverage Δ

unittests
84.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 700c809...5e63aaa. Read the comment docs.

Superseded by #374.


Adaptive learning: Add endpoint to retrieve student course metrics

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[ ] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[ ] I chose a title conforming to the naming conventions for pull requests.

Server

[ ] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[ ] I strictly followed the server coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[ ] I documented the Java code using JavaDoc style.

Client

[ ] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[ ] I strictly followed the client coding and design guidelines.
[ ] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[ ] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[ ] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] High priority: I tested all changes and their related features with all corresponding user types on a test server configured with the integrated lifecycle setup (LocalVC and LocalCI).
[ ] I tested all changes and their related features with all corresponding user types on a test server configured with Gitlab and Jenkins.

Motivation and Context

Description

Steps for Testing

Prerequisites:

1 Instructor
2 Students
1 Programming Exercise with Complaints enabled

Log in to Artemis
Navigate to Course Administration
...

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

The exerciseInformation could also be a sorted list IMO since it also contains the id in each element. It is probably sorted but right now I'm doing something like this on the client side:
let exerciseInformation = Object.values(exerciseMetrics);
// Sort by due date
exerciseInformation = exerciseInformation.sort((a, b) => new Date(a.due).getTime() - new Date(b.start).getTime());

I'm missing the score of the participation, right now I only have the averageScore :|
This is what I get now:
{
  "exerciseMetrics" : {
    "exerciseInformation" : {
      "1" : {
        "id" : 1,
        "shortName" : "W1E1",
        "title" : "Exercise 1",
        "start" : "2024-05-07T12:57:00Z",
        "due" : "2024-05-08T12:57:00Z",
        "type" : "de.tum.in.www1.artemis.domain.ProgrammingExercise"
      },
      "2" : {
        "id" : 2,
        "title" : "W1E2",
        "start" : "2024-05-07T12:58:00Z",
        "due" : "2024-05-07T14:58:00Z",
        "type" : "de.tum.in.www1.artemis.domain.TextExercise"
      }
    },
    "averageScore" : {
      "1" : 0.0,
      "2" : 60.0
    },
    "averageLatestSubmission" : {
      "1" : 3.295138888888889,
      "2" : 36.986111111111114
    },
    "latestSubmission" : {
      "1" : 3.295138888888889,
      "2" : 36.986111111111114
    }
  }
}

I take it that the latestSubmission and averageLatestSubmission are from 0 to 100 (%). 0 is exerciseInformation.start and 100 is at exerciseInformation.due

The DTO is now as expected. Thanks! :)


Added hipblaslt_ext::matmulIsTuned API

Brief
Added hipblaslt_ext::matmulIsTuned API, it can be used to check a given GEMM problem is exactly tuned or not.
Implementation

added rocblaslt_matmul_is_tuned bridge function.
added MatchingTag in ContractionSolution struct.
in ExactLogicLibrary, set MatchingTag of matched solution to Euqal if the predicate is Predicates::Contraction::EqualityMatching.
hipblaslt_ext::matmulIsTuned returns 1 if tag of the best solution is Equal else 0.
An example was also added.

Tests are passed on Ubuntu.


Can you create skinChanger for PBE?

If it doesn't work, the offsets are wrong. If it doesn't inject, the .exe's name is different.


fixed two incompatibilities for deprecated lines of code; line width and color added to datasource

also, line width and line color added to DataSource, should partially address #21

hi @joshdhenry would you mind checking this PR? seems to solve some issues with latest xcode versions


Aggregate Tailer fix

Fixes the case where the tailer wouldn't respect the taskIds query param when viewing a log via the /request/*/tail path. (Example: https://private.hubteamqa.com/singularity-test/request/ORION_TestService_TrafficSplitting-userweb/tail/ORION_TestService_TrafficSplitting-userweb-152_15_19-1470241646336-3-flaky_lion.iad03.hubspot_networks.net-us_east_1e/tail_of_finished_service.log?taskIds=ORION_TestService_TrafficSplitting-userweb-152_15_19-1470241646336-3-flaky_lion.iad03.hubspot_networks.net-us_east_1e)
@tpetr @Calvinp @wolfd

WIP: Fixing other bugs with the aggregate view (auto decaffeinate did a number on it)

Everything seems to be working except for the unified instance switching, but as discussed in Slack, this is already affecting QA and PROD.

LGTM


Slow Camera loading

Why is camera loading so slow on mobile devices? How can I speed up?

I think it's because Instascan library is over 2MB.

I was capable to reduce the file size to 1.5MB, compressing it with an online compresser.


GEODE-7091: Add tests for Micrometer binders

Verify meters from binders exist
Remove file descriptor binder tests because they depend on JVM type
Move binder meter tests to separate class

Co-authored-by: Aaron Lindsey<EMAIL_ADDRESS>Co-authored-by: Mark Hanson<EMAIL_ADDRESS>Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Not ready to merge...


M01-LAB01-TASK03: Explore Microsoft 365 Defender, Preparing the Microsoft 365 Defender workspace

Contact Details
No response
What happened?
Exercise : 01
Task: 03
Step: 02
Description of issue: On the Microsoft 365 option under the setting tabs for M365 Defender, data storage fails to load and is required for completion of the task and future tasks.
Repro steps:

On the Microsoft 365 Defender portal, from the navigation menu, select Settings from the left.

On the Settings page select Microsoft 365 Defender.

Lab
Other
Relevant screenshots

Do you want to help us? 👏

[ ] Create a Pull Requestt by following this project's Contribution Guide

Unable to reproduce. Closing.


Work on tests

Issue opened with imdone.io from code comment on 9f751f1
BACKLOG Work on tests id:29

https://github.com/imdone/imdone-atom/blob/9f751f14f022fed15d90b360e4f50f43250dcb82/spec/imdone-atom-spec.coffee#L3-L8

Issue closed with imdone.io by removing a comment.

https://github.com/imdone/imdone-atom/blob/b7251b7ccf00e69c484ae85d9668078cedb7152e/spec/imdone-atom-spec.coffee#L3-L8


Add replication autotest

add create rule with 0 endpoint
add test ping and cert verify
add add new endpoint
add create rule with existing endpoint

Coverage decreased (-0.04%) to 60.27% when pulling 7e42302a19df5d624dabb618c28e8f15fce7063c on sigsbee:fixfix into 3215d328aac7184d888dc415636c8b6f3c7baf27 on vmware:master.


bug: db-migrate create:scope doesn't create directory, nor uses one if it exists

I'm running the default 0.9.x branch on Windows 10.
Currently, I have to run db-migrate create:somescope newfile, copy generated files to the intended somescope directory, and if I use --sql-file then I'd have to copy those SQL files to somescope/sqls as well, or I'd have to edit the migration to correctly reference its parent folders.
What is working for me as intended is db-migrate up:somescope, which does run the migrations under that folder. But since the docs refer to create:scope, and what I've searched at https://github.com/db-migrate/node-db-migrate/blob/3fca5102a893bde43b5de749278728b906486595/api.js#L588 seems to indicate this must be a bug.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36370186-bug-db-migrate-create-scope-doesn-t-create-directory-nor-uses-one-if-it-exists?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).

This is already fixed on the 0.10.x track, the support is actually completely missing on the 0.9.x track though and was introduced later on. I need to look if I'm going to backport this to 0.9.x.

Got it.
It's just that 0.9.x is still the current stable release, and npm installs it by default.

Yeah that is going to change, I'm currently straightening everything to push out the 0.10.x. I have recently moved for example the seeders out of scope for 0.10.x, thus the last big item before the release is to rewrite all tests and add tests for the new programable api.
I need to rewrite all tests b/c we're currently still using vows, and vows does have some bugs which makes it impossible to actually test some things and I really mean impossible. Also vows does not seem to maintained anymore though. So the switch over is needed unfortunately.


What is the functionality of the Topics Section in Domain.yml of the Dialogue Model

Rasa Core version: 0.8.5
Python version:  Python 3.5.4
Operating system (windows, osx, ...): Ubuntu
Issue:
Request Help in understanding the topics section of the domain.yml file that is generated out of Rasa Core training. I am not sure if we can modify any of the details of the domain.yml file that is present in thee trained dailogue model. Request help in understanding this. Please let me know if you need more details.
Content of domain file (if used & relevant):

the topics are not used currently, so please just ignore them :)
I would not recommend changing anything in the domain after training, it's better to edit your domain in the original file and retrain, otherwise you are likely to encounter errors.


Installing the SDK

I tried to accept the license with expect, wasn't able to test it because docker froze during the JDK installation:
Download done.
Removing outdated cached downloads...

But it should work.
(Will test tomorrow)

Okay, so I've tested it and it works.
I moved the updater stuff into another script because it wasn't working like it should when expect is run by docker. You can also adjust the stuff you want to install there.

Hi @lfuelling, thanks a lot for the PR, I really appreciate it. And thanks so much for fixing the issue.
I'm not sure if I understand what's the updateSDK script for. The idea of the docker image is to be able to download it and enjoy. I was using this image for Gitlab CI builds, where it downloads the image automatically and runs the build on it.
If you need to run a script inside the container each time the sdk is updated by Google you kind of lose that magic.
How would you use this script then?

Well you would have to run the build process again even if you did it without the script. It just uses expect to answer the license questions with y\r.


Support for eslint-define-config

Right now, eslint-plugin-i does not support eslint-define-config or typescript types at all.
Does eslint-plugin-i want to support it natively? (This would require shipping .d.ts files), or should I add https://github.com/eslint-types/define-config-plugin-types/tree/main/types/i (alongside https://github.com/eslint-types/define-config-plugin-types/tree/main/types/import)?
Coming from https://github.com/vitejs/vite/pull/15569

Thanks @Shinigami92! :heart:
I'd love to definitely.
But I also have some questions

Do you mean to re-export @eslint-types/import as typings at this repository? It seems we can't, the plugin name is hard coded.
If not, should we mark @eslint-types/import as dependency for reusing some types? Or we just write ourselves?
Do you want to maintain it here? It would be great if you can join the org or project.

@JounQin could you make a review of https://github.com/eslint-types/define-config-plugin-types/pull/42
I just mostly copied over the files from <root>/types/import and replaced import/ with i/ as well as the github links in the settings type.
Then I ran pnpm run preflight to generate the rest via script.
Can you especially check the settings? Also why do the rules (<root>/types/i/types.d.ts) contain links to https://github.com/import-js/eslint-plugin-import instead of https://github.com/un-es/eslint-plugin-i?

I didn't view all through but it should just be fine, because the most functionalities are all the same, ecpect modern deps.

Also why do the rules (/types/i/types.d.ts) contain links to https://github.com/import-js/eslint-plugin-import instead of https://github.com/un-es/eslint-plugin-i?

Because this fork aims to be an alias actually. Imagine a user have a legacy ESLint config using eslint-plugin-import inside, and in project root level it's using eslint-plugin-i, there will be duplicate deps: import + i, this is what I don't want.
The recommended usage is always:
npm install -D eslint-plugin-import@npm:eslint-plugin-i@latest

See also https://github.com/import-js/eslint-import-resolver-typescript/pull/248

Besides, I remembered that, the setting prefix is still import due to strategy as above. Please check https://github.com/un-es/eslint-plugin-i/issues/17.

This MR can be closed. I'm thinking of deprecating eslint-define-config in favor of tseslint.config (https://typescript-eslint.io/getting-started/#step-2-configuration)


Cannot install Azure ARM Tools for VSCODe

Action: startArmLanguageServer
Error type: Error
Error Message: This extension requires .NET Core for full functionality, but we were unable to download and install a local copy for the extension. If this error persists, please see https://aka.ms/vscode-armtools-dotnet for troubleshooting tips.
Details: dotnet.acquire returned undefined
Version: 0.12.0
OS: win32
OS Release: 10.0.18363
Product: Visual Studio Code
Product Version: 1.49.0
Language: en

Solved by commenting out my PowerShell profile required modules part.

@stefanstranger Thanks for letting us know!  Could you be more specific as to what you did so we can add this to our troubleshooting page?  Thanks!
cc @sfoslund

Hi Stephen,
The Azure ARM Tool extension is dependent on .NET Core and it has some code (I don't know where) to download and install .NET core using PowerShell.
While this PowerShell (script?) is called my PowerShell profile will be loaded. I have some #require statements in my Profile which somehow where not available on my system.
I would suggest that the PowerShell script being called to install .NET core is called with the -noprofile switch.
HTH
Stefan

@stefanstranger Thanks!

Moved to https://github.com/dotnet/vscode-dotnet-runtime/issues/121.

https://github.com/dotnet/vscode-dotnet-runtime/issues/121 marked as fixed


Update 0000-01-02-AdishetuO.md

this is cool even tho Idk what exactly I'm doing but it will make sense one day!


--ignore option does not work

I'm trying to use this in a monorepo with symlinked packages. In my package.json I have my monorepo packages set with file: links. In node_modules these are symlinked to the path in the monorepo, outside the node_modules path. I'm using this inside of Docker, but I don't think that should affect the pattern matching or ignore. Docker might affect the symlinks though.
I tried --ignore="directory-name" and --ignore="@mynamespace/mypackage" and it still removed files from those packages which should have been ignored.
I tried --follow-symlinks=false and that didn't stop it, but I'm also not sure how that option is supposed to work.
Maybe I'm using it wrong, in which case maybe the docs need to be more clear.

@mnebuerquo are you sure? In CLI mentioned that string should be glob pattern.
Example:
modclean -n default:safe --ignore='!folder_name' -r

I only see an effect when I specifically list the pattern that causes the deletion. So, when I add --ignore *.html it works, but package names are ignored.


Feature Request: Implement Insertion Sort Algorithm using C

🔖 Feature Description
Insertion Sort Algorithm
Insertion sort is a simple sorting algorithm that works by iteratively inserting each element of an unsorted list into its correct position in a sorted portion of the list. It is like sorting playing cards in your hands. You split the cards into two groups: the sorted cards and the unsorted cards. Then, you pick a card from the unsorted group and put it in the right place in the sorted group.
📈 Benefits

Simple and easy to implement.
Stable sorting algorithm.
Efficient for small lists and nearly sorted lists.
Space-efficient as it is an in-place algorithm.

🛠 Suggested Implementation (Optional)
No response
📷 Screenshots
No response
✔ Checklist

[X] I have checked the existing issues to avoid duplicates.
[X] I have read and understood the Contributing Guidelines.
[X] I have read and agree to the Code of Conduct.
[X] I am a Hacktoberfest'24 contributor.
[X] I am willing to work on this issue.

📝 Additional Notes (Optional)
pls assign this issue to me

@sudo-parnab pls merge the PR


feat: install wizard on first launch

adds a install form on first LNbits launch and lets you configure it initially.
also shows you the super_user -> useful for bundlers

Some tests are failing.

Some tests are failing.

Yes. The middleware is overpowering everything! Don't know how to fix it. Maybe set the settings.first_install to False, on test start. @dni ?


Dropped unsafe code from users segment by using 'users' crate

NOTE: This also fixed 'error' username detection on Arch Linux.
I have tested that there is no performance penalty.
Interestingly, the binary size didn't change even by a single bit (1,565,896 bytes before and after the patch).

Thanks a lot!

@jD91mZM2 You are very welcome! Thanks for building this up!


Add a controllable distance to the floating state of the SnackBar

The snackBar component is a very useful component, which I see in many Google applications. I found that Google's apps are a little higher than flutter's snackBar when they are in use. So I think when I use the snake bar, I can also have a position adjustment.
I tried to see the source code of snackBar, but I found that it could not simply implement my idea.
I have two expectations:

It can be the same as Google's app. I can control its distance from the bottom. (maybe just add a minimum parameter under "widget snapbar = safearea()").
It can be in the middle of the parent widget.

Hi @HeebeLee
Unless this feature is already implemented on latest master channel. Can you please elaborate on this proposal? It is not clear what you really want the SnackBar API to have.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


chore: Add builder-dotnet to version stream

With https://github.com/jenkins-x/jenkins-x-builders/pull/996 merged,
we're now building builder-dotnet regularly, so let's add it to the
version stream.
Signed-off-by: Andrew Bayer<EMAIL_ADDRESS>

/approve

/lgtm

/retest


refstore: implement retention policy

Fixes #5.

Codecov Report

Merging #7 (88b5f37) into master (841994c) will increase coverage by 0.77%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   46.64%   47.42%   +0.77%
==========================================
  Files          20       26       +6
  Lines        1164     1419     +255
==========================================
+ Hits          543      673     +130
- Misses        573      680     +107
- Partials       48       66      +18

Impacted Files
Coverage Δ

refstore/registry.go
0.00% <ø> (ø)

refstore/retention_policy.go
0.00% <0.00%> (ø)

refstore/access_list.go
48.31% <48.31%> (ø)

refstore/identifier.go
55.76% <52.38%> (-0.24%)
:arrow_down:

refstore/dir/retention.go
53.33% <53.33%> (ø)

refstore/dir/dir_store.go
53.93% <55.55%> (ø)

refstore/dir/size_capture.go
100.00% <100.00%> (ø)

refstore/dir/id_path.go
100.00% <0.00%> (ø)

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 841994c...88b5f37. Read the comment docs.


Service action not working properly

When running a service action, the SDK is returning a non-related error:
vagrant@ansible ~/dev/katana  $ katana service action -c config.xml -p access_token="123" -n facebook
2017-05-05T07:24:05.407Z [INFO] Component initiated...
2017-05-05T07:24:07.527Z [ERROR] Middleware error running callback: facebook. Cannot get service schema. No mapping provided
2017-05-05T07:24:07.559Z [ERROR] Operation failed```

This is coming from very simple config and runner files:
config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="urn:katana:service" name="auth" version="1.0.0" http-base-path="/1.0/auth">
    </info>
    <engine runner="urn:katana:runner:node" path="./runner.js"/>
    <action name="facebook" http-method="post" http-input="form-data" http-path="/facebook" description="logs in via facebook">
        <param name="access_token" required="true" description="The access token of the user in fb"/>
        <schema type="entity" name="auth"/>
    </action>
    <schema-entity name="auth">
        <entity validate="true">
            <field name="token"/>
            <field name="refresh_token"/>
            <field name="expires" format="datetime"/>
        </entity>
    </schema-entity>
</service>

runner.js
const Service = require('katana.sdk').Service;

const service = new Service();

service.action('facebook', (action) => {
    let graph = require('fbgraph');
    const token = action.getParam('access_token').getValue();
    graph.setAccessToken(token);
    graph.get('me?fields=id,email,location,picture', function (error, response) {
       action.log(response);
    });
    return action;
});

service.run();

Just confirmed with @jeronimoalbi that when launching via CLI the mapping is not available.
Working on a solution for this, using some sensible defaults for methods that rely on the ServiceSchema being available.

Thanks man!

Fixed in the SDK.

@rvegas keep in mind we need to take into account that Node.js is asynchronous and once you return the action the response is sent. Currently, this code returns an empty response.


MH-13127: Make table headers non-interactive by default

This will ensure that only table headers with a corresponding sort by action are styled to be interactive.
Before

After

Resolves: MH-13127
Note that this affects all tables in the Admin UI that come with table headers - the tables used in modals and wizards are affected, too.

@KatrinIhler This pull request is not about removing commented code and we would generally recommend to create separate pull requests for code cleanup stuff. In particular, a cleanup pull request following best practises does not just remove unused code from the file currently being worked on but rather removes related code across the whole code base.
Seem from that point of view, it makes sense to adapt the unused code so that it is at least "up-to-date".
Agree, though, that it would make sense to remove unused code. But preferably in a separate PR that removes all of the unused code related to one unused feature (incl. backend).

@staubesv As already discussed in the Technical Meeting, we don't quite agree on this (I would prefer to remove unfinished features completely as well, but I'll take deleting some dead code over none any day), but I'll merge this as is for now and hopefully we can get rid of at least one dead feature by the end of the year.

@KatrinIhler I will take care of removing at least one unfinished feature completed across the codebase until end of year. Promised.


feat: NFTs Explorer: Top NFTs

[x] issue #215
[x] follows contribution guide
[ ] code change includes tests
[ ] breaking change

Thank you!


too slow when application running,version:4.0.0-RC1

application run slowly when i use default-datasource-name
shardingsphere will load shardingContext and connect to db,why do this?
there is much tables and colums, when shardingsphere do it,it is slow
my configuration:
check.table.matedata.enable:false
slow function:
loadDefaultTables()
@SneakyThrows
public Map<String, TableMetaData> load(final ShardingRule shardingRule) {
Map<String, TableMetaData> result = new HashMap<>();
result.putAll(loadShardingTables(shardingRule));
result.putAll(loadDefaultTables(shardingRule));
return result;
}
this function  is slow

@tristaZero

Hi, instead of  loading the metadata from all of sharding tables and checking them,
check.table.matedata.enable:false will make Sharding Sphere only load the meta data from one sharding table and all tables from default data source. Because we need the metadata of sharding table.
So it is not a bug, but an optimization item. Please refer to #1951.
If you're interested in it, please try to do it.

with RC1 , i find it load all table in the pointed db, which is not configured in "logic-tables=user,order,...".
is there any way to optimize the problem?

i had try this way. it`s not work. still go to get all table column metadata.
<sharding:data-source id="shardingDataSource">
    <sharding:props>
        <prop key="check.table.metadata.enabled">false</prop>
    </sharding:props>
...

@tristaZero as you said, Sharding Sphere only load the meta data from one sharding table and all tables from default data source

check.table.matedata.enable:false is just only for sharding tables，my default datasource contains too many tables,this tables doesnt need sharding, but loadDefaultTables() took me an hour to boot my project.


ARROW-7297: [C++] Add value accessor in sparse tensor class

This is to add a SparseTensor value accessor like Tensor::Value<T>.
See ARROW-7297.

What is the point of exposing such an inefficient primitive?

@pitrou this would be useful if the user wants to read some data from a sparse tensor but doesn't want to go via dense format.
Perhaps a more pragmatic approach would be to return a slice of the sparse tensor that can be then converted to dense before being read.

Or perhaps some kind of iteration facility? That would avoid the O(n) behaviour.

Got it. So like a reader that would take a series of points and cache in between reads? We'd have to have read points be sorted I suppose.

With guarantee of COO being sorted we could do O(log n). We could already do O(log n) for CSR and CSC as they are sorted. CSF has O(ndim) lookup complexity.

I think the driving question should be the use cases. Is there a need for random access to singular values?

I'm the original reporter of the JIRA ticket, but I don't know whether or not there are actual use cases of random access to values in sparse tensors.  The JIRA ticket came from the existence of value accessing features in scipy's sparse tensors.
I guess my mistake is making the ticket priority Major.  It should be Minor at the creation time.
I think the feature mentioned in the JIRA ticket presumably can be a different way from providing SparseTensor::Value<T> function.  IMO, the functionality can be decomposed the following sub-features, and providing them can be alternative to only SparseTensor::Value<T>.

Iterating existing indices in a SparseIndex
Finding the given index in a SparseIndex and returning the offset of the index
Returning the value of the given offset
Making the slice of a SparseTensor

By the way, this implementation proposal is not acceptable even if there are any realistic use cases of SparseTensor::Value<T>.  CalculateValueOffset function should be implemented in each subclass of SparseIndex class.

This is a potential usecase.

IMO SparseTensor is not appropriate for implementing the counterpart of pandas's sparse series because pandas's sparse series is a 1-dimensional array.  We should introduce the same 1-dimensional sparse array data format for such purpose.
If we add a new data format and class of such a 1-dimensional sparse array, the class will have Value<T> function, and its implementation won't be inefficient.

IMO SparseTensor is not appropriate for implementing the counterpart of pandas's sparse series because pandas's sparse series is a 1-dimensional array. We should introduce the same 1-dimensional sparse array data format for such purpose.

Good point, it's not a good match.

@pitrou I am not sure about the value of this primitive. There are valid use cases however I'm not sure we have interest from the community. If you don't see immediate use for this I'll close it.

I don't think the Arrow sparse tensor classes see much use directly, so I would favor closing and moving on. @amol-  Any objection?

Close this PR as it looks inactive. Feel free to reopen if necessary.


Multiple partials language change

Currently if you use this macro to create multiple partials, changing language for one partials block will change it for all ( and won't change activated tab in all blocks ) because class for tab toggle is same for every block. This is one quick solution to just grab first field name or only field name if it is just one and add it to class so we can distinguish multiple block tabs.

Dont know if only for me, but macro dont work with bootstrap 4.0 and 4.1.
this seems to be caused by boostrap itself: into the macro all partial translation will have same tab-content id, and only the first partial will work as intended.
i made a workround based on Kunicmarko20 solution:
`{#
Example:
{% import<EMAIL_ADDRESS>as a2lixTranslations %}
{{ a2lixTranslations.partialTranslations(editForm.translations, ['title','description']) }}
{{ a2lixTranslations.partialTranslations(editForm.translations, ['url']) }}
#}
{% macro partialTranslations(form, fieldsNames) %}
{{ form_errors(form) }}

    {% for translationsFields in form %}
        {% set locale = translationsFields.vars.name %}

                {{ translationsFields.vars.label|default(locale|humanize)|trans }}
                {% if form.vars.default_locale == locale %}{{ '[Default]'|trans }}{% endif %}
                {% if translationsFields.vars.required %}*{% endif %}

    {% endfor %}

    {% for translationsFields in form %}
        {% set locale = translationsFields.vars.name %}

        {% for translationsField in translationsFields if translationsField.vars.name in fieldsNames %}
            {{ form_errors(translationsField) }}
            {{ form_row(translationsField) }}
        {% endfor %}

    {% endfor %}

{% endmacro %}`
but each partial translation now will behave indipendently.


Error with test dataset

Hello!
I'm interested in using mgefinder on our datasets and followed instructions to install through conda per the guide.  I downloaded and extracted the test_workdir files as instructed. I set the environment appropriately for mgefinder in conda and invoked the following command:
$ mgefinder workflow --cores 20 --memory 100000 test_workdir/
However, it appears to have crashed with the following error:

Traceback (most recent call last):
File "/home/user/miniconda3/envs/mgefinder/bin/mgefinder", line 8, in
sys.exit(cli())
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/main.py", line 251, in genotype
_genotype(clusterseq, pairfiles, filter_clusters_inferred_assembly, output_file)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/genotype.py", line 37, in _genotype
genotypes = genotyper.genotype()
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/genotype.py", line 106, in genotype
genotypes = self.resolve_ambiguous_genotypes(genotypes)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/genotype.py", line 224, in resolve_ambiguous_genotypes
unresolved, cluster_counts_per_site
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/genotype.py", line 322, in resolve_all_sample_comparison
resolved = (pd.merge(unresolved, cluster_counts, how='inner', on=['contig', 'pos_5p', 'pos_3p', 'cluster']).
File "/home/user/.local/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 61, in merge
validate=validate)
File "/home/user/.local/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 555, in init
self._maybe_coerce_merge_keys()
File "/home/user/.local/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 986, in _maybe_coerce_merge_keys
raise ValueError(msg)
ValueError: You are trying to merge on object and int64 columns. If you wish to proceed you should use pd.concat
Error in job genotype while creating output file test_workdir/03.results/efae_GCF_900639545/02.genotype.efae_GCF_900639545.tsv.
RuleException:
CalledProcessError in line 286 of /home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/workflow/Snakefile:
Command '
if [ "True" == "True" ]; then
mgefinder genotype --filter-clusters-inferred-assembly test_workdir/03.results/efae_GCF_900639545/01.clusterseq.efae_GCF_900639545.tsv test_workdir/01.mgefinder/efae_GCF_900639545/efae_GCF_900639545.all_pair.txt -o test_workdir/03.results/efae_GCF_900639545/02.genotype.efae_GCF_900639545.tsv 1> test_workdir/03.results/efae_GCF_900639545/log/efae_GCF_900639545.genotype.log 2> test_workdir/03.results/efae_GCF_900639545/log/efae_GCF_900639545.genotype.log.err ||             (cat test_workdir/03.results/efae_GCF_900639545/log/efae_GCF_900639545.genotype.log.err; exit 1)
else
mgefinder genotype --no-filter-clusters-inferred-assembly test_workdir/03.results/efae_GCF_900639545/01.clusterseq.efae_GCF_900639545.tsv test_workdir/01.mgefinder/efae_GCF_900639545/efae_GCF_900639545.all_pair.txt -o test_workdir/03.results/efae_GCF_900639545/02.genotype.efae_GCF_900639545.tsv 1> test_workdir/03.results/efae_GCF_900639545/log/efae_GCF_900639545.genotype.log 2> test_workdir/03.results/efae_GCF_900639545/log/efae_GCF_900639545.genotype.log.err ||             (cat test_workdir/03.results/efae_GCF_900639545/log/efae_GCF_900639545.genotype.log.err; exit 1)
fi
' returned non-zero exit status 1.
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/workflow/Snakefile", line 286, in __rule_genotype
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Will exit after finishing currently running jobs.
Exiting because a job execution failed. Look above for error message
Traceback (most recent call last):
File "/home/user/miniconda3/envs/mgefinder/bin/mgefinder", line 8, in
sys.exit(cli())
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/main.py", line 51, in workflow
_workflow(workdir, snakefile, configfile, cores, memory, unlock, rerun_incomplete, keep_going)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/workflow.py", line 26, in _workflow
shell(cmd)
File "/home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/snakemake/shell.py", line 88, in new
raise sp.CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'snakemake -s /home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/workflow/Snakefile --config wd=test_workdir/ memory=16000 --cores 20 --configfile /home/user/miniconda3/envs/mgefinder/lib/python3.6/site-packages/mgefinder/workflow/config.yml ' returned non-zero exit status 1.

Obviously, would like to get the test dataset to run appropriately before trying on our own data.  Most likely in my experience this is something simple but my relative inexperience leaves me baffled at this time.
Any suggestions are most welcome.
Tony

Hello, thanks for bringing up this bug. Let's try to get that working. Couple questions for you, did you try doing this without the additional --cores 20 --memory 100000 commands? Also, how far did it get into the test? At what point did it fail?
Thanks.


[Snyk] Upgrade @contentstack/cli-utilities from 1.5.1 to 1.5.7

Snyk has created this PR to upgrade @contentstack/cli-utilities from 1.5.1 to 1.5.7.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
:sparkles: Snyk has automatically assigned this pull request, set who gets assigned.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 6 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-11-24.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Cross-site Request Forgery (CSRF) SNYK-JS-AXIOS-6032459
462/1000  Why? Proof of Concept exploit, CVSS 7.1
Proof of Concept

Cross-site Request Forgery (CSRF) SNYK-JS-AXIOS-6032459
462/1000  Why? Proof of Concept exploit, CVSS 7.1
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

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

Fixed in #159


Log out & send to sign in page after time out

@jsgeiser flagged a problem today:
"Just want to let you know that we started to input some intervention information into Student Insights ... however when I click save, it's not saving."
I investigated the issue and think I was able to replicate it:

intervention module was open in browser
session timed out (15+ min)
BUT visually NO indication that she was logged out ... so when she tried to add an intervention, the tool was not active
after signing back, interventions module works

Solution? @alexsoble

log out user and take to sign in page

Feedback from Jill:
"Yes that makes sense! I clicked on “back to roster” and it brought me to the log in page. It is possible that we might sit on an intervention page for several minutes before clicking save. Maybe set it up so that the typing activity keeps it logged in if that’s possible?"

Example of time out: https://www.ssa.gov/accessibility/bpl/bps/forms/timeout/example/default.htm

Closed via #330.


Even the version command does not work with the current version

Why
$ co-author version
commit msg file does not specified on args, please check your git hook
$ co-author --help
commit msg file does not specified on args, please check your git hook

It's not working properly. It seems to be deviating from the state of the document written in README. Please teach me how to use it 🙏

You're absolutely right.  Sorry for breaking your experience 😢


Epic: Add Noir function solvers into TS

In Expose black box function solvers into TS#2811 we exposed black box functions to typescript so that users can easily calculate values in the same way as which it will be calculated inside their circuits.
A number of useful functions are only implemented in Noir however, e.g. Poseidon, Sha256, etc. so we should expose methods to easily execute custom Noir programs and use their return values in user business logic.
### Tasks
- [ ] https://github.com/noir-lang/noir/issues/3080
- [ ] Add easy method to generate TS wrappers around a library of Noir functions
- [ ] https://github.com/noir-lang/noir/issues/3084

As extra context, @kevaundray mentioned this would be helpful for https://github.com/AztecProtocol/aztec-packages/pull/2740.

Closing as completed as we do have noir_codegen now that largely if not fully fulfill this Issue's original purpose: https://noir-lang.org/docs/getting_started/tooling/noir_codegen


chore: update wif

@sethvargo uh yes, this is gonna be rough

@verbanicm it should just be changing to "getters"


Use gofmt during development

I'm trying to get my PR together and I'm finding a bunch of changes that I didn't think I had made.  It didn't take long to realize it's that I have my editor setup to gofmt on save so it's changing things.
Using gofmt is standard in Go development as far as I know.  It would be a good idea to start using that or more people trying to contribute will hit this..  I know it almost made me throw away my PR because I have to go through all my code and revert a bunch of changes before I can make the commit.
Also, I know this isn't a bug.  I can't find where I'm supposed to reach out to the devs on this project.  The docs just say "reach out if you want to help" but there is no contact info.  I'm sure I could find it if I did some sleuthing but I have other things to do today :)

I do use gofmt when saving, I think this arose because the file you looked at (new.go) was recently changed by a pull request, and I merged it without resaving the file.


have a check to not duplicate posts, pulling other servers that also has our post will create duplicate posts

this can be ignored if we dont point it out in the demo


(mini.surround) Cannot surround with f or F motions

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.surround
Description
With the following config:
require("mini.surround").setup {
	mappings = {
		add = "s",
		delete = "ds",
		replace = "cs",
	}
}

I am able to use most motions, including t and T, but cannot surround with vim's vanilla f or F motions.
Neovim version
NVIM v0.7.0-dev+848-gb4fbb9dcf
Steps to reproduce

Verify that <surround.add>t<char> and <surround.add>T<char> work
Attempt to use <surround.add>f<char> and <surround.add>F<char>

Expected behavior
No response
Actual behavior
Pressing f or F in surround's operator pending mode seems to just exit the mode and carry out the normal f/F motion (finding a character).

Considering that tT work but fF don't and that you mapped plain s to surround.add, I would guess that you type sf and sF somewhat fast. These leads to activating find and find_left default mappings, which find surrounding character (not really a default f/F motions). To verify that, first type s, then wait some time (at least timeoutlen milliseconds) and only then try f/F.
There are several solutions for your:

Don't create other default 'mini.surround' maps. You can supply '' to disable them.
By aware that you need to wait after s before applying f/F/h/n in operator pending mode.
Decrease timeoutlen (seems a bit drastic, but an option nevertheless).

Oh yeah, you're totally right. I didn't even realize sf was a thing.
Thanks!


Error client_secret is missing

Started to get this error after upgrading to 1.2.1 today:
"{\n  \"error\": \"invalid_request\",\n  \"error_description\": \"client_secret is missing.\"\n}"

Reverting back to 1.2.0 fixed the issue.

Thanks for opening an issue. I posted a simple update (https://github.com/DrewML/chrome-webstore-upload/commit/93a0c3a91d7e363f3421c700e3de4d10c26b54a2) to test the logic in https://github.com/DrewML/chrome-webstore-upload/pull/46, but I thought that the change exclusively avoided checking for the existence of client_secret before being sent to the API.
I didn't see that it was actually just a list of parameters, all of which were required:
https://github.com/DrewML/chrome-webstore-upload/commit/93a0c3a91d7e363f3421c700e3de4d10c26b54a2
I'll push 0.4.4 soon

Thanks for opening an issue. I posted a simple update (https://github.com/DrewML/chrome-webstore-upload/commit/93a0c3a91d7e363f3421c700e3de4d10c26b54a2) to test the logic in https://github.com/DrewML/chrome-webstore-upload/pull/46, but I thought that the change exclusively avoided checking for the existence of client_secret before being sent to the API.
I didn't see that it was actually just a list of parameters, all of which were required:
https://github.com/DrewML/chrome-webstore-upload/commit/93a0c3a91d7e363f3421c700e3de4d10c26b54a2
I'll push 0.4.4 soon

Fixed by aa23964 in 0.4.4

Fixed by aa23964 in 0.4.4

Since you're using that module through chrome-webstore-upload-cli, you'll have to reinstall it and make sure it downloaded chrome-webstore-upload v0.4.4 instead of v0.4.3

Since you're using that module through chrome-webstore-upload-cli, you'll have to reinstall it and make sure it downloaded chrome-webstore-upload v0.4.4 instead of v0.4.3

The secret is no longer required as long as you create a Chrome App. If you're seeing this message again, please follow the new guide to create new keys: https://github.com/fregante/chrome-webstore-upload/blob/main/How to generate Google API keys.md
The existing keys should keep working for the foreseeable future though.

Hey @fregante, I'm having some confusion. I'm trying to implement the github actions for chrome webstore but almost every action I came across asks for the client-secret. Only your cli tool seems to be following the latest updates. So I think I have to implement your cli tool in my workflow. Also let me know one thing that whenever I want to upload the extension the tool will be handling the access token expiration, correct me if I'm wrong.

Yes that's the idea. I have not personally used this new key to publish real extensions, but another user reported it was still working months later I think.
To ensure it works, you have to follow the latest guide because your old keys will still require the secret.

So if I omit the client-secret it should still work as I'm using the latest guide?
https://github.com/fregante/ghatemplates/blob/main/webext/release.yml
Here in this action there exist secret I'm gonna skip the secret and try it out.

That workflow still uses v1, which needs the secret. You can replace v1 with v2 in your workflow.

Thanks for heads up, but after using the v2 it's showing me this error.

Can you check it and let me know what's causing the issue?

What node version is that workflow running? v2 needs 14+ (noted here)

Ohh thanks @AprilSylph , I'll check it with the node 14.

Here an extension release I did today with the current version:

https://github.com/npmhub/npmhub/actions/runs/1301436207
https://github.com/npmhub/npmhub/blob/main/.github/workflows/release.yml

I had a pretty old setup from 2016 and it broke as expected. However following the steps to re-create a new oauth app was super smooth.

it broke as expected

That wasn't expected 🤭
v2 was released as a breaking release as a precaution but the old code is supposedly still there and working, if the secret is still available.
Anyway glad that the steps were working, 👌 they might be a little different if one is using a pre-existing Google API project

If you created the APIs before version 2.0.0 (September 2021) ...

Therefore I thought it is expected. From my observation and memories the application type Chrome app was not available back then and I think I used Web app as recommend back then. Maybe this is the reason why.

I mean that after the update, your existing config should have kept working, as noted in the release notes:
https://github.com/fregante/chrome-webstore-upload-cli/releases/tag/v2.0.0
Did you try without deleting the client_secret first?

I mean that after the update, your existing config should have kept working

This was not the case. I re-created and update the client_seccret after it was failing.

Ouch. Thanks for the report


fix: add space after colon in deadline field of assignment

Describe the bug
A clear and concise description of what the bug is.
In the show page of assignment, all the details are spaced after the colon(:) except the Deadline field.
To Reproduce
Steps to reproduce the behavior:

Go to 'show page of assignment'
See error

Expected behavior
Add space after colon in deadline field of assignment details.
Steps to solve

Go to the show page
Add one space before </strong> tag.

Screenshots

Additional context
Great for first time contributors to Circuitverse
Are you working on this issue? (Yes/No)
No

I am interested in this issue

cc:- @tachyons

@tachyons I would like to work on this issue please assign me !!

@Malavi1 you can pick incase @apschauhan03 isn't started to work on this

I would like to work on the issue if it is still there, could you please assign it to me.

@tachyons we are not getting any response from the @apschauhan03 could you please assign I will try to do that in parallel

Hello! I am interested in becoming a contributor to this open-source project.
Please let me know if there is any way I can get started and solve this issue.

@Malavi1 That pr is closed by @vedant-jain03  because you were assigned to this issue. So now you can make your pr.

@Prerna-0202 is this issue still open since a pr  has been made. I would like to take this up if it is open.

I would like to work on the issue if it is still there, could you please assign it to me.

hi @Prerna-0202 ,Would like to work on this issue ,could you assign it to me


nixos/postgresql: fix setup script

Motivation for this change
After https://github.com/NixOS/nixpkgs/pull/94454 postgresql didn't start up on my machine anymore.
After some analysis I think the missing () caused parts of the setup script to be added to the
ExecStartPost line instead of inside the script.
This caused postgresql start to fail under certain conditions.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test postgresql postgresql-wal-receiver


Surface Worker Service project template

Fixes #11791

Gets it into the hosted services and WS topics.
I'll surface the hosted services VS4Mac instructions at 3.0 RTM. https://github.com/aspnet/AspNetCore.Docs/issues/12664

btw - In the WS topic, I tried a version of this where the IDE instructions are under item 1 in the two-item list. It renders with a full-width horizontal rule under the list item that I'm not happy about. Therefore, I list the two steps and then show the IDE instructions.

We should put the info in one place, be it an include or a link to another topic.


Add link in README to url where it is deployed

Currently, the link is not easy to find:

@blcham The link is there provisionally until we have it deployed at kbss.


Not closing the HTTP client gracefully

Version of the custom_component
Latest: c78c60e
Describe the bug
When closing HA, sometime there is a warning log that HTTP client did not close gracefully. Instead of managing the client itself, the component should use the client provided by HA.

Fixed with: https://github.com/MislavMandaric/home-assistant-vaillant-vsmart/commit/bacd6afb9789ea2b9cc8fdbbeea593aa849fc51b