update reference links replacing dashes with underscores

Docs Build status updates of commit 265c762:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-reference-for-network.md
:warning:Warning
View
Details

docs-ref-conceptual/manage-clouds-azure-cli.md
:warning:Warning
View
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/authenticate-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-configuration.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extension-alias.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extensions-overview.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-monitor.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-variables.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/create-an-azure-service-principal-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-apt.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-dnf.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-script.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-zypper.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-macos.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-windows.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-azure-subscriptions-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/param-persist-tutorial.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/reference-types-and-status.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/run-azure-cli-docker.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-network.md

Line 11, Column 1: [Warning-yaml-duplicate-key] Key 'ms.devlang' is already defined, remove the duplicate key.

docs-ref-conceptual/manage-clouds-azure-cli.md

Line 72, Column 58: [Warning-bookmark-not-found] Cannot find bookmark '#cli_configuration_values_and_environment_variables' in 'docs-ref-conceptual/azure-cli-configuration.md', did you mean '#cli-configuration-values-and-environment-variables'?

docs-ref-conceptual/azure-cli-extensions-list.md

Line 37, Column 3: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
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 c56acfb:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/manage-clouds-azure-cli.md
:warning:Warning
View
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/authenticate-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-configuration.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extension-alias.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extensions-overview.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-monitor.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-network.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-variables.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/create-an-azure-service-principal-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-apt.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-dnf.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-script.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-zypper.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-macos.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-windows.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-azure-subscriptions-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/param-persist-tutorial.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/reference-types-and-status.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/run-azure-cli-docker.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-clouds-azure-cli.md

Line 72, Column 58: [Warning-bookmark-not-found] Cannot find bookmark '#cli+configuration+values+and+environment+variables' in 'docs-ref-conceptual/azure-cli-configuration.md', did you mean '#cli-configuration-values-and-environment-variables'?

docs-ref-conceptual/azure-cli-extensions-list.md

Line 37, Column 3: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
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 2970e8e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/authenticate-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-configuration.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extension-alias.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extensions-overview.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-monitor.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-network.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-variables.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/create-an-azure-service-principal-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-apt.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-dnf.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-script.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-zypper.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-macos.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-windows.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-azure-subscriptions-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-clouds-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/param-persist-tutorial.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/reference-types-and-status.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/run-azure-cli-docker.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extensions-list.md

Line 37, Column 3: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py

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 19bb3ba:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/authenticate-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-configuration.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extension-alias.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extensions-overview.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-monitor.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-network.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-variables.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/create-an-azure-service-principal-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-apt.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-dnf.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-script.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/cli-install-linux-zypper.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-macos.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-windows.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-azure-subscriptions-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/manage-clouds-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/param-persist-tutorial.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/reference-types-and-status.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/run-azure-cli-docker.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-extensions-list.md

Line 37, Column 3: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py

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


Support for Web Components

Hello,
will there be an option to customize where the styles will be injected at runtime by the CSS-in-JS implementation?
We are currently using Antd v4 within Web Components to author micro frontends. Each micro frontend is a separate Web Component which internally uses a number of Antd components. We're using shadow DOM to isolate the styles of the different micro frontends.
I briefly looked through the code in this repository. If I understood the code correctly, the styles will currently be injected into the head of the document? This would break our approach to micro frontends as the Antd styles wouldn't be able to penetrate into the shadow DOM of our Web Components.
From my very basic understanding, it may be simple to add that feature. However, I am unaware of any constraints related to SSR.
The updateCSS function from rc-util already provides a way to override the HTML element where the styles will be injected using the attachTo option. Also, the StyleProvider already checks whether there is a parent StyleContext present. By providing a parent StyleContext in the application code it could be possible to implement a mechanism to override the HTML element where the styles will be injected:
  export interface StyleContextProps {
    autoClear?: boolean;
    mock?: 'server' | 'client';
    cache: CacheEntity;
    defaultCache: boolean;
+   attachTo: Element;
  }

Since Antd v4 isn't compatible with React 18, we will have to upgrade Antd v5 eventually. We would greatly appreciate it if there could be a solution to this problem.
Kind regards,
Felix Schorer

Thanks for feedback. Since current lib is alpha version. We may make sure it works as expect for basic requirement. But yes, this function seems helpful which should be added in.

I was able to make it work by nesting the app inside a StyleProvider:
import { StyleProvider } from '@ant-design/cssinjs'

<StyleProvider container={someElement}>
  <App />
</StyleProvider>

Thank you so much for making this work.


Falling Blocks module not implemented

https://docs.oc.tc/modules/falling_blocks

I did start work on this a while ago. It's very complex to give all blocks in the world falling physics


clean up after cni

clean up iptables nat cni chains

sudo iptables -t nat -D POSTROUTING <line number>
sudo iptables -t nat -F <chain id>
sudo iptables -t nat -X <chain id>

clean up cni ips

