App will not start properly on Windows 10

Describe the bug
User is having trouble using the VPN. One day no locations showed up, so user updated to the latest version, and now it is just stuck at "starting daemon" and never starts up.

To Reproduce
Steps to reproduce the behavior:

Install app
Open it up

Expected behavior
App should open up as expected

OS: Windows 10
Desktop app version (if applicable): 4.2.1

Additional context
Logs:
[2021-06-13 13:00:51.832] [info] Supervisor version bundled: 0.47.1 running: 0.47.1
[2021-06-13 13:00:51.833] [info] Running supervisor version matches, skipping the upgrade
[2021-06-13 13:00:51.851] [info] No ghosts found on port 4050
[2021-06-13 13:00:51.856] [info] No ghosts found on port 44050
[2021-06-13 13:00:51.870] [info] myst supervisor tequilapi port set to: 44050
[2021-06-13 13:00:51.931] [info] Server: ok
[2021-06-13 13:01:13.438] [info] Connecting to the supervisor...
[2021-06-13 13:01:13.449] [info] Connected to:  \.\pipe\mystpipe
[2021-06-13 13:01:13.450] [info] Stopping myst
[2021-06-13 13:01:13.451] [info] Shutting down node gracefully on port 44050
[2021-06-14 00:08:09.077] [info] Checking for update
[2021-06-14 00:08:09.909] [info] Pushy device token: 3d91ad8416a6d26884873d
[2021-06-14 00:08:10.012] [info] Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
[2021-06-14 00:08:10.016] [info] Connecting to the supervisor...
[2021-06-14 00:08:10.019] [info] Connected to:  \.\pipe\mystpipe
[2021-06-14 00:08:10.063] [info] Server: ok: 0.47.1
[2021-06-14 00:08:10.064] [info] Supervisor version bundled: 0.47.1 running: 0.47.1
[2021-06-14 00:08:10.065] [info] Running supervisor version matches, skipping the upgrade
[2021-06-14 00:08:10.076] [info] No ghosts found on port 4050
[2021-06-14 00:08:10.080] [info] No ghosts found on port 44050
[2021-06-14 00:08:10.097] [info] myst supervisor tequilapi port set to: 44050
[2021-06-14 00:08:10.104] [info] Server: ok
[2021-06-14 00:08:24.754] [info] Connecting to the supervisor...
[2021-06-14 00:08:24.764] [info] Connected to:  \.\pipe\mystpipe
[2021-06-14 00:08:24.766] [info] Stopping myst
[2021-06-14 00:08:24.767] [info] Shutting down node gracefully on port 44050
[2021-06-15 23:38:57.030] [info] Checking for update
[2021-06-15 23:38:57.885] [info] Pushy device token: 3d91ad8416a6d26884873d
[2021-06-15 23:38:57.968] [info] Update for version 4.2.1 is not available (latest version: 4.2.1, downgrade is disallowed).
[2021-06-15 23:38:57.973] [info] Connecting to the supervisor...
[2021-06-15 23:38:57.976] [info] Connected to:  \.\pipe\mystpipe
[2021-06-15 23:38:57.997] [info] Server: ok: 0.47.1
[2021-06-10 21:18:03.756] [info] Supervisor version bundled: 0.47.1 running: 0.47.1
[2021-06-10 21:18:03.757] [info] Running supervisor version matches, skipping the upgrade
[2021-06-10 21:18:03.772] [info] No ghosts found on port 4050
[2021-06-10 21:18:03.776] [info] No ghosts found on port 44050
[2021-06-10 21:18:03.792] [info] myst supervisor tequilapi port set to: 44050
[2021-06-10 21:18:03.935] [info] Server: ok

Duplicate of #144


[AKS] az aks create/update: Add support for KEDA workload auto-scaler

Related command

az aks create
az aks update

Description

Allows AKS customers to enable / disable the KEDA addon for workload autoscaling.
Testing Guide

History Notes

[AKS] az aks create: Add new parameter --enable-keda to enable KEDA workload auto-scaler
[AKS] az aks update: Add new parameters --enable-keda/--disable-keda to enable/disable KEDA workload auto-scaler

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

AKS

Sync changes from PR #4905 in aks-preview.

PR blocked by SDK for containerservice generated according to latest stable API 2022-11-01 not released yet.

Closing as another PR (https://github.com/Azure/azure-cli/pull/25007) has been raised for the same.


[BUG] Code block can't read in light mode (PaperMod migrate to PaperModX)

Describe the bug

Device/Os: macOS
Type: Desktop
Browser and version [e.g. Chrome 86.0]: Chrome 103.0.5060.134
Hugo Version [ >=0.83.0 expected]: v0.101.0+extended
Theme Version [e.g. v4.0, master, or commit-id ]: 61452c190b57ed2c1246723e7fd1575ac4bf5a23

Steps to reproduce the behavior:

Using the PaperModX theme for my blog (it use PaperMod before).
The code in the code block cannot be read in light mode. If you switch to dark mode, it will be fine.
Expected behavior:

The code block can be read easily.
Screenshots

Light mode (also the four black corners maybe a "bug" too?)

Night mode (it works well)

Additional context

You can preview the example page in here: https://test-papermodx.my-hugo-blog.pages.dev/posts/mastering-git-cherry-pick/

Current config file
baseURL: "https://blog.triplez.cn/"
languageCode: "zh-cn"
defaultContentLanguage: "zh"
hasCJKLanguage: true
title: "TripleZ's Blog"
theme: "PaperMod"

disqusShortname: triplezs-blog
googleAnalytics: UA-xxxx-3

menu:
    main:
        # - identifier: categories
        #   name: Categories
        #   url: /categories/
        #   weight: 10
        - identifier: tags
          name: 标签
          url: /tags/
          weight: 20
        - identifier: archives
          name: 归档
          url: /archives/
          weight: 30

params:
    env: production
    defaultTheme: auto # to switch between dark or light according to browser theme
    disableThemeToggle: false
    ShowBreadCrumbs: false
    ShowPostNavLinks: true
    TocSide: 'left'  # or 'right'
    EnableInstantClick: true
    author: ["TripleZ"]
    description: ""
    BeiAn: 粤ICP备xxxxx号
    comments: true
    ShowToc: true
    TocOpen: false
    ShowReadingTime: true
    ShowShareButtons: true
    ShowCodeCopyButtons: true
    fuseOpts: # for search
        isCaseSensitive: false
        shouldSort: true
        location: 0
        distance: 1000
        threshold: 0.4
        minMatchCharLength: 0
        keys: ["title", "permalink", "summary", "content"]
    assets:
        favicon: "/favicon.ico"
        favicon16x16:  "/favicon-16x16.png"
        favicon32x32:  "/favicon-32x32.png"
        apple_touch_icon:  "/apple-touch-icon.png"
        safari_pinned_tab:  "/safari-pinned-tab.svg"

# for search
outputs:
    home:
        - HTML
        - RSS
        - JSON # is necessary

markup:
  highlight:
    # anchorLineNos: true
    codeFences: true
    guessSyntax: true
    lineNos: true
    style: monokai
  goldmark:
    renderer:
      unsafe: true # enable raw html in markdown

Never mind, this issue is because the missing setting of pygmentsUseClasses.
Add this into the config.yml will solve the problem.
pygmentsUseClasses: true

Thanks for the great theme.

Thanks so much for including the discovered fix here, I didn't even realize I had the issue but I did.
Easy fix :)


Clean up CF file

This PR addresses Issue #153 to restrict the number of s3 buckets the server has full access to. The buckets we need to ensure we can upload to are:

hyp3-examples/overviews
hyp3-pdc-data/overviews
gis-services-overviews/*/

I wasn't quite sure about some other things, so if @asjohnston-asf or @hjkristenson have thoughts on these questions, please let me know.

Do we need to specifically include hyp3-testing here, too?
Should we hard-code the hyp3-nasa-disasters/overviews bucket, or is it safe to assume that the CloudFormation stack will have its $Bucket as hyp3-nasa-disasters and its $OverviewPrefix as overviews?
Do the GetObject and GetBucket resources need further restricting, too, or is it ok to restrict just the PutObject resources.

After huddling with @jacquelynsmale :

Yes, we'll include write permissions for hyp3-testing so we can use it for prototyping, even if we don't intent to serve production data from there
We'll hard-code the hyp3-nasa-disasters; it didn't make sense to add the complexity of a cloudformation parameter for one of five buckets and hard code the other four
We'll leave the global Get* and List* permissions. Read access incurs less risk than write access, and we're likely to need to be able to read data from other buckets in the future.

@jhkennedy you'd originally suggested the changes here; are the new permissions specific enough for your tastes?


fix fix add drop inverted index case

Proposed changes
Issue Number: close #xxx
Problem summary

fix test_add_drop_index.groovy
fix assert failed when process alter inverted index call OlapBlockDataConvertor::set_source_content

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

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...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.09 seconds
stream load tsv:          481 seconds loaded<PHONE_NUMBER>9 Bytes, about 148 MB/s
stream load json:         37 seconds loaded<PHONE_NUMBER> Bytes, about 60 MB/s
stream load orc:          68 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230213103525_clickbench_pr_95323.html


Firebase Firestore Null Pointer Exception

This bug has come up in our crashlytics for android users on our new version and is crashing their app. There are other threads for this exact issue, but they keep getting closed without any resolution. for example: https://github.com/FirebaseExtended/flutterfire/issues/2390
some people are saying going to firebase firestore version 0.13.4 fixes the issue, but we didn't start seeing this issue until we upgraded to firebase firestore 0.14.1+1 from 0.14.0+2
This isn't a new app, we've been using Flutter and FlutterFire packages since April of 2019. We recently updated our flutter from 1.17 to 1.22 and upgraded some of our plugins as well.
Unfortunately me and the other engineers on my team could not replicate the crashes, but the crashlytics error is right here:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.flutter.plugin.common.MethodChannel.invokeMethod(java.lang.String, java.lang.Object)' on a null object reference
       at io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.a(FlutterFirebaseFirestorePlugin.java:67)
       at io.flutter.plugins.firebase.firestore.-$$Lambda$FlutterFirebaseFirestorePlugin$TkTiyB-AIynA_CQ6V9vWC2Jw39c.onEvent(-.java:6)
       at com.google.firebase.firestore.DocumentReference.a(DocumentReference.java:87)
       at com.google.firebase.firestore.DocumentReference$$Lambda$3.a(DocumentReference.java:6)
       at com.google.firebase.firestore.core.AsyncEventListener.a(AsyncEventListener.java:6)
       at com.google.firebase.firestore.core.AsyncEventListener$$Lambda$1.run(AsyncEventListener.java:6)
       at android.os.Handler.handleCallback(Handler.java:794)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at com.google.android.gms.internal.tasks.zzb.dispatchMessage(zzb.java)
       at android.os.Looper.loop(Looper.java:176)
       at android.app.ActivityThread.main(ActivityThread.java:6651)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

Flutter Doctor:
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en-US)
    • Flutter version 1.22.4 at /Users/hallo/Documents/dev/flutter
    • Framework revision 1aafb3a8b9 (7 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/hallo/Library/Android/sdk
    • Platform android-30, 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_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (1 available)
    • SM G950U (mobile) •<PHONE_NUMBER>52304334 • android-arm64 • Android 9 (API 28)

• No issues found!

pubspec.yaml:
name: hallo
description: Practice English with friends.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
# version: 1.0.0+1
environment:
  sdk: ">=2.3.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  audio_recorder:
    git: https://github.com/sujindra-kodiary/audio_recorder
  audioplayer:
    git: https://github.com/halloglobal/audioplayer
  facebook_standard_events:
    git: https://github.com/halloglobal/facebook_standard_events.git
  flutter_keyboard_visibility:
    git: https://github.com/halloglobal/flutter_keyboard_visibility
  flutter_native_image:
    git:
      url: https://github.com/btastic/flutter_native_image.git
      ref: f4d9b4fadfb199cfbd75cabc8a1ac31a7bf43de5
  image_downloader:
    git: https://github.com/halloglobal/image_downloader
  save_in_gallery:
    git: https://github.com/sujindra-kodiary/save_in_gallery
  agora_rtc_engine: 3.1.3
  app_review: ^2.0.1
  apple_sign_in: ^0.1.0
  built_collection: ">=2.0.0 <5.0.0"
  built_value: ^7.1.0
  camera: ^0.5.8+11
  carousel_slider: ^2.2.1
  chewie: ^0.10.4
  cloud_firestore: 0.14.1+1
  cloud_functions: 0.7.0+1
  connectivity: ^2.0.0
  contacts_service: ^0.4.6
  cupertino_icons: ^1.0.0
  devicelocale: ^0.3.1
  dots_indicator: ^1.2.0
  downloads_path_provider: ^0.1.0
  dynamic_theme: ^1.0.1
  file_picker: ^2.0.12
  firebase_analytics: ^6.2.0
  firebase_auth: 0.18.3
  firebase_core: ^0.5.2
  firebase_database: ^4.3.0
  firebase_dynamic_links: ^0.6.2
  firebase_messaging: ^7.0.3
  firebase_remote_config: ^0.4.2
  firebase_storage: ^5.0.0
  flutter_app_badger: ^1.1.2
  flutter_colorpicker: ^0.3.2
  flutter_cupertino_date_picker:
    git: https://github.com/daveleenew/flutter-cupertino-date-picker.git
  flutter_cupertino_localizations: ^1.0.1
  flutter_linkify: ^4.0.2
  flutter_parsed_text: ^1.2.3
  flutter_redux: ^0.7.0
  flutter_slidable: ^0.5.4
  flutter_sms: 2.1.1
  flutter_svg: ^0.19.1
  flutter_time_picker_spinner: ^1.0.6+1
  flutter_webview_plugin: ^0.3.10+1
  fluttertoast: ^7.1.1
  geolocator: ^6.1.6
  geocoding: ^1.0.5
  get_ip: ^0.4.0
  google_sign_in: ^4.3.0
  http: ^0.12.0+4
  image_cropper: ^1.3.1
  image_picker: ^0.6.7+11
  in_app_purchase: ^0.3.4
  intl: ^0.16.0
  overlay_support: ^1.0.1
  package_info: ^0.4.0+3
  path_provider: ^1.6.18
  permission_handler: ^5.0.1+1
  photo_view: ^0.10.0
  provider: ^4.3.1
  redux: ^4.0.0
  redux_dev_tools: ^0.5.0
  redux_epics: ^0.14.0
  redux_logging: ^0.4.0
  redux_thunk: ^0.3.0
  rxdart: ^0.24.0
  scoped_model: ^1.0.1
  sentry: ^3.0.1
  share: ^0.6.0+1
  shimmer: ^1.1.1
  showcaseview: ^0.1.3
  simple_pdf_viewer: ^0.2.2
  streaming_shared_preferences: ^1.0.1
  stripe_payment: ^1.0.0
  timeago: ^2.0.9
  trust_fall: ^1.0.4
  url_launcher: ^5.0.2
  uuid: ^2.2.0
  vibration: ^1.7.2
  video_player: ^1.0.0
  wakelock: ^0.2.0
  web_socket_channel: ^1.0.8
  native_screenshot:
    git:
      url: https://gitlab.com/sujindra2014/native_screenshot
      ref: b271cbbdc1b8698dadfb0773b840ccc8bdf52c6e
  cached_network_image: ^2.3.0
  firebase_crashlytics: ^0.2.3
dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^1.10.0
  # test: ^1.5.1
  built_value_generator: ^7.1.0
  flutter_launcher_icons: ^0.7.0
  intl_translation: ^0.17.0

flutter_icons:
  adaptive_icon_background: "#ffffff"
  android: true
  ios: true
  image_path_android: "assets/app_icon.png"
  image_path_ios: "assets/app_icon.png"
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
  assets:
    - assets/nav/
    - assets/flags/
    - assets/icons/
    - assets/icons/2x/
    - assets/icons/3x/
    - assets/instamatch/
    - assets/logos/
    - assets/onboarding/
    - assets/profile/
    - assets/social/
    - assets/gamification/
    - assets/

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.io/assets-and-images/#resolution-aware.
  # For details regarding adding assets from package dependencies, see
  # https://flutter.io/assets-and-images/#from-packages
  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  fonts:
    - family: Quicksand
      fonts:
        - asset: assets/fonts/Quicksand-Light.ttf
          weight: 300
        - asset: assets/fonts/Quicksand-Regular.ttf
          weight: 400
        - asset: assets/fonts/Quicksand-Medium.ttf
          weight: 500
        - asset: assets/fonts/Quicksand-SemiBold.ttf
          weight: 600
        - asset: assets/fonts/Quicksand-Bold.ttf
          weight: 700
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.io/custom-fonts/#from-packages

The same crash started occurring in our production app after upgrading cloud_firestore from 0.14.0+2 to 0.14.1+2

Hi @DeanPack
I see there's an open issue addressing the case you described https://github.com/FirebaseExtended/flutterfire/issues/3507.
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


train on coco dataset

WARNING - root - Changed type of config entry "max_steps" from int to NoneType
WARNING - ViLT - No observers have been added to this run
INFO - ViLT - Running command 'main'
INFO - ViLT - Started
Global seed set to 0
INFO - lightning - Global seed set to 0
WARNING - timm.models.helpers - No pretrained weights exist or were found for this model. Using random initialization.
ERROR - ViLT - Failed after 0:00:03!
Traceback (most recent call last):
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 312, in run_commandline
return self.run(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 276, in run
run()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/run.py", line 238, in call
self.result = self.main_function(*args)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/config/captured_function.py", line 42, in captured_function
result = wrapped(*args, **kwargs)
File "run.py", line 48, in main
trainer = pl.Trainer(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/trainer/connectors/env_vars_connector.py", line 41, in overwrite_by_env_vars
return fn(self, **kwargs)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 347, in init
self.accelerator_connector.on_trainer_init(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator_connector.py", line 101, in on_trainer_init
self.trainer.data_parallel_device_ids = device_parser.parse_gpu_ids(self.trainer.gpus)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/utilities/device_parser.py", line 78, in parse_gpu_ids
gpus = _sanitize_gpu_ids(gpus)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/utilities/device_parser.py", line 139, in _sanitize_gpu_ids
raise MisconfigurationException(f"""
pytorch_lightning.utilities.exceptions.MisconfigurationException:
You requested GPUs: [0, 1, 2, 3, 4, 5, 6, 7]
But your machine only has: [0]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 11, in
def main(_config):
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 190, in automain
self.run_commandline()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 347, in run_commandline
print_filtered_stacktrace()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 493, in print_filtered_stacktrace
print(format_filtered_stacktrace(filter_traceback), file=sys.stderr)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 528, in format_filtered_stacktrace
return "".join(filtered_traceback_format(tb_exception))
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 568, in filtered_traceback_format
current_tb = tb_exception.exc_traceback
AttributeError: 'TracebackException' object has no attribute 'exc_traceback'

You requested GPUs: [0, 1, 2, 3, 4, 5, 6, 7]
But your machine only has: [0]
You should set the num_gpus hyperparameter in your script.

Hello, I corrected the error you mentioned, but there are still the following two errors
WARNING - root - Changed type of config entry "max_steps" from int to NoneType
WARNING - ViLT - No observers have been added to this run
INFO - ViLT - Running command 'main'
INFO - ViLT - Started
Global seed set to 0
INFO - lightning - Global seed set to 0
GPU available: True, used: True
INFO - lightning - GPU available: True, used: True
TPU available: None, using: 0 TPU cores
INFO - lightning - TPU available: None, using: 0 TPU cores
Using environment variable NODE_RANK for node rank ().
INFO - lightning - Using environment variable NODE_RANK for node rank ().
ERROR - ViLT - Failed after 0:00:06!
Traceback (most recent call last):
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 312, in run_commandline
return self.run(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 276, in run
run()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/run.py", line 238, in call
self.result = self.main_function(*args)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/config/captured_function.py", line 42, in captured_function
result = wrapped(*args, **kwargs)
File "run.py", line 48, in main
trainer = pl.Trainer(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/trainer/connectors/env_vars_connector.py", line 41, in overwrite_by_env_vars
return fn(self, **kwargs)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 347, in init
self.accelerator_connector.on_trainer_init(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator_connector.py", line 127, in on_trainer_init
self.trainer.node_rank = self.determine_ddp_node_rank()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator_connector.py", line 415, in determine_ddp_node_rank
return int(rank)
ValueError: invalid literal for int() with base 10: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 11, in
def main(_config):
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 190, in automain
self.run_commandline()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 347, in run_commandline
print_filtered_stacktrace()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 493, in print_filtered_stacktrace
print(format_filtered_stacktrace(filter_traceback), file=sys.stderr)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 528, in format_filtered_stacktrace
return "".join(filtered_traceback_format(tb_exception))
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 568, in filtered_traceback_format
current_tb = tb_exception.exc_traceback
AttributeError: 'TracebackException' object has no attribute 'exc_traceback'

export NODE_RANK=0

Traceback (most recent call last):
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 312, in run_commandline
return self.run(
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 276, in run
run()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/run.py", line 238, in call
self.result = self.main_function(*args)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/config/captured_function.py", line 42, in captured_function
result = wrapped(*args, **kwargs)
File "run.py", line 71, in main
trainer.fit(model, datamodule=dm)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 473, in fit
results = self.accelerator_backend.train()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 152, in train
results = self.ddp_train(process_idx=self.task_idx, model=model)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/accelerators/ddp_accelerator.py", line 268, in ddp_train
self.trainer.call_setup_hook(model)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 859, in call_setup_hook
self.datamodule.setup(stage_name)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/root/autodl-tmp/ViLT-master/vilt/datamodules/multitask_datamodule.py", line 34, in setup
dm.setup(stage)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/pytorch_lightning/core/datamodule.py", line 92, in wrapped_fn
return fn(*args, **kwargs)
File "/root/autodl-tmp/ViLT-master/vilt/datamodules/datamodule_base.py", line 137, in setup
self.set_train_dataset()
File "/root/autodl-tmp/ViLT-master/vilt/datamodules/datamodule_base.py", line 76, in set_train_dataset
self.train_dataset = self.dataset_cls(
File "/root/autodl-tmp/ViLT-master/vilt/datasets/coco_caption_karpathy_dataset.py", line 17, in init
super().init(*args, **kwargs, names=names, text_column_name="caption")
File "/root/autodl-tmp/ViLT-master/vilt/datasets/base_dataset.py", line 53, in init
self.table_names += [name] * len(tables[i])
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 11, in
def main(_config):
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 190, in automain
self.run_commandline()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/experiment.py", line 347, in run_commandline
print_filtered_stacktrace()
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 493, in print_filtered_stacktrace
print(format_filtered_stacktrace(filter_traceback), file=sys.stderr)
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 528, in format_filtered_stacktrace
return "".join(filtered_traceback_format(tb_exception))
File "/root/miniconda3/envs/test/lib/python3.8/site-packages/sacred/utils.py", line 568, in filtered_traceback_format
current_tb = tb_exception.exc_traceback
AttributeError: 'TracebackException' object has no attribute 'exc_traceback'

You should learn to debug yourself！
Bro！

sorry ，i will try it again

Have you solved the problem?


flink-cdc-connectors 编译 maven  install 报错了

flink-cdc-connectors 编译 maven  install 报错了
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ flink-cdc-connectors ---
[WARNING] JAR will be empty - no content was marked for inclusion!
JAR will be empty - no content was marked for inclusion!
Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default) on project flink-cdc-connectors: Too many files with unapproved license: 1 See RAT report in: E:\360down\flink-cdc-connectors-master\target\rat.txt

Some problems were encountered while building the effective model for com.alibaba.ververica:flink-connector-debezium:jar:1.2-SNAPSHOT
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-enforcer-plugin @ com.alibaba.ververica:flink-cdc-connectors:1.2-SNAPSHOT, E:\360down\flink-cdc-connectors-master\pom.xml, line 329, column 21
Some problems were encountered while building the effective model for com.alibaba.ververica:flink-cdc-connectors:pom:1.2-SNAPSHOT
'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-enforcer-plugin @ line 329, column 21
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.

Printing headers for text files without a valid license header...
=====================================================
== File: Test Results - MySQLSourceTest_testConsumingAllEvents.html

This should be related to your environment

@leonardBang It seems that the developer forgot to add a license to the file header during development.
We can skip the check by adding "- Drat. skip=true" during compilation.
However, I personally suggest that we can check that all relevant files are added with licenses during the code merge request, and formulate them into code submission specifications.

We do it all the time @codejianhongxie
[1] https://github.com/ververica/flink-cdc-connectors/blob/master/tools/ci/compile.sh#L55


Update cartpole_a2c.py

I think advantage function is A(st) = reward + gamma * v(st + 1) - v(st)

This is my big mistake! Thank you!!


how to pre-train the unilm？

same problem

Can you post pre-trained scripts?

Haven't tested this, but looks like someone is working on Unilm implementation using tensorflow:
https://github.com/KnightZhang625/BERT_TF/blob/master/desperated/model_UniLM.py

Haven't tested this, but looks like someone is working on Unilm implementation using tensorflow:
https://github.com/KnightZhang625/BERT_TF/blob/master/desperated/model_UniLM.py

Does it work?

Haven't tested this, but looks like someone is working on Unilm implementation using tensorflow:
https://github.com/KnightZhang625/BERT_TF/blob/master/desperated/model_UniLM.py

Does it work?

no

nothing is working for this repo ......

same question

same question


PowerShell Core crashing on RHEL/CentOS when using Azure Serial Console

Steps to reproduce
•	Install PowerShell Core on an Azure RedHat 7 Virtual Machine. (able to repro on different versions of rhel/CentOS)
•	Login to the guest OS from Azure Serial Console.
•	Type “pwsh” to start a PowerShell session, and press enter.
•	Type in any letter, then the PowerShell session will crash with the below error:
o	Process terminated. The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')

Expected behavior
•	To be able to able to use PowerShell from Azure Serial Console with no issues.

Actual behavior
•	We are able to use the PowerShell Module through “Putty, Luminate, etc.. ” with no issues.
•	However, Over the Serial Console, when trying to use the PowerShell Module, it crashes with the below error:
o	Process terminated. The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')
•	No other modules are facing any issues while using the Serial console, on the PowerShell.
•	The behavior was reproduced using the latest PowerShell Module version: “7.0.3”, and also using the latest Preview version: “7.1.0-rc.1”.
•	So far we could reproduce the same behavior only on RHEL and CentOS images. As the PowerShell works fine over the serial console on other distros such as Ubuntu.
•	If we look at the complete error we are getting, we can see that PowerShell Module was to query the cursor position, and getting “-1” from the terminal session.

Full Error:
Process terminated. The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter
'top')
Actual value was -1.
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String, System.String[], Int32)
at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 't
op')
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at System.Console.set_CursorLeft(Int32 value)
at Microsoft.PowerShell.ConsoleHostUserInterface.ReadLineFromConsole(Boolean endOnTab, String initialContent, Boolean calledFromPipeline, String& restOfL
ine, ReadLineResult& result)
at Microsoft.PowerShell.ConsoleHostUserInterface.ReadLine(Boolean endOnTab, String initialContent, ReadLineResult& result, Boolean calledFromPipeline, Bo
olean transcribeResult)
at Microsoft.PowerShell.ConsoleHostUserInterface.ReadLineWithTabCompletion(Executor exec)
at Microsoft.PowerShell.ConsoleHost.InputLoop.Run(Boolean inputLoopIsNested)
at Microsoft.PowerShell.ConsoleHost.InputLoop.RunNewInputLoop(ConsoleHost parent, Boolean isNested)
at Microsoft.PowerShell.ConsoleHost.EnterNestedPrompt()
at Microsoft.PowerShell.ConsoleHost.DoRunspaceLoop(String initialCommand, Boolean skipProfiles, Collection`1 initialCommandArgs, Boolean staMode, String
configurationName)
at Microsoft.PowerShell.ConsoleHost.Run(CommandLineParameterParser cpp, Boolean isPrestartWarned)
at Microsoft.PowerShell.ConsoleHost.Start(String bannerText, String helpText, String[] args)
at Microsoft.PowerShell.ConsoleShell.Start(InitialSessionState initialSessionState, String bannerText, String helpText, String[] args)
at Microsoft.PowerShell.ConsoleShell.Start(String bannerText, String helpText, String[] args)
at Microsoft.PowerShell.UnmanagedPSEntry.Start(String consoleFilePath, String[] args, Int32 argc)

Environment data
Name                           		Value

PSVersion                     		7.0.3
PSEdition                     		Core
GitCommitId                    		7.0.3
OS                             		Linux 3.10.0-1062.31.2.el7.x86_64 #1 SMP Tue Ju…
Platform                       		Unix
PSCompatibleVersions           	{1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      	2.3
SerializationVersion           	<IP_ADDRESS>
WSManStackVersion              	3.0

@DHowett Have you any thoughts about the issue? Does System.Console API work correctly in the console?

This looks like the same root cause as https://github.com/PowerShell/PSReadLine/issues/1376 but happening somewhere else in the stack. System.Console cannot handle terminals on Linux/Mac that do not respond to a cursor position report request.

This is just one victim of a leaky abstraction, where System.Console was made to model the Win32 console API and then "ported" to non-Windows. Cursor reporting is not guaranteed, but the System.Console port requires it.

@DHowett Thanks!
/cc @daxian-dbw @SteveL-MSFT for information.

Looks like we need to check if cursorLeft is <= 0 and handle that accordingly

Perhaps we could use a code from PSReadline.

Checked the repo on Ubuntu 18 and RHEL 7. The difference between console settings is that on RHEL 7, the Console.BufferWidth is set to 0, where are on Ubuntu 18 it is set as 80. Next step is to create a small .NET app to create a repro.

@adityapatwardhan, thanks for the update, really important findings.
Is there any way we can adjust the Console.BufferWidth on RHEL manually as a temp workaround ?

@hbouzieh You could try to set TERM = vt100.

This is still an issue


fix(authorization): Sync roles after an application is created

Should fix https://github.com/spinnaker/spinnaker/issues/5063

Actually I think we should use FiatStatus.isEnabled instead of try/catch. No?


config file for swag reverse proxy

Hello :)
When I tried to set this up behind NGINX proxy manager (NPN) I get it to work just fine, but under SWAG I cant get the config file correct.
Anyone got this working under swag?

I just opened this PR to address this issue myself. Hope this helps.


Suggestion: Add info about proton

This mod works fine trough proton, but it would be desirable for regular users to know what to do, the instruction is simple:

go to the game on steam
right click
properties
write in launch options the command WINEDLLOVERRIDES="dinput8.dll=n,b" %command%

And with that they will have the mod working trough proton, this is for linux users (aka also steam deck users)
It also would be great to have the instructions in the nexusmod page alongside the windows instructions, is the same plus indicating the system that an additional dll has to be loaded

On my Linux desktop won't start the game with this config.
Any ideas?
Thanks

this config tells the game to load the dll that should be used, when the game doesn't start is usually because the game was updated and the mod is not compatible with the new version, the modders tend to release a new version quickly after an update.


feat(rich-list-core): implement dftx address parsers

What this PR does / why we need it:
This is built upon #1084, so it should only be merged after its parent is resolved. Related to #1053.
Implements all the dftx address parsers for rich-list-core.

Changed base branch to ease review.
@cwkang1998 what's your npm and node version, wonder where's the 17000 lines removed in package-lock came from.

Changed base branch to ease review.
@cwkang1998 what's your npm and node version, wonder where's the 17000 lines removed in package-lock came from.

npm version 8.3.1
node version 16.14.0
Just did another merge, am also quite curious why there are so many changes in lock. Would check it out.

@ivan-zynesis Fixed via removing node_modules, clearing cache, then reverting to your version of package-lock.json and installing. Something to do with versioning and caching.

Changed base branch to ease review.
@cwkang1998 what's your npm and node version, wonder where's the 17000 lines removed in package-lock came from.

npm version 8.3.1 node version 16.14.0
Just did another rebase, am also quite curious why there are so many changes in lock. Would check it out.

did you run npm i??
try just do npm ci

Changed base branch to ease review.
@cwkang1998 what's your npm and node version, wonder where's the 17000 lines removed in package-lock came from.

npm version 8.3.1 node version 16.14.0
Just did another rebase, am also quite curious why there are so many changes in lock. Would check it out.

did you run npm i?? try just do npm ci

I fixed the problem, thanks for the help!

Changed the test cases to be a bit more specific to the parsers. Not sure if I made it too specific or am overtesting details, so please do give me any feedback. @ivan-zynesis

Make file name changes according to https://github.com/DeFiCh/jellyfish/pull/1084#issuecomment-1066311775


NuGet signing fails with Azure Code Signing (ACS) timestamping service

When using http://timestamp.acs.microsoft.com/ as the timestamp server for a NuGet package, I get an error:
NuGet [C:\Users\cnov\AppData\Local\Temp\w5ye15cg.0dn\lk52ym3x.nupkg]: NU3018: UntrustedRoot: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. fail: Sign.Core.INuGetSignTool[0]
That warning seems to be in error as it also warns with DigiCert's timestamp url of http://timestamp.digicert.com
warn: Sign.Core.INuGetSignTool[0]       NuGet [C:\Users\cnov\AppData\Local\Temp\q3n5cejc.vto\tx11bc4y.nupkg]: NU3018: UntrustedRoot: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.

I wasn't able to reproduce that behavior.  If you can provide detailed repro steps, including information about your OS and whether or not the relevant root certificates are trusted on your machine outside of this signing context.
Note:  I hit https://github.com/dotnet/runtime/issues/79935, which blocks use of the ACS timestamping service in NuGet package signing.

https://github.com/dotnet/runtime/pull/80209

https://www.nuget.org/packages/System.Security.Cryptography.Pkcs/7.0.1 has the fix.
https://github.com/dotnet/runtime/tree/0a2bda10e81d901396c3cff95533529e3a93ad47/src/libraries/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs


dIntegrate with ADDTO and RMTO assignment operators.

This PR fixes #1163 , for the time being.
Some API stuff in this PR:

the dintegrate(...., ARG, OP) user API
enum AssignmentOperatorType is moved from the pinocchio/spatial to pinocchio/fwd (to reside along with enum ArgumentType)

@proyan Next time, in the comments of your commits, it would be nice to provide the scope of your actions (core, test, algo, etc). It's very help the reviewing of the code.


An SSL error has occurred and a secure connection to the server cannot be made

While running my app with iOS 11 and XCode 9 I'm getting this error , some times not frequesnlty ? till iOS 10 and XCode 8 it worked fine.
Error 1:
Failed to subscribe to topic Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9802, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x1c0449f00 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://iid.googleapis.com/iid/register, NSErrorFailingURLStringKey=https://iid.googleapis.com/iid/register, _kCFStreamErrorDomainKey=3}
Error 2:
TIC TCP Conn Failed [3:0x6040003627c0]: 3:-9802 Err(-9802)
2017-10-10 12:51:47.059149+0530 MyApp[11781:227385] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
2017-10-10 12:51:47.059353+0530 MyApp[11781:227385] Task <91287390-CC8A-4F32-8403-929E95353B4B>.<1> HTTP load failed (error code: -1200 [3:-9802])
2017-10-10 12:51:47.060064+0530 MyApp[11781:227383] Task <91287390-CC8A-4F32-8403-929E95353B4B>.<1> finished with error - code: -1200
2017-10-10 12:52:39.286401+0530 MyApp[11781:228768] TIC Read Status [5:0x0]: 1:57
2017-10-10 12:52:39.286849+0530 MyApp[11781:228768] TIC Read Status [5:0x0]: 1:57
2017-10-10 12:52:43.375836+0530 MyApp[11781:228768] TIC Read Status [6:0x604000366540]: 1:57
2017-10-10 12:52:43.376470+0530 MyApp[11781:228768] TIC Read Status [6:0x604000366540]: 1:57
2017-10-10 12:52:43.377415+0530 MyApp[11781:228768] TIC Read Status [6:0x604000366540]: 1:57
2017-10-10 12:54:38.998920+0530 MyApp[11781:230845] TIC Read Status [2:0x600000361440]: 1:57
2017-10-10 12:54:38.999998+0530 MyApp[11781:230845] TIC Read Status [2:0x600000361440]: 1:57
2017-10-10 12:54:39.000339+0530 MyApp[11781:230845] TIC Read Status [2:0x600000361440]: 1:57
2017-10-10 13:09:16.756803+0530 MyApp[11781:246165] [Client] Discarding message for event 0 because of too many unprocessed messages

I stumbled on your question while researching my own version of it.  My version of problem1 was solved by tweaking various settings inside the NSAppTransportSecurity dictionary inside Info.plist.

@mr-fixit Could you please provide the settings you changes in info.plist?
I have added "Allow arbitrary Loads" as Yes under NSAppTransportSecurity. And I am getting this error for iOS11. It is resolved for iOS 10 and lower.

Firebase is down
https://status.firebase.google.com/

For me same problem.

Hey all,
There's not enough information in this issue to accurately debug it. If you're running into this problem, try cloning the sample projects in this repository and running them. If the problem goes away, that means there's something wrong with your project configuration. Otherwise, please share your network conditions and how to reproduce the error in a new issue and we'll try to help you out.

Same error here,
Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9802, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x60000044f450 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://api.mydominio.cl:40001/ApiRest/api/login?user=admin&pass=3b24fa7sddasaae14555a1912e5bc2198f8e075&app=9&os=3
https://api.mydominio.cl:40001/ApiRest/api/login?user=admin&pass=3b24fa7sddasaae14555a1912e5bc2198f8e075&app=9&os=3
Maybe is there a problem with the port ?

The URL provided in your error isn't a Firebase or Google URL. Try posting over at StackOverflow.

I am also getting same error

I am also getting the same error. Using iOS SDK, Xcode 10, iOS 11. Previously i never got this. APNs Authentication key is already set. NSAppTransportSecurity is already set to true.
TIC TCP Conn Failed [4:0x1c0362f40]: 3:-9802 Err(-9802)
TIC TCP Conn Failed [5:0x1c0363840]: 3:-9802 Err(-9802)
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
Task <8EF885D2-B87F-4752-8D14-D2ECCC7958B8>.<1> HTTP load failed (error code: -1200 [3:-9802])
Task <8EF885D2-B87F-4752-8D14-D2ECCC7958B8>.<1> finished with error - code: -1200
2018-12-17 19:48:10.439556+0500 ZZizzle-mobile[1248:1538516] <Firebase/Network/ERROR> Encounter network error. Code, error: -1200, Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9802, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x1c405f890 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://play.googleapis.com/log, NSErrorFailingURLStringKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=3}
[Firebase/Core][I-NET901017] <Firebase/Network/ERROR> Encounter network error. Code, error: -1200, Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9802, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x1c405f890 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://play.googleapis.com/log, NSErrorFailingURLStringKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=3}
[Firebase/Core][I-COR000020] Error posting to Clearcut: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9802, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x1c405f890 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://play.googleapis.com/log, NSErrorFailingURLStringKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=3}, with Status Code: 0

same error!
NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://cast2.audiostream.com.br:2000/stream, NSUnderlyingError=0x600002a4cc90 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9836, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9836}}, _kCFStreamErrorCodeKey=-9836} [-1200]
Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made.
What I realized, it happens when I pass an URL that probably it is not safety, even if being https.

any sulition ?

same issue here, any progress?

Having same issues

Anyone was able to figure it out?

I am still facing this issue

Lupobb
Il gio 29 dic 2022, 07:21 umair2ooo @.***> ha scritto:

I am still facing this issue
—
Reply to this email directly, view it on GitHub
https://github.com/firebase/quickstart-ios/issues/339#issuecomment-1367097184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZH4X2X3YF5HGH4QHKSABQ3WPUUWXANCNFSM4D6OBURA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


NSTemporaryDirectory() broken in iOS logic tests

When running logic tests (no test host) via xctool, NSTemporaryDirectory() returns /var/tmp.
When run via xcodebuild NSTemporaryDirectory() returns a correct path like /Users/msch/Library/Developer/CoreSimulator/Devices/93A276C7-4C69-482B-8AC8-F51FAA6DF252/data/tmp/
This breaks tests on our CI servers.
https://github.com/facebook/xctool/blob/master/xctool/xctool/OCUnitIOSLogicTestRunner.m#L38 guess this is somehow related?

Hm, yeah, you located correct segment of code. Strange the fix applied there doesn't work. I am pretty sure it works for NSHomeDirectory(). I will have a look.

I wonder if we are stomping on $TMPDIR / not copying it into a task enviornment?

I've created a test project and run tests in Xcode and xctool. Here are the results:
== Application Tests ==
= Xcode =
NSTemporaryDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/BCD46AF2-E95C-4924-8FFB-CF24E94A9157/data/Containers/Data/Application/D9530B92-1FE0-4856-9590-F0BFCDC44D87/tmp/
NSHomeDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/BCD46AF2-E95C-4924-8FFB-CF24E94A9157/data/Containers/Data/Application/D9530B92-1FE0-4856-9590-F0BFCDC44D87

= xctool =
NSTemporaryDirectory: /var/folders/8p/n028bzz51m52b38w37wb0pbn2tm091/T/
NSHomeDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/979375FD-8A27-4611-BA96-8BE4747181A5/data/Containers/Data/Application/72102D33-ECC1-4083-A164-070A96CD614E

== Logic Tests ==
= Xcode =
NSTemporaryDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/BCD46AF2-E95C-4924-8FFB-CF24E94A9157/data/tmp/
NSHomeDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/BCD46AF2-E95C-4924-8FFB-CF24E94A9157/data

= xctool =
NSTemporaryDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/979375FD-8A27-4611-BA96-8BE4747181A5/data/tmp/
NSHomeDirectory: /Users/nekto/Library/Developer/CoreSimulator/Devices/979375FD-8A27-4611-BA96-8BE4747181A5/data

So we are matching almost everything. Looks like you hit the use case: application test + NSTemporaryDirectory(). I will have a look why it happens.

I've sent PR: https://github.com/facebook/xctool/pull/496.

Fix should be on master. Reopen please if it didn't help.


Angular upgrade

Is there a chance that Angular could be updated to v2+?
This project is cool, I used it for some projects. But for new ones it seems a little bit outdated.
I know there is riess.js on track but I think mean.js should not be left with outdated librarie like angular, angular-bootstrap, passport.js, etc.

Yep! Totally.
Here; #1666 — all coding help would be much appreciated!
I'll close this if you don't mind.

Hi @simison
So mean.js will be updated before 1.0 or we will have to wait until 1.0 (riess.js) is out?
I'm waiting for Angular 2+ so I can try to integrate Nativescript with shared code...

MEAN.js will soon be released with 0.6.0 from current master branch, which as you know doesn't include an angular-cli update.
Hopefully we can start pushing some code into Riess.js which attempts to be the place where we want to start with separating backend and frontend in order to provide this freedom of choosing angular, vue, or react for your frontend needs.

Thanks for the response.
So Riess.js will have Angular 2+ but Mean.js will never be updated :-(
Perhaps you can provide an estimate when Riess.js would be "usable", like in alpha? Should I wait Riess.js for my new projects or it will take too much time?
And thanks again for the great job!

Oh no, that's not what I said.
Sorry for the confusion but we're definitely still trying to figure out how to progress.
Just to be clear - of course we will update MEAN.js. As for Riess.js we have opened issues just the past week to discuss a lot of architecture changes so it's not yet ready to use now but we will keep the community updated, no worries. (make sure you subscribe to #1666 thread)

OK cool, so I can start a new project with 0.6.0 and update it later when Angular 2+ will be added.
If I find some time, I will try to do it myself...

@Ghalleb Did you manage to get anywhere with the Angular2 upgrade?
I have been happily working with with a 0.6.0 project, and now I am thinking its time to start upgrading. I was just wondering if you had any examples of how to bootstrap the application properly.
Thanks mate

hello, @nlaycock we are working on this here (board), based on Lirantal work (Riess.js), a project in order to separate node of MeanJs. We have forked this work (stopped) here in a Node repo and created another repo Angular.
In WeAreOpenSource orga we dream of creating multiple Back : Node Nest Switft ... and Front : Angular React iOS ... all aligns on feats, in order to allow anyone to compose their fullstack starter composed from subRepo (node angular ...)
Hope some people will join us after the end of a first example of fullstack (Node/ Angular) actually gathered here.
After this we will work on Nest and other techno ... and we will create a presentation website to explain the mindset, with a blog & slack & twitter and communication ...
feel free to PR and add Issues :) everybody is welcome !
(if you test it, actually you need to have postgre installed for the Node, we are adding an option on / off, not to impose the installation of postgre if the user use only Mongoose and no ORM, Riess have added an ORM Sequelize)


Visual Studio Code Crashing With Error: "dns_config_service_posix.cc(156)] dns_config has unhandled options!"

VSCode Version:
1.27.2
f46c4c469d6e6d8c46f268d1553c5dc4b475840f
x64
OS Version:
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G65

Steps to Reproduce:

?
Open Visual Studio Code

Does this issue occur when all extensions are disabled?:
Yes

Next I used the following checklist: https://github.com/Microsoft/vscode/issues/32433#issuecomment-323319934
I found the following:
  ➜  Desktop  code --verbose
[91839:1005/105303.872083:WARNING:dns_config_service_posix.cc(156)] dns_config has unhandled options!
[main 10:53:04 AM] Sending env to running instance...
[main 10:53:04 AM] Sent env to running instance. Terminating...
[main 10:53:04 AM] Lifecycle#kill()

Looking at the running processes, I found a funny one that looks at my /etc/hosts. See process ID 3949:
  ➜  Desktop  ps aux | grep Code
jbremer           3963   0.0  0.0  4342264    752   ??  S    Mon03PM   0:00.10 /Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Resources/crashpad_handler --no-rate-limit --no-upload-gzip --database=/var/folders/91/dz_s7bfn17qb_v2k9kgw8xy545qxb4/T/VSCode Crashes --metrics-dir=/var/folders/91/dz_s7bfn17qb_v2k9kgw8xy545qxb4/T/VSCode Crashes --url=https://rink.hockeyapp.net/api/2/apps/21a48a66799e47fea4f52c0ff81e803d/crashes/upload --handshake-fd=60
jbremer           3949   0.0  0.4  5542224  71500   ??  Ss   Mon03PM   3:51.83 /Applications/Visual Studio Code.app/Contents/MacOS/Electron /etc/hosts
root               354   0.0  0.0  4351660   3740   ??    Ss   Mon03PM   0:00.84 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper
jbremer          92030   0.0  0.0  4295416    964 s001  S+   10:56AM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn Code

Thanks all!

It looks like you resolved the issue by killing the instance that was running.


Update to Kotlin 1.3.10 and Gradle 5.0

Fix deprecated code

fix #124

Urgent :=)

@kapot65 can you rebase this so it's mergeable again?

@kapot65 Things in Package.install should be executed only in Idea Gradle project import/sync. I fixed and merged it into master manually: 6a869729 and 6f69279d.
Will be released soon.


Enhance build scripts to produce development and production packages

Description:
As discussed in #71 it would be nice if  the DIO build scripts produced both development and production artifacts for the usual DIO packages.
This would allow (for future DIO versions) additional checks and validations in development mode to increase the overall development experience, while those additional checks and validations would not be applied in production mode (for performance reasons).
This is similar to React, where you find two packages "react.development.js" and "react.production.min.js".
Task:
Enhance DIO's build scripts to produce packages for development and production. Find some way to allow code blocks to be removed for the production artifacts.

@thysultan Could you please tell me, what naming conventions your prefer for the built artifacts?
For example, those file names are used in my current implementation, but of course I can change the names as you like:
-rw-r--r-- 1 owner 197121 14K Jul 25 09:34 cjs.development.js
-rw-r--r-- 1 owner 197121 14K Jul 25 09:34 cjs.production.js
-rw-r--r-- 1 owner 197121 99K Jul 25 09:34 esm.development.js
-rw-r--r-- 1 owner 197121 25K Jul 25 09:34 esm.development.min.js
-rw-r--r-- 1 owner 197121 44K Jul 25 09:34 esm.development.min.js.map
-rw-r--r-- 1 owner 197121 99K Jul 25 09:34 esm.production.js
-rw-r--r-- 1 owner 197121 25K Jul 25 09:34 esm.production.min.js
-rw-r--r-- 1 owner 197121 44K Jul 25 09:34 esm.production.min.js.map
-rw-r--r-- 1 owner 197121 99K Jul 25 09:34 umd.development.js
-rw-r--r-- 1 owner 197121 24K Jul 25 09:34 umd.development.min.js
-rw-r--r-- 1 owner 197121 43K Jul 25 09:34 umd.development.min.js.map
-rw-r--r-- 1 owner 197121 99K Jul 25 09:34 umd.production.js
-rw-r--r-- 1 owner 197121 24K Jul 25 09:34 umd.production.min.js
-rw-r--r-- 1 owner 197121 43K Jul 25 09:34 umd.production.min.js.map

dio.esm.production.js etc...
I pushed a rollup-ify branch that i had locally from past efforts on this in case that might help.

@thysultan I would suggest do use special comments to mark code blocks that shall be stripped depending on "DEVELOPMENT vs PRODUCTION". It's done differently in React/Webpack (=> process.env.NODE_ENV), but DIO's build scripts do not use Webpack.
  // DEVELOPMENT:start
 console.log('THIS IS DEVELOPMENT')
  // DEVELOPMENT:end
  // PRODUCTION:start
  console.log('THIS IS PRODUCTION')
  // PRODUCTION:end

Is that okay for you or do you prefer an other solution or syntax?

do a string-replace on process.env.NODE_ENV and UglifyJS will clean it up

@Zolmeister Thanks for your suggestion.
Mmmh, but UglifyJS is currently only used for the "*.min.js" packages, those files that are not minified do not use UglifyJS.

@mcjazzyfunky I simply meant it in-lines the conditional (so avoids including unnecessary code in .production.min.js)
e.g.
if (process.env.NODE_ENV === 'development') {
  console.log('debug string')
}
if (process.env.NODE_ENV === 'production') {
  console.log('production string')
}

becomes
if ('production' === 'development') {
  console.log('debug string')
}
if ('production' === 'production') {
  console.log('production string')
}

which work for both production and development.
However you don't want the .min.js to contain debug string`, but this isn't a problem because UglifyJS will omit the entire branch
console.log('production string')

Thanks again @Zolmeister ... now I get it ;-)
Okay, I'll implement it the way you've suggested ... @thysultan gave "Thumbs up"...

@thysultan I've started to modify the "script/build/index.js" scripts before I've opened this issue.
So 6 days ago I did not know that maybe you prefer to use "rollup.js" to completely replace the build scripts.
Could you please tell what solution exactly you perfer to split the build results into DEV/PROD?
Option 1: Shall I just modify the original build scripts WITHOUT switching to "rollup.js" ... this does not seem to be a big deal => please see this preversion which seems to do the job basically (there are also some minor changes in some other files): http://www.mergely.com/tlx582Gs (script/build/index.js)
Option 2: Shall I switch to "rollup.js", add the "DEV/PROD" split there and replace the "script/build" scripts completely? This is of course more complicated and therefore I would need a bit more detailed task description from you.
Option 3: Something completely different ...

@thysultan Could you please invite me as collaborator for DIO? ... so that I can create a new branch "issue72" ... thanks.

@thysultan
Two questions:

The "dist" directory is currently not listed in ".gitignore" - shall this stay as is or shall "dist" be added to ".gitignore"?
FYI: Current sum of file sizes in directory "dist" (branch "issue72") : 748k

May I commit "packages-lock.json"? (npm  >= v5: See "This file is intended to be committed into source repositories", to be read here: https://github.com/npm/npm/blob/v5.0.0/doc/files/package-lock.json.md)

Lets add that to .gitignore. It would reduce some of the noise in diffs. With that change we'd need to run build before tests.
Haven't had the best experience with "packages-lock.json" so i'm biased to not include it. If we can add that to .gitignore that would be great.

@mcjazzyfunky Done.

You could use /* istanbul ignore next */ in the script that replaces process.env.NODE_ENV... or

