receiving error with face_encoding of face_recognition library after cuda setup

face_recognition version: 1.2.3
Python version: 3.6.5
Operating System: windows 10

What I Did
I have just setup my CUDA with dlib and after that I am receiving this error when running the encoding of face using face_recognition library
face_encodings = face_recognition.face_encodings(frame, face_locations, num_jitters=1)

  File "C:\Users\abhinav.jhanwar\AppData\Local\Continuum\anaconda3\lib\site-packages\face_recognition\api.py", line 210, in face_encodings
    :return: A list of 128-dimensional face encodings (one for each face in the image)

  File "C:\Users\abhinav.jhanwar\AppData\Local\Continuum\anaconda3\lib\site-packages\face_recognition\api.py", line 210, in <listcomp>
    :return: A list of 128-dimensional face encodings (one for each face in the image)

RuntimeError: Error while calling cudnnCreate(&handles[new_device_id]) in file C:\dlib-master\dlib-master\dlib\cuda\cudnn_dlibapi.cpp:104. code: 1, reason: CUDA Runtime API initialization failed.

Today I faced the same problem,help me please

Hello !
os: windows 8.1
Today I completed the installation of face_recognition, a library for python3. Also, before that I installed dlib with CUDA, very successfully. After that, I tried to run a script with recognition of people, and I received an error This i got on the command line
Traceback (most recent call last):   File "C:\Users\в.е.гусаров\Documents\Visual Studio 2015\Projects\PythonApplica tion1\PythonApplication1\face-recognition-opencv\recognize_faces_video_file.py",  line 6, in <module>     import face_recognition   File "C:\Program Files\Python37\lib\site-packages\face_recognition\__init__.py ", line 7, in <module>     from .api import load_image_file, face_locations, batch_face_locations, face _landmarks, face_encodings, compare_faces, face_distance   File "C:\Program Files\Python37\lib\site-packages\face_recognition\api.py", li ne 23, in <module>     cnn_face_detector = dlib.cnn_face_detection_model_v1(cnn_face_detection_mode l) RuntimeError
Help me please

This may happen due to missing cuDNN or version mismatch. I encountered this error having libcudnn7 for CUDA 10.1 while the system's CUDA version was 10.0.

check your gpu sm version and cuda support for it, cuda10.1 only supports from sm_30 to sm_75.
make sure the cuda and cudnn are compatible


gitflows: add push to dockerhub

Description
Adds build and push to dockerhub for deployer docker image
Metadata
Fixes

Fixes # [Link to Issue]

Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

This docker image is specifically for the deployer script


Sort out the best way to do multi-tenant development

https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/


Using React Native Skia With Expo: Could not find component config for native component

Description
I've recently updated several packages, including upgrading React Native from version 0.71 to 0.74. I'm currently using Expo alongside react-native-skia version 1.2.3. After performing these updates, I encountered an issue that occurred as soon as the app launched. (As suggested by expo-doctor)
error<EMAIL_ADDRESS><EMAIL_ADDRESS>Could not find component config for native component
Version
1.2.3
Steps to reproduce
App launch itself is crashing!
Snack, code example, screenshot, or link to a repository

This is happening in v1.3.6 too

From what I understood so far:
My current package.json is:
 "expo": "~48.0.21",
    "expo-av": "~13.2.1",
    "expo-background-fetch": "~11.1.1",
    "expo-build-properties": "~0.6.0",
    "expo-dev-client": "~2.2.1",
    "expo-haptics": "~12.2.1",
    "expo-linear-gradient": "~12.1.2",
    "expo-localization": "~14.1.1",
    "expo-screen-orientation": "~5.1.1",
    "expo-splash-screen": "~0.18.2",
    "expo-status-bar": "~1.4.4",
    "expo-system-ui": "~2.2.1",
    "expo-web-browser": "~12.1.1",

Whenever I run expo update we get to these versions of expo and the app crashes and get the error.
"expo": "^51.0.0",
    "expo-av": "~14.0.5",
    "expo-background-fetch": "~12.0.1",
    "expo-build-properties": "~0.12.3",
    "expo-dev-client": "~4.0.18",
    "expo-haptics": "~13.0.1",
    "expo-linear-gradient": "~13.0.2",
    "expo-localization": "~15.0.3",
    "expo-screen-orientation": "~7.0.5",
    "expo-splash-screen": "~0.27.5",
    "expo-status-bar": "~1.12.1",
    "expo-system-ui": "~3.0.6",
    "expo-web-browser": "~13.0.3"

So for now I have reverted back to my previous expo version as the latest is not supported. Hope it gets resolved soon!

In my case adding react-native to the resolverMainFields in the Metro config seemed to have solve the issue.
  resolver: {
    /* ... */
    resolverMainFields: ["react-native", "browser", "main"],
    /* ... */
  }

I had the issue of not correctly extending the default config. As a result the defaultConfig.resolver properties were left out, which caused the resolverMainFields to be missing.
  resolver: {
+  ...defaultConfig.resolver,
    resolverMainFields: ["react-native", "browser", "main"],
    /* ... */
  }

Hey @william-candillon,
Sorry to bother you, but could you please share a workaround or fix for this issue if possible? I’ve been stuck with this for 3 weeks, and it would be really helpful. Once again, thank you for your time!

Hey @Rizasghar , I found the fix simply copy paste the metro.config of example in the repo itself. It worked for me!


HTML formatting problem

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.14393

after format (alt+shift+f):

htmlfile.zip

We're using the jsbeautifier formatter.
Please file issues directly there.
Note that the formatter has a list of tags that are not formatted. The anchor tag () is one of theme. You can change this by the setting "html.format.unformatted"


RemoveAttrs plugins matches only tags name

Currently, I cannot use removeAttrs plugin with RegExp that match or exclude certain classes, or smth specific other then tag name. Would be really useful to be able to somehow exclude from rule certain svg  files.
I'd like to use smth like this:
'removeAttrs': {
attrs: '._path(?!._class="filled").*:fill'
}

Technically, it's quite complicated and since the plugin is a byproduct by a third-party committer it's unlikely that someone will improve it.

You can use custom plugin
const plugin = {
  type: 'visitor',
  name: 'remove-my-attrs',
  fn: () => {
    return {
      element: {
        enter: node => {
          if (node.name === 'path') {
            if (node.attributes.class.split(/\s+/).includes('filled')) {
              delete node.attributes.fill
            }
          }
        }
      }
    }
  }
}


Spyder GUI window disappears when changing monitors

Problem Description
When I closed spyder using one monitor that was virtually above my main screen and then connected a different monitor that was virtually at the left of my main screen, I noticed the spyder window going to some place above my main monitor, and this makes the spyder window impossible to see or reach.

Possibly related issues: #1672
What steps reproduce the problem?
The problem seems related with changing screens:

Connect your machine (say laptop) to a monitor and setup that screen (in software) to be above your main screen such that when your mouse moves past the top edge of your main screen, it enters that screen.
Open spyder. Move window to new screen. Close spyder.
Setup the screen again (in software again) to be on the left (or right, or bottom) of your main screen.
Open Spyder again.

What is the expected output? What do you see instead?
I'd expect Spyder to open in one of the available screen. Instead, Spyder tries to open on the screen that was previously above our main screen and cannot be seen.
Versions

Spyder version: 5.3.3  (conda)
Python version: 3.10.8 64-bit
Qt version: 5.15.2
PyQt5 version: 5.15.7
Operating System: Windows 10

Hey @jmoraispk, thanks for reporting. This is a serious issue indeed, so we'll try to solve it in our 5.4.3 version, to be released at the beginning of March.
@dalthviz, what do you think we could do about this? How could we detect if the region where Spyder was placed before disconnecting a previous monitor is actually visible?

I'm not totally sure what we could do about this or the correct approach for this, maybe we could try to detect the virtual screen geometry changing as ypu say but I don't know if corner cases will appear where such detection is unreliable (like with the HDPI screens issues). Also, maybe as a workaround for this, using the Win + Arrow Keys shortcuts that you can use to position windows could be useful to see again the Spyder application window.

