Crash when compiling flutter_tools.dart at character offset null: Unsupported operation: Cannot extract a non-Windows file path from a file URI with an authority

Steps to Reproduce

I was previously running the flutter version 1.17.5 without problems
I Ran the flutter upgrade to get the new stable version.
And I got the following error log,

Logs

    ~/Workspace/FlutterProjects/flutter-sdk/flutter    master                                                16:45:36 
❯ flutter channel master
Building flutter tool...

Crash when compiling file://users/tiagoantunes/Workspace/FlutterProjects/flutter-sdk/flutter/packages/flutter_tools/bin/flutter_tools.dart,
at character offset null:
Unsupported operation: Cannot extract a non-Windows file path from a file URI with an authority
#0      _Uri._toFilePath (dart:core/uri.dart:2725:7)
#1      _Uri.toFilePath (dart:core/uri.dart:2720:65)
#2      _IoFileSystemEntity.exists (package:front_end/src/api_prototype/standard_file_system.dart:55:51)
#3      HybridFileSystemEntity.exists (package:front_end/src/fasta/hybrid_file_system.dart:51:51)
<asynchronous suspension>
#4      ProcessedOptions._readFile (package:front_end/src/base/processed_options.dart:506:47)
#5      ProcessedOptions._createPackagesFromFile (package:front_end/src/base/processed_options.dart:531:32)
#6      ProcessedOptions.createPackagesFromFile (package:front_end/src/base/processed_options.dart:596:17)
#7      ProcessedOptions._getPackages (package:front_end/src/base/processed_options.dart:472:32)
#8      ProcessedOptions.getUriTranslator (package:front_end/src/base/processed_options.dart:426:38)
<asynchronous suspension>
#9      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:74:49)
#10     withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
#11     generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:73:10)
#12     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:53:18)
#13     CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:135:20)
<asynchronous suspension>
#14     CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart)
#15     CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:123:46)
#16     new Future.sync (dart:async/future.dart:223:31)
#17     CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:123:19)
#18     _rootRun (dart:async/zone.dart:1190:13)
#19     _CustomZone.run (dart:async/zone.dart:1093:19)
#20     _runZoned (dart:async/zone.dart:1630:10)
#21     runZoned (dart:async/zone.dart:1550:10)
#22     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:122:12)
#23     CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:133:10)
#24     generateKernel (package:front_end/src/kernel_generator_impl.dart:52:32)
#25     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:99:17)
#26     SingleShotCompilerWrapper.compileInternal (file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/vm/bin/kernel_service.dart:441:17)
#27     Compiler.compile.<anonymous closure> (file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/vm/bin/kernel_service.dart:208:45)
#28     new Future.<anonymous closure> (dart:async/future.dart:175:37)
#29     _rootRun (dart:async/zone.dart:1182:47)
#30     _CustomZone.run (dart:async/zone.dart:1093:19)
#31     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#32     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#33     _rootRun (dart:async/zone.dart:1190:13)
#34     _CustomZone.run (dart:async/zone.dart:1093:19)
#35     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1021:23)
#36     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#37     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:397:19)
#38     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:428:5)
#39     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

#0      _Uri._toFilePath (dart:core/uri.dart:2725:7)
#1      _Uri.toFilePath (dart:core/uri.dart:2720:65)
#2      _IoFileSystemEntity.exists (package:front_end/src/api_prototype/standard_file_system.dart:55:51)
#3      HybridFileSystemEntity.exists (package:front_end/src/fasta/hybrid_file_system.dart:51:51)
<asynchronous suspension>
#4      ProcessedOptions._readFile (package:front_end/src/base/processed_options.dart:506:47)
#5      ProcessedOptions._createPackagesFromFile (package:front_end/src/base/processed_options.dart:531:32)
#6      ProcessedOptions.createPackagesFromFile (package:front_end/src/base/processed_options.dart:596:17)
#7      ProcessedOptions._getPackages (package:front_end/src/base/processed_options.dart:472:32)
#8      ProcessedOptions.getUriTranslator (package:front_end/src/base/processed_options.dart:426:38)
<asynchronous suspension>
#9      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:74:49)
#10     withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
#11     generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:73:10)
#12     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:53:18)
#13     CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:135:20)
<asynchronous suspension>
#14     CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart)
#15     CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:123:46)
#16     new Future.sync (dart:async/future.dart:223:31)
#17     CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:123:19)
#18     _rootRun (dart:async/zone.dart:1190:13)
#19     _CustomZone.run (dart:async/zone.dart:1093:19)
#20     _runZoned (dart:async/zone.dart:1630:10)
#21     runZoned (dart:async/zone.dart:1550:10)
#22     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:122:12)
#23     CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:133:10)
#24     generateKernel (package:front_end/src/kernel_generator_impl.dart:52:32)
#25     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:99:17)
#26     SingleShotCompilerWrapper.compileInternal (file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/vm/bin/kernel_service.dart:441:17)
#27     Compiler.compile.<anonymous closure> (file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/vm/bin/kernel_service.dart:208:45)
#28     new Future.<anonymous closure> (dart:async/future.dart:175:37)
#29     _rootRun (dart:async/zone.dart:1182:47)
#30     _CustomZone.run (dart:async/zone.dart:1093:19)
#31     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#32     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#33     _rootRun (dart:async/zone.dart:1190:13)
#34     _CustomZone.run (dart:async/zone.dart:1093:19)
#35     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1021:23)
#36     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#37     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:397:19)
#38     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:428:5)
#39     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

Hi @tiagoantunes
Just tired to upgrade from 1.17.5 to 1.20.1
[✓] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
    • Flutter version 1.17.5 at C:\Code\flutter_play
    • Framework revision 8af6b2f038 (6 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4
                                                                                [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)                                            • Android SDK at C:\Code\sdk                                                                                • Platform android-30, build-tools 30.0.1                                                                               • ANDROID_HOME = C:\Code\sdk                                                                                • Java binary at: C:\Code\android-studio\jre\bin\java                                                                   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)                                           • All Android licenses accepted.
[✓] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.47.3)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2
[!] Connected device
    ! No devices available
! Doctor found issues in 1 category.