rm /var/lib/cni/networks/mynet/*

What's the status of this, @robertgzr?

CNI should still create files inside /var/lib/cni/networks/kube-spawn-net/
Not sure about iptables
Maybe this can be part of the destroy command #38


Show how to connect to Rasa on remote server

If you're running the Rasa server on a remote server like an EC2 instance, it is necessary to modify https://github.com/JiteshGaikwad/Chatbot-Widget/blob/main/static/js/constants.js#L2 an replace localhost with the public IP address of the server, only then will it connect. Suggest updating the instructions to mention that

@ltfschoen instructions updated, thanks for the suggestion :)


how can i edit json .pls

how can i edit json .pls thank.

Hello @chongbo2013 ✋🏻
Sorry, but i don't understand your question.
Can you explain otherwise ?

https://www.bejson.com/ like this . edit json. thank you

hello


About instant-feature-extraction training

We are tring to make instant-feature-extraction training of flow model, because the feature extraction is so costly on large amount of samples.  we can make instant-feature-extraction and feature cache to replace the offline-feature extraction.
the problem is about the pretrained S3  speech token extractor.  it is an ONNX model, we can write a dataloader function about S3 speech token extraction on CPU, but it is too slow. while using GPU onnx session  in multi-card distribution training, it will always report some kind of exceptions. When we use a global onnxruntime-gpu session in all dataloaders,  report like
disk.__verify_params_across_processes(process_group, tensors, loger)   NCCL error in:  ../torch.cscr/distributed/c10d/NCCLUtils.hpp:275, invalid usage, This usually reflects invalid usage of NCCL library. Last error: Duplicate GPU dected: rank3 and rank0 both on CUDA device 34000
when we create a independent onnxruntime-gpu sessiion in each dataloader instance,  it will report:
E:onnxruntime:Default, cuda_call.cc:118  CudaCall] CUDA failure 3: initialization error; GPU=0; hostname=XXX; file=/onnxruntime_src/onnxruntime/core/providers/cuda/cuda_execution_provider.cc; line=422; expr=cudaSetDevice(GetDeviceId())
our code about speechtoken extraction is from the cosyvoice example tools code.
So, is there any suggestion to make stable instant-feature-extraction traning on distributed training of cosyvoide flow?

dataloader is multiprocessing, I think onnx do not support multi-process inference using one instance


read_crn returns -99999 instead of NaN

Describe the bug
read_crn fails to map -99999 to NaN
To Reproduce
from pvlib.iotools import read_crn
crn = read_crn('https://www.ncei.noaa.gov/pub/data/uscrn/products/subhourly01/2021/CRNS0101-05-2021-NY_Millbrook_3_W.txt')
crn.loc['2021-12-14 0930':'2021-12-14 1130', 'ghi']
2021-12-14 09:30:00+00:00        0.0
2021-12-14 09:35:00+00:00        0.0
2021-12-14 09:40:00+00:00        0.0
2021-12-14 09:45:00+00:00        0.0
2021-12-14 09:50:00+00:00        0.0
2021-12-14 09:55:00+00:00        0.0
2021-12-14 10:00:00+00:00        0.0
2021-12-14 10:05:00+00:00   -99999.0
2021-12-14 10:10:00+00:00   -99999.0
2021-12-14 10:15:00+00:00   -99999.0
2021-12-14 10:20:00+00:00   -99999.0
2021-12-14 10:25:00+00:00   -99999.0
2021-12-14 10:30:00+00:00   -99999.0
2021-12-14 10:35:00+00:00   -99999.0
2021-12-14 10:40:00+00:00   -99999.0
2021-12-14 10:45:00+00:00   -99999.0
2021-12-14 10:50:00+00:00   -99999.0
2021-12-14 10:55:00+00:00   -99999.0
2021-12-14 11:00:00+00:00   -99999.0
2021-12-14 11:05:00+00:00        0.0
2021-12-14 11:10:00+00:00        0.0
2021-12-14 11:15:00+00:00        0.0
2021-12-14 11:20:00+00:00        0.0
2021-12-14 11:25:00+00:00        0.0
2021-12-14 11:30:00+00:00        0.0
Name: ghi, dtype: float64

Expected behavior
Should return NaN instead of -99999
Versions:

pvlib.__version__: 0.9.0
pandas.__version__: 1.0.3 (doesn't matter)
python: 3.7

Additional context
Documentation here says

     C.  Missing data are indicated by the lowest possible integer for a
        given column format, such as -9999.0 for 7-character fields with
        one decimal place or -99.000 for 7-character fields with three
        decimal places.

So we should change
https://github.com/pvlib/pvlib-python/blob/1ab0eb20f9cd9fb9f7a0ddf35f81283f2648e34a/pvlib/iotools/crn.py#L112-L117
to include -99999 and perhaps -999999. Or do the smarter thing as discussed in the comment.
also https://github.com/SolarArbiter/solarforecastarbiter-core/issues/773

@wholmgren I have added -99999 and -999999 to the list of nan values in #1368.
However, I'd also be happy to implement column-specific replacement of nans. Any suggestion on how to do this?

I see that the CRN files contain the latitude and longitude of the stations. I suppose it would make sense to parse this and output it in a metadata dictionary?
I realize that outputing a tuple of (data, meta) instead of just data would be a breaking change, but it would be in line with the iotools pattern.

However, I'd also be happy to implement column-specific replacement of nans. Any suggestion on how to do this?

crn.WIDTHS gets you half way there, but you'd need a corresponding list for the number of decimals allowed in each column. From there you can determine, for each column, how many 9s will fit between a - and the space required for the decimals.

I see that the CRN files contain the latitude and longitude of the stations. I suppose it would make sense to parse this and output it in a metadata dictionary? I realize that outputing a tuple of (data, meta) instead of just data would be a breaking change, but it would be in line with the iotools pattern.

Could be nice, but not sure how we'd handle the breaking change in a nice way. Let's address in a separate issue.

It is possible to pass a dictionary to the na_values argument in pd.read_fwf:
NAN_DICT = {
    'AIR_TEMPERATURE': -9999,
    'PRECIPITATION': -9999,
    'SOLAR_RADIATION': -99999,
    'SR_FLAG'  # 1 chars
    'SURFACE_TEMPERATURE': 9999,
    'RELATIVE_HUMIDITY': -9999,
    'SOIL_MOISTURE_5': -99,
    'SOIL_TEMPERATURE_5': -9999,
    'WIND_1_5': -99}

Although, currently the na_values is set equal to ['\x00\x00\x00\x00\x00\x00'].
However, they can both be combined by adding a simple loop:
for k, v in NAN_DICT.items():
    NAN_DICT[k] = [k, '\x00\x00\x00\x00\x00\x00']

I tested this method and it passes all of the tests.

There are a few CRN stations that have longitudes in the -99 range, but none that would match:


Add $strict to has() so a user can decide if they want it to chec…

Add strict mode so a user can decide if they want to check for empty strings or not, sometimes you might want an empty string to deliberately set a value to null. Example: Someone updates a post with an empty description.

No plans on adding this for now.

Any reason? It wouldn't break any existing code and imho it'd be a nice addition.


"ModuleNotFoundError" notification window (No module named 'runtime_swig')

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue: Running gnuradio-companion in the Anaconda prompt opens a small "ModuleNotFoundError" notification window (GRC does not start). OS is Win10.
Notification says:
<<
Cannot import gnuradio.
Is the Python path environment variable set correctly?
All OS: PYTHONPATH
Is the library path environment variable set correctly?
Linux: LD_Library_Path
Windows: PATH
See https://wiki.gnuradio.org/index.php/ModuleNotFoundError
(No module named 'runtime_swig')

Environment (conda list):

$ conda list

# packages in environment at C:\Users\Alexander\anaconda3\envs\gnuradio:
#
# Name                    Version                   Build  Channel
adwaita-icon-theme        3.38.0               heaa5689_1    conda-forge
atk-1.0                   2.36.0               h7222f49_4    conda-forge
boost-cpp                 1.74.0               h54f0996_2    conda-forge
brotlipy                  0.7.0           py39hb82d6ee_1001    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2020.12.5            h5b45459_0    conda-forge
cairo                     1.16.0            hba8bd2f_1007    conda-forge
certifi                   2020.12.5        py39hcbf5309_1    conda-forge
cffi                      1.14.4           py39h0878f49_1    conda-forge
chardet                   4.0.0            py39hcbf5309_1    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
codec2                    0.9.2                h301d43c_1    conda-forge
cryptography              3.3.1            py39h0878f49_1    conda-forge
epoxy                     1.5.5                h8d14728_0    conda-forge
fftw                      3.3.9           nompi_h9df19be_100    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
fribidi                   1.0.10               h8d14728_0    conda-forge
gdk-pixbuf                2.42.2               hd590532_2    conda-forge
gettext                   <IP_ADDRESS>          h1a89ca6_1005    conda-forge
glib                      2.66.4               he2d232f_1    conda-forge
gnuradio                  <IP_ADDRESS>          py39h70c6263_0    conda-forge
gnuradio-core             <IP_ADDRESS>          py39hd4f9262_0    conda-forge
gnuradio-grc              <IP_ADDRESS>          py39h856da1f_0    conda-forge
gnuradio-qtgui            <IP_ADDRESS>          py39hb757050_0    conda-forge
gnuradio-uhd              <IP_ADDRESS>          py39h6ff7f24_0    conda-forge
gnuradio-video-sdl        <IP_ADDRESS>          py39h856da1f_0    conda-forge
gnuradio-zeromq           <IP_ADDRESS>          py39h0fae580_0    conda-forge
gobject-introspection     1.66.1           py39hfe2e8ff_4    conda-forge
gsl                       2.6                  hdfb1a43_2    conda-forge
gtk3                      3.24.24              h3d55b94_1    conda-forge
hicolor-icon-theme        0.17                 h57928b3_2    conda-forge
icu                       68.1                 h0e60522_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
intel-openmp              2020.3             h57928b3_311    conda-forge
jpeg                      9d                   h8ffe710_0    conda-forge
libblas                   3.9.0                     7_mkl    conda-forge
libcblas                  3.9.0                     7_mkl    conda-forge
libclang                  11.0.1          default_h5c34c98_1    conda-forge
libffi                    3.3                  h0e60522_2    conda-forge
libflac                   1.3.3                h0e60522_1    conda-forge
libglib                   2.66.4               h5320221_1    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
liblapack                 3.9.0                     7_mkl    conda-forge
libogg                    1.3.4                h8ffe710_1    conda-forge
libopus                   1.3.1                h8ffe710_1    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
librsvg                   2.50.2               hca93135_2    conda-forge
libsndfile                1.0.30               h0e60522_1    conda-forge
libsodium                 1.0.18               h8d14728_1    conda-forge
libtiff                   4.2.0                hc10be44_0    conda-forge
libusb                    1.0.24               h0e60522_0    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libxml2                   2.9.10               hf5bbc77_3    conda-forge
libxslt                   1.1.33               h65864e5_2    conda-forge
log4cpp                   1.1.3             ha925a31_1002    conda-forge
lxml                      4.6.2            py39h4fd7cdf_1    conda-forge
lz4-c                     1.9.3                h8ffe710_0    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   <IP_ADDRESS>34.697f757               2    conda-forge
mako                      1.1.4              pyh44b312d_0    conda-forge
markupsafe                1.1.1            py39hb82d6ee_3    conda-forge
menuinst                  1.4.16           py39hde42818_1    conda-forge
mkl                       2020.4             hb70f87d_311    conda-forge
mpir                      3.0.0             he025d50_1002    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
numpy                     1.19.5           py39h6635163_1    conda-forge
openssl                   1.1.1i               h8ffe710_0    conda-forge
pango                     1.42.4               hec34917_5    conda-forge
pcre                      8.44                 ha925a31_0    conda-forge
pip                       20.3.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h8ffe710_0    conda-forge
pycairo                   1.20.0           py39h8170971_1    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygobject                 3.38.0           py39h28dda48_4    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py39hcbf5309_7    conda-forge
pyqt-impl                 5.12.3           py39h415ef7b_7    conda-forge
pyqt5-sip                 4.19.18          py39h415ef7b_7    conda-forge
pyqtchart                 5.12             py39h415ef7b_7    conda-forge
pyqtwebengine             5.12.1           py39h415ef7b_7    conda-forge
pysocks                   1.7.1            py39hcbf5309_3    conda-forge
python                    3.9.1           h7840368_3_cpython    conda-forge
python_abi                3.9                      1_cp39    conda-forge
pywin32                   300              py39hb82d6ee_0    conda-forge
pyyaml                    5.4.1            py39hb82d6ee_0    conda-forge
pyzmq                     21.0.1           py39h6e08c89_0    conda-forge
qt                        5.12.9               h5909a2a_3    conda-forge
qwt                       6.1.5                h265ddaf_0    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
sdl                       1.2.15               h21ff451_1    conda-forge
setuptools                49.6.0           py39hcbf5309_3    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.34.0               h8ffe710_0    conda-forge
tzdata                    2020f                he74cb21_0    conda-forge
uhd                       <IP_ADDRESS>         py39he0cccc2_5    conda-forge
urllib3                   1.26.2             pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_2    conda-forge
volk                      2.4.1            py39h415ef7b_1    conda-forge
vs2015_runtime            14.28.29325          h5e1d092_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
win_inet_pton             1.1.0            py39hcbf5309_2    conda-forge
wincertstore              0.2             py39hcbf5309_1006    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                he774522_0    conda-forge
zeromq                    4.3.3                h0e60522_3    conda-forge
zlib                      1.2.11            h62dcd97_1010    conda-forge
zstd                      1.4.8                h4e2f164_1    conda-forge

Details about  conda and system ( conda info ):

$ conda info

     active environment : gnuradio
    active env location : C:\Users\Alexander\anaconda3\envs\gnuradio
            shell level : 2
       user config file : C:\Users\Alexander\.condarc
 populated config files : C:\Users\Alexander\.condarc
                          C:\Users\Alexander\anaconda3\envs\gnuradio\.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.8.5.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\Alexander\anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Alexander\anaconda3\pkgs
                          C:\Users\Alexander\.conda\pkgs
                          C:\Users\Alexander\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Alexander\anaconda3\envs
                          C:\Users\Alexander\.conda\envs
                          C:\Users\Alexander\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False

This is odd because gnuradio 3.9 doesn't use SWIG anymore and so it neither has nor should be looking for runtime_swig. My suspicion is that multiple installations (or perhaps leftovers from a previous installation) are getting mixed up. Give me a few minutes to work out some debug steps.

This is odd because gnuradio 3.9 doesn't use SWIG anymore and so it neither has nor should be looking for runtime_swig. My suspicion is that multiple installations (or perhaps leftovers from a previous installation) are getting mixed up. Give me a few minutes to work out some debug steps.

Can you post the output of the following?
echo %PATH%
where python
gnuradio-config-info --print-all
Another thing to try is to remove (or temporarily rename) your GNU Radio configuration directory (you can get the location from gnuradio-config-info --userprefsdir, I think).

Can you post the output of the following?
echo %PATH%
where python
gnuradio-config-info --print-all
Another thing to try is to remove (or temporarily rename) your GNU Radio configuration directory (you can get the location from gnuradio-config-info --userprefsdir, I think).

echo %PATH%

C:\Users\Alexander\anaconda3\envs\gnuradio;C:\Users\Alexander\anaconda3\envs\gnuradio\Library\mingw-w64\bin;C:\Users\Alexander\anaconda3\envs\gnuradio\Library\usr\bin;C:\Users\Alexander\anaconda3\envs\gnuradio\Library\bin;C:\Users\Alexander\anaconda3\envs\gnuradio\Scripts;C:\Users\Alexander\anaconda3\envs\gnuradio\bin;C:\Users\Alexander\anaconda3\condabin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\NoteBook FanControl;C:\texlive\2020\bin\win32;C:\Program Files\MiKTeX 2.9\miktex\bin\x64;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\PuTTY;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI;C:\Program Files\Inkscape\bin;C:\Program Files\GTK2-Runtime Win64\bin;C:\Users\Alexander\AppData\Local\Microsoft\WindowsApps;C:\Users\Alexander\AppData\Local\GitHubDesktop\bin;C:\Program Files (x86)\Nmap;C:\Users\Alexander\AppData\Local\Microsoft\WindowsApps;C:\Users\Alexander\anaconda3\Scripts;C:\Users\Alexander\anaconda3\envs\gnuradio;C:\Users\Alexander\anaconda3\Library\bin;C:\Users\Alexander\anaconda3;.

where python

C:\Users\Alexander\anaconda3\envs\gnuradio\python.exe
C:\Program Files\Inkscape\bin\python.exe
C:\Users\Alexander\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Users\Alexander\anaconda3\python.exe

gnuradio-config-info --print-all

C:/Users\Alexander\anaconda3\envs\gnuradio\Library\.
C:/Users\Alexander\anaconda3\envs\gnuradio\Library\etc
C:/Users\Alexander\anaconda3\envs\gnuradio\Library\etc\gnuradio\conf.d
C:\Users\Alexander\AppData\Roaming\.gnuradio
Tue, 19 Jan 2021 19:44:48
python-support;gnuradio-runtime;gr-ctrlport
<IP_ADDRESS>
1916
1916
C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe:::/MD /O2 /Ob2 /DNDEBUG /DWIN32 /D_WINDOWS /W3
C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe:::/MD /O2 /Ob2 /DNDEBUG /DWIN32 /D_WINDOWS /W3 /GR /EHsc

For gnuradio-config-info --userprefsdir i have C:\Users\Alexander\AppData\Roaming\.gnuradio  but i do not find any .gnuradio folder in the roaming folder. I have a .gnuradio folder in C:\Users\Alexander
Thank you for the help.

echo %PATH%

C:\Users\Alexander\anaconda3\envs\gnuradio;C:\Users\Alexander\anaconda3\envs\gnuradio\Library\mingw-w64\bin;C:\Users\Alexander\anaconda3\envs\gnuradio\Library\usr\bin;C:\Users\Alexander\anaconda3\envs\gnuradio\Library\bin;C:\Users\Alexander\anaconda3\envs\gnuradio\Scripts;C:\Users\Alexander\anaconda3\envs\gnuradio\bin;C:\Users\Alexander\anaconda3\condabin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\NoteBook FanControl;C:\texlive\2020\bin\win32;C:\Program Files\MiKTeX 2.9\miktex\bin\x64;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\PuTTY;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI;C:\Program Files\Inkscape\bin;C:\Program Files\GTK2-Runtime Win64\bin;C:\Users\Alexander\AppData\Local\Microsoft\WindowsApps;C:\Users\Alexander\AppData\Local\GitHubDesktop\bin;C:\Program Files (x86)\Nmap;C:\Users\Alexander\AppData\Local\Microsoft\WindowsApps;C:\Users\Alexander\anaconda3\Scripts;C:\Users\Alexander\anaconda3\envs\gnuradio;C:\Users\Alexander\anaconda3\Library\bin;C:\Users\Alexander\anaconda3;.

where python

C:\Users\Alexander\anaconda3\envs\gnuradio\python.exe
C:\Program Files\Inkscape\bin\python.exe
C:\Users\Alexander\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Users\Alexander\anaconda3\python.exe

gnuradio-config-info --print-all

C:/Users\Alexander\anaconda3\envs\gnuradio\Library\.
C:/Users\Alexander\anaconda3\envs\gnuradio\Library\etc
C:/Users\Alexander\anaconda3\envs\gnuradio\Library\etc\gnuradio\conf.d
C:\Users\Alexander\AppData\Roaming\.gnuradio
Tue, 19 Jan 2021 19:44:48
python-support;gnuradio-runtime;gr-ctrlport
<IP_ADDRESS>
1916
1916
C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe:::/MD /O2 /Ob2 /DNDEBUG /DWIN32 /D_WINDOWS /W3
C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe:::/MD /O2 /Ob2 /DNDEBUG /DWIN32 /D_WINDOWS /W3 /GR /EHsc

For gnuradio-config-info --userprefsdir i have C:\Users\Alexander\AppData\Roaming\.gnuradio  but i do not find any .gnuradio folder in the roaming folder. I have a .gnuradio folder in C:\Users\Alexander
Thank you for the help.

Those outputs look fine to me, so we'll have to keep digging. Maybe the next step is to see what preferences it's using, regardless of where it is pulling them from. Try gnuradio-config-info --prefs.
Something else we can try is to start importing parts of gnuradio in Python manually, and see if that reproduces the error or provides more information. For that, maybe try python -c "from gnuradio import gr".

Those outputs look fine to me, so we'll have to keep digging. Maybe the next step is to see what preferences it's using, regardless of where it is pulling them from. Try gnuradio-config-info --prefs.
Something else we can try is to start importing parts of gnuradio in Python manually, and see if that reproduces the error or provides more information. For that, maybe try python -c "from gnuradio import gr".

python -c "from gnuradio import gr"

Traceback (most recent call last):
  File "C:\Users\Alexander\Downloads\Win10-GQRX-GNU- User Interface\GNU-GUI\6\4\5\1\lib\python2.7\site-packages\gnuradio\gr\__init__.py", line 37, in <module>
    from runtime_swig import *
ModuleNotFoundError: No module named 'runtime_swig'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Alexander\Downloads\Win10-GQRX-GNU- User Interface\GNU-GUI\6\4\5\1\lib\python2.7\site-packages\gnuradio\gr\__init__.py", line 41, in <module>
    from runtime_swig import *
ModuleNotFoundError: No module named 'runtime_swig'

So i erased the Win10-GQRX-GNU in the Downloads folder, were probably some remainings...

Everything seems to work now. Thank you so much for the precious help !

python -c "from gnuradio import gr"

Traceback (most recent call last):
  File "C:\Users\Alexander\Downloads\Win10-GQRX-GNU- User Interface\GNU-GUI\6\4\5\1\lib\python2.7\site-packages\gnuradio\gr\__init__.py", line 37, in <module>
    from runtime_swig import *
ModuleNotFoundError: No module named 'runtime_swig'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Alexander\Downloads\Win10-GQRX-GNU- User Interface\GNU-GUI\6\4\5\1\lib\python2.7\site-packages\gnuradio\gr\__init__.py", line 41, in <module>
    from runtime_swig import *
ModuleNotFoundError: No module named 'runtime_swig'

So i erased the Win10-GQRX-GNU in the Downloads folder, were probably some remainings...

Everything seems to work now. Thank you so much for the precious help !

Huh. I don't know how that was getting in and interfering, but I'm glad you were able to solve it!

Huh. I don't know how that was getting in and interfering, but I'm glad you were able to solve it!

For anybody who might find this in the future, better diagnostics to see if anything is modifying the path the Python used to import modules include:
python -c "import sys; print('\n'.join(sys.path))"
echo %PYTHONPATH% (Windows) or echo $PYTHONPATH (Linux/macOS)
If something other than you conda Python directory is first in the output of those, then you'll have to uninstall the interfering modules or modify your Python path. Google should be able to tell you how to do that.

For anybody who might find this in the future, better diagnostics to see if anything is modifying the path the Python used to import modules include:
python -c "import sys; print('\n'.join(sys.path))"
echo %PYTHONPATH% (Windows) or echo $PYTHONPATH (Linux/macOS)
If something other than you conda Python directory is first in the output of those, then you'll have to uninstall the interfering modules or modify your Python path. Google should be able to tell you how to do that.


Style loader class name spaced

I'm currently trying to figure out if there is a way to include the bootstrap library wrapped in a class selector. e.g.
.app {
  @import `bootstrap`;
}

The reason I'd like to do this is because the I'm retrofitting a react app into an existing app that has several wrapping elements that depend on the legacy app style sheets which use an older version of bootstrap and I'd like to avoid overriding conflicting styles.
Essentially I need to change this style loader to look something like
var start =
     ".app { "
     + "@import          \"~bootstrap/less/variables.less\";\n"
    + "@icon-font-path: \"~bootstrap/fonts/\";\n"
    + "@import          \"./bootstrap.config.less\";\n";
    + "}"

@adrianmaurer Can you please try using the https://github.com/shakacode/bootstrap-loader/.


Access to GIT Repository broken with Jenkins 2.30

Hi @all,
I'm currently experiencing issues having a working configuration with jenkins 2,28 and after upgrading to 2.30 I have issues accessing the GIT repo.
Cheers,
Matthias

Experiencing the same issue after upgrade.  Temporary solution is to amend your repo URL using the following format (from @bmannix):
https://:@
But a permanent fix is ultimately needed.

@mr-smithers-excellent
Thanks for posting the work around. It helped.


Add ldap modules to docker image

According to #3981 everyone who wants ldap auth have to patch and rebuild defectdojo images and then rebuild new versions too
dependencies:
python-ldap==3.4.2
django-auth-ldap==4.1.0

And also include ldap-utils in your Dockerfile.nginx and Dockerfile.django files, like so:
libldap2-dev \
libsasl2-dev \
ldap-utils \

Could you add it to default image instead?

Unfortunately, LDAP is not a supported integration with DefectDojo so it won't be part of the default images created by the project.
However, we do provide dockerfiles for all the images so there's not a great deal of work for you to create LDAP-ified version of the containers used by DefectDojo.  The dockerfiles are in the root of the repo so fee free to fork the project and adjust as needed. That's one of the big advantages of Open Source projects - you're free to modify them to fit your specific needs.
Best of luck!


Support AutofitType.Resize for TextBox with multiple paragraphs

PR-Codex overview
This PR focuses on enhancing the TextBox functionality in the ShapeCrawler library to ensure that shapes resize correctly to fit multi-paragraph text. It introduces a new unit test and refines the logic for calculating the required height and width of text boxes.
Detailed summary

Added a new test method Text_Setter_resizes_shape_to_fit_multi_paragraph_text() in TextBoxTests.cs.
Modified TextBox.cs to calculate requiredHeight based on multiple paragraphs.
Updated UpdateShapeHeight method to simplify height calculation.
Refined UpdateShapeWidthIfNeeded to consider the font size and text length for width adjustments.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@BryanCWijaya, thank you for the PR👍
Let me remind you that to see these code style issues in your local IDE you should build project with Release configuration as mentioned here.

Got it, I'll build with the Release configuration moving forward.

Could you please elaborate this? @ashahabov

I don't see powerpoint do such thing?

On the left side is original TextBox, on the right side is updated. The Y value of updated TextBox is less.

https://github.com/user-attachments/assets/69e2705a-af36-4df1-b0a8-db5b81826d99
I don't see it changing the Y position in powerpoint @ashahabov

Hmm, you are right. It looks like this calculation should be applied only to shapes added by (1), not TextBox (2)

Since I don't know how to differentiate Text Box with other shape and I don't have prior understanding about OpenXML, I think for now I will leave it as is.

Yes, you can leave it.
However, for the information, TextBox shape contains value 1 for the attribute p:cNvSpPr txBox.

Donee @ashahabov

@BryanCWijaya, please add a unit test to test these changes.

@BryanCWijaya, it looks like it doesn't work. It is the output of the test Text_Setter_resizes_shape_to_fit_multi_paragraph_text

Yes, I think it is because we need to add the value of space after and before paragraph. Is there a function in ShapeCrawler to get this value? @ashahabov

No, there is not yet these functions.


spoofer: 1.4.7 -> 1.4.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/spoofer/versions.
meta.description for spoofer is: "Assess and report on deployment of source address validation"
meta.homepage for spoofer is: "https://www.caida.org/projects/spoofer"
meta.changelog for spoofer is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.8 with grep in /nix/store/bgbvs16k7sbbvd69222b26ghdszjpyhy-spoofer-1.4.8
found 1.4.8 in filename of file in /nix/store/bgbvs16k7sbbvd69222b26ghdszjpyhy-spoofer-1.4.8

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
spoofer
spoofer-gui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bgbvs16k7sbbvd69222b26ghdszjpyhy-spoofer-1.4.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spoofer https://github.com/r-ryantm/nixpkgs/archive/c86625c0693511f8a2b5c638d591cdf71cf2912c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bgbvs16k7sbbvd69222b26ghdszjpyhy-spoofer-1.4.8
ls -la /nix/store/bgbvs16k7sbbvd69222b26ghdszjpyhy-spoofer-1.4.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

spoofer
spoofer-gui

Maintainer pings
cc @leenaars for testing.

nixpkg-review build successfully
2 packages built:
spoofer spoofer-gui

minor bug fix release so it's good to go


Contact form on website not working

Hi
I tried to use the contact form of the website (www.archmap.bio) several times to ask for adding other reference data, but it throws an error at each attempt.
Are others facing the same issue ?
Best,
Chloé

Hi Chloé!
Thanks for reaching out! Apologies that the contact form was not working for you. This has been fixed and is working now if you'd like to submit again. You can also get in contact through<EMAIL_ADDRESS>:)
Best,
Chelsea


Policy Store API (Create Policy) throws NullPointerException

Description

PolicyStore API is accepting either "AND" constraints as list or "OR" constraints as list. Or both.
Current behaviour
If only "AND" or either only "OR" will be provided it leads to a nullpointer exception within the ConstraintCheckerService
Expected behavior

Refactor method to be nullsafe.
Steps to reproduce the Bug

Create a policy with the api and only include "AND" constraint.

Stacktrace:
at org.eclipse.tractusx.irs.edc.client.policy.PolicyCheckerService.lambda$isValid$1(PolicyCheckerService.java:52)	at java.base/java.util.stream.MatchOps$1MatchSink.accept(Unknown Source)	at java.base/java.util.AbstractList$RandomAccessSpliterator.tryAdvance(Unknown Source)	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)	at java.base/java.util.stream.ReferencePipeline.anyMatch(Unknown Source)	at org.eclipse.tractusx.irs.edc.client.policy.PolicyCheckerService.isValid(PolicyCheckerService.java:52)	at org.eclipse.tractusx.irs.edc.client.policy.PolicyCheckerService.lambda$isValid$0(PolicyCheckerService.java:47)	at java.base/java.util.stream.MatchOps$1MatchSink.accept(Unknown Source)	at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)	at java.base/java.util.stream.ReferencePipeline.allMatch(Unknown Source)	at org.eclipse.tractusx.irs.edc.client.policy.PolicyCheckerService.isValid(PolicyCheckerService.java:47)	at org.eclipse.tractusx.irs.edc.client.ContractNegotiationService.startNewNegotiation(ContractNegotiationService.java:125)	at org.eclipse.tractusx.irs.edc.client.ContractNegotiationService.negotiate(ContractNegotiationService.java:85)	at org.eclipse.tractusx.irs.edc.client.EdcSubmodelClientImpl.getEndpointReferenceForAsset(EdcSubmodelClientImpl.java:226)	at org.eclipse.tractusx.irs.edc.client.EdcSubmodelClientImpl.lambda$getEndpointReferenceForAsset$4(EdcSubmodelClientImpl.java:209)	at io.github.resilience4j.retry.Retry.lambda$decorateCallable$5(Retry.java:237)	at org.eclipse.tractusx.irs.edc.client.EdcSubmodelClientImpl.execute(EdcSubmodelClientImpl.java:282)	... 7 more

Thanks for raising this Bug. It was fixed with https://github.com/eclipse-tractusx/item-relationship-service/pull/458 and is already available in irs-edc-client 1.6.0-SNAPSHOT
It will be released as part of IRS with the upcoming release

Discussed in the Daily - Done Tests are green.


Loss trends of Pretrain LayoutLMv3

Describe
Model I am using (UniLM, MiniLM, LayoutLM ...): LaoyutLMv3
I pre-trained LayoutLMv3 base model, it seems convergence begins at high MLM/MIM loss value.
MLM/MIM loss convergence begins at about 6～7, WPA loss convergence at 0.5. So Total loss is about 12～15.
These loss values seem high relative to normal MLM losses, I think it is strange.
Actually, inference with above model, word parts does not become sentence,
and image parts is mostly white image with some noise.
Can you provide log of pre-training on LayoutLMv3 base model?
There is one more thing that I find strange, when learning MLM with span masking,
it seems that top1 cannot be restored for sentences after the input length of the data after masking.
(It was when I tried overtrained with small data. and length of attention_mask is aligned with the data before masking.)
for example:
original data        : A B C D E F
masked data          : A [MASK] F
model output (top 1) : A B C F F F

↑ when masked data length is 3, model output can only inference 3 tokens.
I would like to check whether the above behavior is correct.
Conditions:

Input length to the transformer is about 709 that contains word(512) and image(197)

batch size per GPU: about 50
using gradient accumulation: 10=> 50 x 4 x 10 =2,000

Hi, where is the code for pre-training?

Hi @yash0307,
I think it is not released, so I'm implementing it myself by referring to papers.
So I want to check the loss trends, just like checking answers.

hello, could you please make your code public

Hi, could you please give me some information such as: number of images, the training time, ...?


placement taint and toleration with requeue

Ref:
https://github.com/stolostron/backlog/issues/20179
https://github.com/open-cluster-management-io/community/issues/48
This PR is based on https://github.com/open-cluster-management-io/placement/pull/61 and proposal 20-taint-toleration

cover the case when the taint effect is NoSelectIfNew
cover the case when the toleration has TolerationSeconds

/assign @qiujian16 @elgnay

From my understanding, requeueAfter is a property attached to each cluster during a scheduling cycle. A placement should only be re-queued if at lease one cluster is selected and its requeueAfter is set by a plugin (either filter or prioritizer). In other words, although some of the clusters have requeueAfter set by a plugin during the scheduling cycle, the placement will not be re-queued if such kind of cluster is not included in the placement decision.

close as this PR was split into two https://github.com/open-cluster-management-io/placement/pull/63 https://github.com/open-cluster-management-io/placement/pull/64


Fixed memory issue

This change is

Coverage remained the same at 72.504% when pulling<PHONE_NUMBER>470d9234b712fa37f4865427461b02 on yitam:TC81 into 593113188b0381b88cdfd85554c39b1bac7bcddf on Microsoft:dev.


Small popover Bug

First, very nice control.
Second, in _handleMouseUpInColorRect you should add (prior creating the popover) a test such as:
if([_popover isShown]) return;  or  if([_popover isShown]) {[_popover close]; return;}
Otherwise you are creating _popover for every click on the chevron even if the _popover is already displayed. This is visible, in the popover shadow.

Thanks! I will fix it.
Did you notice because of visual effect, or by looking through the code?

Yes by clicking few times. The normal behaviour should have closed/opened the popover but did not. Then I realised that the shadow was getting darker.

OK that's fixed. Thanks! Glad someone has found this control useful :+1:


jest-resolver unable to resolve relative require in dependency

🐛 Bug Report
When jest-resolver attempts to load a dependency that uses a relative 'require', it fails to resolve.
Here is the code in ./node_modules/discord.js/index.js :
...
  // Utilities
...
  version: require('../package').version,
...

package.js exists at ./node_modules/discord.js/package.js
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/robertsmieja/jest-resolver-relative-import
npm install
npm run test

Expected behavior
This is the expected error message:
  ● Test suite failed to run

    Cannot find module '../package' from 'index.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:221:17)

Link to repl or repo (highly encouraged)
https://github.com/robertsmieja/jest-resolver-relative-import
Run npx envinfo --preset jest
Paste the results here:
PS D:\Users\Robert\Documents\GitHub\jest-resolver-relative-import> npx envinfo --preset jest
npx: installed 1 in 2.348s

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
  Binaries:
    Node: 10.14.2 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.12.3 - C:\Users\Robert\AppData\Roaming\npm\yarn.CMD
    npm: 6.4.1 - D:\Program Files\nodejs\npm.CMD

I narrowed this down a bit:
This issue occurs with both JavaScript and TypeScript, but if you remove the "jest.config.js" it runs only the JavaScript test without issues.

Thanks for taking the time to reply and explain the issue.
I didn't notice it ended in .json

What is the solution for this issue?

As per the updated error message, I updated my jest.config.js file to have the following:
    // An array of file extensions your modules use
    moduleFileExtensions: [
        "ts",
        "tsx",
        "js",
        "jsx",
        "json",
    ],

Improving the error a bit more here: #8704

I came across to this and I'm kind of having the same issue but with Formik
jest.config.js:
module.exports = {
    transform: {
        '^.+\\.(js|jsx|ts)$': 'babel-jest'
    },
    setupFilesAfterEnv: ['<rootDir>src/setup.enzyme.js'],
    snapshotSerializers: ['enzyme-to-json/serializer'],
    moduleNameMapper: {
        '^shared(.*)$': '<rootDir>/src/shared$1',
        '^modules(.*)$': '<rootDir>/src/modules$1',
        '^utils(.*)$': '<rootDir>/src/utils$1',
        '^api(.*)$': '<rootDir>/src/api$1',
        '^routes(.*)$': '<rootDir>/src/routes$1'
    }
}

Component:
<Formik>
                {() => (
                    <form>
                        <Field
                            id="test"
                            name="test"
                            required
                            component={TextField}
                        />
                )}
            </Formik>

Error:
 Cannot find module './Formik' from 'index.js'

    However, Jest was able to find:
        './Test.js'
        './Test.spec.js'

As this issue was the closest related to mine...does any of you have any clue about how to solve it?
Thanks in advance


[FEATURE]:Mutable AI generated interactive documentation

Describe what you want
Hi!
I've been playing with Mutable AI documentation, and had it generated for this repository:
https://wiki.mutable.ai/drizzle-team/drizzle-orm
It was prepaid $2/mo for current month, so let's see if this is of any value for the project and community :)

I feel like this would be best suited as a discussion rather than an issue. Issues are for reporting bugs and suggesting features.


feat(Algebra/Group/InjSurj): port file

mathlib3 SHA: f69e8f317a18ab43f12cdcacaa1a3765eb512065
This was a very straightforward port.

Looks good to me!

bors merge

error: stdout:
./././Mathlib/Algebra/Group/InjSurj.lean:173:13: error: (kernel) unknown constant 'AddCancelCommMonoid.toCommMonoid'
Building Mathlib.Data.Fin.Basic
./././Mathlib/Algebra/Group/InjSurj.lean:180:49: error: Declaration Function.Injective.addCancelCommMonoid not found.

bors d+

What's going on here: @[to_additive] doesn't automatically translate projections to extended structures other than the first, in case that the extended structures have a field in common.
It is fixed by adding
attribute [to_additive AddCancelCommMonoid.toAddCommMonoid] CancelCommMonoid.toCommMonoid

after class CancelCommMonoid in Group/Defs.
Remark: this can be fixed in @[to_additive] after leanprover/lean4#1881 is implemented.

bors merge


Fix - Docker Container directory structure and Serge sample config /vcs writes

Before
The directory structure when we ran serge localize within the container looked something like the follows:
/var
    - /configs
    - /serge
        - /data
            - /vcs
    - /vcs

This is not what we had intended to be setup.
After
The directory structure isolates all Serge files into /var/serge/data as suggested by other serge implementations. All version control source files will write only to /var/serge/data/vcs instead of creating any new directories.
/var
    - /serge
        - /data
            - /configs
            - /db
            - /vcs
            - /ts

Also adds some additional help to overcome some privileges issues within the container.

This is great! It works when I run it (and thanks for adding the extra info about permissions).
The only thing that's a little strange is the way that /var/serge/data seems to have another nested serge/data/vcs inside (which in your example above you didn't show). Is that expected?
/var/serge
`-- data
    |-- configs
    |   `-- sampleconfig.serge
    |-- db
    |   `-- README.md
    |-- serge
    |   `-- data
    |       `-- vcs
    |-- ts
    |   `-- README.md
    `-- vcs
        `-- README.md

After running initialize and localize, it seems to create the files as expected, though:
/var/serge
`-- data
    |-- configs
    |   `-- sampleconfig.serge
    |-- db
    |   |-- README.md
    |   `-- nycTest.db3
    |-- serge
    |   `-- data
    |       `-- vcs
    |-- ts
    |   |-- README.md
    |   |-- de
    |   |   `-- sample.json.po
    |   |-- ja
    |   |   `-- sample.json.po
    |   `-- ru
    |       `-- sample.json.po
    `-- vcs
        |-- sample.json
        |-- sample.json.de
        |-- sample.json.ja
        `-- sample.json.ru

Hmm that nested serge directory shouldn't be there it's a bit weird.
Can you try deleting that nested serge directory and run "serge pull --initialize" again? I'm expecting that the nested directory will not get created again.
I have a feeling that it could be a remnant from the old setup.

@as1729 , you were exactly right! It was just empty directories leftover from before. Once I deleted them and reran everything, it looks exactly like yours.


Windows 10 Support

Please add support for Windows 10

I don't have any plans for a Windows version at the moment, sorry.


Refine the way we load opinions

On start we could check and see if stuff has already been pickled, and if not, automatically pack the documents. This can be worked in when we start building the user interface.

This is not longer relevant.


webpack doesn't resolve relative to resolve.root

webpack lets us define a value for resolve.root, and we can import modules relative to the root directly.
Eg:
File: webpack.config.js
resolve: {
  root: path.resolve('./jsx')
}

File: /jsx/components/Button.jsx
import React, { Component } from 'react'
export default class Button extends Component {
  render() {
    return <button {...this.props} />
  }
}

File: /jsx/Some/Deep/Nested/Dir/Component.jsx
import '../../../../components/Button'

can be written as
File: /jsx/Some/Deep/Nested/Dir/Component.jsx
import 'components/Button'

Since webpack config has defined a value for resolve.root, I can directly import from 'components/Button' rather than from '../../../../components/Button'. This syntax is super helpful when dealing with deep nested directory structures. It would be great if the webpack resolver package could support it.
Thanks!

This situation is actually why I wrote the Webpack resolver. It works for me.
Can you provide more details about what exactly isn't working? Or a toy test case that fails? Some info that might be helpful:

Webpack config file location
your eslintrc
the CWD where you ran ESLint from
the exact error you got that you didn't expect (or the error you didn't get that you did expect)

(BTW: if you're using Sublime, see the end of the README.)

For reference, here are the existing resolve.root tests: https://github.com/benmosher/eslint-plugin-import/blob/master/resolvers/webpack/test/root.js
If you could write a failing test, that would be fantastic. 😄

closing for now, if you can provide a failing test case we can reopen?

ok, I have similar problem,
First I tried to add in .eslintrc
    "settings": {
      "import/resolver": {
        "webpack": {
          "config": "./scripts/configs/serverDev.js"
        }
      }
    },

and in my serverDev.js I have:
resolve: {
    extensions: ['', '.js', '.jsx'],
    root: path.join(__dirname, '../../src'),
  },

Since first approach was still producing lint errors I tried:
    "settings": {
      "resolve.root": "src"
    },

Thanks for the test repo, will make identifying the issue a lot simpler. I'll take a look!

I'm also seeing this problem. Details from my setup follow, in case they help.
From .eslintrc.json:
  "plugins": [
    "babel",
    "import",
    "react"
  ],
  "settings" : {
    "import/resolver": {
      "webpack": {
        "config": "webpack.config.js"
      }
    }
  },

Then webpack.config.js, as well as karma.conf.js have this:
    resolve: {
        root: [
            path.resolve(__dirname),
        ],
        alias: {
            charts: 'public/charts',
            components: 'public/components',
            jquery: 'jquery/dist/jquery.slim',
            uikit: 'uikit/js/uikit',
        },
        modulesDirectories: [
            'bower_components',
            'node_modules',
            'web_modules',
        ],
    },

This enables me in my tests to do something like this:
import PrimaryNavigation from 'components/common/PrimaryNavigation';

The tests run properly, which suggests that the webpack config is correct.
Please let me know if there is any other information I can provide to help.
Thanks!

@Chyzwar what is compiling your webpack.js?
If the config is set to exports.default, that might explain why it isn't working. If you're using Babel 5, it might be fine. Not obvious to me from the package, though.
@ravasthi; can you paste your full Webpack config in a gist and link it? I'm curious if something similar is going on.

@benmosher Here's a gist with my .eslintrc.json, webpack.config.js, as well as an abbreviated package.json with versions of all the applicable libraries.

I have the same bug. Here is a gist of my webpack.config.js:
https://gist.github.com/moduv5/a58c27756a04724529867c4098c28f4e

@moduv5, following @benmosher's comment on my Gist—which I tried and had work—you'll have to do a single module.exports assignment to export your webpack config. ES6 default and custom export structures won't work. So in your case I think you might want to split out your server and client configs into two files, with, e.g. module.exports = clientConfig at the end.

Also, @benmosher, it looks like this issue can be solved by updating the documentation with an ES6 example containing the explicit module.exports assignment at the end? I'd be happy to take a crack at this if you like.

I am using babel-node, I try will change syntax in webpack.js to es5.
2016-05-03 2:08 GMT+01:00 Richa Avasthi<EMAIL_ADDRESS>
@benmosher https://github.com/benmosher Here's a gist
https://gist.github.com/ravasthi/abcfee465411fc45a8bc28decb9d8e5e with
my .eslintrc.json, webpack.config.js, as well as an abbreviated
package.json with versions of all the applicable libraries.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/benmosher/eslint-plugin-import/issues/238#issuecomment-216409290

I don't think you have to change the syntax of the whole file; just change the export line to be the ES5 style.
--
Richa

On May 3, 2016, at 11:37 PM, Marcin K<EMAIL_ADDRESS>wrote:
I am using babel-node, I try will change syntax in webpack.js to es5.
2016-05-03 2:08 GMT+01:00 Richa Avasthi<EMAIL_ADDRESS>
@benmosher https://github.com/benmosher Here's a gist
https://gist.github.com/ravasthi/abcfee465411fc45a8bc28decb9d8e5e with
my .eslintrc.json, webpack.config.js, as well as an abbreviated
package.json with versions of all the applicable libraries.
―
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/benmosher/eslint-plugin-import/issues/238#issuecomment-216409290

―
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@ravasthi I've reviewed your gist and the suggestions following it, but still no dice. Here's my gist: https://gist.github.com/tmax898/2dcc6b3d51dec76f80a604b607be88c0
I have /public/js in my root, so i would expect to be able to reference files from there on. Thanks in advanced for the help.

@tmax898 here are a few things I noticed (bear with me, I'm not a webpack expert):

I don't think you need path.resolve('./node_modules') under resolve.root, since resolve.modulesDirectories already includes node_modules by default.
I just proved the following through experimentation:

In order for the eslint webpack resolver to work properly, you must have a resolve.root entry.
Anything in resolve.alias is resolved with respect to resolve.root (if the latter is present), so you should remove the public/js part of your alias. I think as it is, the components alias has webpack looking for things in public/js/public/js/components.

Also keep in mind that if you set resolve.root to public/js, you may run into problems resolving imports in your tests, if they are not also children of public/js. In my case, I had tests under ./tests and components under ./public/components, so in order to make everything work when I run the server, run eslint, or run the tests, I had to set my resolve.root to path.resove(__dirname).

@ravasthi very interesting. I didn't realize the resolver required resolve.root. Sounds like a bug!

@benmosher I probably shouldn't have said that so definitely, but I do know from my experimentation that if I took the resolve.root setting out, things stopped working with the rest of my setup. Previously I had just added resolve.alias, and that didn't work.
--
Richa

On May 7, 2016, at 11:12 AM, Ben Mosher<EMAIL_ADDRESS>wrote:
@ravasthi very interesting. I didn't realize the resolver required resolve.root. Sounds like a bug!
―
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@ravasthi After changing export to commonjs style, plugin correctly pick up root.
I want to use es modules only, How can I specify root in .eslintrc instead?

@ravasthi i went through and followed alll your recommendations, but now webpack is not able to find any of the files by alias. I updated my gist if you want to review the syntax i used. I started by following your syntax very closely, but comparing it to the documentation from webpack, i'm am surprised your's builds. I'm not saying your wrong by any means. Just curious how you use your aliases in you code. Thanks again for your help.

@tmax898:

I don't think test 2 or 3 could work at all, because I'm pretty sure that by adding the leading slash, you force webpack to think that the alias is for an absolute path, meaning webpack will be looking for a public folder at the root level of your hard drive and not resolving against resolve.root.
I would expect test 1 to work, providing you don't overwrite the alias setting by putting the line containing test 2 in the same file.

Do you have a minimal project illustrating the problem?
As for how it works for me, my webpack config is exactly as in the gist I posted earlier, and I use aliases by doing, e.g.:
import PrimaryNavigation from 'components/common/PrimaryNavigation';

from tests/client/components/common/PrimaryNavigation.test.js, where components is an alias for public/components.

I'm going to close this as the initial issue seems to be resolved. I will gladly review any improved documentation PRs you all would be up to submit. 😄

What was the conclusion? I'm running into the same issue. My webpack config is
// ./webpack.json
{
  "root": "src",
  "devServer": {
    "host": "localhost"
  }
}

and my sublime config is
{
	"folders": [
		{
			"path": "."
		}
	],
  "SublimeLinter": {
    "linters":
    {
      "eslint":
      {
         "chdir": "${project}"
      }
    }
  }
}

I tried a mix of
"settings" : {
  "resolve.root": "src",
},

"settings" : {
  "import/resolver": {
      "resolve.root": "src",
    },
},

"settings" : {
  "import/resolver": {
      "webpack": {
        "config": "webpack.json",
      },
    },
},

but none worked

@gsabran the config needs to have "root" as a subkey of "resolve", i.e.
{ "resolve": { "root": "src" } }

The Webpack resolver currently expects the config to match Webpack 1.x's format. See the Webpack docs for more details.

Excellent, it works. Thanks!

@ravasthi @benmosher i forgot to thank you guys for the help and the solutions did work.


Ionic Route to page on item pressed

I have a tabs component which is listening to the onItemPressed:
ionViewDidLoad() {
    this.plt.ready().then(() => {

      this.indexAppContent.onItemPressed().subscribe((payload: any) => {
        console.log('from TABS when a item is pressed');
        console.log('### payload: ' + JSON.stringify(payload));
        this.tabRef.select(2);

      });
    });
  }

When I perform a spotlight search, I see the desired item and the log messages appear... However, I cannot change tabs from this context. Also, there is no error being thrown. How can I route to the desired page?

@NiklasMerz do you have by any chance some insight here? I don't know much about ionic...

I could try to help.
@tharrington What version of Ionic are you using? I don't know how tabs worked before but in Ionic v4 I would change tabs via their URL and Angular router.


Allow working with JSON5 without @Serializable classes

I would like to be able to encode or decode JSON5 without using @Serializable classes.
Context
This is useful for tweaking JSON5 elements during serialization (for example, in a custom KSerializer), or for use in contexts where the Kotlinx Serialization plugin isn't available (Gradle config, .main.kts scripts)
KxS JsonElement
Kotlinx Serialization already provides JsonElement for this purpose.

Aside from direct conversions between strings and JSON objects, Kotlin serialization offers APIs that allow other ways of working with JSON in the code. For example, you might need to tweak the data before it can parse or otherwise work with such an unstructured data that it does not readily fit into the typesafe world of Kotlin serialization.
_https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/json.md#json-elements_

JsonElement example
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonObject

fun main() {
  val jsonObj: JsonObject = Json.decodeFromString("""
    {
      "some": "json",
      "count": 123
    }
  """.trimIndent())

  println(jsonObj)
}

Options
I think there are two options

json5k re-implements the JsonElement code, but for JSON5. This is mostly an exercise in renaming!
json5k re-uses the existing JsonElement code. Since JSON and JSON5 are so similar, I suspect this is the easiest approach.

I've thought about this more and I think option 2 (re-using existing JsonElement) would require Json5k adds a dependency on kotlinx.serialization JSON - which is not ideal. I think option 1 would be best.

I agree, this is definitely an important feature. I am still undecided about the two options, though.
On the one hand, a forced dependency on the JSON format will be undesired noise for most application scenarios of the library and should therefore be avoided. On the other hand, returning a JsonElement instance would allow clients of the library to reuse code from existing JsonTransformingSerializer implementations.
The ideal solution would probably be a format-independent version of JsonElement in the core that we can hook into. So instead of JsonArray in the JSON format, a ValueSequence class in the core would be exactly what we need.
Let me think about it while I work on the Multiplatform version! :slightly_smiling_face:

There have been a few relevant updates from KxS JSON that I think are worth considering when implementing an equivalent in json5k. I'm mentioning them because they might help guide development in json5k.

JsonUnquotedLiteral() https://github.com/Kotlin/kotlinx.serialization/pull/2041 can be used to encode raw content. This can be used to encode types not supported in Kotlin Multiplatform, like BigDecimal and BigInteger, but also raw JSON content if necessary
This was done with a special 'marker' SerialDescriptor

Create JsonPrimitives for unsigned numbers https://github.com/Kotlin/kotlinx.serialization/pull/2160
Of particular note is the developer's comment saying (paraphrased) "adding nullable parameters for JsonPrimitive functions is a mistake."

Adding utility functions to the JsonObject/JsonArray for adding multiple elements
I actually think this is a bit messy and I think would be better implemented with additional MutableJsonObject and MutableJsonArray types, to complement the immutable versions.
context: https://github.com/Kotlin/kotlinx.serialization/issues/2308

Proposal
With the previous points in mind, I'd propose the following types:
sealed interface Json5Element

//region Json5 primitives
public sealed interface Json5Primitive : Json5Element

/** internal primitive implementation, containing metadata about the content and how to encode/decode it */
internal class Json5Literal : Json5Primitive()