Note: After a bit of thought, I think we could use QGuiApplication.screenAt to detect if Spyder is placed in a visible screen and move it to the primary one if that's not the case.
However, that requires bumping our Qt/PyQt versions, so I think it's better to leave this for Spyder 6.

I'm not totally sure what we could do about this or the correct approach for this, maybe we could try to detect the virtual screen geometry changing as you say but I don't know if corner cases will appear where such detection is unreliable (like with the HDPI screens issues). Also, maybe as a workaround for this, using the Win + Arrow Keys shortcuts that you can use to position windows could be useful to see again the Spyder application window.

Hey @dalthviz , I tried this and it didn't work. I guess Windows doesn't have a contingency for this behavior, and the win + arrows is just moving spyder window in that invisible screen, I assume. If there is a shortcut to bring the window to the main screen, that would likely work as a workaround, yes.

Thank you for the info @jmoraispk ! After trying a little bit I was able to reproduce this and seems like a way to workaround the problem is to use the snap window feature. So try to drag and drop any other window application you have available to take for example half of the window space and then Windows will let you choose any other window application to set it to use the other half of the screen. If you then select the Spyder application window (which appears as a blank screen) it will show up. That Windows feature looks something like this:

After selecting the Spyder application window:

Thanks @dalthviz


unable to find msvcp140.dll when cross-compiling to ARM64 with cibuildwheel

I'm exploring building Windows ARM wheels for pyzmq. This uses cibuildwheel, which cross-compiles from AMD64 to ARM64, and then invokes delvewheel. The build is succeeding, but delvewheel is not finding msvcp140.dll:
  File "C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\site-packages\delvewheel\_dll_utils.py", line 403, in get_all_needed
      raise FileNotFoundError(f'Unable to find library: {dll_name}')
  FileNotFoundError: Unable to find library: msvcp140.dll
  extracting pyzmq-26.0.0a6-cp39-cp39-win_arm64.whl to C:\Users\RUNNER~1\AppData\Local\Temp\tmpy71qzmf_
  repairing C:\Users\runneradmin\AppData\Local\Temp\cibw-run-eilqynyq\cp39-win_arm64\built_wheel\pyzmq-26.0.0a6-cp39-cp39-win_arm64.whl
  finding DLL dependencies
  analyzing package-level extension module zmq\backend\cython\_zmq.cp39-win_arm64.pyd

I'm guessing I just need to specify the right --add-path to find the arm64 DLLs, but I don't really know where these things live. Any suggestion on where to look? Should I expect the default search path to be able to find these?
This is on a GitHub Actions windows-2022 runner.

The default search path that delvewheel uses is the PATH environment variable, which I would not expect to include the path to the arm64 DLLs. I think those DLLs would be somewhere under C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC.


Issue with pixel coordinates

Hi,
From corner 1 to 2 in the fig the coordinate x is varying from .2 to .8 only instead of 0-1 like the y coordinate. Is there any possible way to rectify this. And I wanted to know whether this will have any impact on calculating vertical and horizontal angle of view using sensor width, sensor height or will it change.
https://user-images.githubusercontent.com/23277899/83963095-ea851980-a8c0-11ea-8d23-66d5f762ea2c.jpeg

This is because the aspect ratio of the camera preview frames (returned from the OS camera API) can be different from that of the display SurfaceView. In those cases, to not distort the camera frames, MediaPipe fits the output to the display along one axis while having it cropped (on both sides) along the other axis.
You should be able to derive such cropping from the aspect ratio of the display view (width and height here) and that of the camera preview frames (essentially from this size).
Note that to minimize such cropping in general the app should request preview frames (using the OS camera API) with the closest aspect ratio to the display view. However, our Android example app currently doesn't always do that, partly due to some incorrect setup and partly the version of the CameraX we use. We are working on a fix.

So. I am getting 10801969 as viewSize, 720720 as displaySize. How will the cropping occur in this case. I mean could you explain me how to derive from this.

In this case, the output image from the graph is 720x720, which is rendered onto the 1080x1969 view with the left and right side cropped. You could consider the rendering process as the output image first being enlarged to 1969x1969 and with its center aligned with the 1080x1969 view. As a result, the left and right (1969-1080)/2 ~= 444 pixels are cropped. Consequently, about 444/1080 ~= 23% of the image is cropped horizontally from each side, aligned with your 0.2~0.8 observation.

Hi @chuoling,
Basically I am trying to get the real world coordinates from the normalized pixel coordinates by incorporating mediapipe along with a depth sensor. Post my calculations using camera matrix I am getting values of maximum field of view in x and y(when seen in portrait view x is along horizontal and y is vertical and the origin is at the top left corner) directions which agrees with the normal front camera for a particalar depth. But the view which the mediapipe is showing appears to be be zoomed in both the directions. As mentioned by you earlier one of the side is cropped I agree to that which is x in our case but even y appears to be zoomed though it gives me values from 0-1. For example with my calculations at a depth of 30cm the X and Y(max field of view) is 30cm and 38.88cm which is correct when tested with the normal selfie camera. But when in mediapipe the values X and Y is arround 14-15cm and 26-27cm. Could you please get me through this.

This was an issue we ran into when trying to determine the click locations on-image from click-locations on screen, since we needed to map touch presses (sometimes with coordinates on a constrained range like [.2, .8]) back to normalized image coordinates [0, 1].  Perhaps the solution there can help you with your calculations?
See the "recordClick" function in mediapipe/examples/android/src/java/com/google/mediapipe/apps/instantmotiontracking/MainActivity.java for more details.

Hi @iverdr17, We are closing this issue now, We assume you are resolved from the above comments. Feel free to reach us if you still have any further queries on the above. Thanks!


Offset and scale for annotations is too sensitive

Depending on the scenes units and the size of a model, the offset and scale for annotations can be too sensitive, with values of .01 moving annotations off the screen. This is a particular issue when using the click and scrub method of changing scale and offset.
For example, when changing the scale of a standard or extended annotation using the click and scrub method, moving the mouse less than a millimeter can send the annotation off the screen.
This can be seen in scene 9fb50f36-fd2a-48a2-86d3-50113cc91028 (internal Story location &root=nas2/qc/jwb/9fb50f36-fd2a-48a2-86d3-50113cc91028/)

Addressed in #71


Allow every type of privkey

It cause problems with self generated clouflare keys

Since #774 is merged now, if you can't replicate your problem with that fix, please close this PR.

Since #774 is merged now, if you can't replicate your problem with that fix, please close this PR.

Thanks !

Thanks !


LALEE: Refactor unit tests for usability under Python 3.9 thru 3.11.

Eliminated unittest2 (refactored tests to use unittest as its successor)
Eliminated nose (refactored ot use pynose as its successor)
Reworked code all around to accomodate minor breaking changes encountered.
Pointed some requirements to my github clone of upstream repos (orquesta, st2-flake, pynose-*) so I can relax package requirements.

Should've squashed these past 2 commits as a single atomic commit.
Merging despite Github-CI errors. This is "part 2 of 2" to the package-update changes already in master, and Github-CI needs to run this updated code going forward.


squid:ModifiersOrderCheck - Modifiers should be declared in the correct order

This pull request is focused on resolving occurrences of Sonar rule
squid:ModifiersOrderCheck - Modifiers should be declared in the correct order.
This pull request removes technical debt of 10 minutes.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:ModifiersOrderCheck
Please let me know if you have any questions.
George Kankava

Automated message from Dropbox CLA bot
@georgekankava, it looks like you've already signed the Dropbox CLA. Thanks!

Looks good to me.

This has been merged.


[Enhancement] Ignore directories and all child objects by path

Is your feature request related to a problem? Please describe.
Album view picks up an entire comic collection on my SD card (thousands of subdirectories containing individual comic issues or graphic novels) that I'd like to ignore all at once. At present I need to select every one of those as individual albums and ignore them by hand.
Describe the solution you'd like
I'd like to be able to add paths to ignore and have all subdirectories further down the filesystem tree from that point ignored as well. Eg: if I ignore sdcard://comics/ the gallery should skip that portion of the tree (everything beneath that path.)
Describe alternatives you've considered
I could manually ignore about 2500 albums
Additional context
n/a