pgrading Flutter from C:\Code\flutter_play...
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine c8e3b9485386425213e2973126d6f57e7ed83c54...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
Upgrading engine...
Downloading Android Maven dependencies...                          12.8s
Downloading android-arm-profile/windows-x64 tools...                0.9s
Downloading android-arm-release/windows-x64 tools...                0.4s
Downloading android-arm64-profile/windows-x64 tools...              0.6s
Downloading android-arm64-release/windows-x64 tools...              0.5s
Downloading android-x64-profile/windows-x64 tools...                0.5s
Downloading android-x64-release/windows-x64 tools...                0.6s
Downloading android-x86 tools...                                    2.6s
Downloading android-x64 tools...                                    3.5s
Downloading android-arm tools...                                    1.7s
Downloading android-arm-profile tools...                            0.9s
Downloading android-arm-release tools...                            0.7s
Downloading android-arm64 tools...                                  1.6s
Downloading android-arm64-profile tools...                          0.7s
Downloading android-arm64-release tools...                          0.9s
Downloading android-x64-profile tools...                            0.7s
Downloading android-x64-release tools...                            0.6s
Downloading android-x86-jit-release tools...                        0.9s
Downloading package sky_engine...                                   0.7s
Downloading flutter_patched_sdk tools...                            1.9s
Downloading flutter_patched_sdk_product tools...                    1.8s
Downloading windows-x64 tools...                                    3.3s
Downloading windows-x64/font-subset tools...                        0.9s
Flutter 1.20.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2ae34518b8 (7 days ago) • 2020-08-05 19:53:19 -0700
Engine • revision c8e3b94853
Tools • Dart 2.9.0
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.47.3)
[!] Connected device
    ! No devices available
! Doctor found issues in 1 category.
  ╔════════════════════════════════════════════════════════════════════════════╗
  ║                 Welcome to Flutter! - https://flutter.dev                  ║
  ║                                                                            ║
  ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
  ║ statistics and basic crash reports. This data is used to help improve      ║
  ║ Flutter tools over time.                                                   ║
  ║                                                                            ║
  ║ Flutter tool analytics are not sent on the very first run. To disable      ║
  ║ reporting, type 'flutter config --no-analytics'. To display the current    ║
  ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ║
  ║ event will be sent, and then no further information will be sent by the    ║
  ║ Flutter tool.                                                              ║
  ║                                                                            ║
  ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║
  ║ Note: The Google Privacy Policy describes how data is handled in this      ║
  ║ service.                                                                   ║
  ║                                                                            ║
  ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║
  ║ crash reports to Google.                                                   ║
  ║                                                                            ║
  ║ Read about data we send with crash reports:                                ║
  ║ https://flutter.dev/docs/reference/crash-reporting                         ║
  ║                                                                            ║
  ║ See Google's privacy policy:                                               ║
  ║ https://policies.google.com/privacy                                        ║
  ╚════════════════════════════════════════════════════════════════════════════╝
PS C:\Users\Taha>

[✓] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
    • Flutter version 1.20.1 at C:\Code\flutter_play
    • Framework revision 2ae34518b8 (7 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.
[✓] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.47.3)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2
[!] Connected device
    ! No devices available
! Doctor found issues in 1 category.

Could it be because of this weird path Workspace/FlutterProjects/flutter-sdk/flutter    master    from your logs?

I’m unable to reproduce the issue to pinpoint the cause. The issue needs further investigation.

URI parsing didn't like file://users/tiagoantunes/Workspace/FlutterProjects/flutter-sdk/flutter/packages/flutter_tools/bin/flutter_tools.dart?

@jmagman If helps, I share my work path of the corresponding file.

/cc @johnniwinther

We probably need to add some code that catches this error and prints more diagnostics to help us track down what's happening. Maybe there's some non-ASCII character in the path or maybe it's a different path we're trying to parse or something?