public object Json5Null : Json5Primitive

//region primitive constructors
fun Json5Primitive(value: String): Json5Primitive = // ...
fun Json5Primitive(value: Int): Json5Primitive = // ...
fun Json5Primitive(value: Boolean): Json5Primitive = // ...

fun Json5Primitive(value: Nothing?): Json5Null = Json5Null
//endregion

//region Json5 structures
interface Json5Object : Json5Element, Map<String, Json5Element>
interface MutableJson5Object : Json5Object, MutableMap<String, Json5Element>

interface Json5Array : Json5Element, List<Json5Element>
interface MutableJson5Array : Json5Array, MutableList<Json5Element>
//endregion

Notes
sealed interface vs class
I used sealed interface instead of sealed class, but both would probably work. I think using an interface allows the ABI to be much more controlled and minimal, but the interfaces do require implementation classes (e.g. internal class MutableJson5MapImpl : MutableJson5Map).
Serializers
I didn't include the @Serializable(with = ...) annotations, but they would be required
No nullable Json5Primitive parameters
The Json5Primitive function parameters aren't nullable, instead there's a Json5Primitive(value: Nothing?) function that will handle null https://github.com/Kotlin/kotlinx.serialization/pull/1907
Mutable type hierarchy
MutableJson5Object implements Json5Object, to match the List/MutableList pattern in Kotlin stdlib (and the same for Json5Array)
Raw encoding
Raw encoding is not critical for an initial implementation, but the function would look like this:
fun Json5UnquotedLiteral(value: String): Json5Element = // ...