Further reduce the dist artefacts to just .production.js and .development.js like React, where .production.js is the final minified output.

@thysultan Thanks for your answer.
I do not mind adding /* istanbul ignore next */  explicitly in the source code, but  what I do mind is that this may "fake" the test coverage statistics (adding it implicitly would make things even worse, I think).
Running the unit tests on a minified production package will result in hardly readable lcov reports (as far as I know istanbul does not support map files).
To make a long story short: I think for now I will just stick with the explicit /* instanbul ignore next */ solution - it's not really nice nor smart but it does it's job and maybe we can find a better solution when DIOs build scripts switch to rollup or webpack or whatever somewhere in the future.

@mcjazzyfunky Was there a reason istanbul did not report the mentioned functions? I'd assume the build that contains this should have had the specified branch accounted with the tests.

In the latest version of branch "issue76" the "/* istanbul ignore next */" comments are removed from file "PropTypes.js" => instead the build script "script/build/index.js" now has an array "devOnlyCoreFiles" to declare files to be "development exclusive".
Yet, the "istanbul ignore" comment is still needed here (=> Element.js):
  /* istanbul ignore next */
  if (process.env.NODE_ENV === 'development')
      checkPropTypes(type, props)


pm: policy: Move device power state constraints to policy

Move information about device power state constraints from device to policy.
It slows down constraints lookup since we now have to find constraints for a device in a global array, but it saves resources because we don't need to add a reference to them in all devices instance.

