Is resnet-50-tf quantizable?

In master branch, this model is not quantizable. But, it is in develop branch. :(
Is there any problem (accuracy or performance problem) for resnet-50-tf quantizing? Can I just make it quantizable in my binary installed openvino by changing model.yml?

@qiyuangong there should be no issues with quantization of resnet-50 model from TF. We just start adding quantization support through OMZ since OpenVINO 2020.3 release (which OMZ master branch corresponds to) and we started from few models. In upcoming OpenVINO 2020.4 release we are plan to extend number of models which can be quantized through OMZ, although we will not cover all models which potentially could be quantized yet (just need to establish robust validation infrastructure for that). Note, it also should be possible to quantize models through OpenVINO Workbench tool. The benefit we see with quantization through OMZ is that you may quantize models by the list. Please feel free to provide any kind of feedback on this new OMZ functionality. How does it work for you, what can be improved? Thanks in advance.

Thanks @vladimir-dudnik 👍
I have quantized that model into int8. It works well for now.
I notice that 2020.3 is LTS. Will these quantized models available for 2020.3?

@qiyuangong we do not provide quantized public models in OpenVINO to reduce download size. There is no choice for Intel models, which use non public datasets and can't be quantized on customer side, so we have to provide such quantized models. For public models situation is different, they can be quantized on customer side, we validate this internally, and for models we know, that can be quantized without significant accuracy drop we provide ability to quantize on customer side.

Thanks @vladimir-dudnik for providing detailed explanation. 👍
Now I understand why only intel models are downloadable.
Have a nice weekend!
Issue closed.


Update multi-factor-authentication-end-user-app-passwords.md

@dcross-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

Hi @dcross-msft Changing an image file name reference in an MD file without renaming the image file makes breaks the image reference and the image isn't shown. Could you reverse the image file name changes in the PR? Then, we can merge the PR. Thanks!

#hold-off

Hi @ktoliver  I have images to support the edit but apparently I didn't upload them to the correct location? This is my first time using github. Would it be possible to instruct me where to upload the images or, alternatively, upload them for me?

Hi @dcross-msft - I'm not sure whether you can add images to your pull request if you are editing the article on github.com. (You might, but I don't see the option when I made a test PR.)
What I would do is fork and clone the repo and work in the tools that I use, Visual Studio Code and GitBash. The process is described in the external contributor guide: https://docs.microsoft.com/contribute/get-started-setup-tools

Are you by chance internal to Microsoft (in re: the "msft" in your GitHub user name)? I could direct you to an internal support resource if you are.
@curtand Do you have any suggestions for @dcross-msft? The images will need some modification before merging to meet the Microsoft Docs quality criteria, but we'd have to start with receiving them.
Thanks.

@dcross-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @ktoliver I created PR 65701 in which I uploaded the image files to, what I believe to be, the appropriate location. I have edited the image file paths in this PR (64483) to match the location of the image files in PR 65701.

@curtand Could you review the update in this PR and the new PR #65701? Thanks.

@dcross-msft Thanks for submitting these updated images. I've moved the commit to the private repo, where the author will review the updates. The new private repo PR incorporates the revisions in PR #65701. We'll close this PR. Thanks.


Create/remove

In this milestone, I implemented the following:

Created Add Book function.
Created Remove Book function.
Book's actions and reducer.
Set the initial state to be an empty array of books.

Hi @fortuneonyeka,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Stops working after first refresh

Probably an uncommon scenario in terms of how project is setup, as components are rendered into iframes.
The first change reloads fine but subsequent changes nothing happens.
https://user-images.githubusercontent.com/598870/122668760-c2d3cb80-d20d-11eb-99d2-e72312bde7de.mp4
sample project for reproducing issue https://github.com/cloudkite/prefresh-example
to run project yarn && yarn start

Sorry forgot to upload the .babelrc.js which aliases react & react-dom to preact/compat


Website

Hi, i have a little problem. I have a website in ct8.pl, and i drop website in the folder for domains. And i have a bug. Website: http://ebots.ct8.pl/ . Do you help me? Please

What seems to be the problem? Can you expound?

I don't know how to get a normal website, a buttons and more. No Index Of . :/

I don't know how to get a normal website, a buttons and more. No Index Of . :/

I can't really help you with hosting it.
I would recommend looking into these if you want a free host:
￼￼ https://glitch.com or https://replit.com
I personally use of glitch in like it a lot!
Hope that helps.￼

Also I can probably make A tutorial on how to host it once I get out of school on spring break.￼￼￼


jsDoc: Not all periods end a sentence

Several of our descriptions are being improperly-flagged because the rule assumes every period ends a sentence.
Examples of valid descriptions:
The values are encoded in the cookie (lnk vs. kwd).
Call this method as foo.bar().
Neither of the periods in vs. and foo.bar end a sentence. I was going to recommend requiring a space after the period (fixes second case), but that still flags abbreviations. Honestly, I'd be happy to just enforce a capital letter for the start of each description and not try to detect multiple sentences.

/cc @zxqfox

At this point only major and CST related bugs will be fixed.


fix: windows compatible absolute paths for staticDir

Description
https://github.com/payloadcms/payload/issues/267

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Existing test suite passes locally with my changes

The upload tests are written with paths that are dependent on the media collection config. To go a step deeper I could have changed the tests to work even with an absolute path in demo/collections/media upload.staticDir`. Instead, I did a lot of manual testing with an absolute path in Windows and WSL and everything appears to work correctly using a relative (as-is) or with absolute paths.


OpenSSL chooses providers for operations they don't support

My scenario:

I use OpenSSL 3.0.9 and tpm2-openssl 1.2.0-rc1
I use a program (Rauc 1.8 with some local changes to use ossl_store) that honors OPENSSL_CONF and uses the OpenSSL CMS API to decrypt and verify data that has been signed and encrypted with CMS.
I have the default and the tpm2-openssl provider activated
The decryption key is a private key residing in a TPM, and can only be used using the tpm2-openssl provider.
The signing key has a 4096 bit RSA CA-key in its certificate chain.

As far as I can tell, there is no configuration that works for this case:

I can tell OpenSSL to prefer the default provider (e.g., ?provider=!tpm2 as property query). In that case, it will use the tpm2-provider to load the private key, and then happily pass the PKEY object to the decryption routine of the default provider, which will balk on the inaccesible private key.
Or I can tell OpenSSL to prefer the tpm2 provider (?provider=tpm2). In that case it can decrypt the data using the key stored in the TPM. But then it will defer all RSA operations to the TPM, which is inefficient for keys that are present as files, and will fail for the 4096-bit CA key, since most TPMs don't support larger keys than 2048 bit.

The same behaviour on the command line:
$ openssl cms -provider tpm2 -provider default -propquery '?provider=tpm'  -decrypt -in foo.enc -inkey handle:0x81008000
Foo
$ openssl cms -provider tpm2 -provider default -propquery '?provider!=tpm2'  -decrypt -in foo.enc -inkey handle:0x81008000
Error decrypting CMS using private key
8032D449897F0000:error:0800007D:elliptic curve routines:ossl_ecdh_simple_compute_key:missing private key:crypto/ec/ecdh_ossl.c:72:
$ openssl cms -provider tpm2 -provider default -propquery '?provider=tpm2' -verify -in foo.sig -CAfile chain.crt
WARNING:esys:src/tss2-esys/api/Esys_LoadExternal.c:314:Esys_LoadExternal_Finish() Received TPM Error
ERROR:esys:src/tss2-esys/api/Esys_LoadExternal.c:108:Esys_LoadExternal() Esys Finish ErrorCode (0x000002c4)
CMS Verification failure
80724A7B167F0000:error:4000000C:tpm2:ensure_key_loaded:cannot load key:src/tpm2-provider-signature.c:120:708 tpm:parameter(2):value is out of range or is not correct for the context
80724A7B167F0000:error:06880006:asn1 encoding routines:ASN1_item_verify_ctx:EVP lib:crypto/asn1/a_verify.c:196:
80724A7B167F0000:error:17000064:CMS routines:cms_signerinfo_verify_cert:certificate verify error:crypto/cms/cms_smime.c:289:Verify error: certificate signature failure
$ openssl cms -provider tpm2 -provider default -propquery '?provider!=tpm2' -verify -in foo.sig -CAfile chain.crt
Foo
CMS Verification successful

IMO this is some bug in the tpm2 provider where it exports a public key when it is actually asked to export a private key and it should fail that operation.
The ?provider!=tpm2 would work fine if the tpm2 provider properly refused to export the key instead of exporting just the public key.

But the tpm2 provider doesn't even know the public key, how can it export it?
Where in the code should I look to verify your suspision? Which datastructure would contain the wrong information at which moment in the execution, and how do I detect it?

And even if that fixes the ?provider!=tpm2 case, the '?provider=tpm2` case would still be broken, as the tpm2 provider is then still chosen fo an operation it does not support, no?

The ?provider=tpm2 case is know to be broken unless you use the query string only when you want to explicitly use the tpm2 provider if available. You cannot use it as default property query. This limitation is by design so this is not a bug.

There is a bug in https://github.com/tpm2-software/tpm2-openssl/blob/master/src/tpm2-provider-keymgmt-rsa.c#L549-L589 tpm2_rsa_keymgmt_export() function will export a public key even if the selection contains the OSSL_KEYMGMT_SELECT_PRIVATE_KEY bit.

Similarly for EC keys export function.

Yes, thanks, adding a strategic
    if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
        return 0;

in the export functions seems to fix my use case.


Deployment status in PR

The idea started in https://github.com/badges/shields/pull/1605#issuecomment-376595800. We want "to post a comment at the end of a PR thread, which indicates whether it's been deployed yet".
There are two things we need:

Badge with Github commit merge status in branch (https://github.com/badges/shields/issues/1616)
a probot app for creating a comment in closed PR

I think we have all required building blocks. We need to put them together.

Badge with Github commit merge status in branch (#1616) is merged to master #1709. We have to wait for a deployment. Meanwhile, we can use a temporary instance deployed at Now by me
https://shields-deployment.now.sh/github/commit-status/badges/shields/gh-pages/9d90bd1f9549b3c8b59ad8338a8acd92e1e36f3c.svg?label=deploy status (https://github.com/badges/shields/commit/9d90bd1f9549b3c8b59ad8338a8acd92e1e36f3c)

https://shields-deployment.now.sh/github/commit-status/badges/shields/gh-pages/fe4ac0bf1cbd0dbe04bf2cc439a2eee51f4c3907.svg?label=deploy status (https://github.com/badges/shields/commit/fe4ac0bf1cbd0dbe04bf2cc439a2eee51f4c3907)

A https://github.com/bkeepers/workflow configuration. I've deployed an instance of the workflow app  https://github.com/apps/shields-deployment and used it in an example repo https://github.com/platan/shields-deployment-status-example, configuration https://github.com/platan/shields-deployment-status-example/blob/master/.github/probot.js, PR examples https://github.com/platan/shields-deployment-status-example/pull/4, https://github.com/platan/shields-deployment-status-example/pull/6. This example repo has branches similar to these in the shields repo (master + gh-pages).

What's next?

We need a workflow app. We can use https://github.com/apps/shields-deployment (name, description, log can be changed). This instance is deployed by me at Now and is available or everyone. Alternatively we can create a new app (https://probot.github.io/docs/deployment/) at https://github.com/badges/shields or https://github.com/shields-ci
We need someone who can install workflow app at https://github.com/badges/shields. Who can do it?
We need a workflow configuration. I can create a PR with https://github.com/platan/shields-deployment-status-example/blob/master/.github/probot.js as a first version.

Great work on this:

We need someone who can install workflow app at https://github.com/badges/shields. Who can do it?

If I click 'install' on https://github.com/apps/shields-deployment/ I seem to have permission to add the app to this repo with 'Read and write access to pull requests'. You should be able to do it as well - we have the same repo permissions.
If we add https://github.com/apps/shields-deployment and wanted to move it later, does it become problematic to move? Presumably we revoke one app and add another? If that's the case, I reckon submit a PR to add https://github.com/platan/shields-deployment-status-example/blob/master/.github/probot.js and we add https://github.com/apps/shields-deployment . If it there is a reason to move it later, we can do..

I haven't check if I can install this app in Shields ;-) Thanks.
After installing this app we can change it's description/logo and even a name. New name is immediately visible in all comments. And we can always uninstall this app. I'll create a PR with a workflow configuration.

#1724 is merged and we are ready to go. Would you like me to install https://github.com/apps/shields-deployment in shields (or one of you can do it if you want :smile:)?

I pressed the buttons :D

Awesome work on this! It's really exciting to see 😄

@platan - is the final remaining job on this to switch shields-deployment.now.sh to shields.io after the next deploy gets done?

@chris48s Additionally I would like to turn off "shields-deployment.now.sh". Therefore we should update all badges linking to the old domain: https://github.com/badges/shields/search?q="This+badge+displays+deployment+status%3A"&type=Issues (switch to "shields.io").

Looks like its live on shields now:

https://img.shields.io/github/commit-status/badges/shields/gh-pages/9d90bd1f9549b3c8b59ad8338a8acd92e1e36f3c.svg?label=deploy%20status

All badges in comments created by bot (https://github.com/badges/shields/search?q="This+badge+displays+deployment+status%3A"&type=Issues) are served from img.shields.io.


Visual shader allows multiple inputs to be connected to one port

I think its incorrect

Yeah the last connected input should get disconnected, at the moment only the last connect input is used for calculation it seems.


TextFormField with number format issue on iOS only

Adding number format in text field in input formatter is not working properly in the iOS (when user enters values in the field fastly icurser gets triggered continuosly) and working properly in Android
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:intl/intl.dart';

RegExp regexPrice = RegExp(r"[^\d]");//removes all characters and special symbols except numbers
void main(){
  runApp(MaterialApp(home: App(),));
}

class App extends StatefulWidget{
  @override
  State<StatefulWidget> createState() {
    return MyApp();
  }

}
 class MyApp extends State{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("Format"),),
      body: Center(
        child: Form(child: Container(
          child: TextFormField(
            keyboardType: TextInputType.number,
            decoration: InputDecoration(
              hintText: "Enter Number to Format"
            ),
            inputFormatters: [
              CurrencyFormat(),
              LengthLimitingTextInputFormatter(13),
            ],
          ),
        ))
      ),
    );
  }

 }
class CurrencyFormat extends TextInputFormatter {
  @override
  TextEditingValue formatEditUpdate(
      TextEditingValue oldValue, TextEditingValue newValue) {
    if (newValue.text.length > 14) {
      return oldValue;
    }
    if (newValue.text.trim() == "S\$") {
      return newValue.copyWith(text: " ");
    } else {
      int num = int.parse(newValue.text.replaceAll(regexPrice, ''));

      final f = new NumberFormat.currency(
        decimalDigits: 0,
        symbol: "S\$" + " ",
      );
      final newString = f.format(num);
      return new TextEditingValue(
          selection: new TextSelection.fromPosition(
              new TextPosition(offset: newString.length)),
          text: newString);
    }
  }
}

FLutter doctor -v
git:(dev) ✗ flutter doctor -v
[✓] Flutter (Channel master, v1.1.6-pre.37, on Mac OS X 10.14.2 18C54, locale en-IN)
    • Flutter version 1.1.6-pre.37 at /Users/ajayakodi/flutter
    • Framework revision cb6fec10dc (27 hours ago), 2019-01-07 01:04:28 -0500
    • Engine revision 7112b72cc2
    • Dart version 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)

[✓] Android toolchain - develop for Android devices (Android SDK version 27.0.3)
    • Android SDK at /Users/ajayakodi/Library/Android/sdk
    • Android NDK at /Users/ajayakodi/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/ajayakodi/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/ajayakodi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[!] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2018.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 29.0.4
    • Dart plugin version 182.4505.50

[✓] VS Code (version 1.30.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.21.1

[✓] Connected device (1 available)
    • iPhone X • F120CB9B-065C-4DAA-92E3-5CC0CAC999A1 • ios • iOS 11.3 (simulator)

! Doctor found issues in 2 categories.

I'm observing this issue when a digit and backspace are entered almost simultaneously. Tested on a physical device.

For those who are looking for making TextField or TextFormField accept only numbers as input, try this code block :
TextFormField(
controller: _controller,
keyboardType: TextInputType.number,
inputFormatters: [
WhitelistingTextInputFormatter.digitsOnly
],
decoration: InputDecoration(
labelText:"whatever you want",
hintText: "whatever you want",
icon: Icon(Icons.phone_iphone)
)
)
https://icetutor.com/question/how-to-create-number-input-field-in-flutter-2

Hi @praveen-francium
running the code above with the latest master and intl 0.16.1
doctor
[✓] Flutter (Channel master, 1.21.0-6.0.pre.37, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.37 at /Users/nevercode/development/flutter_master
    • Framework revision 35e7005184 (2 days ago), 2020-07-25 09:44:17 -0700
    • Engine revision 626244a72c
    • Dart version 2.9.0 (build 2.9.0-21.0.dev a3815b6590)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

the issue seems to be solved, I feel safe to close this issue,
if you disagree please write in the comments and I will reopen it.
Thank you

try removing the number keyboard type. using the default keyboard is working fine

@TahaTesser

@parammittal16
No issues on latest master

Code Sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:intl/intl.dart';

RegExp regexPrice = RegExp(
    r"[^\d]"); //removes all characters and special symbols except numbers
void main() {
  runApp(MaterialApp(
    home: App(),
  ));
}

class App extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return MyApp();
  }
}

class MyApp extends State {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Format"),
      ),
      body: Center(
          child: Form(
              child: Container(
        child: TextFormField(
          // keyboardType: TextInputType.number,
          decoration: InputDecoration(hintText: "Enter Number to Format"),
          inputFormatters: [
            CurrencyFormat(),
            LengthLimitingTextInputFormatter(13),
          ],
        ),
      ))),
    );
  }
}