@Hixie I've created https://dart-review.googlesource.com/c/sdk/+/160281 to help with this in the future.
For this error case, the error occurs when trying to determine whether the package config file is a directory. The package, either provided directly or pulled from Platform.packageConfig, ends with /.packages and we try to determine whether /.dart_tool/package_config.json exists. So if the given package config argument is scheme://authority/foo/bar/.packages we are trying to read scheme://authority/foo/bar/.dart_tool/package_config.json, and it's the authority part (like localhost:8080) that it crashes on.
I can reproduce the crash locally (with a bit of hackering since I'm on Windows where the authority part is allowed) by invoking
dart --packages=file://localhost:8080/.packages temp\abc.dart

I don't know who sets the package config for this use case, but from the Dart front-end perspective we are not doing any other processing of the provided Uri than what is described above, and there has been no changes to this part of the front-end lately, so the change in behavior is likely in the tools that call the vm/compiler.

Isn't the issue here a missing forward slash in the local file uri? Instead of file://users/tiagoantunes/... it should say file:///users/tiagoantunes/...
When trying to convert the given uri to a file path it will throw this exception:
main() {
  print(Uri.parse(r'file://foo/bar').toFilePath());  // <-- Should use file:/// instead of file://
}

% dart test.dart
Unhandled exception:
Unsupported operation: Cannot extract a non-Windows file path from a file URI with an authority
#0      _SimpleUri._toFilePath (dart:core/uri.dart:4724:7)
#1      _SimpleUri.toFilePath (dart:core/uri.dart:4718:54)
#2      main (file:///.../test.dart:2:38)

Hi, I had the same problem on Ubuntu LTS 20.04.1
interesting though, when you run which flutter dart command the result came with an extra forward slash like this
//path-to-flutter-sdk/bin/flutter
//path-to-flutter-sdk/bin/dart

it should be
/path-to-flutter-sdk/bin/flutter
/path-to-flutter-sdk/bin/dart

i used zsh to add flutter tools to PATH ... and i solved it by switching back to bash  added flutter tools again to PATH then run source .bashrc

I switched to the master channel of flutter in order to get the macOs building possibility and now I am stuck with this error. is there a temporary fix so that I can build the flutter tools?

This works for me. Go into flutter_tools folder and run:
../../bin/flutter --version

Resolved the issue by renaming the folder from Uppercase to lowercase name (mine was Flutter)


How to disable Nuxt cache between pages with tRPC?

I have 2 pages (say index.vue and about.vue.. both look like this
<script setup lang="ts">
const { $client } = useNuxtApp()

const hello = await $client.hello.useQuery({ text: 'client' })
</script>

<template>
  <div>{{ hello.data }}</div>
</template>

When I navigate between the 2 pages.. data is loaded fresh the first time, and then cached with further navigations. How do I prevent the page data from getting cached?

Have you tried providing a custom key?
// index.vue
const hello = await $client.hello.useQuery({ text: 'client' })

// about.vue
const hello = await $client.hello.useQuery({ text: 'client' },  {
  queryKey: 'some-other-key'
})

Your stackblitz link fails when installing deps

You may need to refresh the cache manually using refreshNuxtData or clearNuxtData somewhere like brefore routing, 'cause the nuxt-link use client-side route by default and the data was fetched on server-side.
Or you can just use client-side call:
const { data } = await $client.hello.useQuery({ text: 'client' }, { server: false })

Hi Jimmy, thanks for that info. The only issue is that my query is actually being run from a Component.server.vue file (server component), not a client component. I believe refreshNuxtData and clearNuxtData would need to be run from a client component?

You can use refreshNuxtData and clearNuxtData at the page component which include the server component. Now the page component should not be a server component yet, not like nextjs's app folder. Something like:
onBeforeRouteLeave(() => {
  clearNuxtData()
})

Appreciate you answering this @Jimmyzm


Definition of "sensitive documents"?

Under "How It Works" -> "Block on download" it is mentioned that this functionality can block download of sensitive documents.  What are considered sensitive documents?  Is that all documents, only documents identified by Security and Compliance Center / Cloud App Security, or something else?  Appreciate any clarity you can provide.

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

ID: 87824868-8913-dac8-b8c0-365ccf8110c4
Version Independent ID: ce8dd4b6-0562-8f42-e30f-e5cb58a68b90
Content: Protect with Microsoft Cloud App Security Conditional Access App Control
Content Source: CloudAppSecurityDocs/proxy-intro-aad.md
Service: cloud-app-security
GitHub Login: @rkarlin
Microsoft Alias: rkarlin

Hi @BrianTJackett , thanks for reaching out! The idea is that sensitive can be any files you deem to be sensitive. It could be files labeled in Azure Information Protection or files with specific regex matches, anything you want to set to be blocked on download. Does that help?

#please-close @msmbaldwin

That helps, thanks.


App Development for Milestone 2

3. Interactive Dash app in Python and Altair
rubric={accuracy:10, quality:5, viz:15}

Implement the dashboard you outlined in your proposal.
Keep your usage scenario and target audience in mind when designing your interface.
Aim to implement most of your dashboard's functionality, but not everything.

Since the complexity varies between proposals,
the rough goal here is to have around 3 plots
and most of their widgets
and interactivity implemented
The app should be clearly usable,
so focus on the most important things first.
In the upcoming milestones you will have time to improve your app
based on your proposal and the feedback you have received.
The TAs will give you feedback on how to adjust the overall complexity
of your final app for milestone 3 and 4 (if needed). For this milestone,
use the above directions.

Your interface should be as self-documenting as possible,
with appropriate labels for panes and widgets,
legends documenting the meaning of visual encodings,
and a meaningful title for the app.
Note that TAs will be grading your app on Heroku in a full-screen window

I have updated the application script as per pull request:
Cleaned up layout for plots, added y histogram #16
Let me know if anyone needs any help implementing their widgets or runs into any bugs!

I have updated the application script as per pull request:
Cleaned up layout for plots, added y histogram #16
Let me know if anyone needs any help implementing their widgets or runs into any bugs!

We created a new app.py script to create our new version of dashboard and successfully deployed on Heroku.

We created a new app.py script to create our new version of dashboard and successfully deployed on Heroku.


[AutoPR compute/resource-manager] Revert AccessUri description to make it correspond to server response

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3433

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2165


[Fixed issue #975] Improved the 'Add Blank' button of 'Cloze Text' exercise

Fixes: #975
For this, I added margin class in the button div.
Earliar:

Now:

It's hard to review your PR.
I suggest that you send the PR in the original repo here.

Okay, Thanks @llaske I will do that.


Want To Add Password Seen Property

in login page there is no button to view password .
how the user see there password whether it is correct or not.

@PREM-A261 Please  assign me to resolve this issue

@PREM-A261 Assigned the issue to you. Good luck.

@GVishnudhasan  plz assign me this issue

@GVishnudhasan Could you please assign me this work?


Golang Mod Analyzer: Reason for using go mod edit -json

Hey folks!
Is there a particular reason why go mod edit -json is used instead of go list -json -m all?
I wrote down my idea to explain the question in a lot more detail:
What is the actual behaviour?
The dependency-check just analyzes direct modules. That's because go mod edit -json is used which returns a list of required modules provided in the go.mod file.
What is expected?
The dependency-check should analyze indirect modules, too. That can be achieved by using the go list -json -m all command instead. It returns all modules and dependencies that are needed for that project, so indirect modules, too.
Why is this important?
Modules can simply require other modules, so they are nested. The dependency-check may miss vulnerabilities in indirect modules while analyzing only the direct modules.

Pretty much everything except Java support has been contributed by the community. Thanks for the suggestion - we will look into implementing this change soon - although we do accept PRs.

Was wondering the same. @jeremylong is there any potential date for this enhancement?

This will be included in the next release.


Validate user uploaded SSH public keys

It would be nice to do as much validation of the SSH public key that users upload as possible. There is a good description of the format the the base64 encoded portion here https://www.thedigitalcatonline.com/blog/2018/04/25/rsa-keys/ under the The OpenSSH public key format section. The very short version is the first 4 bytes represent the length of the next chunk. The 2nd chunk is ssh- and the algorithm.   That just leaves us with some base64 encoded stuff.  Then we do a simple Convert.FromBase64String(sshkey); to grab the bytes and do some checking.  I think the simplest would be to just check that bytes[4] through bytes[7] are 73 73 68 2d.  which i think you can most easily compare if you use their int conversions of 115 115 104 45 but don't quote me on the exact values.
We'd basically want this done as an extra check method in the ssh service, and then in the react component when creating an account you'd want to check this, either immediately after pasting it in or at least before the new account is created, give a good error message if it fails, etc.

I'd like to add functionality to this. Mainly support for ssh key algos other than rsa. Mostly an edge case here but I wouldn't be able to use hippo to update MY key because I use ed25519 or ecdsa

Addressed by PR #252


Fix typo in website / docs

Change incorrect usage of "it's" to the grammatically correct "its"

I did actually sign the CLA. I just did a few seconds ago, maybe I jumped the gun with this.


Update cloudwatch, dynamodb, kinesis, s3, sns, ... to 2.25.50

About this PR
📦 Updates

software.amazon.awssdk:cloudwatch
software.amazon.awssdk:dynamodb
software.amazon.awssdk:kinesis
software.amazon.awssdk:s3
software.amazon.awssdk:sns
software.amazon.awssdk:sqs

from 2.25.45 to 2.25.50
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

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

Superseded by #1199.


Support EIP-2539 and EIP-3026

Description
This PR implements EIP-2039 which defines BLS12-377 elliptic curve operations, and EIP-3026 which defines BW6-761 elliptic curve operations as precompiles.
Background
The ALC (accountable light client) design is based on the paper published by the Web3 Foundation. It presents an efficient method for utilizing SNARK to verify the aggregated public key of signers, while still holding those signers accountable. This approach greatly improves the speed and cost-effectiveness of proof generation.
To facilitate ALC from PoC to production ready. We implement EIP-2539 and EIP-3026 for substrate chains to verify apk-proof  which is necessary for ALC.
This PR is also the important part of this grant.
Other changes

Support precompile failure test vectors.
Update broken shell.nix.

Tests
Test vectors are generated with https://github.com/hujw77/eip-test-gen.
TODO in next PR

[ ] EIP-3026 gas table is not decided yet.
[ ] Use host function after the PR.

@sorpaas Please take a reivew. See the grant for more information.


Element queries!

I would love to see some element queries to make the interface components even more flexible. For example, if the parent container is less than 200px wide, then make the grid one column instead of two.

Rad!! I'll see what it takes to seamlessly integrate this:
http://marcj.github.io/css-element-queries/

Looks like there's also this:
https://github.com/marcj/css-element-queries

@MichaelArestad It looks like these libraries work quite differently (the 2 links I shared above).
Is there a particular solution you had in mind?
Also! Do you know how it's currently being used in Gutenberg? (I think it's there... At least, I remember reading about it)

I believe @jasmussen did some work with element queries in Gutenberg late last year:
https://github.com/WordPress/gutenberg/pull/18745

The Placeholder component in the block editor uses a JS resize observer to provide element queries. It's working well, and provides the feature in a compatible way today, which might work well here.
The polyfill I tried did not play well with react, as it relied on setting classnames that were quickly sanitized away by the system.

Oooo... I see. It was a ad-hoc implementation, rather than something with CSS compiling.
It would be nice to have a... it just works. Kind of workflow :)
https://github.com/marcj/css-element-queries
Seems to be the most promising solution.
Ultimately, it works with (and uses) valid CSS:
.widget-name[min-width~="400px"] h2 {
    font-size: 18px;
}

It's just the DOM target binding bit that's the tricky part. 🤔

Note to self: (Apologies in advance, the following may not make sense...)

Create some sort of useEQ() hook + matching context pair
Ref the HTMLElement for responsiveness to that context
Consumer of the hook can write CSS-in-JS, which gets parsed + init() (via EQ library) with useEQ() hook


⚠ Mobitopup has degraded performance

In f9ca3b3, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 11230 ms

Resolved: Mobitopup performance has improved in d3fbb65.


Problem with alignment targets

Hi,
It seems that InteractiveHtmlBom is not able to process the file if alignment targets are placed on the Edge.Cuts layer:
c:\Program Files\KiCad\lib\python2.7\site-packages\wx-3.0-msw/wx/_core.py:16633:
 UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
Loading c:\Program Files\KiCad\share\kicad\demos\sonde xilinx\test.kicad_pcb
Unsupported drawing class  PCB_TARGET
Unsupported drawing class  PCB_TARGET
Unsupported drawing class  PCB_TARGET
Dumping pcb json data

If the targets are removed, it works fine.

It should just skip unsupported things. Are you sure bom was not generayed? Also you either didnt copy full log or you are using old version, please update to latest.

Also it could be that you are trying to generate bom in program files which needs elevated priveleges. Try copying board file to normal directory.

Bug confirmed, fix coming shortly.


fixAdd bounds checking when reading wal file on group commit

Proposed changes
read wal file need a bound checking
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


How to test APIs with a CSRF Protected system?

Hi,
I've tested my system with restler-fuzzer,
however, the test result comes with much http status code 400.
All of the 400 are due to "CSRF token is missing".

Is there any method to test a system which has CSRF Protect?
Thanks.

Hello @rreexxllii0310,
For any construct that is not included in the OpenAPI spec, you will need to inject it by specifying it manually in the dictionary (and possibly also via custom_value_generators, depending on your requirement - see SettingsFile.md for details).
The exact answer to your question depends on the format in which your API expects this token.  For example, if it is in a header, adding the following to your dictionary will inject the below header for every request.
   "headerName": ["headerValue1", "headerValue2"]
}