Builder functions
Because there's a mutable variants of object and array, the builder functions would be simpler than KxS JSON.
fun buildJson5Object(build: MutableJson5Object.() -> Unit): Json5Object {
  // ...
}

fun buildJson5Array(build: MutableJson5Array.() -> Unit): Json5Array {
  // ...
}

Comments
Something that JSON doesn't have is comments. How should json5k handle them?
Perhaps this can be handled with a specific coerceToInlineType descriptor?
Or maybe comments need to be a specific subtype?
public interface Json5Comment : Json5Element


Check if kernel module is loaded on Solaris

List of loaded kernel modules in Solaris can be displayed with
modinfo command.

Thanks!

Released as v2.59.5.


Fix buildbot_linux_1404_no_lldb preset

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - bf58dddbd6756888791748b014ece1f742dfb4fc
Test requested by - @shahmishal

@swift-ci Please test Linux

@swift-ci Please test Linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - bf58dddbd6756888791748b014ece1f742dfb4fc
Test requested by - @shahmishal

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - a7723bbb07e7d5b35a8d9426019bc32022c049ff
Test requested by - @shahmishal


feat(banner-color): update dark colors for banner - allow text node

update light banners to corresponding dark text colors
allow node as PropType for banner text

Codecov Report

Merging #145 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #145   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          31     31
  Lines         276    276