class CurrencyFormat extends TextInputFormatter {
  @override
  TextEditingValue formatEditUpdate(
      TextEditingValue oldValue, TextEditingValue newValue) {
    if (newValue.text.length > 14) {
      return oldValue;
    }
    if (newValue.text.trim() == "S\$") {
      return newValue.copyWith(text: " ");
    } else {
      int num = int.parse(newValue.text.replaceAll(regexPrice, ''));

      final f = new NumberFormat.currency(
        decimalDigits: 0,
        symbol: "S\$" + " ",
      );
      final newString = f.format(num);
      return new TextEditingValue(
          selection: new TextSelection.fromPosition(
              new TextPosition(offset: newString.length)),
          text: newString);
    }
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.245, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.245 at /Users/taha/Code/flutter_master
    • Framework revision 77b4505c80 (11 hours ago), 2020-08-06 18:51:02 -0700
    • Engine revision cd3ea1e839
    • Dart version 2.10.0 (build 2.10.0-3.0.dev fcafd43f2c)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 84.0.4147.105

• No issues found!


pages to port:

download
reference (and all of its subpages)
form to submit work
hello.p5js.org ?

i will instead open issues for individual sections that need to be ported so we can check them off one by one


remove empty xaml section

Fixes #3957
I'm either removing the completely empty sections or the ones that just say See remarks, since that was already inside remarks anyway. Before I totally resolve that issue, I wanna see if I can get access to our old CMS to double check we didn't have any data loss between the multiple migrations.

BTW, I checked our offline books who were based on the previous CMS and I think this change is fine. The build seems to ignore the empty sections and for the ones that had See Remarks, they would show up in the syntax section, not in remarks as today:


Update ms-confluence-jira-plugin-adminguide.md

Hii Dhivya,
I've Update Jira build version please check PR and approve the same.
Thanks & Regards,
Sagar Patil

@dhivyagana
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


fix: pgk json

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Will caching still work the same way when you guys finish IdentityServer4.*.Storage?

Right now I use the AddConfigurationStoreCache which registers all three caching types.
Will caching still work the same way when the IS.Storage  stuff is completed? Or will the API change?

Should all stay the same.


fix links for bq/snowflake in swn

🚀 Deployed on https://645c6ec9d2d1ff4339c644f2--cozy-fox-0defec.netlify.app


Support other operating systems

to-html supports the following target operating systems (list taken from here):

[ ] windows
[x] macos
[x] linux
[x] freebsd
[ ] dragonfly
[ ] openbsd
[ ] netbsd
[ ] (ios)
[ ] (android)

If you want to add support for an unsupported OS, I'd appreciate it if you send a pull request. If you aren't able to implement it yourself, leave a comment here.

This works just fine on Android (Termux) if you remove the checks in faketty before building.

@Efreak are you saying that it works on Android the same way as on Linux? I'd be happy to make it work on Android if you confirm that it works. I don't have enough time to investigate this myself.

It works perfectly. Check it out here.

@Efreak what I need is a pull request that's been confirmed to work. Since I don't know what modifications you made to create that page, it's not helpful unfortunately.

 I'm not sure how to make it actually build. I know how to use cargo to download and install a bunch of stuff, and to build a local project, that's it. I'll push a fork with my changes, but then it'll build for all OS, I think.


Contributing.md missing steps to get started

Describe the bug
I was trying to follow the getting started steps and I think it is missing a step about installing glew-2.1.0 into the EXTERNAL folder.
To Reproduce
Steps to reproduce the behavior:

Follow Contributing.md through step 1 into step 2
Realise that CMake cannot find glew-2.1.0. Causing no project files to be created

Expected behavior
There should be an additional requirement in step 1 Dependencies for glew-2.1.0.
There should be an additional bullet point in step 2 to install glew-2.1.0 into the EXTERNAL folder.
Desktop (please complete the following information):

OS: Windows 10

Indeed. GLEW has only been required for a few weeks, we didn't find the time to add it to the file. I'll add it asap.

Closing this since the build instructions have been updated.


Azure Compute Galleries: Image version replicas

Here the following is stated: 10 image version replicas, per subscription, per region
However, in Azure Portal you can change this value all the way up to 50 (see blow). Is the documentation on this topic outdated? Or are you in the process of lowering this limit from 50 to 10?

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

ID: 08222316-75a2-004c-01ce-b07f2f80da32
Version Independent ID: 3b76f6cc-b11d-03fe-4ef0-1f1afc31bc83
Content: Share VM images in a compute gallery - Azure Virtual Machines
Content Source: articles/virtual-machines/shared-image-galleries.md
Service: virtual-machines
Sub-service: gallery
GitHub Login: @cynthn
Microsoft Alias: cynthn

@stefanes Thank you for your feedback!  We are investigating this and will get back to you shortly.

@stefanes Usually if there is a difference between the documentation and the portal, the portal has the most up to date information (as documentation updates closely follow product changes).  We're still in the process of confirming this with the product group and will publish the update once we get that confirmation.

@stefanes The text in question no longer exists in the file. I recommend checking this topic for any updates to quotas: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#compute-gallery-limits
#please-close


Netusb: fixes and adaptation to new net_pkt API

@finikorg Could you check? I doubt that ECM needs the same frame size as EEM. And actually, I count 1520 bytes for EEM, not 1522 (Eth mtu + Eth hdr + eem hdr + sentinel), or are the missing 2 bytes for FCS somewhere? I kept the value 1522 for both anyway.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13269   +/-   ##
=======================================
  Coverage   48.75%   48.75%
=======================================
  Files         319      319
  Lines       46871    46871
  Branches    10835    10835
=======================================
  Hits        22850    22850
  Misses      19394    19394
  Partials     4627     4627

Continue to review full report at Codecov.

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

@tbursztyka I remember we had test cases for network for all protocols, where are they now? Cannot find echo_server tests. How do you test your code at least compiling nowdays?

@finikorg we switched to socket based samples only, so samples/net/sockets/echo_server (and echo_client) should work. I haven't look if they provide configuration for usb however.

Not compiling
/subsys/usb/class/netusb/function_ecm.c:265:23: warning: passing argument 1 of ‘net_pkt_read_new’ from incompatible pointer type [-Wincompatible-pointer-types]
  if (net_pkt_read_new(tx_buf, pkt, net_pkt_get_len(pkt))) {
                       ^~~~~~
...
include/net/net_pkt.h:2363:5: note: expected ‘struct net_pkt *’ but argument is of type ‘u8_t * {aka unsigned char *}’
 int net_pkt_read_new(struct net_pkt *pkt, void *data, size_t length);
     ^~~~~~~~~~~~~~~~

Thanks for the new version, the changes looks good to me. I have successfully tested this PR with EEM and ECM drivers, and all works fine. I have not been able to test the RNDIS driver as it doesn't work anymore. That said this is not due to this PR, I guess it might be due to the recent USB refactoring. I'll try to debug that and come back on this PR, but that can take a few days.

I have not been able to test the RNDIS driver as it doesn't work anymore. That said this is not due to this PR, I guess it might be due to the recent USB refactoring. I'll try to debug that and come back on this PR, but that can take a few days.

The USB broken part of the RNDIS driver is fixed by PR #13511. However it is still not fully functional, it can receive but not transmit. I'll try to debug that and come back on this PR, but that can take a few days.

@aurel32 thanks a lot for this test and fixes

The USB broken part of the RNDIS driver is fixed by PR #13511. However it is still not fully functional, it can receive but not transmit. I'll try to debug that and come back on this PR, but that can take a few days.

@aurel32 Thanks for fixing composite callbacks, I have tested the PR and now also RNDIS is working for me.

rebased
@aurel32 can you re-revied/approve?
I think this PR is good to go.

@tbursztyka I have opened #14127 to track the issue.


'firelight lifx' command not executing on Windows 10 BOOTCAMP after successful install.

firelight lifx command results in error 'firelight' is not recognized as an internal or external command, operable program or batch file.
Successful installation verified with following pip commands:
pip show firelight-lighting
C:\Users\17274>pip show firelight-lighting
Name: firelight-lighting
Version: 1.0.1
Summary: Sync up colored lights to the contents of your screen.
Home-page: https://github.com/roshie548/firelight
Author: Roshan Kumaraswamy
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: c:\users\17274\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages
Requires: lifxlan, mss, numpy, scipy
Required-by:

and
pip-list
Package            Version
------------------ -------
bitstring          3.1.9
firelight-lighting 1.0.1
ifaddr             0.2.0
lifxlan            1.2.7
mss                6.1.0
numpy              1.22.4
openrgb-python     0.2.15
pip                22.1.2
scipy              1.8.1

So, I was able to install "lifx-control-panel" which has a feature that detects my screen's average or dominant color and relays that information to my LIFx bulb. I can confirm that it is working. I'm still unsure why the dependencies are successfully installing for Firelight but not being able to open or run.

Solution:
In Windows 10, you need to locate the directory where you installed firelight (should be shown in CMD when installing).
Then, back into Python310 folder that contains the install location

and find Python310\Scripts

Copy the full directory location for Python310\Scripts and add it to your PATH directory. In my case, I had to replace my PATH with it otherwise the command 'firelight lifx' wouldn't be recognized.
Here is a link on how to add to your directory:
https://gist.github.com/nex3/c395b2f8fd4b02068be37c961301caa7

Thanks to roshie548 for helping me resolve the issue. It was impressive how quick he figured out what was wrong,


docs: remove symlink section from the markdown guidelines as templates are now applications

Symlink no longer needed (and not fully working) as the templates are now applications.
Related to https://github.com/NativeScript/docs/pull/1337

@NickIliev can you remove the symlink section from the ng/js versions of the same document as well?


Can someone give an example where elfeed-search-title-min-width actually does something?

If I put a very low value to elfeed-search-title-min-width and a high value to both elfeed-search-trailing-width and elfeed-search-title-max-width, the title width will stay the very large and push the the feed name (I suppose that's what the trailing is) out of the frame. (in all these procedures I never change the window size nor the frame size). This feels wrong! Then how does elfeed-search-title-min-width relate to elfeed-search-trailing-width and elfeed-search-title-max-width?

If you search the repo for elfeed-search-title-min-width, you can see that this variable is unused

Isn't this problematic?

It's trivial to check that this variable is used in an elfeed-clamp
expression. It only comes into play when the frame is skinny. It prevents
entry titles from becoming too short to read by pushing the feed titles
beyond the right "fold" more than they would otherwise. If you set it
larger than the max value then it's clamped to the max, so if you're
choosing large values, adjust both. If you change any of these variables
then you need it press "g" to redraw the buffer, or just wait for it to
redraw naturally (i.e. when the contents change).


Update FirebaseHttpClient.h

SSL fingerprint update

@TrickSumo
I tried the fingerprint. But still I'm getting the following error.

@TrickSumo
I tried your latest fingerprint. But still I'm getting the following error.

Hi
I'm able to compile successfully.
Make sure to remove previous fingerprint.

I have the same problem, I already did the change the fingerprint and it does not, help

Hi @eshwarnadh @Humca
Looks like ESP8266 board version 3.0 is not compatible with firebase arduino master.
Go to Arduino IDE >> board manager >> Search ESP8266 >> Rollback to version 2.7.4
It will fix compile issue.
Alternatively, use this library by @mobizt : https://github.com/mobizt/Firebase-ESP8266
https://www.youtube.com/watch?v=nLzC0-VaqDs&lc=UgzZsgxMbFPDcj5msuN4AaABAg
Thanks

There is a new finggerprint. Rather than posting it. It was very helpful to find that I can check it yearly myself with this:
https://www.grc.com/fingerprints.htm
test DB shows "50:89:50:57:90:1F:37:E3:B8:F3:5B:02:ED:3A:65:6E:6A:34:DB:93"
updated fingerprint worked for me!

There is a new fingerprint. Rather than posting it. It was very helpful to find that I can check it yearly myself with this:
https://www.grc.com/fingerprints.htm
test DB shows "50:89:50:57:90:1F:37:E3:B8:F3:5B:02:ED:3A:65:6E:6A:34:DB:93"
updated fingerprint worked for me!

i tried with yours, but somehow it return me an error, do u have any idea what happen?

@TrickSumo
I tried your latest fingerprint. But still I'm getting the following error.

the same issues still existing can any one help me to fix that

@TrickSumo
I tried your latest fingerprint. But still I'm getting the following error.

the same issues still existing can any one help me to fix that

Hi there, have you check your board version? The version supposed below 3.0, in my case I was using version 2.7.4.

@TrickSumo
I tried your latest fingerprint. But still I'm getting the following error.

the same issues still existing can any one help me to fix that

@tarunautobot763
Just downgrade ESP8266 Board version from 3.0 to 2.7.4.
Checkout:- https://www.youtube.com/watch?v=m3Xb9GB9SI8


Common: Add access register in PEX89000

Summary:

Add a case of switch to access specific register

Test Plan:

Build code: Pass

Already merge in #784.


missing SAC headers while reading SPECFEM3D_cartesian data

It looks like pysep (read_sem) is not reading in available information into SAC headers while reading in data from SPECFEM3D_cartesian. This probably happens when the source/stations are defined in the cartesian coordinate system instead of the geographical coordinate system. The missing headers include 'b' and 'evdp' among other possible missing headers.

Hi @aakash10gupta, this should be fixed in #138, can you test and let me know if you are able to access the new SAC headers for Cartesian synthetics?

Hi @bch0w, yes I'm able to access the new SAC headers.


What is the submission file format for the challenge？

Is it json, pkl, or other.  Can you provide a sample submission file？It would be very helpful for me.

Hey @Baboom-l, the submission file should be a .json in the format described at https://github.com/samschulter/omnilabeltools?tab=readme-ov-file#submitting-prediction-results
You may also refer to https://www.omnilabel.org/task for more descriptions on the task

Hey, it takes some time depending on the size of file you upload...
BTW, you may upload results to the new challenge, https://codalab.lisn.upsaclay.fr/competitions/19200#learn_the_details
The evaluation dataset for Track A Validation stage does not change for now. A more comprehensive evaluation dataset will come out later.

Hi,  how are the AP metrics calculated? the mean values of categ and descr don't seem to be equal to AP.

Hi @Baboom-l . The AP value is the harmonic mean of AP_categ and AP_descr, not the arithmetic mean. The reason is to encourage good numbers on both simple categories and more complex descriptions. See the paper for details.

@samschulter @xiaofeng94  Hi, where can I submit the technical report about OmniLabel 2

Hi, @yuminsuh. When will the final ranking be announced


Update URLs, and allow supplying subcription key via CLI

Overview
This PR switches out the test endpoint and container URLs for the production versions, and makes use of the new expiry field returned in the SAS token response.
I also added the ability for a user to pass along an API subscription key on token requests. This is done by setting PC_SDK_SUBSCRIPTION_KEY as either an environment variable, or in the file ~/.planetarycomputer/settings.env. The environment variable takes precedence. If this variable is supplied, the appropriate header will be added to token requests. A simple CLI app has also been added here which allows for easily setting of this variable.
Notes
I pulled in the SAS-related models from the Planetary Computer query engine. Once this is published to PyPI, it will probably be a good idea to import this library within the Planetary Computer query engine in order to have a single source for these models.
Testing
To set up the repo for development and run tests, you can do the following:
## Create and activate venv
python3 -m venv env
source env/bin/activate

## Install requirements
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements-dev.txt

## Install locally
pip install -e .

## Run tests
./scripts/test

## Run the CLI and supply a subscription key
planetarycomputer configure

## Ensure the subscription key is in the appropriate place
cat ~/.planetarycomputer/settings.env

Pinging @lossyrob for review

@lossyrob: Just a heads up that this is ready for review now. I updated the PR with the ability to supply subscription keys via a small CLI.

This is great! I have some minor changes and an update to the token endpoint, I'll layer that on top in a follow up. Thanks!


Spanner IAM add scope

fixes #701
The additional spanner.admin scope is needed when providing the specific credential for spanner in config.
This wasn't apparent before because providing credentials for the core module gives the "https://www.googleapis.com/auth/cloud-platform" scope, which includes every scope in it.

Hi,
I am still getting permission issue while trying to create Spanner instance from Compute Engine. Even though service account has the following permission (in proper project) -

WorkSpannerRole (contains spanner.instances.create)
Editor
Service Account Admin
Owner
Cloud Spanner Admin

Still I am getting the following error
User<EMAIL_ADDRESS>does not have permission to access project [xxxist): Caller is missing IAM permission spanner.instances.create on resource projects/xxx.

Seems like Spanner Admin scope is still not there.


@conda-forge-admin, please add user @batic

Additional comment:
@batic is maintainer of the eo-learn.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @batic in conda-forge/eo-learn-features-feedstock#29.


fix: edge cases for server action

I was trying to make vercel-ai + waku, but found some bugs, let me see if I can reproduce here

Are you sure? I mean waku's approach might be different from nextjs's one.

It depends on what's the real behavior from webpack, I need double check that

I reverted the src code, but why do all e2e tests fail... should only a new one fail??

no it's all basic rsc test, I think something is still wrong

For this input:
const AI = createAI({
	actions: {
		foo: async function() {
			"use server";
			return 0;
		}
	}
});
export { AI }

should emit something like
const AI = createAI({actions: {foo: __waku__server__1 });
export { AI };
export const __waku__server__1 = registerServerReference(async function() {
	'use server';
	return 0;
}, 'file_id', '1');

working on decodeReply

PR is to complex to rebease/merge, create a new one https://github.com/dai-shi/waku/pull/785


README.MD minor text update

Cause I should have been a proof reader.

Current coverage is 73.66% (diff: 100%)

Merging #63 into master will not change coverage

@@             master        #63   diff @@
==========================================
  Files            91         91
  Lines          2537       2537
  Methods          76         76
  Messages          0          0
  Branches        229        229
==========================================
  Hits           1869       1869
  Misses          550        550
  Partials        118        118

Powered by Codecov. Last update 4141934...3d3e889


Update example and add stationary scenario to plot as optional line

The new default days_forward and days_backward for generate_plots are not good matches in the example, so we should also make a change in hd131339a.py, to set these parameters to 2600 days backward and -1200 days forward when we call generate_plots in the example. (although with these parameters the year axis labels get a bit dense)
location in your repo if i'm not mistaken:
https://github.com/tomasstolker/backtrack/blob/f1c92d6bef08c49aaba4f358182be188228e459c/tests/hd131339a.py#L8
The stationary background plot was commented away so that plot is no longer made. (do we want to integrate the stationary scenario in the regular plot as an optional line )?
Originally posted by @gotten in https://github.com/wbalmer/backtrack/issues/13#issuecomment-1859011840

Should be addressed in de0e8f6 and included in PR #18 . I've added an option to include the stationary case in both radec and seppa modes of the trackplot function.

We probably have to make the days_forward,days_backward,jd_tt parameters a bit more intuitive (make the parameters the start and end date for the generated track (in decimal years and convert to jd for internal use?), delete the jd_tt parameter. Don't precisely recall what I used jd_tt for originally but it doesn't add anything at the moment (apart from confusion). It defines a reference data somewhere in 2022 against which days_forward and backward are defined.
We probably have more use for a time parameter at which to pin the stationary solution.
In the current system:
Days_forward=-500 (note the minus) probably gives a clearer example without weird (fractional) x-labels.

Definitely agree about jd_tt, it's vestigial of the old first notebook. I'll open a new issue to keep track of that improvement, since I agree it makes sense to overhaul the time interface/bookkeeping.


Update service-licensing-for-cd.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65de547f6a01e143d3d89bea--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65de61b71e8e3252a52371ac--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65de63399069d8534909c07a--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65de7655b81832635b0417b5--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65de798fbb7acd640544b220--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65deba8c89bee0959455c43d--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65dfa5fdbc1b54711d6a7a75--harness-developer.netlify.app


Update documentation

Updated documentation to include Pycharm Test Configuration setting. Included image of Pycharm configuration menu. Used main branch as base so differences in changes will also be applied.

@pgaviganHC Can you take a look at the PR. I don't have write access so I can't request a review.


Fix item amount summary

This change should fix issues where item amounts weren't shown when the bot had "showStockChanges": false. Addresses #190
Example output from changes shown below (show stock changes is disabled):

Noticed that these changes include changes made by @idinium96 from the Development branch. Feel free to move commits around as needed.

Updated to include summaries that don't have a link (Steam summaries). Further testing for these changes can be seen below.


Add JsonBString comparison function

Background
JsonBString represents JSON to be sent or retrieved from the DB. But the DB doesn't guarantee the order of the keys.
Feature
Create a function that compares two JsonBString instances logically, not by order of characters in the string.

JsonBString is deprecated replaced with SimpleJsonString. For compariosn let's user Circe


Aborting a connection while it is 'in flight'

Would there be a preferred way to handle aborting a connection request?
The interface I am working on allows a user to connect to a device, but also to abort the connection mid process. Since I cannot find an abort function or similar, I just hide the connection state and wait in the background until the connection finishes, cancelling the connection at that point if it completes successfully.
This leads to some more complicated state juggling than I'd like and it would be simpler if the request could just be terminated mid flight. Is this possible to do?

You can just call cancelConnection before it finishes.
https://polidea.github.io/react-native-ble-plx/#devicecancelconnection

That seems to work well - thank you for your help.


Fix issue with make-iso not generating proper iso files

There is the issue with the -volset and -volid flags.

make-iso has more issues. Under MinGW/MSYS2, there is no official package for mkisofs or genisoimage.
An idea is to use a small library to write a simple replacement. Could this also help out with LBA ordering?

Moved to private issue tracker.


Avoid duplicate requests within single query

Currently, queries may resolve to perform duplicate requests. One approach to address this issue is to use dataloaders. However, not every request is deterministic (e.g., the response may contain random values), so the usage of data loaders should be configurable.

In interesting idea would be to have a requestCachingDuration options (default: 0). It can be set to the desired number of milliseconds that GET requests will be memoized. Implementing this can be done by wrapping the function performing the HTTP request.


Update Move-PnPFile.md

Corrected a tiny spelling mistake in an example.
$jobStatus  = Receive-PnPCopyMoveJobStatus -Job $job
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/powerShell/blob/dev/CONTRIBUTING.md
Type

[ ] Bug Fix
[ ] New Feature
[ x] Sample

Related Issues?
Nothing related
What is in this Pull Request ?
Corrected a tiny spelling mistake in an example.
$jobStatus  = Receive-PnPCopyMoveJobStatus -Job $job # $job was $result
It is a minor fix, but even minor errors annoy me.

Thanks @ReidarHusmo for fixing this !
Much appreciated.


Readme changes.

Added to README file:

Deploying info
Image of start screen
Credits and license

Database and Server documentation links start to work when
their their documentation pull requests (#28 and #27) get merged to master.


dependency bloat

Using gvt to vendor migrate pulls in a tonne of dependencies even though I'm only using a single database (Cassandra in this case).
gvt fetch github.com/gemnasium/migrate

Maybe this is more of an issue with gvt than migrate, but I'm wondering if anyone has any suggestions to keep the vendored deps down to a minimum?
/cc @FiloSottile

We need to export drivers from this repo. We'll probably end-up with a dedicated github org for that. That way, everyone will be able to import just the drivers needed.

That would work, but sounds like a pretty big change. I'm not yet familiar with other vendor tools or the proposal for something standard. Not sure if they intend to be smarter about this, as I haven't actually imported any of these packages yet.
For now, I can prune it down manually. Hoping this goviz graph will be helpful:

I meant: each driver will be a dedicated repo. We followed the same path with logrus, where at some point we were import all possible hook directly in the main repo. Now each hook has its own repo.

Yes, I understand. I'm just wondering if that will be really necessary long term, or if the vendor tools will see import _ "github.com/gemnasium/migrate/driver/mysql" and bring in those dependencies but not the dependencies of driver/postgres. I've asked in the Gophers Slack #vendor channel /cc @sdboyer.

See also mattes/migrate/issues/82

@nathany the proposed official tool will (and currently does) do the work you're describing - if all you import is driver/mysql, then import paths unique to driver/postgres will not be included.

In that case, I would wait until early January to give the new tool a try.
https://blog.gopheracademy.com/advent-2016/saga-go-dependency-management/

For now, the dependencies I need to add are:
github.com/gemnasium/migrate (without dependencies)
github.com/fatih/color (with these two dependencies):

github.com/mattn/go-colorable
github.com/mattn/go-isatty

I already have the appropriate database library installed for migrate to use, since I need it elsewhere.

I think this is a great idea.  Dependency bloat is one great argument.
Cross compiling is another.  I am presently cross compiling my software for deployment. The only sticking point with this was the sqlite3 driver as it has external dependencies that fall back to C.
I actually diked it out of my local repo import in order to get cross compiles to work.

It sounds like this will be "taken care of" by future package management tools. Feel free to close this issue.

v1/CLI imports all drivers, yes
v1/migrate package imports only the drivers you want. no deps bloat.
v3/CLI uses build tags to only import required drivers.
go get -u -tags 'postgres' -o migrate github.com/mattes/migrate/cli
v3/migrate package import only the drivers you want. no deps bloat.
in v3 the migrate package doesn't have any external deps as well.
Don't see a point moving drivers to separate repos.
Also check out the dependency_tree.txt at https://github.com/mattes/migrate/releases

@mattes 👍
see also https://github.com/gemnasium/migrate/issues/19#issuecomment-266878587

I clearly need to read these tickets more. :-) 👍  @nathany

😃
FYI, the new dependency management tool mentioned is available at https://github.com/golang/dep in pre-alpha form. And indeed it does look at the import graph when locking and vendoring dependencies, solving this concern.


Custom Tiles Displayed Below Buildings on Android

Summary
Description: I’m using the <UrlTile> component to overlay custom tiles on a Google Map. On iOS, the tiles are correctly rendered above the buildings, but on Android, the tiles are drawn underneath the buildings. I attempted to adjust the zIndex of the tiles, but it had no effect on Android.
Questions:
Is this an expected behavior on Android, or could this be a bug in the react-native-maps implementation?
Is there any way to ensure that custom tiles are displayed on top of buildings on Android without disabling the buildings completely? I would like to keep the buildings visible but render the tiles above them.
Any guidance or suggestions for resolving this issue would be greatly appreciated. Thank you
Reproducible sample code
<MapView
        mapType="standard"
        ref={mapRef}
        zoomControlEnabled
        cameraZoomRange={{
          minCenterCoordinateDistance: 4,
          maxCenterCoordinateDistance: 20,
          animated: true,
        }}
        provider={PROVIDER_GOOGLE}
        style={StyleSheet.absoluteFill}
        // onRegionChange={onRegionChange}
        initialRegion={CATANIA_AIRPORT_COORDINATES}
        // customMapStyle={mapStyles}
      >
        <UrlTile
          zIndex={9999}
          urlTemplate={`https://api.maptiler.com/tiles/MY_TILE_ID/{z}/{x}/{y}.jpg?key=${process.env.EXPO_PUBLIC_MAP_TILER_KEY}`}
        />
      </MapView>

### Steps to reproduce

- Create some tiles and add an <UrlTile>
- Check on Android that tiles goes under the map buildings

### Expected result

- Tiles should go above buildings like on iOS

### Actual result

- Tiles goes under the map buildings

### React Native Maps Version

1.18.0

### What platforms are you seeing the problem on?

Android

### React Native Version

0.74.1

### What version of Expo are you using?

Not using Expo

### Device(s)

Pixel 8 Android

### Additional information

_No response_

Did you find a way to fix it? seems to be a bug but not found any solution yet!

Did you find a way to fix it? seems to be a bug but not found any solution yet!

Unfortunately not. I ended up disabling buildings from the map only on Android :(

Thanks for your answer, I ended up doing the same

Hi I need to create a indoor tile. how can i achieve that ?


Add "HyperZen Training" game

Source: https://twitter.com/232th/status/1030606503043059712

I released hyperzen training on steam also (using winit, vulkano, specs, nphysics) even if I didn't talk about it https://store.steampowered.com/app/884160/HyperZen_Training/

Experimental minimalist game with a special graphical mecanic.
The whole experience is supposed to let you focus on your targets. Allowing you to improve your skills without artifices.
The gameplay is really about fast paced old FPS but with smaller targets and some kind of puzzle to understand and challenge the graphical mecanic.
Levels are mostly maze generated with procedural generation.

Thanks! Fixed in commit dddb767


Add entropy to GitHub rules

Description:
This filters out common falsepositives.
Inspired by: https://github.com/leaktk/fake-leaks/blob/d98b6df500fcaf85d0a7b430863111df1cad284c/specs/github.json#L303-L304
Checklist:

[ ] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[ ] Have you lint your code locally prior to submission?

👍🏻


CB-21253 Change the order of operations during host removal from CM

first we need to stop agent in order to prevent further heartbeats during removeHosts call

See detailed description in the commit message.
Tested:

DE datahub worker group downscale
DE datahub node failure worker node repair
DE datahub node failure worker node deletion -in progress

will move to master with a different solution, closing this


Can't load config.js on production host if Helix does not own the root dir

E.g. https://www.adobe.com/tools/sidekick/config.js

:tada: This issue has been resolved in version 3.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Analyze if 'SceneId' can be removed from Portable Experience Wearables

Ideally we should stop having any kind of scene id in the renderer and its kernel-renderer communication, but right now in the renderer, Portable Experience Wearable Scenes need to have a scene id to map them to their corresponding wearable id.
Example of cases in which the PX scene id is used to be mapped to its wearable id Here and Here.
If the renderer could map the portable experience scenes to their wearables in some other way, the last of the scene ids used in there could be replaces by scene numbers like regular scenes.

I've reviewed the data flows and sending the sceneId will always be required. And it is mapped 1-1 to the wearable URN, so I think it makes sense to keep it for now.


Unable to locate package google-drive-ocamlfuse (from apt-get repository)

Hello,
I'm getting an error on Google Colabo Notebook when executing
!add-apt-repository -y ppa:alessandro-strada/ppa
!apt-get update -qq
!apt-get -y install google-drive-ocamlfuse fuse

Strangely, although it worked fine before, it cannot locate the package after apt-get update.
Why???
Stacktrace:
gpg: keybox '/tmp/tmp4m8g_ta0/pubring.gpg' created
gpg: /tmp/tmp4m8g_ta0/trustdb.gpg: trustdb created
gpg: key AD5F235DF639B041: public key "Launchpad PPA for Alessandro Strada" imported
gpg: Total number processed: 1
gpg:               imported: 1
OK
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package google-drive-ocamlfuse

See #493.


acquisition stop after clicking plot

acquisition of data stop after clicking plot.
provide user some facility to restart plotting.
OR better adding a start/stop button (PLAY/PAUSE) to action bar will be helpful as user can than zoom in/out without stopping acquisition.

That is the intended behavior. If the user touches the plot, it is
likely that s/he wants to pan. In that case sampling must be stopped.
Resuming a stopped plot is not meaningful (where would it pick up again?
How to fill the gap? Does the user really wish to have a plot with a gap
in it?)
Am Freitag, den 09.01.2015, 14:41 -0800 schrieb Kuldeep Singh Dhaka:

acquisition of data stop after clicking plot.
provide user some facility to restart plotting.
OR better adding a start/stop button (PLAY/PAUSE) to action bar will
be helpful as user can than zoom in/out without stopping acquisition.
—
Reply to this email directly or view it on GitHub.

problem is:
user has to go back and select sensor to start a new plot.
user has to stop plotting in order to zoom in/out.
providing a start/stop button should help.
On 01/14/2015 08:44 PM, onyxbits wrote:

That is the intended behavior. If the user touches the plot, it is
likely that s/he wants to pan. In that case sampling must be stopped.
Resuming a stopped plot is not meaningful (where would it pick up again?
How to fill the gap? Does the user really wish to have a plot with a gap
in it?)
Am Freitag, den 09.01.2015, 14:41 -0800 schrieb Kuldeep Singh Dhaka:

acquisition of data stop after clicking plot.
provide user some facility to restart plotting.
OR better adding a start/stop button (PLAY/PAUSE) to action bar will
be helpful as user can than zoom in/out without stopping acquisition.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/onyxbits/sensorreadout/issues/4#issuecomment-69930353.

--
Kuldeep Singh Dhaka


Add type ascription should add a semicolon

I think adding ; would be a nice touch here
cc https://github.com/rust-analyzer/rust-analyzer/pull/7824, @conradludgate

Good catch. I'll get a PR and some tests for that later today


Add the ability to disable CommandBar

Hi,
It would be great to have the ability to disable the CommandBar. We have a scenario where we only need the table.
I added an extra property to control this. By default it is set to true so there are no breaking changes.
@kushalmehrotra713 what do you think? Is this something you can accept?
Regards
Christos

Just out of curiosity, if the requirement is only for the table, why did you not use the vanilla FluentUI DetailsList? Is editability a requirement in your grid?

Thanks, we want to edit cells. Is this possible with the DetailsList?

Yes absolutely. Double-clicking a cell (if the corresponding column is configured as 'editable') will allow you to edit the cell.
In order to save the change made during edit, you need to press enter (if the cell control type is not a 'Multiline textbox'). In case it is a multiline textbox, you need to double-click to save.
You can also use the row-edit feature that allows you to edit the complete row at a time. And it does not depend on the command bar too.


Bundler Plugin System

This was discussed in bundler/bundler-features#8 and also in #1945. I am suggesting that we go with a combination of what Heroku and Vagrant have done for their plugin ecosystem.
Part 1: Installation/Storage/Activation

[ ] Plugins are packaged as gems following the convention: bundler-[plugin name]

Part 2: Usage

[ ] Plugins can run executables

[ ] Provide an API/base class for CLI plugins to inherit from

[ ] Plugins can do things/run tasks after Bundler does something

[ ] Provide some sort of hook system/notifier/thing for plugins to latch onto

Part 3: Decisions
- [ ] Declaring plugins
In the Gemfile there are a few options about how one could say "I want to use the gem 'bundler-svn'"
- Option 1:
gem "bundler-svn"

Pro: Super easy syntax. Makes sense.
Con: Not really any cons.
- Option 2:
group :plugins do
  gem "bundler-svn"
end

Pro: Easier to parse than trying to ask each gem: "Do you have the prefix 'bundler-'"
Pro: Easier to see what plugins you have, they are all next to each other.
Con: Maybe some people don't want a separate group for plugins?

Option 3:

plugin "svn"

Pro: Even easier syntax than option 1.
Con: Requires some special wiring through Bundler to support.
Con: Either way the 'bundler-' gem prefix will be applied, makes no difference.
- [ ] Plugins at the User or Project levels
Some plugins may need to be loaded at the user level. For example, someone may want to install a svn plugin, and be able to use svn on all projects. I think we need to be consistent across all 3 plugin subtypes about this policy - subcommands, hooks, and source hooks (svn, hg)

Option 1: Have all plugins be available at the user level

Option 2: Have all plugins be available at the project level. This will require everything to be included in the Gemfile manifest.

- [ ] Plugin Dependencies

If your plugin had any dependencies, you must vendor them within the gem. Documentation will be coming out explaining how to do this.

I'd say that a con to Part 3, Option 1 would be that we would have to forcefully satisfy that dependency before any others. In that case, without the plugin already activated, we can't satisfy a gem that needs to be checkout from SVN. Same goes for Option 2, but it's slightly easier to just get that group first.

My vote is for Part 3, Option 3.

I'm a fan of Option 2. It seems easier to me to implement than Option 3, also, either way the 'bundler-' prefix has to be applied. I do understand the minimalistic sense of Option 3, but it would seem more difficult to me to have to add another quality to the Gemfile and then have to spread that change across Bundler.

Once we have decided, I'm happy to start a PR for this. cc @indirect

I'm pretty sure that it's actually going to be easier to implement option 3 than option 2. We'll need to load plugins before loading the rest of the Gemfile, and a dedicated plugin method makes it easier to get just plugins first and then everything else after.
On Sun, Mar 8, 2015 at 4:32 PM, Jon Moss<EMAIL_ADDRESS>wrote:

Once we have decided, I'm happy to start a PR for this. cc @indirect
Reply to this email directly or view it on GitHub:
https://github.com/bundler/bundler/issues/3463#issuecomment-77782040

I like Option 3. It's more explicit. And it makes bundle install fail on non-supported bundler version.

As for what level plugins are installed, we need both, which is why discoverability is paramount.
For instance, bundle gem should really be a plugin, and that's never going to be a project plugin. That's the plugin that creates them.

For bundle gem, it seems like a bit of a special case. Does it even need to interface with the rest of Bundler? To me, it seems like a completely separate tool, unrelated to the rest of what Bundler does.

You're 100% right, @TimMoore. In fact, it could probably be built today with the executable lookup. But how about bundle pristine or bundle open? Would you want to have those project-wide or user-wide?
(Just trying to cover all angles here)

Good point, @andremedeiros. I think it depends on the type of the plugin:

Sub-commands shouldn't need to be configured at all IMO if they're running as a child process. If you run a sub-command, it should just search your PATH. You could install with gem install or any other mechanism. If you want everyone in the project to use it, it can just be a normal gem dependency.
SCM plugins need to be in the Gemfile. I don't think there's any need to have these installed at the user level. Each Gemfile either uses it or doesn't. I can't think of a reason to use one outside the context of a project.
Post-install hooks I could see going either way, so we might need both user-level and project-level for those. Like if you wanted to have a hook that installs docs or regenerates ctags, that's probably a user-level thing. In other cases, your project might depend on particular hooks running after install, for example if you need to clear a cache or run a code generator.

I was wondering, it is planned to create hooks for existing command?
Like executing something after or before running a bundle package?

It should do that, yes, particularly for the install/update commands.
Sent from my iPhone

On 27 Mar 2015, at 15:11, Pier-Hugues Pellerin<EMAIL_ADDRESS>wrote:
I was wondering, it is planned to create hooks for existing command?
Like executing something after or before running a bundle package?
—
Reply to this email directly or view it on GitHub.

Just as an aside: Given the proposed gem naming scheme of bundler-something, one should probably consider introducing a conventional plugin namespace like Bundler::Plugins::Something the way resque did. Otherwise there is the risk of namespace collisions - especially since bundle gem bundler-something defaults to creating lib/bundler/something.rb.
Maybe there could even be a special --bundler-plugin option for the bundle gem command to make following such conventions easy.

@maclover7 Is this still relevant now that https://github.com/bundler/bundler/pull/3030 is merged?

I'd say we need something more robust than that (although it's a good start). Let's keep this open until https://github.com/bundler/bundler/pull/3807 or something along those lines gets merged.

See also this issue: https://github.com/bundler/bundler-features/issues/8 (it's a bit long)


404 Not Found<EMAIL_ADDRESS>

code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>
Not sure if this repo is down or if the version is incorrect, but it's preventing installation.
Anybody else seeing this issue?

Similar issues have been reported/resolved in the past. Usually without any code changes to ngx-virtual-scroller. Typically it involves adding extra dependencies to the consuming application's package.json file.
Please search the old closed issues to see if you can resolve this on your own. If you're unable to resolve this, please re-open.
Thanks.

I've re-arranged the publish format to prepare for ivy support. In the process I believe I may have fixed the tween issue. Can you re-test with the latest version on npm 2.0.4 ?


LoadDataFixturesCommand - change of logic

Versions 0.6.1 and 0.6.2 now throw this error when trying to run fixtures:
Careful, database will be purged. Do you want to continue y/N ?y
  > purging database

In Connection.php line 1853:

  There is no active transaction

This now evaluates to 2 instead of 1 as it used to (ORMPurger constants):
0.6.0 https://github.com/nettrine/fixtures/blob/56accd28d40e6be410d8ebb147d60c45e257eef7/src/Command/LoadDataFixturesCommand.php#L129-L131
0.6.1 and above
https://github.com/nettrine/fixtures/blob/395476f575f48cd37d66f7856b0804b9534455f8/src/Command/LoadDataFixturesCommand.php#L127-L128
Composer info with relevant package:
doctrine/annotations     1.13.2
doctrine/cache           1.12.1
doctrine/collections     1.6.8
doctrine/common          3.2.2
doctrine/data-fixtures   1.5.2
doctrine/dbal            2.13.7
doctrine/deprecations   v0.5.3
doctrine/event-manager   1.1.1
doctrine/inflector       2.0.4
doctrine/instantiator    1.4.0
doctrine/lexer           1.2.2
doctrine/orm             2.11.1
doctrine/persistence     2.3.0
nettrine/annotations    v0.7.0
nettrine/cache          v0.3.0
nettrine/dbal           v0.7.0
nettrine/fixtures       v0.6.2
nettrine/orm            v0.8.3
symfony/console         v5.4.5

I cant find any significant changes in symfony/console 6.x in regards to InputInterface::getOption() method:

https://github.com/symfony/console/blob/v5.4.5/Input/Input.php#L147-L162
https://github.com/symfony/console/blob/v6.0.5/Input/Input.php#L147-L162

So this looks like a bug :)

It should also be added that this happens with MySQL.

Hi, thanks. What do you suggest?


[SPARK-13431] [SQL] split keywords from ExpressionParser.g

What changes were proposed in this pull request?
This PR pull all the keywords from ExpressionParser.g as KeywordParser.g, because ExpressionParser is too large to compile.
How was the this patch tested?
unit test, maven build

cc @hvanhovell

Haha - that is quick. Have you tried doing a maven build?

@hvanhovell I'm working on that, have not do maven build before, blocked by something, could you also help to try that?

Test build #51801 has started for PR 11331 at commit 4d14a06.

@davies, put [test-maven] into your PR title and the pull request builder will run it through Maven.

@davies I just tried this locally and unfortunately I still get the code too large error. The maven command I have used: build/mvn -Phadoop-2.6 -Dhadoop.version=2.6.0  clean package -DskipTests

Test build #2569 has started for PR 11331 at commit 4d14a06.

Test build #2569 has finished for PR 11331 at commit 4d14a06.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Test build #51801 has finished for PR 11331 at commit 4d14a06.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51801/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51813/
Test FAILed.

Test build #2575 has started for PR 11331 at commit 69a0091.

@hvanhovell After move more stuff, this passed the build with maven. Could you double check that?

@davies , cool, i build with maven successfully according to this pr,  The maven command I have used:
mvn clean package -DskipTests -Pscala-2.11 -Phadoop-2.6 -Phive -Phive-thriftserver -Pyarn -Dyarn.version=2.6.0-cdh5.4.7 -Dhadoop.version=2.6.0-cdh5.4.7

Test build #2575 has finished for PR 11331 at commit 69a0091.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #2576 has started for PR 11331 at commit 69a0091.

Test build #2576 has finished for PR 11331 at commit 69a0091.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.


FeedAHelp: Design the registration screens MODAL

Related to #67

The Easy Registration Modal Popup Form will be integrated into the existing application and facilitate user registration. The following functionalities should be supported:

Normal Registration with Email Verification:

Users can register using their email address and a chosen password.
After providing the required information, an email verification process will be initiated to validate the user's email address.

Social Media Registration:

Users can choose to register using their existing social media accounts (e.g., Facebook, Google, Twitter).
The form will facilitate the authentication process with the selected social media platform.

Close Modal: Users should have the option to close the modal without completing the registration process.

Updated design:

This is the design we can close this


Add page break

Might fix the issue

Codecov Report

Merging #257 (94c8a16) into master (87d625e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #257   +/-   ##
=========================================
  Coverage     64.52%   64.52%
  Complexity      651      651
=========================================
  Files           117      117
  Lines          2692     2692
  Branches        277      277
=========================================
  Hits           1737     1737
  Misses          847      847
  Partials        108      108

Continue to review full report at Codecov.

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


Allow Top-N controller to receive an initial list of exclusions

For issue #89
The Top-N controller now accepts a parameter initial_exclusion_list. This is a list of precursor ions to be excluded during Top-N selection. The list can be obtained from e.g. a previous Top-N run.
Had to broaden the RT window when creating an exclusion item, so it could match the precursor ion in the next run https://github.com/sdrogers/vimms/compare/iss_89?expand=1#diff-c6299074495d125a6af6e704ba2434ddR170. Maybe this will help with RT drift too.
To test, please run test_TopN_controller_with_beer_chems_and_initial_exclusion_list

It seems that changing the from_rt in
rt_lower = current_time
rt_upper = current_time + rt_tol
x = ExclusionItem(from_mz=mz_lower, to_mz=mz_upper, from_rt=rt_lower, to_rt=rt_upper)

to
rt_lower = current_time - rt_tol

broke the weight calculation in https://github.com/sdrogers/vimms/blob/iss_89/vimms/Controller/topN.py#L458-L459 (the assert failed).
weight = (rt - (self.exclusion_t_0 + x.from_rt)) / (self.rt_tol - self.exclusion_t_0)
assert weight <= 1, weight

Could you help to look into this? @sdrogers

Whoops - breaks excluding topN controller.
Can we:
Give an excluded item the time it was created as well? And then use that in place of the from time at the point where the excluding topN is failing?

More info: the problem is that the excluding top N needs the time at which the fragmentation happened, which is how things used to be.
Should be easy to fix: if we always store excluded items with a from time of the DEW value, then we can add it to any use of from time in the excluding controller

Fixes #89


Rolldata Display is not sensibly rounded

I've got a monster that does less damage based on it's current HP.
The damage formula is (@attributes.hp.pct/100) * 10d10.
The current HP of the monster in this example is 57 of a 100HP maximum.
The display on the sheet is:

The sheet display should avoid precision errors or intentionally round as some HP values can actually be quite long decimals.
e.g. 10/15 would be a recurring decimal

Seems like a much easier fix on your end, given how division beyond 2 and 4 just doesn't exist in the normal rules. Wrap the @ value in round() then do your division.

Rounding to two decimals would probably save a few minor headaches.


Add playbook to check ceph network connectitvity

Add a playbook to check network connectivity between ceph nodes on public_network and for ceph OSD nodes also on
cluster_network if it differs.
Part of https://github.com/osism/issues/issues/1088

Tested in a testbed deployment


check ETag and set headers for files outside web root

This should address https://github.com/JimBobSquarePants/ImageProcessor/issues/536.

Thanks! Merged this, had to fix a small bug and tweak a little code to ensure all the headers are sent on 304.
Tip of the cap to you sir!

Awesome - thanks James!


Split dataset by timestamp

In PyF, maybe it's a good choice to add split_by_col to split data. Otherwise, need to create split_id by myself.
def _add_split(dt: int) -> int:
    if dt <= 20231220:
        return 0
    elif dt <= 20231231:
        return 1
    else:
        return 2

In your data frame, you can add a new column (let's say you name it as date_split) and then you can pass split_col = "date_split"here.


fix: add workaround for flutter hot reload bug

Fixes #209

I think this workaround actually cleaned up the code's intent so this is probably a good change anyways.


Stop logging event data

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @rajdivya , what was the reasoning behind this? I use EVENT DATA log for various debugging reasons. It was helpful to get insight into how the cloudformation event looked like.


Liquibase lib upgrade to 4.21.1 breaking code base previous working with 4.8.0

Search first

[X] I searched and no similar issues were found

Description
Hi Team,
Recently we had updated the liquibase library from 4.8.0 to 4.21.1 and we are noticing the below issue when we are executing liquibase.update on a single changeset which is present externally
Caused by: liquibase.exception.DatabaseException: Error creating configured table through liquibase, error liquibase.exception.ChangeLogParseException: The file /var/opt/SIU/tracing_data_15.xml was not found in the configured search path:
<lib_path>/commons-text-1.10.0.jar
<lib_path>/derbyclient-<IP_ADDRESS>.jar
<lib_path>/extension-1.0.1-SNAPSHOT-patched.jar
<lib_path>/liquibase-core-4.21.1.jar
<lib_path>/migratedb.jar
<lib_path>/opencsv-5.7.1.jar
<lib_path>/timesten-types-1.0.1-SNAPSHOT-patched.jar
The code is simple liquibase.update below which used to work with earlier version of library
conn = _dataSource.getConnection();
Database database = DatabaseFactory
.getInstance()
.findCorrectDatabaseImplementation(new JdbcConnection(conn));
ResourceAccessor resourceAccessor = new StreamResourceAccessor(Files.readString(path));
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);
liquibase.validate();
liquibase.update("");
could you please help me to proceed?
Steps To Reproduce

In unix place the tracing_data_15.xml in /var/opt/SIU/ dir

place the lib with below code and dependencies in /opt/test directory
conn = _dataSource.getConnection();
Database database = DatabaseFactory
.getInstance()
.findCorrectDatabaseImplementation(new JdbcConnection(conn));
ResourceAccessor resourceAccessor = new StreamResourceAccessor(Files.readString(path));
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);
liquibase.validate();
liquibase.update("");

Running the above jar fails with liquibase 4.21.1 library with below exception
Caused by: liquibase.exception.DatabaseException: Error creating configured table through liquibase, error liquibase.exception.ChangeLogParseException: The file /var/opt/SIU/tracing_data_15.xml was not found in the configured search path:

<lib_path>/commons-text-1.10.0.jar
<lib_path>/derbyclient-<IP_ADDRESS>.jar
<lib_path>/extension-1.0.1-SNAPSHOT-patched.jar
<lib_path>/liquibase-core-4.21.1.jar
<lib_path>/migratedb.jar
<lib_path>/opencsv-5.7.1.jar
<lib_path>/timesten-types-1.0.1-SNAPSHOT-patched.jar
The code is simple liquibase.update below which used to work with earlier version of library

However the code succeeds with liquibase 4.8.0 library.

Expected/Desired Behavior
our product code should work as expected and succeed with liquibase 4.21.1 library
Liquibase Version
4.21.1
Database Vendor & Version
mysql 8.0.23
Liquibase Integration
No response
Liquibase Extensions
liquibase-core
OS and/or Infrastructure Type/Provider
RHEL 8.7
Additional Context
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR (Thank you!)

This may be fixed in 4.22.0 or master. We'll double check

we were able to overcome the above error and our application worked with 4.21.1 lib after implementing getAll method in a our custom accessor. Here is the snippet below which worked
conn = _dataSource.getConnection();
Database database = DatabaseFactory
.getInstance()
.findCorrectDatabaseImplementation(new JdbcConnection(conn));
ResourceAccessor resourceAccessor = new StreamResourceAccessor(Files.readString(path));
resourceAccessor.getAll(tracingFilePath);
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);
liquibase.validate();
liquibase.update("");
now in our custom accessor implementation overide getall mwthod
private class StreamResourceAccessor extends AbstractResourceAccessor {
private String tracingChangeLog;
public StreamResourceAccessor(String traceData) {
super();
this.tracingChangeLog = traceData;
}
**@Override
public List getAll(String absPath) throws IOException {
List resources = new ArrayList<>();
File file = new File(absPath);
if (file.isFile()) {
if(logger.isLoggable(Level.DEBUG4))
logger.logDebug4(String.format("getall adding [%s] to pathresource",file.getAbsolutePath()));
Path path = Path.of(file.getAbsolutePath());
resources.add(new PathResource(file.getAbsolutePath(),path));
}
        if(logger.isLoggable(Level.DEBUG4))
            logger.logDebug4("final resource list : "+resources.size());
        return resources;
    }**

}
After implementing getAll , the custom changeset present in /var/opt/SIU/tracing_data_15.xml gets executed as expected.
Strange but seem to work for the moment

Hello @sachin234s ! There were some changes around Liquibase 4.14 , so I think you can resolve your issue by using SearchPathResourceAccessor instead of .StreamResourceAccessor .  Could you try the following:
SearchPathResourceAccessor resourceAccessor = new SearchPathResourceAccessor(
                new DirectoryResourceAccessor(Paths.get("/").toAbsolutePath().toFile()));
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);

Or to be more restrictive:
tracingFilePath = "tracing_data_15.xml ";
SearchPathResourceAccessor resourceAccessor = new SearchPathResourceAccessor(
                new DirectoryResourceAccessor(Paths.get("/var/opt/SIU/").toAbsolutePath().toFile()));
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);

Or even maybe just new SearchPathResourceAccessor("/")) could work.