It will be available in the next release along with Vault (encrypted media)

Awesome, thanks!

PLEASE YES PLEASE

Sorry to update so lately, but this is already available with the 'Ignored Albums' Overhaul. Create a regex pattern to match all your targeted albums and should be filtered automatically (even new ones)

Sorry to update so lately, but this is already available with the 'Ignored Albums' Overhaul. Create a regex pattern to match all your targeted albums and should be filtered automatically (even new ones)

No worries, thanks for the feature - it's exactly what I needed.
Cheers!


Chinese text has positive bottom padding and negative top padding, happening on both iOS and Android, thus not possible to vertically center a text

Steps to Reproduce

Just copy and paste this code snippet and run it.
Expected results:
Text should not have such strange padding at bottom.
Actual results:
This is the screenshot when running the app. As we can see, the text has two strange things:

It has non-neglectable bottom paddings.
It has negative top padding.

This is a problem, because with such, we cannot vertically make a text center-aligned. for example, a Center will make the text "box" centered, but due to uneven padding, it will indeed be put higher than expected.
By the way, I have tested it on a iPhone and an android, so it seems not to be a problem of one specific font, but rather something intrinsic.

Code sample

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Center(
          child: Container(
            color: Colors.orange[200],
            child: const Text(
              '探索文本工王田甲乙丙丁一二三四口',
              style: TextStyle(
                fontSize: 24,
                height: 1,
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Logs

n/a

no problem

2.8.1

Can I work on this issue?

This is the same issue as #22625 and #19063.  According to #35493  The root cause of this is that the ideographic baseline implementation in LibTxt is currently only an approximation (an existing TODO specifies fixing this), and should not be used for sensitive purposes. Check out the links provided above.
Hope this helps.

@ramanjitsingh-hub Thank you so much!

@ramanjitsingh-hub Sorry it seems that #19063 is closed (and locked) so I guess it is solved by #35493? However, it still has this bug in 2.8.1 flutter.

/cc @GaryQian @tamcy

I think the flutter does not have support for an accurate baseline for ideographic property currently it is just an approximation. Until the support is provided try textBaseline : TextBaseline.ideographic

Hi @fzyzcjy, I believe this issue is because TextBaseline.ideographic is buggy, with TextBaseline.ideographic all text (including non-English characters) is supposed to be above the basline, But it is not the case as  of today.
This issue is being tracked here https://github.com/flutter/flutter/issues/94680, Would you mind taking a look at the linked issue and verify if fixing it would resolve your issue?

@ramanjitsingh-hub Thanks!
@maheshmnj Thanks! Sounds reasonable, but I am not very sure if fixing it would resolve your issue.
Anyway, I wonder when can it be fixed? Can I help?

I am able to reproduce a similar output on both stable and the master channel, This could potentially be related to https://github.com/flutter/flutter/issues/94680.

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.363, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.363 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9e9a728667 (7 hours ago), 2022-01-14 09:40:11 +0800
    • Engine revision f121c1fe68
    • Dart version 2.17.0 (build 2.17.0-11.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 11 (mobile)     • FC644E6C-7F02-40E5-9998-1F0CD162FBD8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 97.0.4692.71

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Anyway, I wonder when can it be fixed? Can I help?

@fzyzcjy, We are always looking for contributors, You are welcome to contribute.

Thanks. So may I know when will it be fixed, or the priority?

We are always looking for contributors, You are welcome to contribute.

Could you plz give some hints on where I should start? Have no idea how to fix it.

I have encountered similar problems with base-line #76770 too. In my situation is a background color problem. I modified c++ side code had solved it in my own engine but did not pull an RP. I will happy to contribute.

Please take a look at this wiki to understand How you can start contributing to flutter https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md

@xiaoxiaowesley

I modified c++ side code had solved it in my own engine but did not pull an RP. I will happy to contribute.

That sounds wonderful! Looking forward to your pull request, and I am willing to contribute if needed

@maheshmnj

Unfortunately, we cannot provide you with an estimate by when a particular issue will be fixed, Someone from the team will soon assign a priority on this issue.

Waiting for that priority ;)

Please take a look at this wiki to understand How you can start contributing to flutter https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md

Sure I know it. Originally I wanted to know what related file(s) I should examine, but @xiaoxiaowesley seems to have even fixed it

@LongCatIsLooong - please take a look at this, assign a priority

https://github.com/flutter/flutter/issues/39420 is currently in progress. Making changes to libtxt code may make the migration a moving target is my understanding. Once the migration is done this issue needs to be revisited.

I also have the same problem.
Chinese characters will have different top padding on different devices.
This will result in incorrect vertical centering.
(It is correct to use English text)
FlutterVersion：
Channel stable, 2.10.4, on macOS 12.1 21C52 darwin-arm, locale zh-Hant-TW)

code

 @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Center(
          child: Container(
            height: 50,
            width: 200,
            color: Colors.green,
            child: Center(
              child: const Text(
                '新增',
                style: TextStyle(
                  fontSize: 24,
                  backgroundColor: Colors.red,
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }

@LongCatIsLooong Now it may be a time to revisit this issue - since #39420 is merged a month ago. Could you please revisit it a bit? Thanks
@xiaoxiaowesley Hi how is your PR? I am willing to contribute as well.

Below is my temporary solution, I'm not sure if it's accurate
But at least it looks correct

code

double fontSize = 17;
Text( '新增',
  strutStyle: StrutStyle(
          forceStrutHeight: true,
          height: 1,
          leading: 0,
          fontSize: fontSize + 4),
  style: TextStyle(
          fontSize: fontSize,
 ),

👀 Any updates? I am willing to contribute

@fzyzcjy could you try turning on half-leading and see if that center-aligns the text?

Looks great! Here are raw experiments (and I will explore more later):
Experiment 1: Exact same code as the issue

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Center(
          child: Container(
            color: Colors.orange[200],
            child: const Text(
              '探索文本工王田甲乙丙丁一二三四口',
              style: TextStyle(
                fontSize: 24,
                height: 1,
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Experiment 2: TextLeadingDistribution.even

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Center(
          child: Container(
            color: Colors.orange[200],
            child: const Text(
              '探索文本工王田甲乙丙丁一二三四口',
              style: TextStyle(
                fontSize: 24,
                height: 1,
                leadingDistribution: TextLeadingDistribution.even,
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Experiment 3: proportional

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Center(
          child: Container(
            color: Colors.orange[200],
            child: const Text(
              '探索文本工王田甲乙丙丁一二三四口',
              style: TextStyle(
                fontSize: 24,
                height: 1,
                leadingDistribution: TextLeadingDistribution.proportional,
              ),
            ),
          ),
        ),
      ),
    );
  }
}

@LongCatIsLooong Well seems not to work...

When putting two cases together, the leading distribution = even case no longer works... see screenshot below
p.s. For all examples above, I have to hot restart, not hot reload, when changing TextLeadingDistribution and want to see results. That seems also a hint telling us the system is doing something weird globally?

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Padding(
          padding: const EdgeInsets.all(16),
          child: Column(
            children: [
              ..._buildOne(leadingDistribution: null),
              ..._buildOne(leadingDistribution: TextLeadingDistribution.even),
            ],
          ),
        ),
      ),
    );
  }

  List<Widget> _buildOne({
    required TextLeadingDistribution? leadingDistribution,
  }) {
    return [
      Text('leadingDistribution=${leadingDistribution?.name}'),
      const SizedBox(height: 32),
      for (final text in [
        '探索文本工王田一二三四口',
        'ABCijk123',
        '探索文本工王田一二三口ABCijk123',
      ])
        Container(
          color: Colors.orange[200],
          margin: const EdgeInsets.only(bottom: 32),
          child: Text(
            text,
            style: TextStyle(
              fontSize: 24,
              height: 1,
              leadingDistribution: leadingDistribution,
            ),
          ),
        ),
    ];
  }
}

It could be that the font you're using doesn't have CJK glyphs so the latin characters and CJK characters are actually displayed in different fonts.
The glyphs on the same line AFAIK are alphabetic baseline aligned so if the typefaces used have different ascent/descent then the top and bottom "padding" will definitely look uneven.

This font, for example, should contain all glyphs you used above: https://fonts.google.com/noto/specimen/Noto+Sans+SC

@LongCatIsLooong Thanks for the reply!
I am using default font on ios simulator (and on android as well).
Each line is a separate Text, and the problem still occurs for pure-Chinese lines, so the mixed-Chinese-English-in-the-same-line is not the cause?

This font, for example, should contain all glyphs you used above: https://fonts.google.com/noto/specimen/Noto+Sans+SC

Thanks, but I cannot package such big fonts into my app... Currently I use the Flutter default, which I guess uses system installed fonts

👀 Well, any updates (again)? I am willing to contribute!

I don't see any problem with the text vertical layout here?

            child: Container(
              color: Colors.yellow,
              child: SizedBox(
                height: 30,
                child: Builder(
                  builder: (context) {
                    return Center(
                      child: Text(
                        '探索文本工王田甲乙丙丁一二三四口',
                        style: DefaultTextStyle.of(context).style.copyWith(
                          fontSize: 20,
                          height: 1,
                          backgroundColor: Colors.red,
                        ),
                        maxLines: 1,
                        textHeightBehavior: TextHeightBehavior(
                          leadingDistribution: TextLeadingDistribution.even
                        ),
                      ),
                    );
                  }
                ),
              ),
            ),

Anyways, the half-leading logic can be found here: https://github.com/google/skia/blob/main/modules/skparagraph/src/Run.cpp#L68-L78

@LongCatIsLooong I will recheck it once my local env upgrades to 3.3 to see whether the problem is solved and reply here. Thanks!

flutter 3.3.1 experiment results:

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        // body: Padding(
        //   padding: const EdgeInsets.all(16),
        //   child: Column(
        //     children: [
        //       ..._buildOne(leadingDistribution: null),
        //       ..._buildOne(leadingDistribution: TextLeadingDistribution.even),
        //     ],
        //   ),
        // ),
        body: Container(
          color: Colors.yellow,
          child: SizedBox(
            height: 30,
            child: Builder(builder: (context) {
              return Center(
                child: Text(
                  '探索文本工王田甲乙丙丁一二三四口',
                  style: DefaultTextStyle.of(context).style.copyWith(
                        fontSize: 20,
                        height: 1,
                        backgroundColor: Colors.red,
                      ),
                  maxLines: 1,
                  textHeightBehavior: const TextHeightBehavior(leadingDistribution: TextLeadingDistribution.even),
                ),
              );
            }),
          ),
        ),
      ),
    );
  }

// List<Widget> _buildOne({
//   required TextLeadingDistribution? leadingDistribution,
// }) {
//   return [
//     Text('leadingDistribution=${leadingDistribution?.name}'),
//     const SizedBox(height: 32),
//     for (final text in [
//       '探索文本工王田一二三四口',
//       'ABCijk123',
//       '探索文本工王田一二三四口ABCijk123',
//     ])
//       Container(
//         color: Colors.orange[200],
//         margin: const EdgeInsets.only(bottom: 32),
//         child: Text(
//           text,
//           style: TextStyle(
//             fontSize: 24,
//             height: 1,
//             leadingDistribution: leadingDistribution,
//           ),
//         ),
//       ),
//   ];
// }
}

However, the code above yields the wrong results again:

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: Padding(
          padding: const EdgeInsets.all(16),
          child: Column(
            children: [
              ..._buildOne(leadingDistribution: null),
              ..._buildOne(leadingDistribution: TextLeadingDistribution.even),
            ],
          ),
        ),
      ),
    );
  }

  List<Widget> _buildOne({
    required TextLeadingDistribution? leadingDistribution,
  }) {
    return [
      Text('leadingDistribution=${leadingDistribution?.name}'),
      const SizedBox(height: 32),
      for (final text in [
        '探索文本工王田一二三四口',
        'ABCijk123',
        '探索文本工王田一二三四口ABCijk123',
      ])
        Container(
          color: Colors.orange[200],
          margin: const EdgeInsets.only(bottom: 32),
          child: Text(
            text,
            style: TextStyle(
              fontSize: 24,
              height: 1,
              leadingDistribution: leadingDistribution,
            ),
          ),
        ),
    ];
  }
}

