Compiling on fedora

Hi
I installed dependencies like this:
  sudo dnf group install "C Development Tools and Libraries"
  sudo dnf install libusb-devel python2-numpy opencv-python

  python waf configure --prefix /usr
Setting top to                           : /home/larsfp/Downloads/git/libseek
Setting out to                           : /home/larsfp/Downloads/git/libseek/build
Checking for 'g++' (C++ compiler)        : /usr/bin/g++
Checking for program 'pkg-config'        : /usr/bin/pkg-config
Checking for 'libusb-1.0'                : yes
'configure' finished successfully (0.031s)

python waf
...
../seek.cpp:685:16: error: ‘class LibSeek::Frame::impl’ has no member named ‘rawdata’
    m->calib.m->rawdata = frame.m->rawdata;
                ^~~~~~~
../seek.cpp:685:35: error: ‘class LibSeek::Frame::impl’ has no member named ‘rawdata’
    m->calib.m->rawdata = frame.m->rawdata;
                                   ^~~~~~~
../seek.cpp:705:19: error: ‘class LibSeek::Frame::impl’ has no member named ‘rawdata’
      (m->calib.m->rawdata.data())[y*w+x];
                   ^~~~~~~
../seek.cpp:740:36: error: ‘class LibSeek::Imager::impl’ has no member named ‘bpc_list’
   for (int idx_bp = 0; idx_bp < m->bpc_list.size(); idx_bp++) {
                                    ^~~~~~~~
../seek.cpp:742:23: error: ‘class LibSeek::Imager::impl’ has no member named ‘bpc_list’
    tie(x, y, ik) = m->bpc_list[idx_bp];
                       ^~~~~~~~
../seek.cpp:744:18: error: ‘class LibSeek::Imager::impl’ has no member named ‘bpc_kinds’
    auto cnt = m->bpc_kinds[ik];
                  ^~~~~~~~~
../seek.cpp:749:37: error: ‘class LibSeek::Imager::impl’ has no member named ‘bpc_weights’
     v += data[(y+dy)*w+(x+dx)] * m->bpc_weights[iw];
                                     ^~~~~~~~~~~

Waf: Leaving directory `/home/larsfp/Downloads/git/libseek/build'
Build failed
 -> task in 'seek' failed (exit status 1):
	{task<PHONE_NUMBER>05392: cxx seek.cpp -> seek.cpp.1.o}
['/usr/bin/g++', '-std=c++11', '-I/usr/include/libusb-1.0', '-DHAVE_LIBUSB=1', '../seek.cpp', '-c', '-o', '/home/larsfp/Downloads/git/libseek/build/seek.cpp.1.o']

Looks like I had forgotten to explicitly #include <vector> and a newer GCC version unearthed the issue.
Please confirm resolution,

% python waf
Waf: Entering directory `/home/larsfp/Downloads/git/libseek/build'
[1/7] Compiling seek.cpp
[3/7] Compiling seek-test.cpp
[4/7] Compiling seek-test-calib.cpp
[5/7] Linking build/libseek.a
[7/7] Linking build/seek-test
[6/7] Linking build/seek-test-calib
Waf: Leaving directory `/home/larsfp/Downloads/git/libseek/build'
'build' finished successfully (1.475s)

Yes, looks good.


miniscript: unstable-2022-07-19 -> unstable-2023-03-16

Description of changes
Bumps miniscript to the latest master: https://github.com/sipa/miniscript/compare/ca675488c4aa9605f6ae70c0e68a148a6fb277b4..6806dfb15a1fafabf7dd28aae3c9d2bc49db01f1
This also fixes the build for macos by disabling LTO and replacing out the hardcoded g++ before building it on darwin.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 311338 run on aarch64-darwin 1

1 package built:

miniscript

and(pk(A),or(pk(B),or(9@pk(C),older(1000))))
X<PHONE_NUMBER>000   114 and_v(or_c(pk(B),or_c(pk(C),v:older(1000))),pk(A)) and(pk(A),or(pk(B),or(9@pk(C),older(1000))))

Example from the website matches up on darwin (M2)


[probes.dns] latency_distribution doesn't work DNS probe

Discussed in https://github.com/cloudprober/cloudprober/discussions/833

Originally posted by therealak12 August 25, 2024
Hi, I have a simple yaml config as follows:
probe:
    - name: "google"
      type: DNS
      targets:
        host_names: "<IP_ADDRESS>"
      dns_probe:
        queryType: A
        resolved_domain: "google.com"
      latency_distribution:
        explicit_buckets: "0.001,0.005,0.01,0.02,0.03,0.05,0.075,0.1,0.2,0.5,0.75,1,1.5,2,2.5,3,4,5"
      interval: 1s
      timeout: 1s
      latency_unit: s

The issue is that only the last probe is recorded for the histogram metric. The /metrics endpoint always returns a response like this (count doesn't exceed 1):
latency_count{probe="ext-google",dst="<IP_ADDRESS>"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.001"} 0<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.005"} 0<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.01"} 0<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.02"} 0<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.03"} 0<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.05"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.075"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.1"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.2"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.5"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="0.75"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="1"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="1.5"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="2"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="2.5"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="3"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="4"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="5"} 1<PHONE_NUMBER>875
latency_bucket{probe="ext-google",dst="<IP_ADDRESS>",le="+Inf"} 1<PHONE_NUMBER>875

My question: Is this behavior intentional or can it be considered a bug?
This line is likely causing the behavior. It should be put in the Start method or should be changed like this:
if result.latency == nil {
    result.latency = p.opts.LatencyDist.CloneDist()
}
```</div>

@therealak12, which version you're running?
I think you've found a bug in the unreleased version (which is great), but latest release should be okay.
Context: I recently moved DNS probe to the common scheduler, but that expects metrics to be accumulated. Earlier DNS probe was using statskeeper (not retired), which took care of accumulating the metrics. So if you're using a released version it should be working ok.


flutter-devicelab-mac-7 phone got force updated to iOS-14.7.1

The assumption is the most of the phones in the devicelab will start getting force updated to that version of iOS. We'll need to be proactive and manually update the ones in the staging to validate all the tests are working properly. Once we have validated iOS 14.7.1 is working properly we'll need to manually update all the phones in prod.

\cc @jmagman

There is one more complication, we'll need to update the xcode version as part of the process:
2021-11-15 08:35:43.040 xcodebuild[3699:20077]  iPhoneConnect: 📱<DVTiOSDevice (0x7f9d4e40f5b0), iPhone, iPhone, 14.7.1 (18G82), 17c2b713f6b6bbbcd2b819d844233496482c2ede> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=601 "The current device configuration is unsupported. This iPhone 6s is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.3." UserInfo={NSLocalizedDescription=The current device configuration is unsupported. This iPhone 6s is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.3., NSLocalizedRecoverySuggestion=To run on this device, please update to a version of Xcode that supports iOS 14.7.1. You can download Xcode from the Mac App Store or the Apple Developer website., DVTRadarComponentKey=487927, DeviceType=iPhone8,1, NSUnderlyingError=0x7f9d4e506f10 {Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 "Unable to locate ideal DDI for platform: <DVTPlatform:0x7f9d8e72f0b0:'com.apple.platform.iphoneos':<DVTFilePath:0x7f9d8e72db70:'/opt/flutter/xcode/12c33/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7f9d8e72f0b0:'com.apple.platform.iphoneos':<DVTFilePath:0x7f9d8e72db70:'/opt/flutter/xcode/12c33/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82, DVTRadarComponentKey=487927}}}) {
    DVTRadarComponentKey = 487927;
    DeviceType = "iPhone8,1";
    NSLocalizedDescription = "The current device configuration is unsupported. This iPhone 6s is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.3.";
    NSLocalizedRecoverySuggestion = "To run on this device, please update to a version of Xcode that supports iOS 14.7.1. You can download Xcode from the Mac App Store or the Apple Developer website.";
    NSUnderlyingError = "Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 \"Unable to locate ideal DDI for platform: <DVTPlatform:0x7f9d8e72f0b0:'com.apple.platform.iphoneos':<DVTFilePath:0x7f9d8e72db70:'/opt/flutter/xcode/12c33/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82\" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7f9d8e72f0b0:'com.apple.platform.iphoneos':<DVTFilePath:0x7f9d8e72db70:'/opt/flutter/xcode/12c33/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82, DVTRadarComponentKey=487927}";
}
2021-11-15 08:35:43.042 xcodebuild[3699:20021] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7f9d4e40f5b0), iPhone, iPhone, 14.7.1 (18G82), 17c2b713f6b6bbbcd2b819d844233496482c2ede> -- An error occurred whilst preparing device for development -- The current device configuration is unsupported. This iPhone 6s is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.3.
Domain: com.apple.dtdevicekit
Code: 601
Recovery Suggestion: To run on this device, please update to a version of Xcode that supports iOS 14.7.1. You can download Xcode from the Mac App Store or the Apple Developer website.
User Info: {
    DVTRadarComponentKey = 487927;
    DeviceType = "iPhone8,1";
}

There is one more complication, we'll need to update the xcode version as part of the process:

https://github.com/flutter/flutter/issues/91633
Updating Xcode would be so much easier if https://github.com/flutter/flutter/issues/91689 was done to decouple it from the simulators the tests use.

Mac ios test beds are now migrated to 12.0.1 and ios 15


Using deprecated AbstractHttpClient does not allow upgrade to Apache HttpClient 4

Any attempt to replace the HttpClientFactory with one that creates an Apache HttpClient 4 instance, yields:
RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1730)
 - Cannot cast object 'org.apache.http.impl.client.InternalHttpClient@9b3be1c' with class 'org.apache.http.impl.client.InternalHttpClient' to class 'org.apache.http.impl.client.AbstractHttpClient'

This means that one cannot use all the advanced features available in version 4 by providing a different factory via
HttpClientConfig httpClientConfig = new HttpClientConfig();
httpClientConfig = httpClientConfig.httpClientFactory(myClientFactory);

unless the factory creates a deprecated instance of AbstractHttpClient

This is tracked and discussed here: https://github.com/rest-assured/rest-assured/issues/497