Hello @sachin234s ! There were some changes around Liquibase 4.14 , so I think you can resolve your issue by using SearchPathResourceAccessor instead of .StreamResourceAccessor . Could you try the following:
SearchPathResourceAccessor resourceAccessor = new SearchPathResourceAccessor(
                new DirectoryResourceAccessor(Paths.get("/").toAbsolutePath().toFile()));
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);

Or to be more restrictive:
tracingFilePath = "tracing_data_15.xml ";
SearchPathResourceAccessor resourceAccessor = new SearchPathResourceAccessor(
                new DirectoryResourceAccessor(Paths.get("/var/opt/SIU/").toAbsolutePath().toFile()));
liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);

Or even maybe just new SearchPathResourceAccessor("/")) could work.

the suggested code snippet does seem to work and program succeeds, however getting the same exception when rollback is executed
For eG:
String tracingFilePath = "tracing_data_15.xml";
            SearchPathResourceAccessor resourceAccessor = new SearchPathResourceAccessor(
                    new DirectoryResourceAccessor(Paths.get("C:\\SIU_1011_RC3\\var\\").toAbsolutePath().toFile()));
            Liquibase liquibase = new Liquibase(tracingFilePath, resourceAccessor, database);
            liquibase.validate();
            liquibase.rollback("tracing_data_15_create", "");