Instead of a global array, could the list of devices be attached to the power states directly?
            state3: state3 {
                    compatible = "zephyr,power-state";
                    power-state-name = "suspend-to-ram";
                    status = "disabled";
                    powered-down-devs = < &dev1 &dev2 &dev3 >;
            };

Instead of a global array, could the list of devices be attached to the power states directly?
            state3: state3 {
                    compatible = "zephyr,power-state";
                    power-state-name = "suspend-to-ram";
                    status = "disabled";
                    powered-down-devs = < &dev1 &dev2 &dev3 >;
            };

The problem is that who set constraints are devices, devices need to know which power states cause power loss.

The problem is that who set constraints are devices, devices need to know which power states cause power loss.

That doesn't sound right to me for this use case. You have a CPU, the CPU has sleep states, those sleep states have a defined list of IP blocks that will be turned off. Why do the devices need to know which sleep state triggers this?
This is different from the external power domain use case because there the setup isn't static for a SoC.

The problem is that who set constraints are devices, devices need to know which power states cause power loss.

That doesn't sound right to me for this use case. You have a CPU, the CPU has sleep states, those sleep states have a defined list of IP blocks that will be turned off. Why do the devices need to know which sleep state triggers this?

Most cases yes, but there are cases where a device is be powered by a  power domain that is turned off depending on power state.
Also, if I understood correctly, what you have proposed does not change too much the current situation (unless we have many devices using it), because we will still need to run a list of power states and checking of each of them if the device is powered off. Of course, depending on the devices_using_this_property X number_of_power_states this can change a lot.
But this solutions seems more generic and capable to cover edge cases.