=====================================
  Hits          276    276

Impacted Files
Coverage Δ

src/Banner.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

So have been having a chat with @krevat about this, and I think this is the behavior that we would like to have:

I am not a fan of having the text prop behave as a render prop and can take any children and apply the default style. I feel like the Banner should be a Box that take children and check if one of the child is of type Text it would default it to the default banner font size. The <InputField> component is a good example for that.
@odmln @chrisdroukas do you have any thoughts about this?

I think I agree with the comment above, an API like the following seems simpler for anything beyond just a string of text in the Banner:
// Default styles
<Banner>
  Hello
</Banner>

// Custom composition
<Banner>
  <Icon name='check' />
  <Text fontSize={4}>Hello</Text>
</Banner>

Yeah i agree, treating it the same way we handled InputField seems like a smart move.

maybe we should simply add children to the Banner and then can add another PR about making it smarter about Text and Icon to address #163.

Yeah, it seems like #163 and this PR are overlapping a bit. Should we discuss in person and do a code walkthrough of each sometime this week?

@jxnblk have been chatting with @krevat and @jes708 this morning and we decided to move on with #166, the changes will include adding support for children, update dark colors for banner and update the docs. The Banner should still take text prop for backward compatibility.
closing this in favor of #166 for now.


Add check url with actual path functionality to check-docs