when executed throws exception as below
Jun 20, 2023 3:31:28 PM liquibase
INFO: Parsed changelog file 'tracing_data_15.xml'
Jun 20, 2023 3:31:28 PM liquibase.changelog
INFO: Reading from siu20.DATABASECHANGELOG
Jun 20, 2023 3:31:29 PM liquibase.lockservice
INFO: Successfully acquired change log lock
Jun 20, 2023 3:31:29 PM liquibase.lockservice
INFO: Successfully released change log lock
Jun 20, 2023 3:31:29 PM liquibase.command
INFO: Command execution complete
Error updating database: liquibase.exception.ChangeLogParseException: The file tracing_data_15.xml was not found in the configured search path:
More locations can be added with the 'searchPath' parameter.
liquibase.exception.CommandExecutionException: liquibase.exception.ChangeLogParseException: The file tracing_data_15.xml was not found in the configured search path:
More locations can be added with the 'searchPath' parameter.
at liquibase.command.CommandScope.execute(CommandScope.java:235)
at liquibase.Liquibase.rollback(Liquibase.java:734)
at liquibase.Liquibase.rollback(Liquibase.java:717)
at liquibase.Liquibase.rollback(Liquibase.java:712)
at liquibase.Liquibase.rollback(Liquibase.java:696)
at TestProg3.main(TestProg3.java:44)
Caused by: liquibase.exception.ChangeLogParseException: The file tracing_data_15.xml was not found in the configured search path:
More locations can be added with the 'searchPath' parameter.
at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:114)
at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:15)
at liquibase.command.core.helpers.DatabaseChangelogCommandStep.getDatabaseChangeLog(DatabaseChangelogCommandStep.java:100)
at liquibase.command.core.helpers.DatabaseChangelogCommandStep.run(DatabaseChangelogCommandStep.java:77)
at liquibase.command.CommandScope.execute(CommandScope.java:212)
... 5 more
could you please help