ValueError: Input 0 of node model/prune_low_magnitude_conv2d/AssignVariableOp was passed float from model/prune_low_magnitude_conv2d/Mul/ReadVariableOp/resource:0 incompatible with expected resource.

1. System information

OS Platform and Distribution:
centos 7
TensorFlow installation (pip package or built from source):
pip package
TensorFlow library (version, if pip package or github SHA, if built from source):
pip package， tensorflow2.6,  tensorflow-model-optimization==0.7.2

2. Code
Provide code to help us reproduce your issues using one of the following options:
`
self.model = create_model(args['networks'])
        pruning_params = {
            'pruning_schedule':
                PolynomialDecay(
                    initial_sparsity=0.0,
                    final_sparsity=0.50,
                    begin_step=0,
                    end_step=500000000,
                    frequency=100),
        }

        self.model = prune.prune_low_magnitude(
            self.model, **pruning_params)

    self.lg.info('Create model successfully! Params: [{:.2f}]K'.format(self.model.count_params()/1e3))
    self.lg.info('Create model successfully! Params: [{:.2f}]'.format(self.model.count_params()))

    self.train_data = train_data
    self.val_data = val_data
    self.writer = writer

    self.optimizer = tf.keras.optimizers.Adam(lr=self.opt['lr'])
    lr_scheduler = LearningRateScheduler(self.scheduler)
    epoch_end_call = Epoch_End_Callback(self.val_data, self.train_data, self.lg, self.writer, args['paths'], self.opt['val_step'], state=self.state)
    self.callback = [lr_scheduler, epoch_end_call]

    self.prune_callbacks = [
        lr_scheduler,
        epoch_end_call,
        pruning_callbacks.UpdatePruningStep(),
        pruning_callbacks.PruningSummaries(log_dir="./logs"),
    ]

def train(self):
    if self.resume == False:
        self.model.compile(optimizer=self.optimizer, loss=self.opt['loss'])
    # history = self.model.fit(self.train_data, epochs=self.opt['epochs'], workers=self.opt['workers'], callbacks=self.callback, initial_epoch=self.state['current_epoch']+1)
    history = self.model.fit(self.train_data, epochs=self.opt['epochs'], workers=self.opt['workers'], callbacks=self.prune_callbacks, initial_epoch=self.state['current_epoch']+1)

    converter = tf.lite.TFLiteConverter.from_keras_model(self.model)
    converter._enable_tflite_resource_variables = True
    converter.optimizations = {tf.lite.Optimize.EXPERIMENTAL_SPARSITY, tf.lite.Optimize.DEFAULT}
    tflite_model = converter.convert()

    tflite_model_path = './logs/model.tflite'
    print('model is saved to {}'.format(tflite_model_path))
    with open(tflite_model_path, 'wb') as f:
        f.write(tflite_model)

`
3. Failure after conversion
If the conversion is successful, but the generated model is wrong, then state what is wrong:

Model produces wrong results and/or has lesser accuracy.
Model produces correct results, but it is slower than expected.