Check menu.yml URLs should match exactly with the list of all markdown doc files.

alluxio-bot, merge this please


[FEATURE REQUEST] impl FromIterator for ListStore

We already have IntoIterator, so why not add FromIterator?

Yes why not? :)


Use proper baseline origin

GlyphRun's BaseLineOrigin was ignored for render list item Bounds calculation while it was actually used in SKCanvas.DrawText as an offset.

You can test this PR using the following package version. 11.0.999-cibuild0031007-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Adding Tech stack used in the project

I would like to add the tech stack used in the project so that readme file will look attractive

Hello, I would like to work oh this issue .Please assign to me
and I'm a GSSOC'21 participant

@RaveenaBhasin you have 1 more day to complete this or else the issue and the corresponding PR would be closed

@smaranjitghose I'm not able to find logo for scss anywhere. Will it be ok if I leave it like css only?

Hey, I am interested to work in this issue. Would you assign it to me?

@smaranjitghose I'm not able to find logo for scss anywhere. Will it be ok if I leave it like css only?

Check this

Closed due to failure to meet deadlines


added sample queries for Microsoft Todo lists

Added the following sample queries for Microsoft Todo

GET task lists
POST (create) a new task list

@neelkshah , Please add queries for Tasks and linkedResources too. Some common queries would be "List tasks in a tasklist", "Create tasks in tasklist".
Since tasklist id is needed, You can add tip like "This query requires a tasklist id. To find the ID of a tasklist, you can run: GET https://graph.microsoft.com/beta/me/todo/lists"