It gets a bit cumbersome if you only need the header to be injected into some of the requests.  This can be done with per resource settings (see SettingsFile.md).
Can you share more details about the specific CSRF protection implementation of your API?
Thanks,
Marina

Hello @marina-p ,
Thank you for applying.
The System is using from flask_wtf.csrf import CSRFProtect, and use it with CSRFProtect(app).
The fontend of the System requests the backend API by adding
headers: {
      "X-CSRFToken": csrf_token,
},

The csrf_token is from jinja2 template engine:
<script>
    var csrf_token = "{{ csrf_token() }}";
</script>

However, I don't know how to get the csrf_token with python script or RESTler to inject the headers in dictionary, is there any suggestion?
thank you!
Rex Lin

Hi @rreexxllii0310,
I'm not a contributor of the project but thought I'd share my thoughts anyway.
Please correct me if I'm wrong, but from what I can tell there is no way to make RESTler fetch access tokens for every request (i.e., run your script that would provide the same access token with different CSRF tokens).
Setting up a different build pipeline that disables the CSRF protection entirely via the WTF_CSRF_ENABLED option seems like an easy solution if you feel comfortable with making the assumption that the Flask-WTF library is safe.
Best regards,
Robert

@rpbwp Thanks for replying!


Missing step in README to run quickinput-sample.

Following the instructions in the README for quickinput-samples produces an error when running "Quick Input Samples" in the extension. The solution seems to be running npm run compile in between the npm install and Run Extension target in the debugger.
This is just a minor documentation issue and I am submitted a PR shortly.

#281


rethink-sans: init at 0-unstable-20231011

Description of changes
Rethink Sans is a variable open-source font, self-described to be "built on the shoulders of DM Sans and Poppins," licensed under the OFL Open Font License.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4714

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4802

Bad commit to try and test against, try again ofborg
@ofborg eval

@ofborg eval


WIP: Use treesitter functionality from @cucumber/language-service

As of @cucumber/language-service v0.6.0, expressions can now be extracted from source code with the help of tree-sitter. TODO:

[ ] Build expressions and index from all source files in the workspace on startup
[ ] Incrementally update expressions and index whenever a source file changes

Superseded by #16