Thanks ! I just posted on https://github.com/liquibase/liquibase/issues/4406 and I'll close this one so we can follow up there.


Error in restarting geolocator service in background

💬 Questions and Help
For questions or help we recommend checking:
i have use plugin in getting GPS data in background. i have tried disabling the Location service and turning it back on to check if it works. After disabling location services, the log message is as follows:
E/FlutterGeolocator( 8931): Geolocator position updates stopped
D/FlutterGeolocator( 8931): Stopping location service.
D/FlutterGeolocator( 8931): Stop service in foreground.
E/FlutterGeolocator( 8931): Geolocator position updates started using Android foreground service
D/FlutterGeolocator( 8931): Start service in foreground mode.

then i re-enable location service and try to restart geolocator's location service but throw error:
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at com.baseflow.geolocator.GeolocatorLocationService.enableBackgroundMode(GeolocatorLocationService.java:148)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at com.baseflow.geolocator.StreamHandlerImpl.onListen(StreamHandlerImpl.java:130)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onListen(EventChannel.java:218)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:197)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at android.os.Handler.handleCallback(Handler.java:942)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at android.os.Looper.loopOnce(Looper.java:201)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at android.os.Looper.loop(Looper.java:288)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at android.app.ActivityThread.main(ActivityThread.java:7898)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at java.lang.reflect.Method.invoke(Native Method)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/EventChannel#flutter.baseflow.com/geolocator_updates_android( 8931): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