I will try to set this config in the theme, so every Text uses this config, and report back here whether it works. Thanks anyway!

is there any update

I will try to set this config in the theme, so every Text uses this config, and report back here whether it works. Thanks anyway!

IIRC this seems to work

mark


Add credits.enabled property to README.md

credits was in the source code as a supported option, but not documented for new users.

@VictorioBerra thanks. don't forget to try the Beta also: https://github.com/pablojim/highcharts-ng/tree/highcharts-ng2

@pablojim is the Beta only for Angular 2.x?

@pablojim How stable is the beta would you say?


InvalidConfigException can not parse error when CommandNotFoundException triggered

we have our platform.app.yaml file broken up into numerous sub yaml files that are included (this allows us to organize sections that downstream projects should alter, vs sections they should not).  With the release of the CLI tool v3.52, we now get an InvalidConfigException, unable to parse error whenever a CommandNotFoundException is raised.
For example, platform help environment will cause a  [InvalidConfigException] Unable to parse at line error, whereas platform help environment:list does not produce any errors. Additionally, the platform environment itself is able to parse the yaml files without issue.
It appears that the yaml parser being used post v3.51 does not like the keys to be indented in included yaml files, at least when raising another exception.  v3.51.x and earlier, did not exhibit this behavior.

Reproduced, it looks like the parser [now] wants the comments to be indented by the same amount as the keys.
While philosophically that seems wrong to me (because comments should not affect surrounding code), and a fix seems fairly doable, I also don't want to diverge too far from Symfony's parser as it's by far the main way to parse YAML in PHP. Is there a strong reason to keep the indents like this?

Strong reason? no.  It'll take us a little bit to get the change propagated out to our 100+ projects, but as long as you think the issue is isolated to just this scenario, I can educate developers to avoid this situation (or just know the issue can occur) until they merge from our upstream.

I think the parser change responsible may be from Symfony v3.4.31:
https://github.com/symfony/symfony/pull/32767
If so, this was the case since the platformsh-cli v3.48.0, released on 21 September 2019.

Actually testing with the platformsh-cli v3.47.0 (and symfony v3.4.27), I still get the same parse error.
Maybe this CommandNotFoundException is triggering the parse error in a different way with more recent CLI versions, but I don't see that this could have been parsed in recent CLI versions.

OK the exception is probably being thrown because the command list is getting loaded, which triggers isHidden() on every command, which means that the app config is getting parsed via:
https://github.com/platformsh/platformsh-cli/blob/master/src/Command/Environment/EnvironmentXdebugCommand.php#L33-L65
It would make sense not to throw an exception in that case.

I'll still begin work on removing indentation from included yaml files.  It's been awhile since we broke up the platform.app.yaml file into multiple includes, and I'm betting the indentation was just left from what it used to be in platform.app.yaml.


Modify urls.py file for splitfile

https://github.com/zuri-training/Chunk-File-Generator-Team-50/blob/main/Backend/chunkfile/split_file/urls.py


Allow to choose between rustls and native-tls TLS implementations

First, many thanks for your great library! As you know, reqwest allows to choose from two TLS implementations (rustls and native-tls); however, for some reason (why?), vaultrs is fixed to using rustls: https://github.com/jmgilman/vaultrs/blob/a4c20bba8afb5e63174472683859719470686d04/Cargo.toml#L24-L25
This PR allows to choose via a feature between rustls and native-tls to avoid having two crypto stacks in the same binary. In my example (a project already depending on native-tls due to other libraries), this saved ~900kB in the (stripped) release binary.
For backwards compatibility, the PR makes sure that rustls is still chosen as the default TLS implementation. In a version 0.7, this could probably be simplified.