Build(deps-dev): Bump @types/file-saver from 2.0.4 to 2.0.5 (#2355)

Pull request opened by the merge tool on behalf of #2355

Merged in d1e05f0de9e55a12edd876f1dcc4a4d8b989fde0


Corrected malfunctioning _.extend

Fix for https://github.com/meteor-velocity/velocity-examples/issues/40

This will change process.env. That's what I wanted to prevent. I will use _.defaults. That is what I should have used.

Fixed via https://github.com/Sanjo/meteor-karma/commit/5f003339fd689a532c6ba2432a72b603664ef51e


representation transparency/opacity

As I found, there is no way to set opacity/transparency for the representation, while it  is important when you make visible two or more representations in the same time, especially for the surfaces and sometimes for cartoon. As an example, there's my scene made with NGL:

Its still WIP, but I think concept is clear - my goal is to show displacements of sidechains after some modification while user should keep in mind structure's cartoon
The same is about surfaces, sometimes you need see surface and cartoon together which is easier when surface is partially transparent

Hi, we have merged an initial support for this. You can use it if you download the code from github now, but the release itself will come later.

@dsehnal, Thank you! This is great news!


Bundle vendor dependencies

Include all vendor dependencies to avoid fetching in the build process.

Is there a reason we need to vendor everything?

It avoids having to build/run govendor in CI / building omnibus. Fetching dependencies every build is prone to breakage.


AutoLink support for labels with spaces

Some labels may have spaces, so including them causes the hook not to fire.
Today we use the +/- syntax to include a label (e.g. "+debt"), which cannot be used with labels containing spaces (e.g. "+technical debt"). Including the syntax causes the regular expression to fail (looking for EOL after label).
Suggest a mechanism to group the label text to allow for spaces (e.g. "+(technical debt)")

How about just optional quotes?
On Mon, Sep 28, 2015 at 5:32 PM Richard Murillo<EMAIL_ADDRESS>wrote:

Some labels may have spaces, so including them causes the hook not to fire.
Today we use the +/- syntax to include a label (e.g. "+debt"), which
cannot be used with labels containing spaces (e.g. "+technical debt").
Including the syntax causes the regular expression to fail (looking for EOL
after label).
Suggest a mechanism to group the label text to allow for spaces (e.g.
"+(technical debt)")
—
Reply to this email directly or view it on GitHub
https://github.com/kzu/OctoHook/issues/7.

@kzu Either way

Happy to merge a PR ;)
On Mon, Sep 28, 2015 at 9:50 PM Richard Murillo<EMAIL_ADDRESS>wrote:

@kzu https://github.com/kzu Either way
—
Reply to this email directly or view it on GitHub
https://github.com/kzu/OctoHook/issues/7#issuecomment-143912988.

:+1: I'll work one up :smile:

:+1:!
On Mon, Sep 28, 2015 at 10:01 PM Richard Murillo<EMAIL_ADDRESS>wrote:

[image: :+1:] I'll work one up [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/kzu/OctoHook/issues/7#issuecomment-143914411.

@kzu #9 has the PR. I've stepped through the code to verify it should behave as expected, but I could not verify since I don't have push access to the sandbox repo.


Optimize hash code computation in hyperlolog_distinct for strings

Summary of the changes / Why this improves CrateDB
First commit also removes the bucketing support from HLL. See
https://github.com/crate/crate/compare/j/hll?expand=1 for individual
commits (might be easier to review)
Second commit adds a 64-bit Murmur 3 variant which is a bit cheaper than
running the 128-bit variant to then throw away the second part.
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Isn't this a breaking change as streaming and hashing changed so running this in a multi version cluster won't work?

Isn't this a breaking change as streaming and hashing changed so running this in a multi version cluster won't work?

The streaming itself didn't change. But yeah different hashes for the same values might be a problem in a mixed cluster.
I'll add some version handling so that the new hash computation is only used if all nodes are on 4.1

@seut I've instead removed the hashing change for now to focus on the BigArray change.


Dialog scene is not fully styled

This is really great lib.
Customize accent color is not applied to dialog scene. I think it should, right?

Thanks! It's a Sampler issue. I think custom pseudo class that changes accent color is added to the main stage root container, so modal stages do not inherit its state.

I think any scene can be registered to the ThemeManager so that It  styles multiple scene as an application may have multiple scenes. And also a public method to style a scene without being registered.