This is different from the external power domain use case because there the setup isn't static for a SoC.

I won't object to any PM changes, I just wanted to have code from device.h removed. The main reasons are:
* Unnecessary coupling between device model and PM.

* struct device will get bigger for every device when the feature is enabled, even if the device doesn't require the feature. This used to be the same for device PM but was fixed a long time ago by struct device just holding a pointer to resources allocated by each device, based on its requirements.

This PR seems to remove all concerning code from device.h, so it's ok for me.

I have replied in the other pr


TV Android app - Add bottom navigation, Add screen for every bottom navigation.

Problem

TV Android app has one screen, where everything UI related is merged.
Customers are not able to use all the UI commands
Developers are not able to extend the existing UI commands as there's no space

Change overview
see above
Testing
Run ./scripts/run_in_build_env.sh \                     "./scripts/tests/run_test_suite.py \                      --chip-tool ./out/debug/standalone/chip-tool \                      run \                      --iterations 1 \                      --all-clusters-app ./out/debug/standalone/chip-all-clusters-app \                      --tv-app ./out/debug/standalone/chip-tv-app \                   "


How do I unsubscribe testing

Hello.
I'm using action-cable-testing.
I succeed subscribe testing. However, I have no idea how to test unsubscribe.
Thank you for telling me.

Hi!
There is no helpers to perform an unsubscribe action (probably, we should add one). You can try to do the following:
require "rails_helper"