@irvinesunday , @bettirosengugi
Please review this PR and let us know if there is any more feedback.


Fill out README Prerequisites

We need to document the steps needed for someone to be able to run this project for the first time (dependencies, running the docker images for the data services).
Rough steps:

clone repo
run the docker-compose to start influxdb and psql
run psql migrations
run app

can u give me more info? how can I should help you? I'm beginner programmer and this is my first task designated learning Github

can u give me more info? how can I should help you? I'm beginner programmer and this is my first task designated learning Github

This task is just doccumenting how to run the application. I haven't filled this out yet as I have not had to reset my development environment in a while, so I am unaware of the full set of steps needed to run the application. If you are a beginner programmer this might be challenging... I'll try to fill this out once I am finished with exams, but no guarantees. If you are new I would learn how to work golang projects, the golang docs are good, and there are some good resources on youtube.

Requires:

docker, docker-compose
golang

Steps:

clone repository
run docker-compose up to download and run influxDB and PSQL
run go get -u ./... -v to install go dependencies
run ./scripts/generate-database-models.sh
run ./scripts/run-psql--database-migrations.sh
run go run scraper/main.go

@javiercaamano try running through these steps and let me know if u run into any issues (fair warning, I will try and guide/help you when I have time, but you will have to do some debugging on your own to get things working)