Theme API supposed to be a temporary solution as I expected this PR (https://github.com/openjdk/jfx/pull/511) should be delivered by JFX20. But considering this very long discussion and the last update I suppose it won't be merged this year. As much as I don't like the whole over-engineering around this, I don't want to re-invent the wheel too, because any API I'd publish will obsolete immediately after core API changes.

@mkpaz is right. Theming a JavaFX app is quite cumbersome right now, would be great to have that proposed API
The easiest fix I found while tinkering with the sampler is to activate the pseudo class directly on the Alert pane, fortunately it's easy to retrieve the current color from the ThemeManager
However, there's one thing I'm missing, I'm trying to figure out how are you styling the dialogs. I tried commenting the Application.setUserAgentStylesheet(Objects.requireNonNull(theme.getUserAgentStylesheet())); line in the ThemeManger, but Alerts will still be styled. So, how are you doing it? Alerts/Dialogs/Popups and such are separate Scenes, they do not inherit stylesheets from the main Window, do they?
If this is true then, to style a Scene a solution like the one suggested above would be required, the Theme should be added on any separate Window/Scene. This is not desirable tough as it could be quite heavy on performance
What am I missing?


Replication of results on the OPT-1.3B model for the GLUE dataset

Hi, thanks for the great code. I recently tried to use your open glue_qst script to replicate the test results from the paper on the OPT-1.3B model on GLUE data. I didn't change your program too much, just set the model to OPT-1.3B, but I can't seem to achieve the accuracy results in the paper, the difference is about 10%. Are there any other changes that need to be made to the current code? Thanks a lot! @YouAreSpecialToMe

Hi, sorry for that. We conducted experiments based on this script. Can you maybe try some other hyperparameters since we conducted further experiments and probably modified the script after submitting the paper? Thanks!


Invalid regexp patters should not throw syntax error during parsing

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik<EMAIL_ADDRESS>

Just a small typo: patter_n_s

@zherczeg @ossy-szeged Thanks for the reviews, I've updated the PR.


Missing description of 'awaiting command' status

As noted by Bob Dorr a few years back at :https://blogs.msdn.microsoft.com/bobsql/2017/06/09/sql-server-mysteries-the-case-of-the-suspended-awaiting-command-and-blocked-session/
Not all statuses are documented. Please update the documentation

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

ID: 785e6be1-0c51-7690-1eb6-c4c98c7c1133
Version Independent ID: 79592f3b-ccff-06bd-eed8-08ab1bf74205
Content: sys.dm_exec_requests (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-exec-requests-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

Hi @brettshearer , thanks for bringing this to our attention! @stevestein , would you mind researching this further? Thanks!

@brettshearer - Thank you for bringing up this issue! We opened an internal work item to update this article. To track this in our ticketing system we opened work item 1530308. Since we're now tracking this internally, I'll proceed with closing out this Issue. However, please feel free to contact us if you have any additional information. Thanks again!


Fixed packages are only bumped up major version regardless of changeset specified version type

Problem
I hava two packages<EMAIL_ADDRESS>and<EMAIL_ADDRESS>that a is depend on b.
and my config.json looks like below
{
  "$schema": "https://unpkg.com/<EMAIL_ADDRESS>  "commit": false,
  "fixed": [["a", "b"]],
  "access": "restricted",
  "baseBranch": "main",
  "updateInternalDependencies": "patch",
}

In this condition, If I made a change on package a and made changeset to bumb up minor version.
After that, I ran changeset version to bump up packages version.
I expected the pacakge's versions were bumped up as v1.1.0 each. But they were turned into v2.0.0.
What is problem?

Please share a runnable repro case. It's hard to tell what is wrong in your case. Perhaps some of your packages are used as peer dependencies?

You can change the behavior around this using this flag in the config:
  "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
    "onlyUpdatePeerDependentsWhenOutOfRange": true
  }

You can change the behavior around this using this flag in the config:

Note that seems like it is not working in 2.25.0


Workspace trust - update issue reporter

[ ] Include workspace trust state when filing an issue through the Issue reporter
[ ] Update the GitHub bug template so that the user tries to reproduce the issue in a trusted workspace

//cc @sbatten

I believe we should not allow a user to file an issue in restricted mode and explicitly ask to retry in a trusted workspace.

But what if they're trying to report an issue with restricted mode? Guide them to file it on GitHub directly?

Guide the user into how to trust the workspace maybe?

I guess what I'm trying to say is, what if they wanna open an issue about untrusted workspaces? And what about the extension issue filing? What if they wanna open an issue saying "your extension executes something out of the workspace in an untrusted workspace"?

Yeah good point. I think my point is just this: once we enable workspace trust there is a high likely hood that we get issues from users that now see functionality not working as before. If on the way of reporting an issue we can make that clear to the user and then maybe avoid having the user filing an issue that would be ideal.
Imho worse would be to just have a boolean somewhere in the meta portion of the issue saying that the workspace is not trusted because then we still get a flood of issues coming in that we could have prevented.

Yeah I totally agree. How about this:

We disable filing an issue on VS Code if in an untrusted workspace
For extensions, we add a warning either above the submit button, or a model after clicking the submit button that says "Your workspace is untrusted so you're already experiencing limited functionality." (need better words)
We add another section in the drop down for "Workspace Trust" to just be about workspace trust?

Or we can add the warning everywhere... I can see folks opening issues on the "marketplace" because their extension they just installed "isn't loading" because of WT.

For extensions, we know exactly what extension they are filing the issue for and whether or not the extension has limitations in restricted mode. We should be smart and add these kind of checks before alerting or limiting the user.

I have some stuff around Auth I need to fix this iteration but I plan on bringing this up for July as there are a couple things I wanna fix in the issue reporter.


Updated ClusterServiceVersion for Operatorhub release v0.9.1

Signed-off-by: ktenzer<EMAIL_ADDRESS>

Hi! Thanks!
Which command did you run ? I there any missing action in the Makefile ?

No the command just generates a basic csv. You have to add API documentation of CRDs, description, image, lots of stuff. I did this manually. In this case most of it was fine we were just missing API doc of temporalworkerprocess CRD and some other minor changes.

Alright, thanks.
I restart e2e tests due to github rate limit errors and I'll merge asap :)

Awesome, can you check my last message via slack regarding local setup nil
pointers, trying to get dev environment working again and need some help :)
On Wed, Jan 4, 2023 at 9:19 AM Alexandre Vilain @.***>
wrote:

Alright, thanks.
I restart e2e tests due to github rate limit errors and I'll merge asap :)
—
Reply to this email directly, view it on GitHub
https://github.com/alexandrevilain/temporal-operator/pull/231#issuecomment-1371206005,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADK5D6NBFMCVNY5LXQPEZDWQWWL5ANCNFSM6AAAAAATQA3OYU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Linux, Atom >0.188.0, Chrome 21, wrongly detected touchscreen interface

Chrome wrongly detects input devices, so it enables touchscreen interface. This means that:

menu is harder to use, as it doesn't detect mousemove
mouse input is broken, it detects all mouse buttons as button 1
selection is broken, a touchscreen selection tool appears
the same problems happen when I use Chrome internal controls, like dev tools

Bug still happens when I:

rm -rf ~/.atom ~/.config/Atom ~/.cache/Atom
run atom under a new user account
replace virtual machine graphic cards, change input devices
rebuild from scratch (scripts/clean)
try various chrome flags (--touch-events=disabled, --disable-touch-input, ...)

Bug doesn't happen when I:

run atom under a Xephyr X server.

Bug happens on:

master
v0.193.0
v0.194.0
v0.195.0
v0.196.0
v0.197.0
v0.198.0

Bug doesn't happen on:

v0.188.0
previous versions

I assume that the problem is due to upgrading to Chrome 21.

Do you mean Chrome 41?
Also, can this be considered a duplicate of #6306?

Is this on a Virtualbox VM?

I'm going to mark this as a duplicate of #6306.


fix: 🤔 adjust synergy form template

Description
Some fixes for the templates:

The Contact template had a language mix in the sub-headlines.

[x] "Your question concerns?" = semantically broken question
[x] "Describe your question." = calls for action
[x] "Your contact details" = neutral description, but with a strange colon in the end.

We decided to change this into:

[x] "Topic"
[x] "Question"
[x] "Contact Details"

This fit a lot better to SICK's straightness.

[x] All Subheadlines should be 20px and bold
[ ] adding a description with the docs.tokens for forms
[x] Tablet view is not needed in the docs view of the Templates

Acceptance criteria

[ ] All DoD items successfully completed

I have added the required changes, however the docs tokens are not used in Figma yet, so I was unable to use them. I went with a static text for the time being, as we also currently do with the labels of the inputs themselfs.


[Script]: Want to add html table to list script

Aim
I want to add html table to list script.
can you please assign this task under gssoc'23 @av
Details
Want to add html table to list script
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Not Needed, Create another Issue


feat: enable gnosis as a Zapper network

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4680   👈

PR #4679

This comment was auto-generated by Graphite.


Handle physical limit operator when decode rewrite

For https://github.com/StarRocks/starrocks/issues/1380
We should handle visitPhysicalLimit when decode rewrite

@kangkaisen
I suggest that we should make the running query fail other than process crash when something unexpected happened.

@kangkaisen I suggest that we should make the running query fail other than process crash when something unexpected happened.

Yes. Every one don't want BE crash, but when plan is invaild, BE couldn't handle it absolutely，especially in ASAN mode.


webpack Dev Server Invalid Options

incorrect:
devServer: {
  clientLogLevel: 'debug'
}

webpack Dev Server Invalid Options