RSpec.describe EchoChannel, type: :channel do
  it "subscribes and unsubscribed" do
    subscribe
    expect(subscription).to be_confirmed

    # that's the way to perform an `unsubscribe` command
    subscription.unsubscribe_from_channel
  end
end

Btw, what is your use-case? What do you want to test?

Thank you for your quick response!
subscription.unsubscribe_from_channel is correctly operated.
I tried to test below situation.
When user subscribed room, user.room is that room. And, if user unsubscribed room, user.room is nil.
Although it may be clumsy, it is faster for you to see the code
module ApplicationCable
  class Connection < ActionCable::Connection::Base
    identified_by :current_user

    ~~~
  end
end

class RoomChannel < ApplicationCable::Channel
  def subscribed
    @room = Room.find(params[:room_id])
    stream_for @room

    current_user.room = @room
    current_user.save
  end

  def unsubscribed
    current_user.room = nil
    current_user.save
  end

  ~~~
end

require 'test_helper'
class RoomChannelTest < ActionCable::Channel::TestCase
  test "user.room equals nil when unsubscribed" do
    user = User.find(1)
    stub_connection(current_user: user)

    subscribe room_id: 1
    assert subscription.confirmed?

    user = User.find(1)
    assert_not_nil user.room

    subscription.unsubscribe_from_channel

    user = User.find(1)
    assert_nil user.room
  end

  ~~~
end

Got it!
Thanks for the example!


Using AWS cluster - Trouble writing values to it

Hi,
Working on my app, everything looks fine in my local development environment with a single redis server on standard port. Running into problems when using an AWS environment with a cluster. Is there anything specific that needs to be set for a cluster?
The initial connection seems to go correctly using the following:
boost::redis::config cfg;
cfg.addr.host = "clustercfg.xxx-xxx-xxx.cache.amazonaws.com";
cfg.addr.port = "7000";
cfg.use_ssl = true;
cfg.clientname = "webserver";
cfg.log_prefix = "webserver.redis ";

and I see the following on std::cout, so it seems the cluster was correctly identified:
webserver.redis Resolve results: <IP_ADDRESS>:7000, <IP_ADDRESS>:7000, <IP_ADDRESS>:7000, <IP_ADDRESS>:7000
webserver.redis Connected to endpoint: <IP_ADDRESS>:7000
webserver.redis SSL handshake: Success
webserver.redis Bytes written: 105
webserver.redis Hello: Success
webserver.redis Bytes written: 32

However, when trying an HSET operation I got an exception:
Exception saving session to Redis. %s - keyid - Got RESP3 simple-error. [boost.redis:11]
This is the code that tries to write to the Cluster: (redisInst is an instance of sync_connection as it came from the examples dir)
   request req;
   boost::redis::response<
   	int, // HSET
   	boost::redis::ignore_t// EXPIRE
   > res;
   try {
   	req.push("HSET", key, "response", responseField);
   	req.push("EXPIRE", key, maxSessionTimeToLiveSecs, "NX");	// Have the session teid expire
   	redisInst->exec(req, res);
   	return true;
   }
   catch ( const std::exception& e )
   {
   	LogError("Exception saving session to Redis. %s - %s", key.c_str(), e.what());
   }

Running into problems when using an AWS environment with a cluster

Do you mean a Redis cluster? So far there is not support for Redis-cluster in Boost.Redis.

Got RESP3 simple-error. [boost.redis:11]

It is important to know what message is contained in that error. I still had no time to improve the sync_connection, I will try to look at it this weekend.

Can you please replace response<int, boost::redis::ignore_t> with response<int, int> and add this to your code
      if (std::get<0>(resp).has_error()) {
         std::cout << "Type: " << to_string(std::get<0>(resp).error().data_type) << std::endl;
         std::cout << "Diagnostic: " << std::get<0>(resp).error().diagnostic << std::endl;
      }
      if (std::get<1>(resp).has_error()) {
         std::cout << "Type: " << to_string(std::get<1>(resp).error().data_type) << std::endl;
         std::cout << "Diagnostic: " << std::get<1>(resp).error().diagnostic << std::endl;
      }

Let me then know what diagnostic do you get.

This is what the response now:
Type: simple_error
Diagnostic: MOVED 10848 xxx-xxx-xxx-xxx-xxx.cache.amazonaws.com:7000
Type: simple_error
Diagnostic: MOVED 10848 xxx-xxx-xxx-xxx-xxx.cache.amazonaws.com:7000

Where xxx-xxx-xxx is one of the cluster nodes

Ok, this means you are using a Redis cluster. As I said above, Boost.Redis does not provide any facility for cluster setups. In this case you would have to deal with the redirect yourself as describe under the in MOVED Redirection, which means creating a new connection to that node and maintaining a map of connections to prevent from opening more than one connection to the same node. Feel free to open an issue to add Redis cluster support, however I can't give you an estimate about when I will come up with it.