════════ Exception caught by services library ══════════════════════════════════
The following PlatformException was thrown while activating platform stream on channel flutter.baseflow.com/geolocator_updates_android:
PlatformException(error, Service.startForeground() not allowed due to mAllowStartForeground false: service com.example.location_shop/com.baseflow.geolocator.GeolocatorLocationService, null, null)

When the exception was thrown, this was the stack
#0      StandardMethodCodec.decodeEnvelope
package:flutter/…/services/message_codecs.dart:653
#1      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:296
<asynchronous suspension>
#2      EventChannel.receiveBroadcastStream.<anonymous closure>
package:flutter/…/services/platform_channel.dart:637
<asynchronous suspension>
════════════════════════════════════════════════════════════════════════════════

Look forward to the help. thank

Hi @huynhphucloi, thank you for opening this issue!
To effectively tackle this issue, we require some additional information. Could you provide us with a minimal code example that showcases your use case? Also, am I correct in assuming that this issue is only relevant on Android devices?


importScripts not working

If i use importScripts in my code i am getting this error
error { target: Worker, isTrusted: true, message: ": NS_ERROR_FAILURE: ", filename: "blob:http://localhost:3001/47ef41ed-795d-9e43-9521-b41ca6e9d42d", lineno: 19, colno: 0, eventPhase: 0, bubbles: false, cancelable: true, defaultPrevented: false, timeStamp:<PHONE_NUMBER>525598 }