options.clientLogLevel should be {String} and equal to one of the allowed values

 [ 'trace', 'debug', 'info', 'warn', 'error', 'silent' ]

(https://webpack.js.org/configuration/dev-server/#devserver-clientloglevel)

npm ERR! code ELIFECYCLE
npm ERR! errno 1

correct:
devServer: {
  clientLogLevel: 'info'
}

Reading the error, 'debug' option does exist in schema error description, but doesn't pass the validation right?

@EugeneHlushko it appeared when I used create-react-app, you may try it.

@EugeneHlushko https://github.com/fengxinming/reappear-webpack-config-bug
Please check it

@hiroppy can you please have a look, i dont see why this is happening

@fengxinming this is working for me. Here is a minimal example for this https://github.com/rishabh3112/issues/tree/master/webpackdocs%233374

@rishabh3112 I see but I met this problem from create-react-app after ejecting webpack config, I feel like webpack-dev-server@latest has fixed this issues.

@fengxinming  As you have now ejected the config, try updating the webpack-dev-server. It should solve the issue.

Closing for now

i got same issue after split webpack.config.js with command expo customize:web ..  i try downgrade webpack-config. and solve
yarn add<EMAIL_ADDRESS>


ON-13484 # Added emailDescription prop to SCHEDULING submission eve…

…nt config

Just need to update types


[WIP] New Client for Evaluator

New client created using http4s. There is ClientApp to send the request and receive the response, but client gives a Connection Refused exception. If you find something will help a lot!

Found the problem. Is the Uri(path = url)


Is it possible to run validations on tables from different BigQuery projects?

Hi,
I am trying to validate the data in tables (of same schema) from two different projects. I've followed this and created TWO connections (one for source project and one for destination project). But when I run the validation command and write the result to BigQuery table, the columns source_table_name and target_table_name contains the same value.
Following is a replication of my example which validates two tables using a shell script,
`dummy_table_names=("my_table1"
"my_table2"
)
--source project and dataset name
src_prjt="my_src_prjt.my_src_dtst"
dest_prjt="my_dst_prjt.my_dst_dtst"
--Loop through each pair of tables and compare them
for table_name in "${dummy_table_names[@]}";
do
source_table=$src_prjt.$table_name
desti_table=$dest_prjt.$table_name
echo $source_table
echo $desti_table
data-validation validate column
-sc src_project_conn
-tc dest_project_conn
-tbls $desti_table
--count '*'
-bqrh my_dst_prjt.pso_data_validator.results
done`
When I run this script in terminal as bash my_validation_script.sh, the results are successfully written to BigQuery but in the results table, the columns source_table_name and target_table_name contain same value (specifically it contains the value desti_table.
My expected output is that the column source_table_name contains the value source_table and target_table_name contains the value desti_table or did I misunderstood the documentation?
Thanks in advance

Hi,
I think, there is a typo in -tbls flag, it should be -tbls $source_table=$desti_table.
If we give a single arg with -tbls flag, it compares the values with itself.

Hey @piyushsarraf ,
Thanks a lot, I just tested it and it works like a charm. Could you please point me to the documentation as I either seemed to miss this part and failed to understand it or it just doesn't exist. If it's the later case, maybe I could contribute by creating some examples.

Can you check the [README](https://github.com/GoogleCloudPlatform/professional-services-data-validator#:~:text=writing any queries.-,Row Validations,-(Note%3A Row hash)
I this we have added the reference for -tbls
--tables-list or -tbls SOURCE_SCHEMA.SOURCE_TABLE=TARGET_SCHEMA.TARGET_TABLE
Comma separated list of tables in the form schema.table=target_schema.target_table
I know schema.table=target_schema.target_table is kind of wague, it should be source_schema.source_table=target_schema.target_table.
This will be fixed in next PR.

Thanks.
Would it also be possible to add it in Examples. I think it would greatly benefit new people who are trying it for the first time. please let me know if there is anything related to this that I can contribute.

Sure


Improve link to Juicebox projects

Description
The tooltip on projects doesn't fit in with the style of address tooltips, and overall is unnecessary I think.

Proposal
Remove the tooltip and link to projects straight from the handle

@johnnyd-eth think this is a duplicate of https://github.com/jbx-protocol/juice-interface/issues/361, right?

hey chief, can you please assign this issue to me? Thank you!


Investigate usage of netstandard2.0 with Span emulation on .NET Framework

[ ] check usage of WinRT on netstandard2.0
[x] check usage of Span<T> on netstandard2.0
[x] check compiling C# 8.0 feature usage

vs: This is a hobby project and I want to use C# x and .NET y features
Lesson Learnt from #47

Analysis regards C# Usage

Index, Ranges, Span, ValueTuple, IAsyncEnumerable could be polyfilled.
Default Interface Methods are currently not utilized which are the only hard constraints for C# 8.0 incompatibility. Restricting usage of Direct Interface Method could make a trait like programming model impossible. However, there is currently no vision for something like that.

Analysis regards using netstandard2.0 instead of netstandard2.1
.NET Framework only implements netstandard2.0. Analyzed using the .NET Portability Analyzer many Span library function (not the type itself) are missing (e.g. how to convert from Span to Int32). As of v2.0 roughly 11% of the function calls are not compatible.

This library will not be supported on .NET Framework 4.8.
Rationale

.NET Core 3.1 supports WinForms and WPF applications.
The .NET Framework (4+) is with latest with the establishment of .NET 5 a deprecated technology.
The following use cases are to be considered

UI using WPF / WinForms: Future is .NET Core 3.1 and .NET 5 => user should migrate there
UI using Xamarin.Forms / Xamarin / System.Maui => users are already at netstandard2.1 and .NET 5 (Mono + CoreCLR)
Service / Web Interface for remote controlling  => .NET Core 3.1
Console => Users are already on .NET Core 3.1

@dlech Since you are anyway watching ... would you be interested in doing code reviews?
I understand if you prefer not, since you look like a busy man ;)

I can't review everything, but maybe occasionally. I don't do much with C# these days, but I really like the language and would like to do a little something to keep up with.

Then I will start doing feature branches / pull requests and ping you. If you do not reply like in a day or two, I will just go ahead.


Unable to get local issuer

https://medium.com/@vkmauryavk/resolving-sslcertverificationerror-certificate-verify-failed-unable-to-get-local-issuer-515d7317454f


Integrate Document Level Alerting changes

Issue #, if available:
#238
Description of changes:
Integrate Document Level Alerting changes
CheckList:
[X] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #410 (f947a21) into main (c77eb31) will decrease coverage by 1.50%.
The diff coverage is 68.91%.

@@             Coverage Diff              @@
##               main     #410      +/-   ##
============================================
- Coverage     78.37%   76.86%   -1.51%
- Complexity      263      279      +16
============================================
  Files           180      210      +30
  Lines          7625     9459    +1834
  Branches       1069     1295     +226
============================================
+ Hits           5976     7271    +1295
- Misses         1095     1541     +446
- Partials        554      647      +93

Impacted Files
Coverage Δ

...pensearch/alerting/model/AlertingConfigAccessor.kt
60.00% <0.00%> (-17.78%)
:arrow_down:

...ch/alerting/resthandler/RestSearchMonitorAction.kt
88.88% <0.00%> (ø)

...org/opensearch/alerting/core/model/ScheduledJob.kt
78.57% <ø> (ø)

.../org/opensearch/alerting/core/model/SearchInput.kt
90.62% <ø> (ø)

...alerting/transport/TransportDeleteMonitorAction.kt
43.54% <12.50%> (-4.60%)
:arrow_down:

...nsearch/alerting/core/model/ClusterMetricsInput.kt
92.30% <16.66%> (-3.06%)
:arrow_down:

...pensearch/percolator/PercolateQueryBuilderExt.java
30.16% <30.16%> (ø)

.../opensearch/alerting/action/GetFindingsResponse.kt
41.66% <41.66%> (ø)

...g/opensearch/alerting/action/GetFindingsRequest.kt
50.00% <50.00%> (ø)

...in/kotlin/org/opensearch/alerting/model/Trigger.kt
80.00% <50.00%> (-3.34%)
:arrow_down:

... and 49 more

Continue to review full report at Codecov.

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


No master server available for replication after upgrade to 2.1.6

Hi,
I'm getting this error "No master server available for replication" when I upgraded from 2.1.3 to 2.1.6, but the issue was introduced in 2.1.4 release.
My snc_redis configuration is:
snc_redis:
    clients:
        front:
            type: predis
            alias: front
            dsn:
                - "%env(REDIS_MASTER_URL)%?alias=master"
                - "%env(REDIS_SLAVE_URL)%"
            logging: "%kernel.debug%"
            options:
                replication: true

Please share the actual value of those environment variables.

Hi,
The values are:
"REDIS_MASTER_URL": "redis://redis.mydomain.com",
"REDIS_SLAVE_URL": "redis://localhost",
I've a redis server on redis.mydomain.com, and a local redis. Before redis master was replicated in local instances of my app

We have the same issue after upgrading from 2.1.3 to 2.1.6. Our config is as follows:
snc_redis:
clients:
cache:
type: predis
logging: '%kernel.debug%'
alias: cache
dsn: '%redis.dsn%'
options:
profile: 2.8
replication: true
connection_timeout: 10
read_write_timeout: 30
doctrine:
query_cache:
client: cache
entity_manager: default
namespace: dqc
result_cache:
client: cache
entity_manager: default
namespace: drc
second_level_cache:
client: cache
entity_manager: default
namespace: l2c
Enable L2 cache and setup redis dns
parameters:
doctrine.orm.cache.l2.enabled: true
redis.dsn: redis://<IP_ADDRESS>

In our scenario the issue (No master server available for replication) only occurs on a Symfony 4 installation. An almost identical implementation on the same environment using Symfony 3 did not throw any exceptions when updating to 2.1.6

@curry684 yeap!

@wukchao Not yet sorry

@B-Galati any progress on this? let me know if you need more info.

@kasperhendriks I will let you know ;-) I will look into it in coming weeks/months.
Thank you!


[Update Request] Run 'python manage.py migrate' in Dockerfile

We get following warning when we try to run the custom docker image locally.
Starting SSH ...
[ ok ] Starting OpenBSD Secure Shell server: sshd.
Performing system checks...

System check identified no issues (0 silenced).

You have 1 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): auth.
Run 'python manage.py migrate' to apply them.