/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/keras/utils/generic_utils.py:497: CustomMaskWarning: Custom mask layers require a config and must override get_config. When loading, the custom mask layer must be passed to the custom_objects argument.   category=CustomMaskWarning) Traceback (most recent call last):   File "train.py", line 68, in <module>     solver.train()   File "/home/usrname/SR/TF/mymodel_03/solvers/solver.py", line 122, in train     tflite_model = converter.convert()   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 729, in wrapper     return self._convert_and_export_metrics(convert_func, *args, **kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 715, in _convert_and_export_metrics     result = convert_func(self, *args, **kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 1123, in convert     self._freeze_keras_model())   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/lite/python/convert_phase.py", line 218, in wrapper     raise error from None  # Re-throws the exception.   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/lite/python/convert_phase.py", line 208, in wrapper     return func(*args, **kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 1080, in _freeze_keras_model     self._funcs[0], lower_control_flow=False))   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/framework/convert_to_constants.py", line 1235, in convert_variables_to_constants_v2_as_graph     converted_input_indices)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/framework/convert_to_constants.py", line 1080, in _construct_concrete_function     new_output_names)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/eager/wrap_function.py", line 650, in function_from_graph_def     wrapped_import = wrap_function(_imports_graph_def, [])   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/eager/wrap_function.py", line 628, in wrap_function     collections={}),   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 1007, in func_graph_from_py_func     func_outputs = python_func(*func_args, **func_kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/eager/wrap_function.py", line 87, in __call__     return self.call_with_variable_creator_scope(self._fn)(*args, **kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/eager/wrap_function.py", line 93, in wrapped     return fn(*args, **kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/eager/wrap_function.py", line 648, in _imports_graph_def     importer.import_graph_def(graph_def, name="")   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 549, in new_func     return func(*args, **kwargs)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/framework/importer.py", line 405, in import_graph_def     producer_op_list=producer_op_list)   File "/home/usrname/anaconda3/envs/tf2.6_cudnn8.1/lib/python3.7/site-packages/tensorflow/python/framework/importer.py", line 501, in _import_graph_def_internal     raise ValueError(str(e)) ValueError: Input 0 of node model/prune_low_magnitude_conv2d/AssignVariableOp was passed float from model/prune_low_magnitude_conv2d/Mul/ReadVariableOp/resource:0 incompatible with expected resource.
4. bug
When I use tfmot to try to sparse a model and convert the model to tflite format, it reports an error：
ValueError: Input 0 of node model/prune_low_magnitude_conv2d/AssignVariableOp was passed float from model/prune_low_magnitude_conv2d/Mul/ReadVariableOp/resource:0 incompatible with expected resource.

Hi @douzaikongcheng ! Could you provide the above code as Colab gist? Please try in 2.8 /2.9 or nightly version too. Attaching relevant threads for reference 1, 2. Thank you!

@mohantym, Thank you, I will try.

Hi @douzaikongcheng ! Is it resolved in the 2.8 version onwards?  Please share a colab gist if you are still looking for further assistance? Thanks!

Hi @douzaikongcheng !
Re-opening as requested. Please provide a colab gist to help expedite the issue.
Thank you!

Hi @douzaikongcheng, we need more context to reproduce this issue, if you provide a colab gist this will help us immensely. Colab. https://colab.research.google.com/


Template: Add a way to generate draft patch notes

Extract all commit messages since last release and put in a markdown file in the folder releaseNotes.
Todo:

[x] Custom template

Done


Warning from playstore embedded private keys or keystores files

Hello i have found issue in 'Security Alert: Your app contains embedded private keys or keystore files' assets/nodejs-project/node_modules/node-gyp/test/fixtures/server.key. Google message me to remove server.key, What should i do ? Thanks in advance.

You should remove those files before building the APK. E.g. a script that manually removes undesired files after npm install and before APK compilation.


Verify that semi-automatic derivation isn't overgenerating

This was a problem before #77 (see discussion here).

Current coverage is 69.27%

Merging #91 into master will not affect coverage as of 2ff37d4

Powered by Codecov. Updated on successful CI builds.

I'm going to go ahead and merge this since it's pretty much only good things.


Added Atlassian !

Added some coding test questions for Atlassian!

Hi,
The questions I posted are from the hiring challenge for freshers, these are the only set of questions I have across all the available sections.


D4E Passive Mode Functionality Page Needs Updating

https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/microsoft-defender-antivirus-compatibility?view=o365-worldwide#requirements-for-microsoft-defender-antivirus-to-run-in-passive-mode
Page above needs updating: "How Microsoft Defender Antivirus affects Defender for Endpoint functionality" section needs updating for latest D4E features (e.g. ASRs and network protections can't be used)

Thank you for the feedback, @gstendig. I am looking into this.


Add +1/-1 keywords for thumbs up/down emoji

In 2.4 these were sort-of present because they were being used as the "name" of the emoji. The switch to keying this data by the emoji-character has effectively removed these keywords from the list.

Thanks! This is published with 3.0.3.


Remove the limit for transactions in a block from validation

There is no such check in epoch so it breaks consensus

@gspasov we won't accept an epoch block with transactions that are above our limit

Wasn't there some limit to how much txs could be mined with a block? I think it was more so a limit of bytes? Do you know how does epoch limit this?

@gspasov ah alright I've missed that, our limit is 100 so a change is needed anyway

Will fix this


SKU availability

OPS Build status updates of commit 36869b5:
:clock10: Preparing: average preparing time is 46 sec(s)

OPS Build status updates of commit 36869b5:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/msteams-docs, working directory: W:\vtpn-s, target branch: master, target branch commit: 5d424b7b98118a3abcd7003d79e0644421e43e5f, source branch: lokimeyburg-sku-context, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Line 37: [Warning] Invalid file link:(~/concepts/tabs/tabs-configuration).
Line 38: [Warning] Invalid file link:(~/concepts/deep-links).

msteams-platform/whats-new.md

Line 15: [Warning] Invalid file link:(~/concepts/tabs/tabs-context).
Line 16: [Warning] Invalid file link:(~/concepts/compose-extensions).
Line 17: [Warning] Invalid file link:(~/scenarios/limited-tenant).
Line 18: [Warning] Invalid file link:(~/concepts/tabs/tabs-configurable).
Line 19: [Warning] Invalid file link:(~/concepts/getting-started/get-started-nodejs-in-azure).
Line 19: [Warning] Invalid file link:(~/concepts/getting-started/get-started-dotnet-app-studio).
Line 19: [Warning] Invalid file link:(~/concepts/getting-started/get-started-nodejs-app-studio).
Line 20: [Warning] Invalid file link:(~/concepts/deep-links#deep-linking-to-a-chat).
Line 21: [Warning] Invalid file link:(~/concepts/tabs/tabs-in-sharepoint).
Line 22: [Warning] Invalid file link:(~/concepts/task-modules/task-modules-overview).
Line 22: [Warning] Invalid file link:(~/concepts/task-modules/task-modules-bots).
Line 22: [Warning] Invalid file link:(~/concepts/task-modules/task-modules-tabs).
Line 23: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 23: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 24: [Warning] Invalid file link:(~/concepts/calls-and-meetings/calls-meetings-bots-overview).
Line 24: [Warning] Invalid file link:(~/concepts/calls-and-meetings/requirements-considerations-application-hosted-media-bots).
Line 24: [Warning] Invalid file link:(~/concepts/calls-and-meetings/call-notifications).
Line 24: [Warning] Invalid file link:(~/concepts/calls-and-meetings/debugging-local-testing-calling-meeting-bots).
Line 24: [Warning] Invalid file link:(~/concepts/calls-and-meetings/register-calling-bot).
Line 24: [Warning] Invalid file link:(~/concepts/calls-and-meetings/real-time-media-concepts).
Line 25: [Warning] Invalid file link:(~/scenarios/lob-scenarios-landing-page).
Line 25: [Warning] Invalid file link:(~/lob-apps-value-prop).
Line 27: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card).
Line 27: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions).
Line 29: [Warning] Invalid file link:(~/resources/schema/manifest-schema#composeextensionscommands).
Line 30: [Warning] Invalid file link:(~/concepts/connectors/connectors).
Line 31: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 32: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 33: [Warning] Invalid file link:(~/resources/schema/manifest-schema#permissions).
Line 33: [Warning] Invalid file link:(~/publishing/apps-publish#updating-your-app).
Line 34: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features#the-tab-configuration-page-is-significantly-taller).
Line 35: [Warning] Invalid file link:(~/troubleshoot/faq#how-do-i-make-my-teams-app-work-with-microsoft-teams-free).
Line 36: [Warning] Invalid file link:(~/publishing/apps-publish).
Line 37: [Warning] Invalid file link:(~/samples/code-samples#featured).
Line 37: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 37: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 38: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 38: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card).
Line 38: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions).
Line 39: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 39: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 39: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 40: [Warning] Invalid file link:(~/publishing/office-store-guidance).
Line 40: [Warning] Invalid file link:(~/publishing/office-store-checklist).
Line 41: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 42: [Warning] Invalid file link:(~/whats-new).
Line 43: [Warning] Invalid file link:(~/concepts/authentication/auth-tab-AAD).
Line 43: [Warning] Invalid file link:(~/concepts/authentication/auth-flow-tab).
Line 44: [Warning] Invalid file link:(~/resources/design/framework/command-box).
Line 45: [Warning] Invalid file link:(~/concepts/bots/bots-notification-only).
Line 46: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-proactive).
Line 47: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 47: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 47: [Warning] Invalid file link:(~/concepts/cards/cards-reference).
Line 47: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 48: [Warning] Invalid file link:(~/get-started/app-studio-component-library).
Line 48: [Warning] Invalid file link:(~/get-started/get-started-app-studio).
Line 49: [Warning] Invalid file link:(~/concepts/bots/bots-context).
Line 50: [Warning] Invalid file link:(~/get-started/get-started-dotnet-app-studio).
Line 54: [Warning] Invalid file link:(~/feedback).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Line 37: [Warning] Invalid file link:(~/concepts/tabs/tabs-configuration).
Line 38: [Warning] Invalid file link:(~/concepts/deep-links).

msteams-platform/whats-new.md

Line 15: [Warning] Invalid file link:(~/concepts/tabs/tabs-device-permissions).
Line 16: [Warning] Invalid file link:(~/concepts/tabs/tabs-context).
Line 17: [Warning] Invalid file link:(~/concepts/compose-extensions).
Line 18: [Warning] Invalid file link:(~/scenarios/limited-tenant).
Line 19: [Warning] Invalid file link:(~/concepts/tabs/tabs-configurable).
Line 20: [Warning] Invalid file link:(~/concepts/getting-started/get-started-nodejs-in-azure).
Line 20: [Warning] Invalid file link:(~/concepts/getting-started/get-started-dotnet-app-studio).
Line 20: [Warning] Invalid file link:(~/concepts/getting-started/get-started-nodejs-app-studio).
Line 21: [Warning] Invalid file link:(~/concepts/deep-links#deep-linking-to-a-chat).
Line 22: [Warning] Invalid file link:(~/concepts/tabs/tabs-in-sharepoint).
Line 23: [Warning] Invalid file link:(~/concepts/task-modules/task-modules-overview).
Line 23: [Warning] Invalid file link:(~/concepts/task-modules/task-modules-bots).
Line 23: [Warning] Invalid file link:(~/concepts/task-modules/task-modules-tabs).
Line 24: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 24: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 25: [Warning] Invalid file link:(~/concepts/calls-and-meetings/calls-meetings-bots-overview).
Line 25: [Warning] Invalid file link:(~/concepts/calls-and-meetings/requirements-considerations-application-hosted-media-bots).
Line 25: [Warning] Invalid file link:(~/concepts/calls-and-meetings/call-notifications).
Line 25: [Warning] Invalid file link:(~/concepts/calls-and-meetings/debugging-local-testing-calling-meeting-bots).
Line 25: [Warning] Invalid file link:(~/concepts/calls-and-meetings/register-calling-bot).
Line 25: [Warning] Invalid file link:(~/concepts/calls-and-meetings/real-time-media-concepts).
Line 26: [Warning] Invalid file link:(~/scenarios/lob-scenarios-landing-page).
Line 26: [Warning] Invalid file link:(~/lob-apps-value-prop).
Line 28: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card).
Line 28: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions).
Line 30: [Warning] Invalid file link:(~/resources/schema/manifest-schema#composeextensionscommands).
Line 31: [Warning] Invalid file link:(~/concepts/connectors/connectors).
Line 32: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 33: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 34: [Warning] Invalid file link:(~/resources/schema/manifest-schema#permissions).
Line 34: [Warning] Invalid file link:(~/publishing/apps-publish#updating-your-app).
Line 35: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features#the-tab-configuration-page-is-significantly-taller).
Line 36: [Warning] Invalid file link:(~/troubleshoot/faq#how-do-i-make-my-teams-app-work-with-microsoft-teams-free).
Line 37: [Warning] Invalid file link:(~/publishing/apps-publish).
Line 38: [Warning] Invalid file link:(~/samples/code-samples#featured).
Line 38: [Warning] Invalid file link:(~/resources/schema/manifest-schema-dev-preview).
Line 38: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 39: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 39: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card).
Line 39: [Warning] Invalid file link:(~/concepts/cards/cards-actions#adaptive-card-actions).
Line 40: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-intro).
Line 40: [Warning] Invalid file link:(~/concepts/bots/bots-files).
Line 40: [Warning] Invalid file link:(~/resources/dev-preview/developer-preview-features).
Line 41: [Warning] Invalid file link:(~/publishing/office-store-guidance).
Line 41: [Warning] Invalid file link:(~/publishing/office-store-checklist).
Line 42: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 43: [Warning] Invalid file link:(~/whats-new).
Line 44: [Warning] Invalid file link:(~/concepts/authentication/auth-tab-AAD).
Line 44: [Warning] Invalid file link:(~/concepts/authentication/auth-flow-tab).
Line 45: [Warning] Invalid file link:(~/resources/design/framework/command-box).
Line 46: [Warning] Invalid file link:(~/concepts/bots/bots-notification-only).
Line 47: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-proactive).
Line 48: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 48: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 48: [Warning] Invalid file link:(~/concepts/cards/cards-reference).
Line 48: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 49: [Warning] Invalid file link:(~/get-started/app-studio-component-library).
Line 49: [Warning] Invalid file link:(~/get-started/get-started-app-studio).
Line 50: [Warning] Invalid file link:(~/concepts/bots/bots-context).
Line 51: [Warning] Invalid file link:(~/get-started/get-started-dotnet-app-studio).
Line 55: [Warning] Invalid file link:(~/feedback).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Line 37: [Warning] Invalid file link:(~/concepts/tabs/tabs-configuration).
Line 38: [Warning] Invalid file link:(~/concepts/deep-links).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Estimates for Italy stopped updating on 31/10/2020

As you can see from this page https://epiforecasts.io/covid/posts/national/italy/ the covid Rt estimates for Italy have stopped updating on the 31st of October despite the fact that the source https://github.com/pcm-dpc/COVID-19 has been uploading new data everyday

Hi @Alem95,
Thanks for opening this. Unfortunately, we hit a technical issue at the same time as having a shortage of people power. Hopefully we will have the project back online this week.
Sam

Hi Alem,
These publishing problems should hopefully be largely resolved. Thanks again for opening this.


I cant send bot.sendMessage(parse_mode='HTML', chat_id=********, text='test')

@nickoala Can you help me?
I have this code but  it doesnt works.
bot.sendMessage(parse_mode='HTML', chat_id=********, text='test')
error:
TypeError: Cannot create property 'chat_id' on string test
help me please.

I tried both of the following, and both of them worked:
bot.sendMessage(parse_mode='HTML', chat_id=******, text='test')
bot.sendMessage(******, 'test', parse_mode='HTML')


new version 1.14.0 , foreach error

When using search in explorer i gen an error:
"An unexpected error occurred:
TypeError: Cannot read property "forEach' of undefined
...........
"

Got the same using the latest version.

Thanks for reporting the issue. I've tried to reproduce the issue with several scenarios I could think of based on the screenshot from above. I couldn't reproduce the issue however with version 1.15.1.  The screenshot above seemed to search in the Tables, but the error message came from CosmosDB (DocumentDB).  Do you use same file names in DocumentDB as in Tables?
Could you please help narrow down the scenarios that have caused this error to happen?  That would be very helpful.  Thanks.

All I did was install the app from https://azure.microsoft.com/en-us/features/storage-explorer/, and ran it.
I added my MS account via "Add and Azure Account" (Azure env), and started browsing through what was available to me. At some point I decided to search for a resource using the search box:

The search resulted in the error.

Like this:

I could speculate, if a search produces no results (for whatever reason, including time outs) it returns null (or undefined in JS-speak), which causes the error.

I tried couple of more times last night to repro the issue.  I ran into a different issue however.  While investigating the issue, we decided to patch the ComosDB issue you ran into. Your issue was a regression after we updated Node.js.
We do have a fix for the issue you ran into.  If you are interested, we can give you a private build to try and help us verify the fix.
At the meantime, to unblock you and if you don't use CosmosDB, you can go to the Settings page to uncheck CosmosDB.  That way, you will not run into the forEach error.
Let us know if you are interested in the private.

Thank you. I'm good at this point (I have no real use for the tool atm), so I can wait for an official update.

Sounds good.  Thanks.

"uncheck CosmosDB" works well - thank's for the help.


Fix issues with continuous interpolations and derived interpolations

Continuous interpolation would sometimes apply premultiplication to a color twice and also would apply a hue offset to a hue during fixup twice.
Fixes #440

@gir-bot lgtm


Friendly test names

related to #410 Allow Overriding the Test Name

Clicking on the details here:

Yields:

Hi @jayaranigarg - any thoughts?  thanks!

@spottedmahn : Can you please add UnitTests as well for these changes?

@dotnet-bot : Test this please

Guys, this one looks like it has been sit here for a while.
@jayaranigarg is this PR still valid? meaning that if everything gets up to date, and complete what's missing, could it be merged and part of next package release (maybe)?
If so, @spottedmahn is there anything I can help you with to complete this PR? If you don't have time to finish it, would you mind providing me with write-access to your remote branch, so I can push whatever is missing? Or, I could create a fork from it, and submit a new PR with your changes and what's missing. Let me know...

Hi @parrainc 👋

write-access to your remote branch

Not sure how to do that.  Wonder if that is only a thing with organizations?  Got a URL you can share on how to do that?

Hi @parrainc 👋

Can you please add UnitTests as well for these changes?

Need to tackle that...

Not sure how to do that. Wonder if that is only a thing with organizations? Got a URL you can share on how to do that?

sure, you can follow this guide in order to provide me with access to your repo. This is needed so I can update this PR by pushing code to your repo, instead of having to open another PR from this.

Need to tackle that...
As soon as I can push to the repo, I'll tackle that and whatever is needed.

sure, you can follow this guide in order to provide me with access to your repo
Oh, that was easy 👍, done ✅.  How didn't I see that 🤦♂?!

Hi @jayaranigarg - any updates for us?  Thanks

Hi @jayaranigarg - any updates for us? Thanks

I think it's been ready from a while now. Could be merged any time when possible, @jayaranigarg

@AbhitejJohn Fixed and seems good to go. The fixed tests actually prove on unit test level the thing that was causing it to fail only in acceptance. Is there more code review needed?
Attaching the project I used to figure out the failures in case someone comes back to this in the future, or in case more changes are needed from my side.
UnitTestProject3.zip

Looks like ReflectHelper has some problem, fixing that.

Status: merged 🎉🎉
So when does this become available?  Is this delivered via the MSTest.TestAdapter NuGet package?  Do you guys label PRs w/ a release number?

Dunno all the details, I am on this team for just a few days, but my next step is to learn how to release this as a preview to nuget, so expect it soonish 😁

Thanks @spottedmahn and @nohwnd for getting this through. Daily builds should be available on the myget feed linked in the repo's readme. However we'd definitely want to put this out to nuget as a preview package post the regular validation so this can be consumed.

Daily builds should be available on the myget feed linked in the repo's readme

Great!  Did we change the adapter or the framework package?  Seems like the adapter...

@spottedmahn : That would be both the framework and the adapter because we had the TestMethod attribute change. It doesn't look like the latest build has your changes just yet. I'm hoping we should have a package tomorrow.

That would be both the framework and the adapter because we had the TestMethod attribute change

Oh, cool, thanks!

I'm hoping we should have a package tomorrow.

🤞

@spottedmahn Gotchu!
https://www.nuget.org/packages/MSTest.TestFramework/2.1.0-beta2
https://www.nuget.org/packages/MSTest.TestAdapter/2.1.0-beta2

Testing out 2.1.0-beta2, created a few issues:

#668
#669

Just making sure everyone see this solution for #644

Found a better extension point that could be baked into TestMethodAttribute with ease.
This is what i´m currently using:
cheers.
public class PrettyTestClassAttribute : TestClassAttribute
{
    public override TestMethodAttribute GetTestMethodAttribute(TestMethodAttribute wrappedTestMethodAttribute)
    {
        var attribute = base.GetTestMethodAttribute(wrappedTestMethodAttribute);

        return attribute is PrettyTestMethodAttribute
            ? attribute
            : new PrettyTestMethodAttribute(attribute);
    }
}

public class PrettyTestMethodAttribute : TestMethodAttribute
{
    private readonly TestMethodAttribute wrappedTestMethodAttribute;

    public PrettyTestMethodAttribute(){ }

    public PrettyTestMethodAttribute(TestMethodAttribute wrappedTestMethodAttribute) =>
        this.wrappedTestMethodAttribute = wrappedTestMethodAttribute;

    public override TestResult[] Execute(ITestMethod testMethod)
    {
        TestResult[] results;

        if (wrappedTestMethodAttribute is null)
            results = base.Execute(testMethod);
        else
            results = wrappedTestMethodAttribute.Execute(testMethod);

        if(results.Any())
            results[0].DisplayName = testMethod.TestMethodName
                .Replace("_eq_", " == ")
                .Replace("_neq_", " != ")
                .Replace("_gt_", " > ")
                .Replace("_gte_", " >= ")
                .Replace("_lt_", " < ")
                .Replace("_lte_", " <= ")
                .Replace("Bug_", "🐞");
        return results;
    }
}

Hopefully will create a new pull request suggesting to bake this into TestMethodAttribute


Polymer 2.2.0 not working in IE11

Description
None of the code samples from https://www.polymer-project.org/2.0/start/quick-tour work on IE11.
Live Demo
http://plnkr.co/edit/Q4E8zO?p=preview
http://plnkr.co/edit/buPxSJ?p=preview
Steps to Reproduce

Open any of the plunkers in IE11
Check the console output (10 errors)

Expected Results
The component renders in IE11.
Actual Results

Browsers Affected

[ ] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari 9
[ ] Safari 8
[X] IE 11

Versions

Polymer: v2.2.0
webcomponents: v1.0.0-rc.5

There seem to be 2 issues:

You are not transpiling. As IE11 does not support ES6, you have to transpile. polymer serve does this automatically for you.  Please upgrade to 1.0.17

What @TimvdLippe says is correct, IE 11 requires transpiling your code to ES5. This can be done with the Polymer command line tool, or any number of other tools.

These are the samples in the quick tour, so this should really be a doc bug.

Currently we don't have a good way to transpile the plunkers for IE11. We're working on a fix for that.

But we can (and should) add a note that the samples don't work on IE11, because they need to be transpiled.

And we should update the plunkers to use a released version of the polyfill. (The polyfill line in all of these plunkers should probably just be: <script src="https://polygit.org/components/webcomponentsjs/webcomponents-loader.js"></script>)

This issue was moved to Polymer/docs#2384


feat: Set up cli and database rpc clients

These roughed-in rpc clients can speak to each other using the
CoreProtocol, that allows them to listen, dial, and ping/pong another
rpc client.

no longer relevant, closing


ClassOrdering Rule produces a misleading error message

The following code produces the expected behavior
secondary constructor should be declared after property declarations and initializer blocks. [ClassOrdering]
class MyClass(
    var a: String
) {
    constructor() : this("")

    val prop1: Boolean
        get() = false

    val prop2: Boolean
        get() = true
}

However, when adding a function at the bottom, the Behavior changes to
secondary constructor should be declared before method declarations. [ClassOrdering]
class MyClass(
    var a: String
) {
    constructor() : this("")

    val prop1: Boolean
        get() = false

    val prop2: Boolean
        get() = true

    fun fun1() = true
}

If I now remove the prop2. I again get a valid error message:
property prop1 should be declared before secondary constructors. [ClassOrdering]
class MyClass(
    var a: String
) {
    constructor() : this("")

    val prop1: Boolean
        get() = false

    fun fun1() = true
}

Expected Behavior
secondary constructor should be declared after property declarations and initializer blocks. [ClassOrdering]

Observed Behavior
secondary constructor should be declared before method declarations. [ClassOrdering]

Steps to Reproduce

Context

Your Environment

Version of detekt used: 1.23.6  (with kotlin version 1.9.24)
Version of Gradle used (if applicable): 8.8
Gradle scan link (add --scan option when running the gradle task):
Operating System and version: Windows 11
Link to your project (if it's a public repository):

Yup this looks like a bug in the rule logic 👍

s like a bug in the r

I would like to take a look at it and try to fix it, if this is fine for you?

The current main version (https://github.com/detekt/detekt/commit/4fa535bf0fe891dabf7ffef420a408130d91fce2) seems to have this issue fixed already.
class MyClass(
    var a: String
) {
    constructor() : this("")

    val prop1: Boolean
        get() = false

    val prop2: Boolean
        get() = true

    fun fun1() = true
}

is now reporting:
secondary constructor should be declared after property declarations and initializer blocks.

Probably fixed by https://github.com/detekt/detekt/pull/7423
If the behaviour is now correct this can be closed.

@3flex yes, I would consider this fixed.


Equity Analysis feature?

Hi, I'd like to use Julia to analyze range vs range equity - is this project one that might include this feature? This might be beyond the scope of this project, but thought I'd at least raise the question.

Hi @def-mycroft,
I think range & equity are outside the scope of PokerHandEvaluator.jl, since range & equity involve bets and potential hands of other players, while PokerHandEvaluator.jl's goal is to compare two 5-7 card hands--it doesn't need to know of, or understand, players or bets. I think analyzing range vs equity is definitely in the scope of TexasHoldem.jl, though!
Also, just to point out, I have a very rough draft of PokerBots.jl 🙂. I wanted to put all of these packages into an organization but, if I remember correctly, I wasn't able to use some github apps, so I decided to keep them all under my own account.

Hi Charles! Thanks for your response, totally makes sense that take range
equity would be out of scope.
I was just thinking about all-in range vs range equity on different
streets, so that wouldn't involve bets etc, but that would be out of scope
too i.e. two 5-7 card hands.
Very nice code here! Julia is so great, I really should move away from
python in a lot of cases, I end up writing code in python that is too slow
and then rewrite in Julia.
Thanks for the recommendation on TexasHoldem.jl, was hoping you'd have
something to suggest.
On Fri, Mar 25, 2022, 7:22 PM Charles Kawczynski @.***>
wrote:

Hi @def-mycroft https://github.com/def-mycroft,
I think range & equity are outside the scope of PokerHandEvaluator.jl,
since range & equity involve bets and potential hands of other players,
while PokerHandEvaluator.jl's goal is to compare two 5-7 card hands--it
doesn't need to know of, or understand, players or bets. I think analyzing
range vs equity is definitely in the scope of TexasHoldem.jl
https://github.com/charleskawczynski/TexasHoldem.jl, though!
Also, just to point out, I have a very rough draft of PokerBots.jl
https://github.com/charleskawczynski/PokerBots.jl 🙂. I wanted to put
all of these packages into an organization but, if I remember correctly, I
wasn't able to use some github apps, so I decided to keep them all under my
own account.
—
Reply to this email directly, view it on GitHub
https://github.com/charleskawczynski/PokerHandEvaluator.jl/issues/38#issuecomment-1079531330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEY7CLBOQCJ264SAWGCL423VBZKDLANCNFSM5RVS4NCQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'll check out PokerBots too :)
On Fri, Mar 25, 2022, 7:22 PM Charles Kawczynski @.***>
wrote:

Hi @def-mycroft https://github.com/def-mycroft,
I think range & equity are outside the scope of PokerHandEvaluator.jl,
since range & equity involve bets and potential hands of other players,
while PokerHandEvaluator.jl's goal is to compare two 5-7 card hands--it
doesn't need to know of, or understand, players or bets. I think analyzing
range vs equity is definitely in the scope of TexasHoldem.jl
https://github.com/charleskawczynski/TexasHoldem.jl, though!
Also, just to point out, I have a very rough draft of PokerBots.jl
https://github.com/charleskawczynski/PokerBots.jl 🙂. I wanted to put
all of these packages into an organization but, if I remember correctly, I
wasn't able to use some github apps, so I decided to keep them all under my
own account.
—
Reply to this email directly, view it on GitHub
https://github.com/charleskawczynski/PokerHandEvaluator.jl/issues/38#issuecomment-1079531330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEY7CLBOQCJ264SAWGCL423VBZKDLANCNFSM5RVS4NCQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Added navigation to Contact Us page

Closes #912
Closes #912
Description
Added Navigation to the navbar in the Contact Us Page
Screenshots
https://github.com/OSCode-Community/OSCodeCommunitySite/assets/133862694/50565ab2-bd90-456a-9afd-3218acc8d0c8

Checklist:

[X] I have linked the PR to the correct issue.
[X] I have read the Contribution Guidelines
[X] I have built and tested the changes, and they do not break or show any errors.

@Vaishnavi-Patil2211 Please check this PR and add a label to it


Enabled override of footer credit

There's now a toggle to override the footer credit with custom HTML.

Is this meant to give you a way to put something into the footer?
I already have an option "footer_credit = true" which can be set to "footer_credit = false" to not show the default footer.
I am wondering if maybe I should just add a footer_extra that can be used for whatever html someone might want to add, mostly because I cannot imagine in what way you might want to override the footer credit.
Let me know what you had in mind with this feature so I can get a better idea of its practical use.

#footer_credit_override = 'Powered by the Rust community'
If enabled, this would have changed the credit (if visible).
If footer_credit != true, this would have no effect.

ahh yeah it provides a convenient way to change the wording abit, sounds good to me, if you rebase this I will merge it.


[Feature Request] Autocomplete API Implementation

Overview
We want our application to provide suggestions for the user as they type into our Autocomplete bar. The structure of the input has already been implemented, but an API to provide the suggestions is still required. The user should type into the Autocomplete field and the suggested results should update with a <40 millisecond response time.
Proposal
This could be something constructed in conjunction with the API team, which could rely on the class + professor data that they will already have access to. Or, like the example Amrit presented at the meeting, it might be able to be bundled in with our frontend if lightweight enough. Further research and discussion should take place on this before jumping into an implementation.

This is a test of a list of checkboxes in Markdown

[ ] Task 1
[x] Task 2
[ ] Task 3
[ ] Task 4
[ ] Task 5


How should users be removed from chairs / projects?

Can I only remove myself? Can I remove others?
What right do I need?

Only representatives / assistants can remove third parties from chairs. People cannot leave chairs. insert evil laugh
Members of projects can leave, whoever has edit right for the project, can remove people from it.


Filtering tags by name no longer works

Filtering tags by name i.e. GET /api/tags?filter[]=name='/managed/*' used to work in previous versions of the API, but to top of tree master, I get a 500

@imtayadeway is this resolved ?

This now works !!  Closing issue.


Add partial methods to the scaffolded DbContext code

To use some of the new features in EF 2.1 (such as DbQuery<> to map to a view), the model needs to be configured; however, I don't see a way to configure the model outside of OnModelBuilding from the generated DbContext class. I don't want to modify the file as I regenerate it whenever I make changes to my database schema.
Is there a supported way to further configure the model without having to modify generated code?
Further technical details
EF Core version: 2.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: VS 2017

The latest version of EF Core Power Tools adds a partial OnModelCreating method, that you can add in a partial DbContext class.

See https://github.com/ErikEJ/EFCorePowerTools/issues/20#issuecomment-390403272

@ErikEJ
I didn't even know that tool existed, awesome! With one small exception (listed below) it works great. I especially love the fact that I can generate my classes from a SQL project rather than having to publish my SQL project, then reverse engineer.
One hiccup I see is that one of my tables has a calculated column, and that column is not included in either the POCO or the ModelBuilder. I can add it back in manually (now that there's a partial), so I have a work-around for now. Is this a known issue?

I am using a dacpac (more specifically I'm referencing the Database project, but I assume the tool is analyzing the dacpac that is produced by the project).
The computed column is defined in my SQL Database project. Even then, you aren't able to scaffold computed columns? I know very little of the inner workings of EF Core and dacpacs, so I can't speak intelligently on the subject, but I feel the information should be there since the dacpac creates the computed column when it's published.
I'll point the power tools to my LocalDB today and let you know if that solves the issue with the missing computed column.
Also, when using the Power Tools, there's a navigation property missing (but again, I can add it back using the partial method as a work-around). It happens with Scaffold-DbContext as well (I've reported it as issue #11936). I'm guessing it will be fixed in both places when the bug is fixed and released.

I assume the tool is analyzing the dacpac that is produced by the project).

Correct!
The dacpac has no information about the data type of the computed column, so I am unable to scaffold it from the dacpac.

That makes sense (I now realize that when you create a computed column, you don't actually declare the data type).
I ran the tool pointing to my local database instance and it does work as you said it would. Thanks for all your help (and quick responses)!

@bricelam Would there be interest in this in the product? https://github.com/ErikEJ/EFCorePowerTools/issues/20#issuecomment-390403272 ?

I've considered it in the past, it just falls apart with "update model from database"--we won't be able to tell which parts of the model were configured where. In our most recently discussed design, this means that every time update the model, all of the OnModelCreating code (no matter where it came from) would be re-scaffolded into the main OnModelCreating body causing duplication.

I'm at a lost as to the conversation that's happened since I closed this issue. Is the intent of Scaffold-DbContext to be a one-time use to reverse engineer a database (and moving forward, for edits to be made by hand)?
If that's the case, I would strongly urge the team to consider the use-case of database-first development. I know code-first is popular, but many developers I work with agree that database-first is preferred, and we have used tools such as Scaffold-DbContext (and now EF Core Power Tools) as well as the reverse POCO generator for EntityFramework to generate the code based on the database schema.
If this isn't the point of this conversation, then I apologize for not following the conversation.

The intention of reverse engineering in EF Core Power Tools is to continuously reverse engineer and re-generate the code, by taking advantage of partial classes..

#831 is about a more intelligent workflow that preserves things like navigation renames and type hierarchies.

Putting this on the backlog to track adding partial methods in general. We should consider whether adding an OnModelCreating partial makes sense now, even if we then have to deal with it in some way if/when update model from database is implement.


Add configs to enable running integration tests for cluster running behind proxy

As part of https://issues.apache.org/jira/browse/KNOX-758
I am working on adding support for proxying druid queries & UIs using
Apache KNOX gateway.
This PR adds support for integration-tests to be run using the proxy
gateway.
Changes Include -

Instead of hostName and port, ability to specify url in the config
file.
tests now use HTTPClient defined in DruidTestModule that can pass in
the request.

Note - the config changes are backwards compatible and existing configs
should work fine.

I'm running internal builds with this patch to ensure it does not fail existing integration test setup.

@nishantmonu51 are host to url changes necessary for enabling your use case or just refactoring? they are mostly backward incompatible.
however, its not that bad I can change things on my side to work with these updates if this PR has to have all those changes.

@himanshug: for the interface changes, they are required in order to be able to pass in a custom url instead of just host & port for services.
Another way to handle could be to add in another interface IntegrationTestingConfigV2 with a backwards compatible impl for wrapping up IntegrationTestingConfig to V2.
However the current approach seems more cleaner.

@nishantmonu51 if they are needed then I would just take the change and let it be backward incompatible given that it is test code. I will update things on my side to work with the changes.
:+1:


image operating system "windows" cannot be used on this platform

Since I saw the 'no image found' problem in callback after pull image. I turned to use .modem.followProgress as in #107
  return docker.pull(imageName).then(stream => {
		return new Promise((resolve, reject) => {
			const onProgress = (event) => {}
			const onFinished = (err, output) => {
				console.log({err,output})
				return err ? reject(err) : resolve(output)
			}
			docker.modem.followProgress(stream, onFinished, onProgress)
		})

	})

In err i saw string like image operating system "windows" cannot be used on this platform, but what I used is just Ubuntu 14 as a VM inside win10
The image I used here is just library/hello-world
docker API version is 1.30

Docker is returning that error, nothing we can do on our side :/
Which image you were trying to pull?


Find widget focus movement could be improved

I am looking into improving the tab focus navigation across the workbench such that each ActionBar is one tab, and inside it you would have to user arrow navigation to move focus.
I have run across the find widget and there I see we do quite some custom solutions. So wanted to first create this issue to show what currently does not work (independent of changes which I would like to do).

Open find widget
You can not focus onto Find In Selection button 🐛
You can use left / right arrow navigation inside the find input, but not for the find widget buttons on the right 🐛

Ideally we would change the findWidget to use the ActionBar. Since most of these are checkboxes the keybindingsEditor already does a good example of this using checkboxViewItems here

@rebornix also let me know if you need help here
Nice things is that the findInput is shared across findWidget and search so we should just fix that in one place. The only remaining things to make the find widget nice are the actions outside of the input
fyi @JacksonKearl

This seems weird, I can shift+tab to "Find in Selection", but not forward tab. And I can use arrow keys to move focus in the toolbar, but those buttons are also all tab stops.

Somewhat related: #193331


PESTUDIO having trouble downloading

im having issues downloading PESTUDIO , im getting that pop up window

Thank you for your feedback! We've been working on major updates to FLARE VM over the last year.
The now revamped FLARE VM has just been released and will make the project more open and maintainable.
Please check out our blog post at https://www.mandiant.com/resources/blog/flarevm-open-to-public and give the new installation a try.
If this problem still persists with the new installation, please report:

new tools or tool-related issues at https://github.com/mandiant/VM-Packages/issues
ideas and issues related to the installer script and configuration at https://github.com/mandiant/flare-vm/issues

Please note that we use this message to close all legacy issues in this repository. We look forward to your feedback and support for the next generation of FLARE VM.


Installing ZonamaDev VM on OVH Linux host

Hello,
I am attempting to setup vagrant/virtualbox with the ZonamaDev VM on a cloud host. I am getting the following error when attempting to run the start script after running all the prerequisites
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "6d054a10-e7bf-47aa-a123-e9418116e5f0", "--type", "gui"]
Stderr: VBoxManage: error: This VM was configured to use 3D acceleration. However, the 3D support of the host is not working properly and the VM cannot be started. To fix this problem, either fix the host 3D support (update the host graphics driver?) or disable 3D acceleration in the VM settings (VERR_NOT_AVAILABLE)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
I am attempting this from a vnc session with XFCE as the gui.

Found a work around. If you run the VM with VBoxHeadless -v on you can then RDP into the VM to complete the gui setup.
For OVH I used ssh to tunnel out 3389 to RDP without exposing this to the internet. Might be worth looking into adding a headless option into the setup to allow for this type of setup. Pretty happy with the testing setup I have, can have multiple ZD VMs hosted in the cloud this way.

For stanalone servers please see:
https://github.com/lordkator/ZonamaDev/wiki/Standalone-Server-Notes

Hey Karl,
This wasn't a stand-alone server install. The goal was to take a cloud server and have it run the ZD VM. This way the server could be left to run other things but have VirtualBox and a VM via ZD.


Might need an entity "setup" function

Lights don't have status unless they are commanded to.
Might need to do a setup function where the light asks RVC to provide the DGN status.

Added optional initialize() function.
Light uses this to publish more info to mqtt, subscribe to mqtt set commands, and request dgn status on RVC bus to try to get current light status since when the program starts it doesn't know what the current state is.


Linearize modulo

Cherry picked the linearization of modulo from the Exact2 branch and added some tests.

It looks good now.


mwc-menu closes on selection

Describe the bug
When using mwc-menu together with mwc-check-list-item any new selection closes the mwc-menu.
To Reproduce
Steps to reproduce the behavior:

Go to https://material-components.github.io/material-components-web-components/demos/menu/
Click on OPEN GROUPED MENU
Imagine that this is a multi select menu (didn't find better demo there)
Select any option
mwc-menu gets closed

Expected behavior
mwc-menu stays open.
Additional context
When using mwc-menu together with multi attribute my expectation would be that the menu remains open after a selection or, even better, some additional attribute such autoClose would work too.

We spoke with design, and we agree that this is a valid UX pattern. This needs to be upstreamed into the MDC foundation as an option to prevent the menu from closing.
Unlike our demo, which uses a list item with a checkmark icon, design recommends using a <mwc-check-list-item> with the checkbox graphic for a persistent multi-select list that would remain open until the user clicked outside the bounds of the menu.

following the code leads to the conclusion this is it's blocked by the lack of relevant setMulti method on mdc's select foundation
Why is material-components/material-components-web#6033 close then?
Seem like mwc's list depends on mdc's list foundation as well
https://github.com/material-components/material-components-web-components/blob/d10fda0a0b663f1e0be185ac2735123ce227a33a/packages/list/mwc-list-base.ts#L66

Any updates?
Menu still closes when using mwc-check-list-item so I would assume this issue still haven't been address a solution.

This is no longer reproducible on M3 with the keep-open attribute on item. Alternatively click event propagation can be prevented so that the click event does not reach the list item.
https://lit.dev/playground/#gist=7e8ac8a9e12275a0645fe7829fa85fdc


Tool Tip is Breaking UI #2 - fixed tooltip to point upwards

Fixed tooltip on HolidayListItem component to point upwards

Hey @andrewkykoo,
I am unable to view the diff file properly, since the Tab Space setting and Prettier Formatter settings differ for the both of us.
As a result, the entire file is being reflected as changed, when i am trying to review the code (See Image for reference).

Let's decide on uniform settings.


Feature: set audio input command

This PR adds "SetAudioInputCommand" requested by Chrisdegod.
In current state both default audio input and default communications device is set.
Supports setting device configured within UI as well as sent as a payload on the command topic.
In addition, as a misc, this PR bumps beta version to "3".

Here we go, here is my professional review of your C# or C++ code that you wrote.
It's good 😂

tried with windows11 and change audio output, but the button that makes action of changing it is not working

tried with windows11 and change audio output, but the button that makes action of changing it is not working. I'm in the new version (2.1.0-beta2)

was the 2.1.0-beta1 working fine for you?

i've not tested...
is this feature wasn't available only in this new version?
I di'ndt notive that option on the lates version before the update,
I will test and feedback you


Add license information for a set of ports

See:

https://github.com/google/double-conversion/blob/master/LICENSE
http://glew.sourceforge.net/mesa.txt
https://github.com/jasper-software/jasper/blob/master/LICENSE.txt
https://github.com/BLAKE2/libb2/blob/master/COPYING
https://github.com/microsoft/vcpkg/blob/master/ports/libiconv/portfile.cmake#L56
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/libmount/COPYING
https://gitlab.freedesktop.org/xorg/lib/libxext/-/blob/master/COPYING
https://gitlab.freedesktop.org/xorg/lib/libxfixes/-/blob/master/COPYING
https://gitlab.freedesktop.org/xorg/lib/libxi/-/blob/master/COPYING
https://gitlab.freedesktop.org/xorg/lib/libxtst/-/blob/master/COPYING
https://gitlab.freedesktop.org/xorg/lib/libxv/-/blob/master/COPYING
https://github.com/google/snappy/blob/main/COPYING
https://gitlab.freedesktop.org/xorg/util/macros/-/blob/master/COPYING
https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/blob/master/COPYING

Tasks:

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download. - NOT APPLICABLE
[x] The "supports" clause reflects platforms that may be fixed by this new version. - NOT APPLICABLE
[x] Any fixed CI baseline entries are removed from that file. - NOT APPLICABLE
[x] Any patches that are no longer applied are deleted from the port's directory. - NOT APPLICABLE
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@BillyONeal Thanks for the thorough review, and sorry for my lack of confidence to continue.

S'ok, that's the whole point of review, we still appreciate it! Thanks for your contribution!


Remove default LTO options, dead_strip in MacOS linker options

Follows the official documentation's guidance that LTO is not strictly necessary due to the library component. As an alternative, users can give the thin_lto feature to a nanobind_extension instead.
The second -Wl,-dead_strip removal is due to it appearing twice in the generated linker command. I also saw a missing symbol error during a stubgen attempt earlier, which has since disappeared.

Hm, I wonder what happened here.
The only thing I can think of is that I have removed the building Python's library directories from the linkopts for Windows in the meantime in the nanobind_example. So this still works for all Pythons except 3.12?

Summary:

@rules_python Windows toolchains do not yet add the unversioned libs/python3.lib to the library target, preventing SABI builds on Windows. This is hopefully fixed in the next release with the PR mentioned above.
Apparently, Python itself (in a header called pyconfig.h) designates the correct library to link on Windows without me having to do anything, so the select()s with the current libs can all go. (cool!)

I'm going to merge this, and require a newer rules_python for future versions.


Resolution limitations

WebM muxer has been great but I ran into issues with it silently failing with large resolutions > 6K. Are there reasons behind this limit or could it be increased or even made configurable?

I'm going to close this as I think this could be browser bugs and not webm muxer

Yeah this likely has nothing to do the muxer.


DWI derivatives: Compulsory "parameter" entity

Realised this discrepancy while using the demonstrative examples for another purpose. Would like to make a reasonable decision on this prior to the data being presented elsewhere.
Will need to be resolved against #51.

With #51 merged, I think all mentions of parameter here should be changed to param.
Remind me again why tensor components need the all modifier?

Remind me again why tensor components need the all modifier?

By making "_param-all" compulsory for any model where all components are encased within a single file, it makes validation far easier. This makes more sense on the premise that #46 is merged. Any file with suffix "model" would always necessitate the definition of entities "model" and "param". If such models are allowed to omit the "param" entity, then the validator (and potentially software reading from such data that attempts to be somewhat model-agnostic) would need to be able to look at other contents in the directory to make sure that there are no other files belonging to the same model.
Happy to have that debate, I certainly had it internally, but it warrants its own issue listing in that case.


fix legally distinct visor man plush name.

am in vr. approved by real spaniard.

vrchat moment

i have made a github pr while unable to move head in vr evena phone would be less bad.

W-what... How? I'm... Scared
I mean it's probably not too hard...

W-what... How? I'm... Scared
I mean it's probably not too hard... Why

SteamVR keyboard doesn't have an esc key to switch mode.
I tried to open Windows' on-screen keyboard instead but SteamVR can't interact with it and I had to close it trough System Informer.

SteamVR keyboard doesn't have an esc key to switch mode.

Sounds like a skill issue for not binding zz to switch you to normal mode.

By the way, I think it's worth noting that this was not wrote by a spanish speaker, it was actually made by a portuguese speaking brazilian contributor, so it wasn't a fix, rather it just changed the language of it from portuguese to spanish.
Just as a clarification, nothing else. It wasn't my contribution or anything.


env/option_env failing to be linted by plrustc

Because this is unrelated to https://github.com/tcdi/plrust/issues/387 it deserves it's own issue.
Fixing it outright seems difficult (still not sure how), I think it'd probably be fine to try wiping the env on entry to the plrust user crate though. Because it seems specific to the env macro (and not a more general thing) that should be enough.

oh.  well, should plrust clear the env for the cargo Command it spawns?  We currently do this, but could do more:  https://github.com/tcdi/plrust/blob/87a90823ad9474d6c942b41524136d262ae677b6/plrust/src/user_crate/cargo.rs#L122

Nah, I think we'd do this inside plrustc itself, to make sure we don't mess something up with cargo.

This is pretty annoying to do correctly so I think we'll do this slightly incorrectly and hope it doesn't break anything.

On the scale of code crimes we commit, it probably will be far from the top.

... That is quite true.


What is the support model for OpenSearch?

As we are in the process of releasing version 2.0.0, what is the support model for the latest version and the previously supported versions of OpenSearch?

We have https://opensearch.org/faq#q3.28, and I reopened https://github.com/opensearch-project/project-website/issues/661 to publish this.


SwaggerGenOptions.CreateSwaggerProvider throws FileNotFound Microsoft.Extensions.Options.xml

In an aspnetcore project targeting dotnetcore, when enabling doc comments for use when generating swagger like this:
        var basePath = Assembly.GetCallingAssembly().Location;
        var xmlPath = Path.ChangeExtension(basePath, "xml");
        options.IncludeXmlComments(xmlPath);

I see this exception:
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\dotnet\store\x64\netcoreapp2.0\microsoft.extensions.options\2.0.1\lib\netstandard2.0\Microsoft.Extensions.Options.xml'.
File name: 'C:\Program Files\dotnet\store\x64\netcoreapp2.0\microsoft.extensions.options\2.0.1\lib\netstandard2.0\Microsoft.Extensions.Options.xml'
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.<>c__DisplayClass28_0.b__0()
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.CreateSwaggerProvider(IServiceProvider serviceProvider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(IServiceCallSite callSite, TArgument argument)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProvider provider)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass22_0.b__0(ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_0.b__0(RequestDelegate next)
at Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
It's quite sensitive depending on small changes -- sometimes it goes away and then I make a change and it comes back.
The problem is that the file 'Microsoft.Extensions.Options.xml' doesn't exist and it doesn't matter whether I explicitly include the nuget package Microsoft.Extensions.Options or not. I can't find any mention of the file other outside the Microsoft.Extensions.Options package and certainly my doc comments don't mention it at all.
Any ideas?
Thanks!
Henrik

I think I figured it out -- the calling assembly is was causes it. Never mind :)

@HenrikFrystykNielsen i'm having the same issue - how did you resolve it?
Usings:
using Swashbuckle.AspNetCore.Swagger;
using System.IO;
using System.Reflection;

Code:
var xmlFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
c.IncludeXmlComments(xmlPath);

Thanks!

My issue was with the assembly being shadow copied. In this case, it ends up in some random folder without the associated XML file. Assembly.Location points to that location and so it can't find the XML file leading to the error above. The trick was to see that if you are shadow copied then use Assembly.CodeBase which in most cases should give you the location where the XML file is located.


Deployment failed. Correlation ID: 140afdfe-8b92-4c4d-a9a9-521d8bf3a497. Cannot change network spine of shared disk sharedDisk while it is attached to running VM(s). Although max-shares is 2.

My disk is created as follows:
az disk create -g ML-Resource-Group -n sharedDisk --size-gb 256 --location eastus --max-shares 2 --sku Premium_LRS
My disk gets attached to the one of the VMs which i created as follows:
az vm create --resource-group ML-Resource-Group --name PVM --image microsoft-dsvm:ubuntu-1804:1804-gen2:20.11.04 --generate-ssh-keys --location eastus
But when I try to attach it to another VM created as follows:
az vm create
--resource-group ML-Resource-Group
--name CVM
--image microsoft-dsvm:ubuntu-1804:1804-gen2:20.11.04
--generate-ssh-keys
--priority Spot
--max-price -1
--location eastus
--eviction-policy Deallocate
--output json
--verbose
--size "Standard_ND12s"
I get this error:
Deployment failed. Correlation ID: 140afdfe-8b92-4c4d-a9a9-521d8bf3a497. Cannot change network spine of shared disk sharedDisk while it is attached to running VM(s) /subscriptions/39472272-11a1-4c87-9de5-92aaeac6f7cf/resourceGroups/ML-Resource-Group/providers/Microsoft.Compute/virtualMachines/PVM.  Target: 'VM: '/subscriptions/39472272-11a1-4c87-9de5-92aaeac6f7cf/resourceGroups/ML-Resource-Group/providers/Microsoft.Compute/virtualMachines/VMTest', disk: '/subscriptions/39472272-11a1-4c87-9de5-92aaeac6f7cf/resourceGroups/ML-Resource-Group/providers/Microsoft.Compute/disks/sharedDisk''.

hi @qwordy could you pls have a look? thanks

Figured out the solution! A Proximity Placement Group is to be made as follows:
az ppg create -n myPPG -g ML-Resource-Group -l eastus -t standard

And then passed as a parameter in --ppg while creating VMs as:
az vm create -n PVM -g ML-Resource-Group --image microsoft-dsvm:ubuntu-1804:1804-gen2:20.11.04 --generate-ssh-keys --ppg myPPG --location eastus --verbose


Add a few bits of documentation to package:sky

I can't really make further progress until at least:
https://github.com/dart-lang/dartdoc/issues/766
is resolved, ideally also:
https://github.com/dart-lang/dartdoc/issues/763
@abarth

LGTM


References to Jasig (instead of Apereo) in Polish and Ukrainian message files.

Please refer to issue #2752.

[] Brief description of changes applied: Occurrences of Jasig changed to Apereo, or removed.
[] Any documentation on how to configure, test: Select (1) Polish and (2) Ukrainian from the login page and examine the logo title and copyright messages.
[] Any possible limitations, side effects, etc: It is possible, though unlikely, that application.title is used in a Ukrainian context. Please see the commit comment for justification for its removal.
[] Reference any other pull requests that might be related: None

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

Thank you very much for the contribution. Outstanding work. Keep 'em coming!

You may be interested in issuing the same patch to the master branch, to ensure the fix continues to exist beyond 5.1.x.

Also, since you mentioned you weren't quite sure how to do PRs, here's a better guide: https://apereo.github.io/2017/07/05/cas-contribution-guide/

You're welcome, and thank YOU.

I tried doing a PR for master, but it looks like I did it wrong. Can I delete that PR?


Fix security issues

Changes

remove secret from code
add limiter

Remarks

secret was added to Heroku deployments

@Baboo7 oui


Function show_spectrogram for mp3 file extension

Currently show_spectrogram function works only with .wav files. We should consider improving this function to handle .mp3 files. Function should recognize if file has mp3 extension and look for decoder.
After such an improvement we can work both on .wav and .mp3 files.

Fortunately, Librosa's load function is written in such a way, that when reading a file fails it will automatically check for other registered decoders. All we need to do is provide one. I think the easiest solution is to download a decoder like ffmpeg (found here: https://www.gyan.dev/ffmpeg/builds/) and add its /bin directory to system's Path variable. I believe that no changes in the script itself need to made (not even an import).

As far as I know, we will work only with .wav files. When we start working with .mp3 we will open new issue. Closing


fix(otel): Fix Dynamic Sampling context propagation for nested spans

Thanks to #558, we can now fix the DSC/baggage propagation for non-transaction spans in the OTel propagator.
Fixes #553.

Alright, found another issue: in the propagator's Inject we should actually generate/freeze the baggage.
It's getting more obvious that we should refactor/redo the DSC generation and freezing logic. I think we need a more explicit FinalizeBaggage() (or similar) method on the transaction object.
I don't want to do it in this PR which already got messier than I would like.

What issue, in particular, you're seeing? Freezing the baggage during creation is possible today, what would a more explicit way improve?

I see the following issues:

Given a transaction, there's no easy way now to generate the DSC, and then freeze it. We need to do stuff like
transaction.SetDynamicSamplingContext(DynamicSamplingContextFromTransaction(transaction)), which is cumbersome and error-prone
Span.ToBaggage() returns the serialized DSC, but doesn't generate it. Honestly, I don't see a good case of using it alone.

Freezing the baggage during creation is possible today, what would a more explicit way improve?

Ideally we should have convenient ways of explicitly generating the DSC/baggage in a proper format (as baggage values, or as a string). I don't have a super clear picture yet how it will look like, though.

The DSC APIs are something I want to avoid to expose to publicly, as it has lots of nitty-gritty details. Taking some extra steps for Otel is fine IMO.

Span.ToBaggage() returns the serialized DSC, but doesn't generate it. Honestly, I don't see a good case of using it alone.

You would use this function to get the value of the header string for outgoing HTTP requests.
Here is a real-world example where I'm using it: https://github.com/getsentry/gib-potato/blob/e7eda439ad93517a27f7c3201d838b769c766587/potal/httpclient.go#L37

You are right, we actually need to create a DSC when calling ToBaggage if there is none. This is the case if we're the head SDK. Great catch!

Cool, will think about how to improve this (as a separate task)


[FLINK-21127][runtime][checkpoint] Stores finished status for fully finished operators in checkpoint

What is the purpose of the change
Stores the information of whether an operator is fully finished into the checkpoint metadata.
To not have to introduce a new version of checkpoint metadata and due to a fully finished operator state always has an empty states, we could stores a special content for the operator state to indicate that the operator is fully finished.
Brief change log

37484933592e8b5a4f5cf83425ac0b7b612c7480 allows set / get fully finished flag for operator state, and marked fully finished operators according to the checkpoint brief computed.

Verifying this change
This change added unit tests about set and get fully finished flag, and serialization / deserialization of the operator states marked as fully finished.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Hi Roman @rkhachatryan, very thanks for the review! I addressed the comments and added the missing test in https://github.com/apache/flink/pull/14754/commits/0f8924698701b1d6768f8757414d69836b83fa3a.
The usage of the  fullyFinished flag is indeed not include in this PR. The flag is expected to be passed to the task after recovery in FLINK-21088, and used to skip the execution of the fully finished operator in FLINK-21089. In detail, it would make the fully finished source directly send EndOfPartitionEvent to finish the channel, and skip lifecycle methods like open/close for the fully finished operators.

Hi @gaoyunhaii , thanks for clarifying and updating the PR.
It LGTM in general, I'd make a final pass after all conflicts resolved.

Hi Roman @rkhachatryan , I rebased this PR to the latest master, and also have some changes in the get* methods of the OperatorState to avoid the finished flag affects the normal processes. Could you have another look~? Very thanks!

Very thanks @rkhachatryan for the reviewing and very sorry for missing the commits again... I update the PR according to the comments and also include the previous ones.

Hi Roman @rkhachatryan , very thanks for the review! I updated the  PR to address the comments. And very sorry for not pay attention to the result... Now I fixed the issue via adding the serialVersionUID.

Hi @dawidwys  very thanks for the review! I have updated the PR according to the comments~

Thanks for the update. Merging.


UnmodifiableListView extends class that is not part of Dart API

Please see https://api.dartlang.org/stable/1.16.0/dart-collection/UnmodifiableListView-class.html

Inheritance Object ListBase UnmodifiableListBase UnmodifiableListView

But UnmodifiableListBase is not part of the Dart API. This has several consequences
First, I think, UnmodifiableListBase shold be made internal _UnmodifiableListBase
Second, it shouldn't be shown in documentation. Otherwise documentation became wrong. For example, it shows operator []= as inherited (it is really inherited from UnmodifiableListBase, but documentation shows operator []= as inherited from ListBase (because UnmodifiableListBase is not part of the API and has no documentation)). But operator []= in ListBase sets the value while operator []= in UnmodifiableListView throws UnsupportedError
Documentation issue regarding showing of internal interfaces is dart-lang/dartdoc#1173

This is similar to issue #26643 in that it exposes an interface from dart:_internal.
We can't make UnmodifiableListBase private because it's from a different library (dart:_internal).
We can either find a way to hide it from the DartDoc, move the class to dart:collection and make it private, or move it and keep it public.
The first option is still open (as an issue against the dartdoc tool), the second one is likely to fail because UnmodifiableListBase is also used in libraries other than dart:collection, so the third option looks better and better.

This issue was moved to dart-lang/dartdoc#1481


Call for ifExp supporting

Right now I am working on the parser of tvm.tir.script, but a minor question that I met is about tvm.tir.Select. This function is related to IfExp node.  When will be IfExp node supported in synr?  Thank you.

Hey thanks for asking! I believe tir.Select is a bit different from tir.IfThenElse in terms of semantics. @Hzfengsy would you like to confirm?
To make sure I understand this question, are you asking if it is possible to translate python's XXX if CCC else YYY expression to tir.IfThenElse?


"Sdk" is not a valid attribute for a "Project" element.

Issue Description
omnisharp-vscode doesn't seem to recognize this attr. The content of my csproj has this at the beginning, which is generated by dotnet new classlib. The project can be built using dotnet build
without issue, but when opened in vscode it gives the error (see title).
<Project Sdk="Microsoft.NET.Sdk">

Steps to Reproduce
dotnet new classlib -o asdf to generate a new project
Expected Behavior
All files should be "clean" (no error) in vscode
Actual Behavior
csproj file goes red and has error "Sdk" is not a valid attribute for a "Project" element.
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.42.0
C# Extension: 1.21.11
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.1.101
 Commit:    b377529961
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.15
OS Platform: Darwin
RID:         osx.10.15-x64
Base Path:   /usr/local/share/dotnet/sdk/3.1.101/
Host (useful for support):
Version: 3.1.1
Commit:  a1388f194c
.NET Core SDKs installed:
2.1.302 [/usr/local/share/dotnet/sdk]
2.1.403 [/usr/local/share/dotnet/sdk]
3.0.100 [/usr/local/share/dotnet/sdk]
3.1.101 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

code-runner
formulahendry
0.9.15

cpptools
ms-vscode
0.26.3

csharp
ms-vscode
1.21.11

csharpextensions
jchannon
1.3.1

csharpfixformat
Leopotam
0.0.84

dotnet
formulahendry
0.0.4

dotnet-core-commands
matijarmk
1.0.6

dotnet-core-essentials
KishoreIthadi
0.0.8

ilspy-vscode
icsharpcode
0.7.10

msbuild-tools
sterin
0.0.9

python
ms-python
2020.1.58038

qub-msbuild
qub
0.6.3

vim
vscodevim
1.12.4

vscode-csproj
lucasazzola
0.7.0

vscode-nuget-package-manager
jmrog
1.1.6

vscode-solution-explorer
fernandoescolar
0.3.7

vscodeilviewer
josephwoodward
0.0.1

I don't think this is caused by this extension since we don't report any errors for csproj file.
Check the other extensions you have installed for example vscode-csproj or qub-msbuild.

Thanks, qub-msbuild is the one to blame. It seems the last time it updated is 2017 :(


Resolve test failures

These updates allow all the tests to pass, except for the slow water boundaries one.
@zerebubuth, @nvkelso could you review please?

LGTM

Did we intend to move bus stops from the transit to pois layer?
Otherwise, LGTM.

I hope so! The separation I've been using is that all nodes/points go to pois, and lines/polygons go to transit.


Acorn won't uninstall if the controller is in an error state

If you have any project and/or an app running with a delete job and the controller is erroring for some reason, then it is not possible to uninstall the runtime. The uninstall will hang because the CRDs are not able to be cleaned up.
To reproduce:

Deploy runtime and deploy an app in the acorn project with a delete job.
Scale the controller to 0 with kubectl -n acorn-system scale deployment acorn-controller --replicas 0.
Uninstall the runtime with acorn uninstall -af.

The uninstall will hang. This should not happen.

Tested with acorn version - acorn version v0.8.0-alpha7-98-gbb130866+bb130866

Deployed runtime and deploy an app in the acorn project with a delete job.
Scale the controller to 0 with kubectl -n acorn-system scale deployment acorn-controller --replicas 0.
Uninstall the runtime with acorn uninstall -af

Acorn uninstall succeeds.


"Retry resubmit" - allows zone.js to cleanup error stacktraces

Reverts microsoft/azuredatastudio#7501

Oops, I keep stepping on your PRs. 😄  I think it should be good now.

@anthonydresser The setup file being included in the renderer file messes with the tests being run. define isn't defined at that point in code.
https://github.com/microsoft/azuredatastudio/pull/7502/commits/13e9d4b74b74bf3c390c72d24efcf91139478170

@kburtram I think this is ready to go in again.


Epoll native library timeout on WSL after upgrade from 4.1.42.Final to 4.1.43.Final

Expected behavior
Http client requests issued via Spring WebTestClient should handle responses properly and not time out.
Actual behavior
WebTestClient times out after default 5 seconds
java.lang.IllegalStateException: Timeout on blocking read for 5000 MILLISECONDS
	at atoom.examples.reactor.netty.ReactorNettyTimeoutRegressionApplicationTest.testRequestResponse(ReactorNettyTimeoutRegressionApplicationTest.java:86)

Steps to reproduce
git clone https://github.com/atoom/reactor-netty-timeout-example.git && mvn test in WSL Windows 10 build <= 16299
Minimal yet complete reproducer code (or URL to code)
https://github.com/atoom/reactor-netty-timeout-example/tree/master
Netty version
4.1.43.Final
JVM version (e.g. java -version)
$ java -version
openjdk version "11.0.4" 2019-07-16 LTS
OpenJDK Runtime Environment Zulu11.33+15-CA (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM Zulu11.33+15-CA (build 11.0.4+11-LTS, mixed mode)

OS version (e.g. uname -a)
C:\>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.16299 N/A Build 16299

If we downgrade netty-transport-native-epoll to version 4.1.42.Final everything works as expected. We have also tried on newer versions of WSL (Windows 10 Build 17763) and that also solves this problem - however it will be quite a task for us to try to get an update of our corporate version of Windows 10 on all the developer machines.
Not sure how easy it is for a Netty developer to reproduce this error since it requires specific Windows versions. If more debug information is needed just let me know and I will try to produce it!

Not sure how easy it is for a Netty developer to reproduce this error since it requires specific Windows versions. If more debug information is needed just let me know and I will try to produce it!

If you're willing to work on it, it would be fairly easy to setup a git bisect that tests with a given netty commit and finds the commits that breaks WSL :)

also, consider blocking epoll backend on your developer setup...
seriously, in dev environment it won't benefit you much...

I have done a bisect based on commits below and the commit that introduces the breaking change is https://github.com/netty/netty/commit/166caf96ef87cf1d7ebfb43141939e596486928e
Unfortunately I don't have the knowledge to analyze the code change in order to determine what could be the cause. I could add some debug logging if someone can give me pointers on suitable code blocks / lines ?
$ git log --oneline netty-4.1.42.Final..netty-4.1.43.Final -- transport-native-epoll
d066f163d7 (HEAD, tag: netty-4.1.43.Final) [maven-release-plugin] prepare release netty-4.1.43.Final
166caf96ef Avoid unnecessary epoll event loop wake-ups (#9605)
ca915ae590 Initialize dynamicMethods before use (#9618)
c591d03320 Remove redundant epollWaitNow() call in EpollEventLoop#closeAll() (#9614)
170e4deee6 Fix event loop shutdown timing fragility (#9616)
fed552d09d Fix broken pipe due to /usr/bin/ldd (#9606)
92941cdcac [maven-release-plugin] prepare for next development iteration

@atoom this is a WSL bug, I think you just need to update to the newer build: https://github.com/Microsoft/WSL/issues/2462

@njhill Thanks for the information - I will close this issue and try to push for an update of Windows on our developer machines!