Thanks for the PR! I agree this approach is less opinionated.

@jmgilman Would you mind releasing a new version? Would like to use this in the upstream version of the crate.

Is there any new information or plans about the new release
: )

Sorry all, I took on a new job which has had me busy for some months now. I'll see if I can prioritize getting this resolved this weekend.


Don't show tabes when streamlit app open in smartphone

Hi!
First of all, congratulations on the amazing project!
I understand little of css and with a few lines of code I was able to make my design completely customized! Really incredible!
One thing I noticed, when opening the app on my phone, is that the side menu does not appear! Could you help me to resolve this issue?

Hey, glad you like this!
 Will look into it and get back to you,

Nice! Tks a lot for your attention! I hope to hear from you!

I think I may have sorted it. I replaced the style.css file with a new one. It should account for mobile devices now. Please download and use the new style.css sheet.

Glad all is well. When I did my tests, I did it on Samsung galaxy phones and on phones screen sizes around 200-300px height/width which seemed to work. Perhaps if you send me the screen sizes I could sort something out?

Mine it's a Samsung Galaxy Note 10+ from 2017.
I searched the screen sizes and didn't find in pixels, I know that the screen is 6.3 inch.
A site says that the resolution is 2280x1080 pixels, don't know if is correct.

Thanks, I will loo into it.

Hello Socvest! I have one more question:
Is it possible that the sidebar instead of dragging the main page, overlaps under it?

Hello GuiHungaro I did look into it, was a bit more complicated, will look deeper into it this weekend.

Hello Socvest! I have one more question:
Is it possible that the sidebar instead of dragging the main page, overlaps under it?

Tks a lot my friend!! Your work is awesome!

@GuiHungaro Hello, so was able to fix the galaxy note 10+ (can see the sidebar close button now). Could not get it sideways, its a bit complicated and could not adjust the dimensions. Sorry about that. Update the style.css file for the update.


Change ref-based RNA-seq tutorial to use fastqsanger.gz instead of fastqsanger files