July 05, 2022 - 10:29:29
Django version 1.11.29, using settings 'djangoapp.settings'
Starting development server at http://<IP_ADDRESS>:8000/
Quit the server with CONTROL-C.

It says to run 'python manage.py migrate'. I find that the message will be fixed if we update the Dockerfile as below. Could you please take a look the sample project?
FROM tiangolo/uwsgi-nginx-flask:python3.6

RUN mkdir /code
WORKDIR /code
ADD requirements.txt /code/
RUN pip install -r requirements.txt --no-cache-dir
ADD . /code/

# ssh
ENV SSH_PASSWD "root:Docker!"
RUN apt-get update \
        && apt-get install -y --no-install-recommends dialog \
        && apt-get update \
        && apt-get install -y --no-install-recommends openssh-server \
        && echo "$SSH_PASSWD" | chpasswd

COPY sshd_config /etc/ssh/
COPY init.sh /usr/local/bin/

RUN chmod u+x /usr/local/bin/init.sh
RUN python manage.py migrate
EXPOSE 8000 2222
#CMD ["python", "/code/manage.py", "runserver", "<IP_ADDRESS>:8000"]
ENTRYPOINT ["init.sh"]

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

ID: 36d6ead7-4a59-ee55-327a-6cc1a909b6b8
Version Independent ID: d529825d-8e4e-1174-14ff-b404791ef304
Content: Tutorial: Build and run a custom image in Azure App Service - Azure App Service
Content Source: articles/app-service/tutorial-custom-container.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: msangapu

@jyama4ta Thanks for your feedback! We will investigate and update as appropriate.

@charris-msft can you take a look?

This is a great idea and if effective and reliable will save quite a bit of effort - especially for apps that are running in VNETs, which can be hard to connect to.
I recently had a conversation about migrations with some of the other Python folks.
In this sample repo you can see a call to db.create_all(): https://github.com/Azure-Samples/msdocs-flask-postgresql-sample-app/blob/main/app.py#:~:text=%23 Create databases%2C if,.commit()
That is how we're handling initial db migrations for Flask, but Django doesn't have the same feature, so those migrations still need to be run manually.
The suggestion in this issue to call RUN python manage.py migrate in the Dockerfile is an interesting one that I haven't tried. While it could work for both Django and Flask in container-based apps, we should test the behavior for a container-based Flask app that also has the db.create_all() call in the app.py file. It will likely work without issue, but should be verified.

In practice I would recommend against automatically running database migration, and this case each time the image is rebuilt. Either run python manage.py migrate locally, or in the case of secured app/database, you can also run it in the SSH session.
Take a look at the bring-your-own-code scenario we now have here that demonstrates running migration using SSH: https://learn.microsoft.com/en-us/azure/app-service/tutorial-python-postgresql-app?tabs=flask%2Cwindows.
For any other issues specific to your scenario, try MICROSOFT Q&A or Stackoverflow.
#please-close