Add indexing endpoint

When I tried to use RPC call to index my text, I didn't know what is the indexing endpoint. I searched it on the portal and found nothing and then I searched your github source code to get the answer. I think it will be more convenient and user-friendly if you can put the endpoint on the document page.
Signed-off-by: Jean.T<EMAIL_ADDRESS>

Thanks for the PR!  Note that we do have documentation on the REST endpoints at https://docs.vectara.com/docs/rest but I can understand that it would be more convenient to be on the pages for the specific APIs.
A few changes I'd like though:

I'd like to be consistent and include this on the various API pages (search and admin)
We actually have this all in variables so that if we change API formats in the future, we can make all of the changes in 1 place.  The variables are stored at https://github.com/vectara/vectara-docs/blob/main/www/static/variables.json and an example of the usage is at https://github.com/vectara/vectara-docs/blob/main/www/docs/indexing-apis/file_upload.md?plain=1#L13 .  So this PR would become something like "The indexing endpoint is " to help future proof it

If you'd like to do these, let me know and feel free.  If you'd prefer that I close out this PR to replace it with my own that does those 2, let me know that

Thanks again for the PR here!  I hadn't heard back, and I know that what I asked would be significantly more work, so I went ahead and did that work myself and rolled it out.  You can now find indexing endpoints at the tops of the following documentation pages:

https://docs.vectara.com/docs/indexing-apis/indexing
https://docs.vectara.com/docs/indexing-apis/deleting-documents
https://docs.vectara.com/docs/admin-apis/create-corpus
https://docs.vectara.com/docs/admin-apis/delete-corpus
https://docs.vectara.com/docs/admin-apis/reset-corpus
https://docs.vectara.com/docs/search-apis/search

I'm going to go ahead and close this PR out, but thanks again for pointing this out and offering to help fix it!


ci/Pipeline: force usage of the deprecated flow in job(s) 'Deprecated'

Ref: https://github.com/chipsalliance/f4pga-examples/pull/327

LGTM


Issue41815: Switch "Single sign on" to "Single sign-on" in UI

Rationale
Docs and product are switching to use "single sign-on".
I'm using "Single Sign-on" since title-case is used in the relevant text, and prepositions in hyphenated words typically aren't capitalized in title-case.
Related Pull Requests

n/a

Changes

Update phrasing
Update jest snapshots

The convention appears to be that if "Sign" is capitalized, "On" should be too.
https://www.google.com/search?q=single+sign+on

Oops, not regular title casing then! Updated.

The convention appears to be that if "Sign" is capitalized, "On" should be too.
https://www.google.com/search?q=single+sign+on

Oops, not regular title casing then! Updated.


Update event card and page layout

What type of PR is this? (check applicable) 🚧

[ ] ♻ Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[X] 👷 Optimization
[ ] 📝 Documentation Update
[ ] 🔖 Release
[ ] 🚩 Other

Describe your PR request 🔥
Update event card and page layout + add min width of sidebar

Perfect, this makes everything look a lot cleaner.


Investigate moving several ResourceAllocation functions to superclass

There may be some functions worth moving from ResourceAllocation to SingleHostProcessingAssetPool, perhaps with some modifications to extend behavior (while maintaining current capabilities).  In particular, these are generate_unique_id, get_unique_id, and get_extra_identifiers.
This came out of the review for #331; see this comment for more context.  It is worth exploring whether these changes are beneficial and, if so, implementing them.

Blocked until #331 is fully merged.


[BUG] Math Block $$ $$ inside proof directive throws error

Using $$ $$ for math block throws error for absence of id.
The error is specifically coming when sphinx tries to number the equation

My bad, the error comes for math_blocks with targets like in this example:

Thanks for the feedback @AakashGfude. This is an issue with the proof:proof directive.

[ ] add as a test case when writing a fix


Added System Monitor project

added https://github.com/ZibanPirate/sysmon
Type of change

[x] New project

FYI, I'm using this tool on my system 😉

🦀


Brute force CAN?

Totally random but, how fast can you brute force the CAN? Its like only a 6 digit number.
Also somewhat related but, does eID provide any unique ID before PACE session that can be used to build a mapping between the card and CAN?

Obviously there are delays introduced for bruteforce. Here the whole idea of pace is to provide "anonymous RF layer"

As per this paper, brute forcing the CAN isn't feasible.
eID can't provide such an ID simply because it has no way of knowing anything identifying about the card before PACE has been established.

As per this paper, brute forcing the CAN isn't feasible.
eID can't provide such an ID simply because it has no way of knowing anything identifying about the card before PACE has been established.


Could I run with p2pool?

Could I run with p2pool?
https://www.getmonero.org/2021/10/05/p2pool-released.html
P2pool seems better.

yes, i think so.
From release notes:

Usage:

Run Monero daemon v<IP_ADDRESS> or newer: ./monerod --zmq-pub tcp://<IP_ADDRESS>:18083 --disable-dns-checkpoints --enable-dns-blocklist
Run p2pool: ./p2pool --host <IP_ADDRESS> --wallet YOUR_WALLET_ADDRESS
Start mining to port 3333 on your machine: ./xmrig -o <IP_ADDRESS>:3333
You can set custom difficulty for your miner to get more accurate stats on P2Pool side: ./xmrig -o <IP_ADDRESS>:3333 -u x+50000 (it doesn't affect mining rewards in any way)


[HCA DX] Add data use restriction facet and column

Background
See Azul ticket.
Need
Using the projects.dataUseRestriction value returned from Azul, corresponding columns and facets are to be displayed as follows.
Data use restriction column

"Projects" entity after the "Access" column
"Files" entity after the "File Size" column

Data use restriction filter

"Project" section after the "Biological Network" filter

Approach

Convert null values to "".

@MillenniumFalconMechanic one question - you clarified on Wednesday that the column on the Projects entity should only appear on the Managed Access config. Should the column also only appear on that config, or can that appear on the regular dev and prod configs?


NOWFULL Brownwin Aurora Viral Leaks Video On Social Media X Twitter[1410K]

⭐⭐⭐⭐⭐
23 sec ago Brownwin Aurora Leaked Video Viral On Social Media. NOWFULL Brownwin Aurora Viral Leaks Video On Social Media X Twitter[1410K]

Brownwin Aurora, a young and talented digital creator, recently captured the public's attention with an intriguing video that has gone viral across various social media platforms. The video, known as the "Brownwin Aurora Spiderman," has drawn in countless viewers and sparked discussions among users on Instagram, Twitter (X), and Discord. This remarkable success not only highlights Sophie’s ability to create engaging content but also demonstrates how social media can serve as a powerful tool for promoting creative works. Many people are eager to watch the video and learn more about the individual behind it.
For those interested in watching the full video of Brownwin Aurora, numerous links have been shared across these platforms, making it easy for fans to access the content that has taken the internet by storm. This phenomenon illustrates how quickly information and entertainment can spread in today’s digital age. As more individuals engage in conversations about the video, Brownwin Aurora is not only gaining popularity but also opening up new opportunities in her career as a content creator.


Fix error message for changing [[Writable]] to true from false for non-configurable properties

Currently the error message we print is "Cannot modify non-writable property" while it should be "Cannot redefine non-configurable property"

By spec, nonconfigurable properties certainly can be changed from writable: true to writable: false - it's only that nonconfigurable nonwritable properties can't be made writable.
You can see this with:
'use strict';
var obj = Object.defineProperty({}, 'foo', { configurable: false, writable: true });
console.log(Object.getOwnPropertyDescriptor(obj, 'foo'));
Object.defineProperty(obj, 'foo', { writable: false });
console.log(Object.getOwnPropertyDescriptor(obj, 'foo'));

oops, never mind, I misread your issue title :-) will delete my comment

It might be useful to say something more specific like "Cannot make nonconfigurable property writable" when attempting to set writable to true - to highlight the difference where you can change it to false.

Thanks @ljharb . Sure, we could have that. However, we have a macro for the error message to be thrown when trying to redefine non-configurable properties (except for the cases where it is allowed). Having a different one just for this case doesn't really seem worth it. Other browsers also just say "cannot redefine....".

Fair. I'd say every error message should be as helpful as possible, even if other browsers don't live up to that standard, but I don't truly understand the tradeoffs there.

Not enough impact to add to 1.4.1


pkg: Fix the code changed in #486

Signed-off-by: Ce Gao<EMAIL_ADDRESS>

This change is

I'd appreciate if anyone is interested in #426

/assign @ScorpioCPH

Coverage remained the same at 45.418% when pulling 1121648b339d604b6070608058a5c6f4e533e6a5 on gaocegege:fix into c7e39402e8daf1118bb5da878536fbd42f43c4a2 on kubeflow:master.

googleapiclient.errors.HttpError: <HttpError 403 when requesting https://container.googleapis.com/v1/projects/kubeflow-ci/zones/us-east1-d/clusters?alt=json returned "Insufficient regional quota to satisfy request for resource: "DISKS_TOTAL_GB". The request requires '100.0' and is short '4.0'. The regional quota is '4096.0' with '96.0' available.">
The cluster has no enough resource to run tests, and I will merge it manually since it is generated by code-gen and it should have no issues in CI test.


Use Buffer.isBuffer to check whether an object is a buffer

I used this great library along with node-canvas. Unfortunately, canvas.toBuffer() returns SlowBuffer. So jimp doesn't accept it.
See also https://github.com/Automattic/node-canvas/issues/711

Untested. But StackOverflow suggests converting from SlowBuffer to Buffer is trivial:
var f = function(slowBuffer) {
  var buffer = new Buffer(slowBuffer.length);
  slowBuffer.copy(buffer);
  return buffer;
}

From: http://stackoverflow.com/questions/14009048/what-makes-node-js-slowbuffers-slow


How many images do you use for training?

Can you tell me how many images of Tusimple do you use when training?

@ashergaga 85% training 10% validation 5% testing


plugin cannot read the on field

What happened:
Read the plugin on eld in the clusterfile.yaml file is empty

The yamltojson method reads the on field as a true field

may be "on" is keyword

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
Environment:

sealer version (use sealer version): latest source
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release): macos 12.0.1
Kernel (e.g. uname -a):
Install tools:
Others:

/invite

This may be related to yaml/v2 and yaml/v3

I found some with similar problems:
https://github.com/kubernetes/kubernetes/issues/102308#issuecomment-852485282
https://github.com/go-yaml/yaml/issues/214
The YAML 1.1 spec explicitly supported unquoted values like "on/off" or "yes/no" as booleans.
You can temporarily fix this problem by using the quote 'on' field


Can not import into Databrick Mlflow

I exported all of the experiments from our open source mlflow, and that didn't have any issues.  However when I try to import the experiments into our databricks managed mlflow I get the error
❯ import-experiments --input-dir "out" --experiment-name-prefix imported_
MLflow Tracking URI: databricks
Options:
  input_dir: out
  experiment_name_prefix: imported_
  use_src_user_id: False
  import_mlflow_tags: True
  import_metadata_tags: False
  use_threads: False
   {'id': '2', 'name': 'personalized-messages', 'ok_runs': 7, 'failed_runs': 0, 'duration': 15.0}
in_databricks: False
importing_into_databricks: True
MLflowClient: databricks
Creating Databricks workspace directory ''
Traceback (most recent call last):
  File "/Users/damien/Development/mlflow-export-import/mlflow_export_import/bulk/import_experiments.py", line 14, in _import_experiment
    importer.import_experiment(exp_name, exp_input_dir)
  File "/Users/damien/Development/mlflow-export-import/mlflow_export_import/experiment/import_experiment.py", line 35, in import_experiment
    mlflow_utils.set_experiment(self.dbx_client, exp_name)
  File "/Users/damien/Development/mlflow-export-import/mlflow_export_import/common/mlflow_utils.py", line 52, in set_experiment
    dbx_client.post("workspace/mkdirs", { "path": exp_dir })
  File "/Users/damien/Development/mlflow-export-import/mlflow_export_import/common/http_client.py", line 50, in post
    return json.loads(self._post(resource, data).text)
  File "/Users/damien/Development/mlflow-export-import/mlflow_export_import/common/http_client.py", line 46, in _post
    self._check_response(rsp,uri)
  File "/Users/damien/Development/mlflow-export-import/mlflow_export_import/common/http_client.py", line 63, in _check_response
    raise MlflowExportImportException(f"HTTP status code: {rsp.status_code}. Reason: {rsp.reason}. URI: {uri}. Params: {params}.")
mlflow_export_import.common.MlflowExportImportException: HTTP status code: 400. Reason: Bad Request. URI: https://xxxxxxxx.databricks.com/api/2.0/workspace/mkdirs. Params: None.

I believe the issue is that the location of the workspace directory is /Users/<USER>/my-experiment so it is failing because it is trying to write to the root directory.

Get rid  of the option --experiment_name_prefix: imported_. Can't use prefixes when importing into Databricks workspaces since that's going to be an illegal workspace path. Yes, need better doc for that.

@damienrj how did you configure the tool to see your open source mlflow? I'm getting this error:
WARNING: You haven't configured the CLI yet! Please configure by entering /databricks/python3/bin/export-model configure`

Make sure you are using the Databricks ML Runtime.

I can say with the most recent version I have been able to to successfully important GBs of data. The only caveat is I can't use the bulk import took since I need to set the experiment name to match the requirements of databricks. /Users/<USER>/my-experiment for example.

@damienrj how did you configure the tool to see your open source mlflow? I'm getting this error:
WARNING: You haven't configured the CLI yet! Please configure by entering /databricks/python3/bin/export-model configure`

I set tracking to point to my open source endpoint, and then for importing set it to databricks.

I was running into the same error. Solution for me was to create the folder in advance (I assume it was a permission issue).
Hope it helps anyone who runs into it.


[Feature request] Verbose/debug flag

Sometimes I face errors like this one
Hostname could not be parsed, skipping http://
I have no idea what the hostname is or what might have cause the error.
I would be useful to increase the verbose level to show what hostname was giving troubles.

Hi - you can add a "debug":true to you config.json for some basic verbose error messages.
The missing hostage error likely stems from an empty line at the end of your input, which it prepends with http:// before trying to process.
I'll add a check to purge empty lines from input.

Hi - you can add a "debug":true to you config.json for some basic verbose error messages.
The missing hostname error likely stems from an empty line at the end of your input, which it prepends with http:// before trying to process.
I'll add a check to purge empty lines from input.

Thanks, I will give it a try!

Hi - you can add a "debug":true to you config.json for some basic verbose error messages.
The missing hostname error likely stems from an empty line at the end of your input, which it prepends with http:// before trying to process.
I'll add a check to purge empty lines from input.

I think I would be simpler and easier to use a flag instead a config file. :D

I agree, but the use of docopt to generate the documentation and supported flags sadly doesn't allow me to specify global flags without cluttering each of the documentation lines with a [--debug] option.
So closing for now, until somebody can suggest a way around that.


The definition of the querier concept.

Core concept: Basic queries are provided as parameters and APIs that can be directly transmitted for difficult queries for each DB are provided.


Change C++ TurboModule/NativeModule namespace shared with RNW away from "winrt"

This API was integrated starting in #595 with the aspiration that this can be contributed upstream, but it still used the winrt::Microsoft::ReactNative namespace. In preparation for contributing upstream, it would be really nice to adjust the namespace to at least not have winrt since it's the API is not specific to Windows anymore. 😀

Agreed! We shouldn't have any win specific types on macOS or iOS. This should definitely get fixed before it's contributed upstream.

@ZihanChen-MSFT Tagging you so you see this but I don't think there's an immediate action needed so unassigning you.


Change the Font

The fonts we are using are:
'Open Sans', Gadugi, 'Aboriginal Sans', 'Noto Sans Canadian Aboriginal', sans-serif
In this order

Fonts have been updated in the settings page as per PR #27


Bonus Action, Reaction and Legendary Action recharge on 1d6 rolls are not imported correctly

Any Bonus Action, Reaction or Legendary Action with the Recharge property will be imported with 1/1 charges, but does not have a threshold for recharging with a 1d6 die roll defined. Actions, however, are imported correctly.

The details page looks like this, the Action Recharge field at the bottom is not populated for non-Action entries.

I don't have much time these days to work on this, but I'm open to pull requests.

Implemented in v1.90.1


Support --long commands.

For certain tools, you can come to experience command bloat. Many of the commands that get added might not actually be important for the core functionality of the tool, but are used mainly for very specific issues / debugging. If you could indicate that particular command is "long", then it might show up only when running:
mytool help --long

Closed in #5


Use queue instead of memory queue in webhook send service

Just found webhook send queue is still using a memory one. This PR add that and removed the unused memory queue.

The CI fail sounds related. Somewhere in this PR, there seems to be an NPE.

The CI fail sounds related. Somewhere in this PR, there seems to be an NPE.

Yes, webhook_service.Init should be invoked before some tests, blocked by #19393

:rocket:


Support custom space formatting in write files

Related https://github.com/linebender/norad/issues/145
It might be useful for a user to define the type (tab, space) and length (one, two, four) of space formatting in the file writes.  This would reduce text diffs relative to other tooling used in a UFO work pipeline.  I'm not sure that it is necessary to be dogmatic about this issue.  The goal is to achieve consistent formatting and that can be, at least partially, user-defined + project-specific?
This would require support in the norad project.

https://github.com/linebender/norad/pull/148 🥳

This is now supported in norad main branch.  Will add new options to define space formatting in the ufofmt executable.

#29

We will support between 1 - 4 tabs or spaces and use the norad default = single tab indentation.

Added in #29, will be released in v0.5.0


Sample ODATA-Connector - HTTP 400 when using the SAP Websource

@cczarski-de  reporting this issue as per your comment in today's video to reach out if there are any issues.
On apex.oracle.com (App: 186919) I created a new page with an IR using the "Sample-SAP-SalesOrder" Web source and the IR reported this:
ORA-20999: REST Data Source returned an HTTP error: HTTP 400: Bad request
I know the websource is working fine, columns were added and outside of APEX data is returned. Exact same issue in our internal 22.1 instance.
When testing the websource "Test Operation" the same error code is shown (See screenshot).

Thank you Carsten & APEX team

Hi,
thank you for reporting this. The "Sample-SAP-SalesOrder" REST Source example is not correctly configured in the Sample Applicaion. The "Source supports Total Row Count method" attribute must be set to None, as that REST endpoint does not support result counting.

I will update the Sample Application downloadable here; until then, simply navigate to the attributes of your REST Source and set the Source supports Total Row Count method to None. After that, the REST Source should work.
regards
-Carsten

I have refreshed the Sample App downloads with that attribute being set correctly.


Custom domain

In trying to setup a custom domain: www.drupalatyourfingertips.com, I've hit a few snags
Following the instructions at:
https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain-and-the-www-subdomain-variant
It suggests:
Note: Setting up a www subdomain alongside an apex domain is recommended for HTTPS secured websites.
I've setup the CNAME record and the apex domain so I get
dig +short www.drupalatyourfingertips.com CNAME
selwynpolit.github.io.
dig +short drupalatyourfingertips.com A
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
This seems sane but somehow when I try to set the domain as www.drupalatyourfingertips.com Github barfs and reports:
DNS check unsuccessful
Both drupalatyourfingertips.com and its alternate name are improperly configured
Domain does not resolve to the GitHub Pages server. For more information, see documentation (NotServedByPagesError).
@maks-oleksyuk Any thoughts on this?

https://www.whatsmydns.net/#CNAME/www.drupalatyourfingertips.com
reports the info has propagated to most places but a few still missing
https://www.whatsmydns.net/#A/www.drupalatyourfingertips.com
Reports it is everywhere

ok, I got it no longer complaining about the DNS check but now the site is all kinda goofy!  I wonder if there is some hardcoded reference to github.com in the styling stuff...

@selwynpolit Everything seems to be working well, are there any other possible questions?
After changing the domain, you will need to update the link to the site on the GitHub repository page as well as in the README file.
An interesting thing that I noticed is that after changing the base in the configuration, forks running on github domains may be affected. I think this should be noted somewhere.

Thanks @maks-oleksyuk
I got those changes but I don't quite know what to put about the forks running on github domains.  How are they affected? What do you suggest I write about that? Are you thinking it is something for the README?
Do you think we need to do anything with this? https://github.com/selwynpolit/d9book/pull/127