In the ref-based RNA-seq tutorial (here: http://galaxyproject.github.io/training-material/topics/transcriptomics/tutorials/ref-based/tutorial.html#data-upload) uncompressed fastq files are currently used as input but it would be better to use compressed fastqs because:

it would save on storage/quotas
compressed files are more common in real-world analyses

Requires replacing the fastqsanger files in Zenodo (here: https://zenodo.org/record/1185122) with fastqsanger.gz versions.

I'm currently testing loading in the 4 example fastqsanger files from the tutorial to usegalaxy.org and  it's been 20 mins so far and they're still uploading. That seems quite slow (too slow?) to me, seems like it would make usegalaxy.org not possible to use to run a training with this tutorial (for those steps anyway). Or will these files be made available in a data library within usegalaxy.org/.eu?
I'm loading the files using these links:
https://zenodo.org/record/1185122/files/GSM461177_1.fastqsanger
https://zenodo.org/record/1185122/files/GSM461177_2.fastqsanger
https://zenodo.org/record/1185122/files/GSM461180_1.fastqsanger
https://zenodo.org/record/1185122/files/GSM461180_2.fastqsanger

The Trim Galore steps took 15 mins to run on those 4 fastqsanger files in usegalaxy.eu, which is right at the limit of the recommended max tool run time here: https://github.com/galaxyproject/training-material/pull/901. Wondering if using smaller files would be better?

Its probably time to not replace trim-galore with fastp/cutadopt?

Yep I'd already added that to the notes I'm making while reviewing this tutorial. Will add the notes to an issue when I'm done (things like the gtf version is also old - v87 from Dec 2016, current is v92 Apr 2018)

@bgruening I don't know if something's just wrong today but those fastqsanger files are still uploading from Zenodo into usegalaxy.org for >2 hours now! (and that's the very first step of the tut)


Integrate Sequelize and postgresql

I want to integrate sequelize ORM in my project in place of TypeORM and also postgresql. Can I get support for it or if possible can I get any boilerplate for it.

This boilerplate had Sequelize before, here is the commit where we migrated to TypeORM, you can take a look and do reverse migration;
https://github.com/pankod/moleculerjs-boilerplate/commit/40580c6c5edd512e2155b7f1ff5d1716a05e4d10


Provide helper texts for CMS

DESC

via hint property to individual fields

TODOs

[x] implement
[x] hide Quick add menu

implemented at toolkit refactoring


Load sam model to cpu while gpu is not available.

With this PR I can run it on mac. Thank you!

Yes this is working also on my side. Thanks.


ENH: stats: add weighted power mean

Reference issue
Closes issue #12456. @candalfigomoro
What does this implement/fix?
It implements pmean, the weighted power mean.

Please send an email to the mailing list. In it, please explain why pmean is fundamental / should be added to scipy.stats, and please invite people to this PR to discuss. Thanks!

@tupui were your issues addressed?
Thought this should make it in if we're looking at rms.

Email to mailing list was sent 3/11/2022.

I will not block this for the release. I will merge this before branching but it would be better to resolve the last comments I have.


Fixed formatting of 0 number literal

I found this issue when using ember-intl. With the following:
Template
{{t 'numItems' num=0}}
Translation
"numItems": "There are ({num}) items"
The rendered string was There are () items whereas the expected output is There are (0) items. This PR allows intl-messageformat to correctly render the literal 0.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

@jasonmit This may be of interest to you.

Use {num, number} instead.

@ericf True that will work, but StringFormat handles all other numbers correctly except zero, so I was thinking it makes sense to support it for consistency.

Using number also gives you formatting; e.g. "1,000 items".
I'm going to close this out as it's been brought up before and we decided against it.

Echoing what I said here: https://github.com/yahoo/react-intl/issues/711
(not sure which project is appropriate)
Seeing that there's many dupes of this and it's for dev's to shoot themselves in the foot here: yahoo/intl-messageformat#88

Would it make sense at least when using a plural rule that it's implicitly treated as a number?


Allow java executable to bind to privileged ports

The logstash container is not allowed to bind on privileged ports.
Logstash provides some inputs whose default ports are in the privileged range. At least imap and syslog.
To reproduce
$ docker run --rm -ti logstash -e 'input { syslog { port => 514 } } output { stdout { } }'
syslog tcp listener died {:address=>"<IP_ADDRESS>:514", :exception=>#<Errno::EACCES: Permission denied - bind(2)>, :backtrace=>["org/jruby/ext/socket/RubyTCPServer.java:124:in `initialize'", "org/jruby/RubyIO.java:852:in `new'", "/opt/logstash/lib/logstash/inputs/syslog.rb:135:in `tcp_listener'", "/opt/logstash/lib/logstash/inputs/syslog.rb:90:in `run'"], :level=>:warn}

Use case
I want application containers to forward their logs to a syslog server (default port 514). In reality, the syslog server is a logstash container with a syslog input configured.
I use --link to bind application containers with logstash container so that application containers can use the LOGSTASH_PORT_514_TCP_ADDR environment variable to configure themself. Thus it requires logstash container to expose the 514 port.

mini-sample showcase with docker-compose available here:
https://github.com/cogniteev/docker-rsyslogstash/tree/779efe560f060be3f6f63968f5f26c5eab546c24/sample

I wonder whether it would make sense to make this setcap change in the base java images.
There's some discussion about allowing non-root users in general to bind non-privileged ports in the contain (started by @tianon, of course): https://github.com/docker/docker/issues/8460

I just read the latest comments on that issue and realized that it may not be possible to do in general.

It's my understanding that Docker does track these capabilities bits properly in the graph drivers, so this should be something we could set in the Dockerfile, and might indeed be something that's worth setting on java in general, especially since we're in a container and our port 80 is not the host's port 80 (except in the case of --net=host, which is already an extra level of trust thanks to breaking down part of the container walls).

In my opinion, the notion of "privileged ports" is pretty outdated anyways.

@tristan0x, what do you think of #20?

(I totally missed/forgot that this was a PR :open_mouth:, and now that I look at your changes, I think that it might as well be baked into the image rather than just on run as long as the graph drivers handle it correctly :smile:)

Turns out AUFS doesn't handle this correctly. :cry:
Mind updating your PR to use "$(readlink -f "$(which java)")" instead of the hard-coded JDK 7 path?

Oh ouch, even that won't work:
$ docker run -it --rm logstash bash
root@0fb6599489df:/# setcap 'cap_net_bind_service=+ep' "$(readlink -f "$(which java)")"
Failed to set capabilities on file `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file

This should work now on a more recent version of aufs.

Hi @tianon
Almost 1 year later, I have finally updated the PR according to your remark.

@tianon @yosifkit could you please comment on this regarding chance for getting merged?

@justincormack are you sure this is fixed in recent versions of AUFS?
FROM debian:jessie
RUN setcap 'cap_net_bind_service=+ep' "$(readlink -f "$(which bash)")"

I built the above Dockerfile, and it works successfully on OverlayFS, but on fairly recent AUFS (20161010), I get the following:
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM debian:jessie
 ---> 19134a8202e7
Step 2 : RUN setcap 'cap_net_bind_service=+ep' $(readlink -f $(which bash))
 ---> Running in 38cdeac8cd7e
Failed to set capabilities on file `/bin/bash' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
Removing intermediate container 38cdeac8cd7e
The command '/bin/sh -c setcap 'cap_net_bind_service=+ep' $(readlink -f $(which bash))' returned a non-zero code: 1

@tianon yes, I don't know why I thought that then. overlay does succesfully roundtrip capabilities through hub, but aufs doesn't and I would not recommend using them.

Unfortunately my other fix has been postponed, due to needing more changes in runc.

We're coming up on the 2 year anniversary of this PR -- I'm thinking maybe it's finally time to close it and wait for ambient capabilities to be implemented in Docker for handling privileged ports generically regardless of image? :innocent: :pray: :heart:

Closing since this image is being deprecated.

This image is officially deprecated in favor of the logstash image provided by elastic.co which is available to pull via docker.elastic.co/logstash/logstash:[version] like 5.2.1. This image will receive no further updates after 2017-06-20 (June 20, 2017). Please adjust your usage accordingly.
Elastic provides open-source support for Logstash via the elastic/logstash GitHub repository and the Docker image via the elastic/logstash-docker GitHub repository, as well as community support via its forums.


Form not displaying errors on page

I have a simple rails form where I am selecting dates for a reservation when I submit I do some validations on the model and then in the controller if the model is not saved then it does a render :new I'm expecting the errors to show up on the form but Instead I receive an empty array and see this error in the console

This is the code in my controller
def create
      @booking = @listing.bookings.new(bookings_params)
      @booking.user = current_user
      if @booking.save
        redirect_to payment_listing_booking_path(@listing, @booking), notice: "Your stay was booked at<EMAIL_ADDRESS>for #{@booking.checkin_date.strftime("%d/%m/%Y")}"
      else
        render :new
      end
    end

I was able to resolve this by adding status: :see_other on the render :new but this is weird because I have never had to do this before with turbo.

Hi @indigotechtutorials, Turbo expects a form submission to be responded to with a redirect, or with some 4xx or 5xx error. In this specific case, you should actually respond with something like this:
render :new, status: :unprocessable_entity

It's explained in more detail here. Also, if you try generating a scaffold in Rails you will see that it's done in the same way.


pr from source1 to live

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/cy-org1/split-ref, working directory: W:\shqd-s, target branch: live, target branch commit: af417472df33f1deb10e089af026dd61e7ca05e7, source branch: source1, source branch commit: .

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


nestingLevels - when it's going to be released

I would like to know when nestingLevels option will be released.
Thank you

Hi @arnoldsimha,
I'll try my best to release it by the end of this Sunday. I hope it's not too late.
Regards

Hello again @arnoldsimha,
Version 5.0.0 is now released: https://gilgaz.com/nested-sort/v5/options
Please don't hesitate to share your ideas with us.
Regards


Make sIsInitialized (used by openvdb::initialize() and openvdb::unini…

…tialize()) use double-checked locking so the hot path is just one atomic load
Closes https://github.com/AcademySoftwareFoundation/openvdb/issues/869

I would use std::atomic as you first suggested - tbb is actually deprecating a bunch of their containers in favour of the standard:
https://software.intel.com/content/www/us/en/develop/articles/tbb-revamp.html
Also don't forget to sign off your commits with -s git commit -s -m "blah" - this is required for the DCO check you see failing (you can ignore the other build failures, they are unrelated)

I would use std::atomic as you first suggested - tbb is actually deprecating a bunch of their containers in favour of the standard:

Though I've just realised the mutex in use is a tbb::mutex not an std::mutex - nevermind, sticking with tbb is probably better for consistency

Apologies for not replying to the original question. Just to clarify, there's nothing wrong with the thread-safety of the original implementation, it's just slower than it could be. While this is a valid optimization and we have used this kind of pattern elsewhere, I'm not convinced it's totally necessary to add the extra complexity to these methods. If the user is calling openvdb::initialize() / openvdb::uninitialize() frequently enough to benefit from this change - they're probably not using the library quite as we intended and perhaps an update to the docs would be better? Or perhaps I'm just not aware of a valid use case in which this becomes useful?

Just to clarify, there's nothing wrong with the thread-safety of the original implementation, it's just slower than it could be.

Correct

I'm not convinced it's totally necessary to add the extra complexity to these methods.

I considered this but quickly decided against it. The PR is 6 new lines of code for what is an obvious performance boost. This method can be called hundreds if not thousands of times and it's naïve to assume we know all use cases. Sure, in an ideal scenario the initialisation and execution of vdb library methods would be separate but that is not always the case. Lets take Houdini as an example. Each time a SOP is created initialize has to be invoked; a production scene could hold thousands of nodes inside digital assets.

they're probably not using the library quite as we intended and perhaps an update to the docs would be better?

The alternative would be to force users to implement their own locks/atomics (i.e. std::call_once or whatever) in cases where the application they're leveraging doesn't offer the appropriate callbacks? Seems a bit silly when we can simply use the above proposal.

For reference, I was motivated not by measured performance, but by reading the source and noticing it could be very cheap to ensure that it’s initialized. Better would be to create a handle but that’s a bigger proposal that I personally don’t feel is justified.

 This will fix the DCO status check (https://github.com/AcademySoftwareFoundation/openvdb/pull/873/checks?check_run_id=1385694575) and then we can look to merge this

@Idclip sure. While I'm at it should I switch to std::atomic?

@Idclip sure. While I'm at it should I switch to std::atomic?

I wouldn't for now as it'll require re-approval! We can merge as is

OK, I think I did the right incantation.

Is this all set to merge? It's blocking https://github.com/AcademySoftwareFoundation/openvdb/pull/969/files which needs to be rebased on this.


[WIP] Feature/fix long press event handling

This PR includes these fixes/modifications;

Merge the PR #123 (Feature : API to set longpress timeout for drag drop)
Fix the issue #124 (Long press should cancel when recycler view scroll)
Add the RecyclerViewSwipeManager.setLongPressTimeout() method
Cancel drag drop/swipe when the RecyclerView.requestDisallowInterceptTouchEvent(true) is called

I tried out this PR, and it works great. Thanks!
BTW I am not using the setLongPressTimeout() call.


[Мій профіль] User cannot delete centers from 'Мій профіль' page

Environment: Windows 10, Google Chrome, 93.0.4577.63 (Розробка) (64-розрядна версія)
Reproducible: rarely
Build found: the last commit
Preconditions

Go to https://speak-ukrainian.org.ua/dev/
Login with any account, which has registered at least one center (e.g. емейл<EMAIL_ADDRESS>пароль: wiwko1234567_)

Steps to reproduce

Select 'Мій профіль' in the dropdown list on the upper left corner of the page
Click on 'Видалити' in the burger menu of the center

Actual result
The page is reloaded. The center is not deleted
Expected result
The page is reloaded. The center is deleted. Message about the successful deletion of the center appears
https://user-images.githubusercontent.com/80393478/139246920-ff3ee03a-a593-4f77-9a0e-bb8abefac0d2.mp4

User with "ROLE_USER" permissions cannot add or remove centers

The bug is fixed


Default DataTable sort should support divs

Summary
DataTable React component should be able to sort by value of a div.
I am asking for development.
Justification
Cells may contain subscript, or spans that would require being able to nest elements, but sort should still be available based on the container divs value.
This can be done in one or two lines in the Components sorting.js file,
and can be reverse compatible.
Desired UX and success metrics
If you put a div inside of a table Cell component, and it has a value property, the sort function should use that value property when sorting the table.
Specific timeline issues / requests
No specific Timeline, but it is a quick addition.
Thank You,
Tyler Blocksberg

If nobody has looked at this yet, I have even more evidence that it is a necessary feature-- there is no ability to insert links, or styled elements of any kind into a cell while keeping the table able to sort the column.

Hello @asudoh would you mind if I look into this?

Hi :wave: @KatieOfCode thank you for showing your interest in this area! CC @vpicone @joshblack to see their thoughts. Nice to hear the suggested approach before seeing a PR. Thanks!


Bug: BookPage gets a parent sizer without borders or flag properties

Description:

The parent sizer for a form should not have a border or size. However, we're also ending up with "parent" sizers underneath book pages -- and those definitely do need the properties that allow for expansion, proportion, borders, etc.

The Layout property category is used to affect how a parent sizer is supposed to add the current node. The sizer itself doesn't actually have any settings affected by this category. As such, the only time a sizer should have a Layout category is if it has a sizer parent -- which is not the case for book pages.


Convertor for PhoneNumberType

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
If field of model has PhoneNumberType from sqlalchemy_utils, you cannot create or edit new records.
Steps to reproduce the bug

Made model with
Add to admin panel.
Try to create new one or update old one.

Expected behavior
Can edit and create new records.
Actual behavior
Getting Internal Error.
Debugging material
Traceback (most recent call last):
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 270, in __call__
    await super().__call__(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/routing.py", line 706, in __call__
    await route.handle(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/routing.py", line 443, in handle
    await self.app(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/sessions.py", line 86, in __call__
    await self.app(scope, receive, send_wrapper)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/routing.py", line 706, in __call__
    await route.handle(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/sqladmin/authentication.py", line 56, in wrapper_decorator
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/sqladmin/application.py", line 465, in edit
    Form = await model_view.scaffold_form()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/sqladmin/models.py", line 1005, in scaffold_form
    return await get_model_form(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/sqladmin/forms.py", line 536, in get_model_form
    field = await converter.convert(
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/sqladmin/forms.py", line 302, in convert
    converter = self.get_converter(prop=prop)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aryadovoy/Documents/coding/back/.venv/lib/python3.11/site-packages/sqladmin/forms.py", line 255, in get_converter
    raise NoConverterFound(  # pragma: nocover
sqladmin.exceptions.NoConverterFound: Could not find field converter for column phone_number (<class 'sqlalchemy_utils.types.phone_number.PhoneNumberType'>).

Environment
OS: Fedora Linux 35 (KDE Plasma) x86_64
Python: 3.11.0
SQLAdmin: 0.8.0
Additional context
No response

Hey @aryadovoy ,
Thanks, it's a pretty easy fix, I will add it now.

Taking a deeper look I think the problem is not with adding PhoneNumberType itself but rather the composite type which is not supported by sqladmin yet. This will have to wait.

As a workaround I think you need to exclude this field specifically from list/details/forms etc.

It's not a problem to view this field, problems with creation and editing.

Yeah exactly, this is just a workaround

Added in https://github.com/aminalaee/sqladmin/pull/422


PMID:25989903

[x] increased CUT level

normal CUT level

see also https://github.com/pombase/fypo/issues/4446
to deal with 'mature'


add nullable type

This PR adds Nullable type to identity if a null type has been provided in JSON or not.

Was the original implementation of the code adapted from https://github.com/guregu/null ? It looks like it but we've not declared so, as the licence would expect?

Was the original implementation of the code adapted from https://github.com/guregu/null ? It looks like it but we've not declared so, as the licence would expect?

Not really but definitely adapted the nullByte stuff from here. https://github.com/guregu/null/blob/master/string.go#L15
Also I looked at a lot of libs around doing the Nullable distinction and the basic way is kind of same.
So if we need to declare it or do anything needful, sure! Thanks for bringing this.


Avoid trying to FETCH an empty set of messages

Also, apply correct validation to FETCH arguments.
This should fix #176.

This change is

Oh, I just barely remembered. Would you mind also updating the CHANGELOG?

Oh, I just barely remembered. Would you mind also updating the CHANGELOG?

Thank you! Will release shortly.

Thank you! Will release shortly.

Released as 2.4.1 :tada:

Released as 2.4.1 :tada:


Bg/process to save in db

if user hasn't logged in then background job will not start once user logged in then background job will start

background job will be trigger within specific time

it will check in localstorage and  it has to be more than and equal to at least 10 student's data

once it got it 10 it would check internet connectivity

raise a flag to block certain pipe

once raise a flag then it will send first notification "Uploading..." message

when our data is in processing to save in db as background job then user will not be able to save more data in localstorage

also user will not be able to save in db there will be a lock till bg job has to finished

if user want to logOut meanwhile bg job's processing it would not let user to logout till it finished

once it uploaded it will send second notification

it will empty the localstorage

if there is any failure occure while saving data into DB we will not let any localstorage to erase it will remain as it is

it will be save the error message for investigation and will be share to support team

if there any error occure in bg process we will show the message at app side
"Something went wrong with background process, please contact Admin"

once the data is successfully saved in db then we will remove all the data from localstorage.

after scanning the sheet it will be stored in local storage and if the count of storage is equal to 10 or more than 10, background job will be trigger within specific time after that time it will automatically save the data in db . but in last scan page count is not reflected so we need to go back to the student list and then select next button then the count of save status is visible and scan status (local storage) will be empty.

I have resolved the conflict and to proceed further testing u can do some change in code...

u can change the time period of background/Job , u can go in appNavigator.js file within that file there is a function setTimeout there u can change the interval 40000(miliseconde) to whatever u want 50000

https://www.google.com/search?q=minute+to+millisecond&rlz=1C1RXQR_enIN960IN960&oq=minute+to+mili&aqs=chrome.1.69i57j69i10i59j0i10l6j0i10i22i30j0i22i30.3946j0j7&sourceid=chrome&ie=UTF-8
u can change the time through above link minute to milisecond that milisecond u can add in that settimeout fucntion

Hi @dileep-gadiraju  . I have tested above pr and these are my test cases .
test cases for background job:-

once you login to app your background job timer will start once you scan more than 10 students or if you already have 10 or more students in your local storage background job wil automatically push it to backend.
when background job will starting pushing your data to backend you will get one notification that Auto-sync is in Progress, Please wait  and once it is uploaded you will get second notification that Auto-sync completed .
when background job starts you cannot do other process like if you try to logout it will not allow you to logout . it will give alert message "Data is uploading please wait till it finished."
Once you data is uploaded to backend and you get your second notification then you will be able to logout .
when background job starts you cannot do other process like if you try to click on save all scan it will not allow you to save it . it will give alert message "Data is uploading please wait till it finished."
when you want more data to be stored in local storage . If you try to scan sheet and try to submit it but your background job is already started at that time you will not allow to submit it .you will get one alert message "Data is uploading please wait till it finished."
if your background jobs starts but if you backend API will return the response faster then you you will face error "Something went wrong with background process, please contact Admin."


svg to lottie bug

This Github issue is synchronized with Zendesk:
Ticket ID: #2681
Group: Support
Requester<EMAIL_ADDRESS>Assignee: LottieFiles
Original ticket description:

hi
im trying to convert an svg to lottie so i can animate them, but when i try to upload the svg nothing happens

ive tried restarting my macbook tried a different browser, same thing happens

Comment made from Zendesk by LottieFiles on 2021-03-31 at 06:25:
Hi there! try out this part of our forum: https://community.lottiefiles.com/search?q=svgAlso please do check out our other communities to meet other Lottie users and for any additional support :) Discord:lottiefiles.com/discordFacebook: https://www.facebook.com/groups/lottiefilesCommunity:https://community.lottiefiles.com/LottieFiles


Redundant Like Button

In the image above, there is a like button inside the comment . Additionally there is a button-group below that has the same 'like' button.
Seems redundant?

So this picture shows a comment and a reply left on that comment. you can
chose to like the original comment, the reply, both or neither. Two like
button point towards different targets.
On Sun, Dec 4, 2016 at 6:30 PM VonIobro<EMAIL_ADDRESS>wrote:

[image: image]
https://cloud.githubusercontent.com/assets/61939/20865216/26043e76-ba47-11e6-835d-3de869da673c.png
In the image above, there is a like button inside the comment
. Additionally there is a button-group below that has the same 'like'
button.
Seems redundant?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mikey1384/twin-kle/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC2b6H2zF7sdUe64645ckafb-eP65ebfks5rEohCgaJpZM4LDinp
.


Adds config examples for syslog-ng Splunk and Elastic outputs

Sure, I'll add them there as well

The examples are already in the code, this PR is now obsolete


Updated aggregation tests to use non-deprecated API and make tests pass

changed all uses of the deprecated .aggregate(...) API to .aggregateWith1(...)
added explicit types so that IntelliJ IDEA is happy (otherwise shows lots of compile errors)
now all aggregation tests pass

Pull Request Checklist

[x] Have you read How to write the perfect pull request?
[x] Have you read through the contributor guidelines?
[x] Have you added tests for any changed functionality?

Fixes
No existing reported issues
Purpose
Fixes failing aggregation tests due to use of deprecated API
Background Context
While contributing a new feature, I needed to write tests and discovered that many of the existing aggregation tests were failing, and IntelliJ IDEA was complaining about un-compilable code in AggregationSpec.scala.
References
None

Thx for the contribution


we add create acc redir

Codecov Report
Patch and project coverage have no change.

Comparison is base (07c9528) 41.54% compared to head (b0ff091) 41.54%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #325   +/-   ##
=======================================
  Coverage   41.54%   41.54%
=======================================
  Files          15       15
  Lines        1047     1047
=======================================
  Hits          435      435
  Misses        569      569
  Partials       43       43

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CLOUD-61497 Duplicated HDP repo impementation

@keyki plz review

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2891/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/385/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/387/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2893/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2894/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/388/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2895/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/389/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2896/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/390/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2898/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2899/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/392/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/393/


Catching Umzug errors with async/await

I'm using async/await syntax to run my migrations:
try {
    await umzug.up();
  } catch (error) {
    throw new Error(`Migration Error: ${error}`);
  }

I can't seem to get the catch block to hit. When I write a failing migration, I just see:
Unhandled rejection SequelizeDatabaseError: column "testingMigrations" of relation "users" does not exist
    at Query.formatError (/Users/nadav/dev/approvals/server/node_modules/sequelize/lib/dialects/postgres/query.js:351:16)
    at query.catch.err (/Users/nadav/dev/approvals/server/node_modules/sequelize/lib/dialects/postgres/query.js:86:18)
    at tryCatcher (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/promise.js:689:18)
    at Async._drainQueue (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/Users/nadav/dev/approvals/server/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:637:20)
    at tryOnImmediate (timers.js:610:5)
    at processImmediate [as _immediateCallback] (timers.js:582:5)

And my code keeps on executing. I'd like for it to fail hard if the migrations fail.  Am I missing something obvious? Thanks!

Oh -- got it, I need to ensure that the migrations always return the promise, or else the above happens.


what is the S3Mounts configuration in product import?

I have installed a fresh SC workbench.  I can login and browse around.  I can add an AWS account, setup an index, setup a project, associate it with an index and assign a project admin user to it.  I am now attempting to "import" the EC2 Linux-v1 product into "workspace types".  In the configurations step there's a required S3Mounts parameter.  What is that?  what is it for?  and what should an S3Mounts json look like?
S3Mounts
A JSON array of objects with name, bucket, and prefix properties used to mount data

Hello, thank you for the question. The S3Mounts parameter holds the list of studies the user wishes to mount on the workspaces provisioned using that configuration. We recommend entering the placeholder value ${s3Mounts} so that it picks up whichever studies dynamically as chosen by the user prior to provisioning the workspace using this configuration.

Thanks @SanketD92


Feature request: show default values in help text

Thanks for making this awesome library!!
Would it be possible to show the default values in the help menu?
For example:
// CLI options
const Flags = struct {
    // Optional description of the program.
    pub const description =
        \\The GatorCAT CLI.
    ;
    // sub commands
    command: union(enum) {
        // scan bus
        scan: struct {
            ifname: []const u8,
            recv_timeout_us: u32 = 10000,
            eeprom_timeout_us: u32 = 10000,
            pub const descriptions = .{
                .ifname = "Network interface to use for the bus scan.",
                .recv_timeout_us = "Frame receive timeout in microseconds.",
                .eeprom_timeout_us = "SII EEPROM timeout in microseconds.",
            };
        },
    },
};

Produces:
gatorcat scan -h
Usage: gatorcat scan --ifname <ifname> [--recv-timeout-us <recv-timeout-us>]
                     [--eeprom-timeout-us <eeprom-timeout-us>] [-h | --help]

Options:

  --ifname            Network interface to use for the bus scan.
  --recv-timeout-us   Frame receive timeout in microseconds.
  --eeprom-timeout-us SII EEPROM timeout in microseconds.
  -h, --help          Show this help and exit

The help text could perhaps say that <eeprom-timeout-us> defaults to 10000 somewhere.

If you like this idea and have a way you think it should look exactly, I could make an attempt at a PR.

I'm not sure whether this is worth implementing as we'd also have to deal with the case where the user does not want it for certain fields, and some users may wish to communicate the default value in a different way than some auto-generated '(default=10000)' tagged on.
The user can put this information in the descriptions entry for the field, so they can decide exactly how it is displayed and whether it is displayed at all very easily.


MudSelect popover don't move on page scroll, instead making itself dialogue-like fixed window (Server)

Bug type
Component, Docs (mudblazor.com)
Component name
MudSelect
What happened?
I'm using blazor server.
This code creates the problem stated in the title (mudselect popover not following the anchor on scroll, stays still while everything else moves)
<MudStack Class="ms-0 mt-0" Spacing="0" Row="true">
	<MudSelect AnchorOrigin="Origin.TopCenter" TransformOrigin="Origin.BottomCenter"<EMAIL_ADDRESS>Dense="true" Margin="Margin.Dense">
		@foreach (Album album in Albums)
		{
			<MudSelectItem Value="<EMAIL_ADDRESS>@album.Price</MudSelectItem>
		}
	</MudSelect>
</MudStack>

Workaround is to add PopoverClass="mud-popover-fixed" for the MudSelect.
Expected behavior
Popover should stick to the anchor of the mudselect. Or please add it to documentation.
Reproduction link

Reproduction steps

Relevant log output
No response
Version (bug)
6.8.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Could you add a try.mudblazor reproduction link?

It either was a very specific problem, or has been fixed, or only works as such for a server-side mode.
The example I've made works as intended: https://try.mudblazor.com/snippet/mucoOHmTUrpBRhFB
Please try it out on the server-side if you can @danielchalmers (I can't)


[ci skip] adding user @jeongseok-meta

Hi! This is the friendly automated conda-forge-webservice.
I've added user @jeongseok-meta as instructed in #9.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #9

Hello, @conda-forge/core and @zhaofeng-shu33! I would like to help with maintaining this feedstock. Thank you!

Similar to pytorch:

Fix first
Then ask.

your fix goes in faster that way.
Your ping got me to notice https://github.com/conda-forge/easydict-feedstock/pull/6 which I am tempted to merge in.

Sounds good. I wanted to help the stale PRs get merged for a long time, including https://github.com/conda-forge/easydict-feedstock/pull/5. I'm glad it finally got merged.

Feel free to close this PR. Thanks!