@javiercaamano I updated the readme with setup instructions. If you are still interested in contributing, please take a look at the readme on how to setup your local development environemnt.


Unable to run agent

OS: OSX 10.12.6 (OSX Sierra)
Python: Anaconda Python (3.6.5)
Description:
I've installed pysc2 via pip and (seperately) via github, but with either approach, I get an error running python -m pysc2.bin.agent --map Simple64. The stack trace is copied below. The behavior is that a small window opens up, and you can see a loading screen. However, the stack trace below occurs when the map is loaded and the starting base becomes visible. I have verified that the maps are in the correct directory and that StarCraft II (downloaded from Blizzard) is working.
To note, I tried the same installation instructions and was able to run python -m pysc2.bin.agent --map Simple64 on a different Mac running OSX 10.13.6 (OSX High Sierra). Unfortunately, I cannot upgrade the first Mac from Sierra to High Sierra due to hardware constraints.
Error:
python -m pysc2.bin.agent --map Simple64
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
I0909 21:53:38.967746<PHONE_NUMBER>22592 sc_process.py:110] Launching SC2: /Applications/StarCraft II/Versions/Base67926/SC2.app/Contents/MacOS/SC2 -listen <IP_ADDRESS> -port 18711 -dataDir /Applications/StarCraft II/ -tempDir /var/folders/wj/sdxm4ww92q5g73_x1pb59vkr0000gn/T/sc-khlqlop5/ -displayMode 0 -windowwidth 640 -windowheight 480 -windowx 50 -windowy 50
I0909 21:53:38.980247<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 0, running: True
NSWindowEdgeResizing is off!
I0909 21:53:39.987378<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 1, running: True
I0909 21:53:40.987987<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 2, running: True
I0909 21:53:41.990412<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 3, running: True
I0909 21:53:42.991654<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 4, running: True
I0909 21:53:43.992776<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 5, running: True
I0909 21:53:44.998490<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 6, running: True
I0909 21:53:46.003134<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 7, running: True
I0909 21:53:47.003929<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 8, running: True
I0909 21:53:48.006083<PHONE_NUMBER>22592 remote_controller.py:163] Connecting to: ws://<IP_ADDRESS>:18711/sc2api, attempt: 9, running: True
Fatal Python error: Illegal instruction
Thread 0x0000700003666000 (most recent call first):
  File "/Users/osx_user/anaconda3/lib/python3.6/threading.py", line 295 in wait
  File "/Users/osx_user/anaconda3/lib/python3.6/queue.py", line 164 in get
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/lib/renderer_human.py", line 1387 in render_thread
  File "/Users/osx_user/anaconda3/lib/python3.6/threading.py", line 864 in run
  File "/Users/osx_user/anaconda3/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/Users/osx_user/anaconda3/lib/python3.6/threading.py", line 884 in _bootstrap

Current thread 0x00007fffe43453c0 (most recent call first):
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/lib/renderer_human.py", line 370 in init_window
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/lib/stopwatch.py", line 197 in _stopwatch
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/lib/renderer_human.py", line 67 in _with_lock
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/lib/renderer_human.py", line 344 in init
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/env/sc2_env.py", line 288 in _finalize
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/env/sc2_env.py", line 260 in __init__
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/bin/agent.py", line 94 in run_thread
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/bin/agent.py", line 134 in main
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/absl/app.py", line 251 in _run_main
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/absl/app.py", line 300 in run
  File "/Users/osx_user/anaconda3/lib/python3.6/site-packages/pysc2/bin/agent.py", line 148 in <module>
  File "/Users/osx_user/anaconda3/lib/python3.6/runpy.py", line 85 in _run_code
  File "/Users/osx_user/anaconda3/lib/python3.6/runpy.py", line 193 in _run_module_as_main
Illegal instruction: 4`

That might be because of pygame which usually requires xserver to run. Does it work with —norenderer?

Unfortunately, I don't know what initial setup for OS X should be. I use MacPorts and have several Xlib packages installed (not ZQuartz). When I used pygame several years ago for another project I had to install XQaurtz to make it work.
I'll check which packages I have this evening, hope it will shed the light.

Yep, I have number of org packages installed:
  xorg-kbproto @1.0.7_0 (active)
  xorg-libice @1.0.9_0 (active)
  xorg-libpthread-stubs @0.4_0 (active)
  xorg-libsm @1.2.2_0 (active)
  xorg-libX11 @1.6.6_0 (active)
  xorg-libXau @1.0.8_0 (active)
  xorg-libxcb @1.12_2+python27 (active)
  xorg-libXdmcp @1.1.2_0 (active)
  xorg-libXext @1.3.3_0 (active)
  xorg-libXt @1.1.5_2 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-xcb-proto @1.12_1+python27 (active)
  xorg-xcb-util @0.4.0_0 (active)
  xorg-xextproto @7.3.0_0 (active)
  xorg-xproto @7.0.31_0 (active)

Probably thats why it works for me.

Great, thanks! I will try installing the same packages and see if that works.


Maximum and Minimum Length in Schema

The current Swagger specification allows to set a maximum and a minimum length in the schema definition. The fields themselves are already in the object specification itself, but aren't used currently.
The allowed lengths can be set in .NET by the "StringLengthAttribute" on the fields.
I added the logic to test for them, and set the lengths if available. It is also added in the unit tests, which worked fine.

+1


After upgrade to OKD 4.13, the kubelet service monitor shows target down on all hosts

Describe the bug
After upgrading from 4.11.0-0.okd-2022-12-02-145640 -> 4.12.0-0.okd-2023-03-18-084815 -> 4.13.0-0.okd-2023-05-22-052007 the servicemonitor for kubelet shows target down on all hosts.

I have commented before on the discussion  but no answer there
Kubelet on all nodes print this
Jun 21 12:14:55 master-1.<redacted> kubenswrapper[1508]: E0621 12:14:55.916154    1508 server.go:299] "Unable to authenticate the request due to an error" err="verifying certificate SN=271132308545303815804978568557672067097, SKID=, AKID=1E:94:4A:97:26:E8:A5:F5:27:FD:EF:60:E0:C4:B8:CC:F0:77:F1:08 failed: x509: certificate signed by unknown authority" Jun 21 12:15:01 master-1.<redacted> kubenswrapper[1508]: E0621 12:15:01.548207    1508 server.go:299] "Unable to authenticate the request due to an error" err="verifying certificate SN=271132308545303815804978568557672067097, SKID=, AKID=1E:94:4A:97:26:E8:A5:F5:27:FD:EF:60:E0:C4:B8:CC:F0:77:F1:08 failed: x509: certificate signed by unknown authority" Jun 21 12:15:04 master-1.<redacted> kubenswrapper[1508]: E0621 12:15:04.130941    1508 server.go:299] "Unable to authenticate the request due to an error" err="verifying certificate SN=271132308545303815804978568557672067097, SKID=, AKID=1E:94:4A:97:26:E8:A5:F5:27:FD:EF:60:E0:C4:B8:CC:F0:77:F1:08 failed: x509: certificate signed by unknown authority" Jun 21 12:15:05 master-1.<redacted> kubenswrapper[1508]: E0621 12:15:05.677251    1508 server.go:299] "Unable to authenticate the request due to an error" err="verifying certificate SN=271132308545303815804978568557672067097, SKID=, AKID=1E:94:4A:97:26:E8:A5:F5:27:FD:EF:60:E0:C4:B8:CC:F0:77:F1:08 failed: x509: certificate signed by unknown authority" Jun 21 12:15:05 master-1.<redacted> kubenswrapper[1508]: E0621 12:15:05.766893    1508 server.go:299] "Unable to authenticate the request due to an error" err="verifying certificate SN=271132308545303815804978568557672067097, SKID=, AKID=1E:94:4A:97:26:E8:A5:F5:27:FD:EF:60:E0:C4:B8:CC:F0:77:F1:08 failed: x509: certificate signed by unknown authority"
Version
4.13.0-0.okd-2023-05-22-052007
How reproducible
Not really sure. Maybe do the same upgrade path as described.
Log bundle
cannot send one as there is sensitive information in secrets
What have i tried?

rebooting nodes one by one
removing configmaps, specifically kubelet-serving-ca-bundle in the openshift-monitoring namespace so the operator recreates it
removed secret kube-state-metrics-tls and let the operator recreate it.

Please refrain from creating more issues. I've already spent time closing that one instead of looking into the must-gather


Search for featured repos

Users can click on a language button to see a list of featured repos that use that language.- Examples: HTML, CSS, JavaScript.  - The list of featured repos will look exactly like the list of user repos.

Completed


Ensure RMF is not shown on app start if browser showing

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4753  👈
develop

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

Join @malmstein and the rest of your teammates on  Graphite