I want to use [http://pdfmake.org/#/] in my code
here is my code
var onRendered = function () {
                if ('function' === typeof importScripts) {
                    var document = {'createElementNS': function () {
                            return {};
                        }};
                    var window = this;
                    importScripts('pdfmake.js', 'vfs_fonts.js');
                    var ddd = {
                        content: [
                            'First paragraph',
                            'Another paragraph, this time a little bit longer to make sure, this line will be divided into at least two lines'
                        ]
                    };
                    pdfMake.createPdf(ddd).getBase64(function (base64) {
                        postMessage({action: 'gen_pdf', base64: base64});
                    });
                }
            };
            var myWorker = Webworker.create(onRendered, {async: true});
            myWorker.run().then(function (result) {
                alert("Answer: " + result);
            }, function (event) {
                console.log(event);
            }, function (progress) {
                // promise has a notification
                console.log(progress);
            });

Whats wrong with my code

'pdfmake.js' and 'vfs_fonts.js' don't exist in a dynamic web-worker context. If you load your web worker from a file, then it will know its location, but a dynamic function style web-worker (which is the main point of this library) doesn't have a location. It is a dynamic blob. This is also why IE treats dynamic functions as cross-domain (https://github.com/mattslocum/ng-webworker#ie-workarounds). If you use the IE-workaround, then I'd expect your import to resolve.
I'd recommend passing in the fully qualified domain name as an agreement to your function or use the IE-workaround style.

Any example of doing this?

The bottom example on this page: http://mattslocum.github.io/ng-webworker/demo/