Can not showModalBottomSheet from Toolbar actions if using PopupMenuButton

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create a simple Materal Themed application
Use Scaffold and give it an AppBar with actions property
Use the code in sample section to implement AppBar
Tap on the IconButton and you can see that the bottom sheet is going to appear
Tap on the PopupMenuButton and then tap on SHOW and nothing is going to happen.

Expected results
Expected PopupMenuItem to show the bottom sheet
Actual results
Bottom sheet is not showing but something odd is happening.
Try to put e Future delay before openning the bottomsheet:
                    Future.delayed(Duration(seconds: 2)).then((value) {
                      showModalBottomSheet(
                        context: context,
                        useSafeArea: true,
                        isScrollControlled: true,
                        shape: const RoundedRectangleBorder(
                            borderRadius: BorderRadius.vertical(top: Radius.circular(16))),
                        builder: (context) {
                          return const Placeholder();
                        },
                      );
                    });

Now it works!!!
Code sample
Code sample
AppBar(
        title: const Text('Title'),
        actions: [
          IconButton(
              onPressed: () {
                showModalBottomSheet(
                  context: context,
                  useSafeArea: true,
                  isScrollControlled: true,
                  shape: const RoundedRectangleBorder(
                      borderRadius: BorderRadius.vertical(top: Radius.circular(16))),
                  builder: (context) {
                    return const Placeholder();
                  },
                );
              },
              icon: Icon(Icons.close)),
          Builder(
            builder: (context) => PopupMenuButton(
              padding: EdgeInsets.zero,
              itemBuilder: (context) => [
                PopupMenuItem(
                  padding: const EdgeInsets.symmetric(horizontal: 8),
                  onTap: () {
                      showModalBottomSheet(
                        context: context,
                        useSafeArea: true,
                        isScrollControlled: true,
                        shape: const RoundedRectangleBorder(
                            borderRadius: BorderRadius.vertical(top: Radius.circular(16))),
                        builder: (context) {
                          return const Placeholder();
                        },
                      );
                  },
                  child: Text('SHOW'),
                ),
              ],
              child: const Padding(padding: EdgeInsets.all(16), child: Icon(Icons.more_vert)),
            ),
          ),
        ],
      )

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.19045.2846], locale en-US)
    • Flutter version 3.10.0 on channel stable at C:\FlutterStable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (2 weeks ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\AndroidSdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.5.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.5.33627.172
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • 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 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.78.2)
    • VS Code at C:\Users\MonoBit\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.64.0

[√] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft Windows [Version 10.0.19045.2846]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 113.0.5672.127
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 112.0.1722.39

[√] Network resources
    • All expected network resources are available.

• No issues found!

I think the problem is when framework calls handleTap inside PopupMenuItemState these 2 lines of code are going to run.
widget.onTap?.call();
Navigator.pop<T>(context, widget.value);

So when we try to showModalBottomsheet, onTap is getting called and immediately after showing our bottomsheet this method tries to close popup menu but closes my modal bottom sheet instead.

Reproduces using the steps outlined above.

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: PopupMenuButton(
          padding: EdgeInsets.zero,
          itemBuilder: (context) => [
            PopupMenuItem(
              padding: const EdgeInsets.symmetric(horizontal: 8),
              onTap: () {
                showModalBottomSheet(
                  context: context,
                  useSafeArea: true,
                  isScrollControlled: true,
                  shape: const RoundedRectangleBorder(
                      borderRadius: BorderRadius.vertical(top: Radius.circular(16))),
                  builder: (context) {
                    return const Placeholder();
                  },
                );
              },
              child: Text('SHOW'),
            ),
          ],
          child: const Padding(padding: EdgeInsets.all(16), child: Icon(Icons.more_vert)),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.3.1 22E772610a darwin-arm64, locale en-GB)
    • Flutter version 3.10.1 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (7 days ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/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 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/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 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • 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

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8770.65/IntelliJ IDEA.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.3.1 22E772610a darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-12.0.pre.28, on macOS 13.3.1 22E772610a darwin-arm64, locale en-GB)
    • Flutter version 3.11.0-12.0.pre.28 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 216605b60f (6 hours ago), 2023-05-23 23:40:27 -0400
    • Engine revision eebcf36cd3
    • Dart version 3.1.0 (build 3.1.0-139.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/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 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/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 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • 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

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8770.65/IntelliJ IDEA.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.3.1 22E772610a darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


Why is this package so large compared to Ubuntu's

Comment:
I originally thought that this package was supposed to be so large, but Ubuntu's is roughly 10x smaller
https://launchpad.net/ubuntu/+source/intel-media-driver
From my system installation:
-rw-r--r--   1 root root  15M Sep 27 10:23 iHD_drv_video.so

vs this package at roughly 450MB (after extraction).
@conda-forge/help-c-cpp if you have any ideas it would be greatly appreciated.
cc: @ehfd in case you are interested in improving video decoding for intel processors.

Likely something with compiler flags, but unsure. My investigation can only be done in some time.

isuru hints at stripping the debug info: https://github.com/conda-forge/ffmpeg-feedstock/pull/279#issuecomment-2530154563
@conda-forge-admin please rerender


Restore progress

Similar to #20, do something similar to periodically update the progress of a restore.

Idea: store per-restore log file to object storage. Add ark restore log command to retrieve it.

We now have the ark restore logs command, but it retrieves finished logs vs providing a progress update.
Pulling over some details from the comments on #20, it would be possible to store the number of items in a backup on the backup metadata, which would help with restoring when the entire backup is being restored, though doing a selective restore would still need to do some filtering.
I like the idea of some generic 'progress' struct that applies to both backups and restores.

Is it worth considering using Kubernetes events for this? They have a pretty short TTL, but could be used on the fly to see what's going on. They could be used in addition to status field updates, perhaps.

That would make sense to me. A restore/backup could generate an EventSeries for that restore and external processes could look for that series to be in the Finished state to know when to stop monitoring.
Depending on how much information we want to report and when in the restore process, we could potentially used the Related field to link to the most recent object restored.

It wouldn't work quite like that. The events could contain data such as starting to restore pods, starting to restore pod/foo, finished restoring pod/foo, finished restoring pods, and so on. A watcher that wants to know when a restore is done would look at the restore's status.phase.
An alternative that doesn't use events is to periodically update some field(s) on the restore's status related to progress, as described in #20. I am always concerned, however, about unbounded lists and maps in our data types, given the etcd per item size limit. (The unbounded bits here would be # of api groups and resources.)

Adding a suggestion to this issue. Can the "ark get restore " command output that a non kube-system namespace did not restore because the namespace already existed and contained the pods to be restored?

@jhamilton1 we wouldn't show that in ark get restore as that's meant to be a high-level summary that lists the restores and their statuses. We could put it in ark describe restore. If we do that, it would go as a per-namespace error (which we already have support for). I think this RFE belongs in #691 as part of the timeout discussion (after we exceed the timeout, record an error).

@ncdc okay I will make a not on #691


🐛[BUG]: SFNO Preprocessor is missing utilities

Version
0.2.1
On which installation method(s) does this occur?
Docker, Pip, Source
Describe the issue
The current implementation of the SFNO preprocessor is missing utilities to load orography and land sea mask. The preprocessor.py file imports a utils.conditioning_utils.py file that does not exist in order to load orograph and land/sea mask.
Ultimately, we need to add the following functions to the preprocessor file:
import xarray as xr

def get_orography(orography_path):
    """ Returns the surface geopotential for each grid point
    after normalizing it to be in the unit range.
    """
    with xr.open_dataset(orography_path) as f:
        o = f.Z[0].data
        o = (o - o.min()) / (o.max() - o.min())
    return o

def get_land_mask(land_mask_path):
    """ Returns the land/sea mask for each grid point.
    """
    with xr.open_dataset(land_mask_path) as f:
        lsm = f.LSM[0].data
    return lsm

Or, better yet, remove the preprocessor file and move it to modulus-launch.py.
Minimum reproducible example
No response
Relevant log output
No response
Environment details
No response

SFNO no longer in Modulus. Closing


Incorporate authentication

This is work in progress.

This deals with #9 as well. At least for the /create route. Will fix the routes as and when they're needed

This PR is already quite long, so it might be better to save the rest for another PR.
Here's what's done in this PR

[ ] Added a login and sign in page
[ ] Added authenticated logic on all routes
[ ] Created a Notification API
[ ] Added the create room page
[ ] Added the join room page
[ ] Fetched users in the room from the Database

Some of this stuff will change in the future. But for the time being, this seems like a good place to stop at.
Marking this for review.


[Service Bus] ATOM API: Add ScheduledMessageCount to TopicRuntimeProperties

Scheduled messages remain in the topic until their scheduled time, so the ScheduledMessageCount is not relevant for subscriptions.
TODO:

[ ] Remove ScheduledMessageCount from the SubscriptionRuntimeProperties.
[ ] Add ScheduledMessageCount to the TopicRuntimeProperties

Done with #10250


[HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Can click on the space on the right to change the default skin tone

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open any report
Send a message
Hover on message and click add reaction
Hover on space on the right of "change the default skin tone", Observe clickable

Expected Result:
Can not click on space on the right of "change the default skin tone"
Actual Result:
Can click on space on the right of "change the default skin tone"
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.3.78-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/38435837/e8517601-7846-4c54-b8f0-18d771fa2cab
https://github.com/Expensify/App/assets/38435837/4d5200d0-9cd7-40ee-a671-646087d9ac85
https://github.com/Expensify/App/assets/38435837/0355ffe9-8913-4106-9bc8-fa2c7ebc48a0
https://github.com/Expensify/App/assets/38435837/430fde74-c3cd-41b9-907c-40c3bacd683f
https://github.com/Expensify/App/assets/38435837/065aaff6-1560-4cba-aec2-76e569775a48
https://github.com/Expensify/App/assets/38435837/2f5ed479-8dd7-4ab0-8d3e-117c8410c7c2
https://github.com/Expensify/App/assets/38435837/1346c888-b734-46c1-aaad-346193dfcf63
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696424388503359
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01da9a465c887f2507
Upwork Job ID:<PHONE_NUMBER>423364608
Last Price Increase: 2023-10-05
Automatic offers:

Pujan92 | Contributor | 27095403
namhihi237 | Reporter | 27095405

Proposal
Please re-state the problem that we are trying to solve in this issue.
Able to click on the space on the right to 'change the default skin tone'
What is the root cause of that problem?
https://github.com/Expensify/App/blob/a07bb1537063122b481722573c382f4a42fc9a22/src/components/EmojiPicker/EmojiSkinToneList.js#L47-L57
styles.flex1 is causing the issue to occupy all the space available.
What changes do you think we should make in order to solve the problem?
Remove styles.flex1 from and add styles.ml4 to the <Text component where 'emojiPicker.skinTonePickerLabel' is there.
Solution would look something like this.
Tested and works fine in all platform
  <PressableWithoutFeedback
          onPress={toggleIsSkinToneListVisible}
          style={[styles.flexRow, styles.alignSelfCenter, styles.justifyContentStart, styles.alignItemsCenter]}
          accessibilityLabel={props.translate('emojiPicker.skinTonePickerLabel')}
          accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
    >
          <View style={[styles.emojiItem, styles.justifyContentCenter]}>
                 <Text style={[styles.emojiText, styles.ph2, styles.textNoWrap]}>{currentSkinTone.code}</Text>
          </View>
          <Text style={[styles.emojiSkinToneTitle,styles.ml4]}>{props.translate('emojiPicker.skinTonePickerLabel')}</Text>
  </PressableWithoutFeedback>

What alternative solutions did you explore? (Optional)
N/A

Proposal by @namhihi237
Please re-state the problem that we are trying to solve in this issue.
We want to fix can not click on the space on the right of "change the default skin tone"
What is the root cause of that problem?
We are having PressableWithoutFeedback wrap icon and text. it is taking up the entire width.
https://github.com/Expensify/App/blob/24aa7c12c269796008f6a96ae153fbd8ced5b43b/src/components/EmojiPicker/EmojiSkinToneList.js#L47-L57
What changes do you think we should make in order to solve the problem?
We should remove flex1 in Pressable Without Feedback so that it no longer takes up the entire width
<PressableWithoutFeedback
    style={[styles.flexRow, styles.alignSelfCenter, styles.justifyContentStart, styles.alignItemsCenter]}
>
       <View style={[styles.emojiItem, styles.justifyContentCenter, styles.mh2]}>
            <Text style={[styles.emojiText]}>{currentSkinTone.code}</Text>

What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.
An entire row of the skin tone is pressable
What is the root cause of that problem?
We have given flex1 for the Pressable which will take available width.
https://github.com/Expensify/App/blob/76c971b1430df7ddbfe2ce4a80c400ab4e9d1fd6/src/components/EmojiPicker/EmojiSkinToneList.js#L49
What changes do you think we should make in order to solve the problem?
We need to make below changes

Remove flex1 style from the Pressable

Add styles.wAuto to the wrapper View of the currentSkinTone
https://github.com/Expensify/App/blob/76c971b1430df7ddbfe2ce4a80c400ab4e9d1fd6/src/components/EmojiPicker/EmojiSkinToneList.js#L53

Why? bcoz style class emojiItem contains prop width: 12.5% and if we take out flex1 from parent then the width gets reduced and this 12.5% width won't be sufficient for the currentSkinTone. So with styles.wAuto it will override the width and take the required width.

Remove width 100% from the emojiSkinToneTitle otherwise it overflows and creates an issue for native.
https://github.com/Expensify/App/blob/76c971b1430df7ddbfe2ce4a80c400ab4e9d1fd6/src/components/EmojiPicker/EmojiSkinToneList.js#L56C47-L56C47
https://github.com/Expensify/App/blob/76c971b1430df7ddbfe2ce4a80c400ab4e9d1fd6/src/styles/styles.js#L1745-L1746

@allroundexperts PR is ready for review!

Look good to me. Although I just realized we don't have a BZ member on this issue? 😕

@MitchExpensify The PR has already been merged and deployed, we just need the payments to go out here. Thanks!

Need a payment summary for this issue.

Payment summary:

$750 @Pujan92 requires payment offer (Contributor)
$750 @allroundexperts does not require payment (Eligible for Manual Requests)
50 @namhihi237 requires payment offer (Reporter)

$750 payment approved for @allroundexperts based on comment above.

All paid in Upwork


Discollama getting 404 back from API but other containers have no issues

Hi, I recently began to have the issue below with my discollama container. Nothing has really changed with my configuration beyond building a new discollama image. Seems like it's having difficulty hitting the api url? I've tried a few combinations or hostnames/IPs but always get the same issue. I'll preface this by saying I have a few other containers connecting to ollama that work without issue when connecting to 'http://ollama:11434/api' Logs below:
2024-01-22 16:14:21 ERROR    discord.client Ignoring exception in on_message
Traceback (most recent call last):
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/ollama/_client.py", line 328, in inner
r.raise_for_status()
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/httpx/_models.py", line 758, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '404 Not Found' for url 'http://ollama:11434/api/generate'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/discord/client.py", line 441, in _run_event
await coro(*args, **kwargs)
File "/mnt/discollama.py", line 104, in on_message
async for part in self.generate(content, context):
File "/mnt/discollama.py", line 126, in generate
async for part in await self.ollama.generate(model='llama2', prompt=content, context=context, stream=True):
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/ollama/_client.py", line 330, in inner
e.response.read()
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/httpx/_models.py", line 810, in read
self._content = b"".join(self.iter_bytes())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/httpx/_models.py", line 828, in iter_bytes
for raw_bytes in self.iter_raw():
File "/root/.cache/pypoetry/virtualenvs/discollama-_erODJfD-py3.11/lib/python3.11/site-packages/httpx/_models.py", line 879, in iter_raw
raise RuntimeError("Attempted to call a sync iterator on an async stream.")
RuntimeError: Attempted to call a sync iterator on an async stream.

I just ran into this issue as well.  If you go to line 126  you'll see that llama2 is hardcoded as the model.  I didn't have llama2 pulled on my ollama server so it 404'd.  I replaced llama2 with the string of the model I wanted to use, but I think piping in the variable passed in with the OLLAMA_MODEL env variable would be desirable.

Thanks for pointing this out, at least there's a temporary solution for custom models. I agree it would be good if the previous default behavior of running OLLAMA_MODEL from the env was restored

This is fixed in #11. The static llama2 was originally a placeholder I forgot about.


Changelog for version 0.1.104

Description

A long time without release :-)
So I prepared the changelog for version 0.1.104.
I think a caught all important changes (probably even some minor changes too - feel free to delete some).
Also record for fix of https://github.com/elgatito/plugin.video.elementum/issues/950 should be added, but i do not know what was the root cause.
Thanks.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Translation

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@simpledork47 https://github.com/elgatito/plugin.video.elementum/pull/1065

@antonsoroko wonderful !

@antonsoroko wonderful !

@simpledork47 don't be shy and feel free to make a contribution with a change/fix.


integrate course build files into our scopes

like:

https://version.aalto.fi/gitlab/oseppala/studio2/-/blob/k2021dev/projects/create_s2_course_config.py
https://version.aalto.fi/gitlab/oseppala/studio2/-/blob/k2021dev/projects/Projektien_pakkaus.py

THINK ABOUT COURSE TEMPLATE THAT SUPPORTS THE PLUGIN

also comment on the build script file better

O1 & S2 specific

O1 & S2 specific

I suggest we close this issue:

I wrote the scripts only to make it more convenient to maintain the course configuration file for O1. They are very course specific and require a very specific structure, which our plugin does not. They were not originally intended to be used by any other courses.
The course configuration file should be (and should stay) manageable without these helper scripts.

I suggest we close this issue:

I wrote the scripts only to make it more convenient to maintain the course configuration file for O1. They are very course specific and require a very specific structure, which our plugin does not. They were not originally intended to be used by any other courses.
The course configuration file should be (and should stay) manageable without these helper scripts.


Slow at the first opening

Hi Ha,
It's been so nice using your lib. However, it opens really slow on real device when the app is reopened. Any suggestions please? Thank you.
Have a great week and stay safe !
https://user-images.githubusercontent.com/17813202/127124521-57c55d91-5896-4704-b4c3-242d9b4a2561.mp4

I can't see the video you sent. But I have a question: are you running on a real device while connected to the XCode debugger? If this is true then you don't need to worry as it only affects while you're programming (and only happens the first time you open it). If not, please resend the video to me.

I can't see the video you sent. But I have a question: are you running on a real device while connected to the XCode debugger? If this is true then you don't need to worry as it only affects while you're programming (and only happens the first time you open it). If not, please resend the video to me.

Hi Ha, thanks for taking your time.

Show me your code. I don't think I can fix this. Because I never had this situation when I publish to Testflight(Including the official version on the AppStore). I can only think that this is coming from the permission query.

Show me your code. I don't think I can fix this. Because I never had this situation when I publish to Testflight(Including the official version on the AppStore). I can only think that this is coming from the permission query.

Let me check it again. Will keep you posted. Thank you so much

@baronha  hi, forgot to attached the code :D. Here it is. Everything works fine on Simulator.
  const images = await MultipleImagePicker.openPicker({     isPreview: false,     numberOfColumn: 4,     selectedColor: Colors.PRIMARY_LIGHT_COLOR,     mediaType: 'all',     maxVideoDuration: 120,     maxVideo: videoCount,     maxSelectedAssets: mediaCount,     selectedAssets: [],     isExportThumbnail: true,   });

Your code is correct. Maybe this problem I will experience more to find a solution.


Dice Rolling Simulator Using Python

I would like to work on this .Please Assign it to me.

Assign it to me

Fork it and start working :)


Does git-media allow the use of multiple remote servers to save large files?

Say, I want to have a read only git-media repository where I can pull updates from others, and have a writeable git-media repository where I put my own changes from which others can pull.

use git-annex instead


WIDTH_BUCKET function support

Search before asking

[X] I had searched in the issues and found no similar issues.

Description

function width_bucket had supported by oracle and postgresql,hive,sparksql,impala,snowflake and  databricks.
please add the same name function and have the same feature.
please refer to:
https://www.postgresql.org/docs/15/functions-math.html
https://docs.snowflake.com/en/sql-reference/functions/width_bucket.html

Use case
No response
Related issues
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Yeah, thanks for your advice. We will support it in the future. I think maybe in one month or two.


Support GitHub Enterprise Organisations

Description of your changes
Implements github_enterprise_organization to allow creation of organizations on a GitHub Enterprise account.
I have:

[x] Read and followed Crossplane's contribution process.
[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Replaces #41

@gilfthde after 'update' branch it fails. I updated to go 1.21 which causes some libs to be updated as well. Can you make sure all generated is code is commited again? thanks!

@AtzeDeVries Generated should be up-to-date now.

@gilfthde  Thanks. I'll merge it and publish in v0.6.0


Can't install nmap: requires elevation + "Silent installation is only supported in Nmap OEM"

If I try to install nmap without elevation, I get:
Scoop was updated successfully!
Installing 'nmap' (7.91) [64bit]
Loading nmap-7.91-setup.exe from cache
Checking hash of nmap-7.91-setup.exe ... ok.
Running installer... error.
ERROR Exception calling "Start" with "0" argument(s): "The requested operation requires elevation"
Installation aborted. You might need to run 'scoop uninstall nmap' before trying again.

If I then try to install it with with elevation, cmd run as Administrator, I get:

When I hit enter, I see this in the cmd console:
Running installer... error.
ERROR Exit code was 2!
Installation aborted. You might need to run 'scoop uninstall nmap' before trying again.

Installing https://nmap.org/dist/nmap-7.91-setup.exe from https://nmap.org/download.html worked fine.

Hello. Silent install is present in OEM version only.
https://nmap.org/npcap/oem/internal.html

Silent installer—Npcap OEM includes a silent installation option (/S), including customization using command-line arguments to ease deployment across a company or devision. The free/demo Npcap does not include a silent installer.

Hello. Silent install is present in OEM version only.
https://nmap.org/npcap/oem/internal.html

Silent installer—Npcap OEM includes a silent installation option (/S), including customization using command-line arguments to ease deployment across a company or devision. The free/demo Npcap does not include a silent installer.

Yes, that was the error message listed. What that means is that scoop is going to have to not call /s (and we'll need to click thru the npcap install). Or else scoop is going to have to revert back to a version of nmap that doesn't use a version of npcap that doesn't have this limitation.

is it possible for Scoop to adopt this solution?

No, if it's not possible to install silently, then it shouldn't be installed by Scoop

Hi @rashil2000 - As far as I can see, nmap is still shown as an app that can be installed:
C:\Windows>scoop search nmap
'main' bucket:
    nmap-portable (7.92)
    nmap (7.92)

and there are no commits associated with this issue.
Shouldn't here be a commit that removes nmap from the search output? Currently one can try to install nmap but it fails.


Version ranges in global/local/env + automatic target script version detection (based on package.json)

This enables the shim to inspect the parent directories of the script to be executed by node and search for a package.json in order to pick a node version that matches to its engines field. It also allows the specification of version ranges inside global/local/env version specs (see #90 ).
This is better than .node-version files, because those are based on the working directory you're in, whereas this version detection mechanism is based on the target directory. This rules out the need to globally switch versions before using global tools installed via npm -g, it would also allow having multiple npm instances in the PATH e.g. as npm2 and npm3, if they exposed an engines field in their package.json.
Something that's up for discussion is the order of application of the different version detection mechanisms. The current order of application is: target script, env, directory, global.
A problem I see are testing tools like mocha, that are installed globally: if they expose an engines field, this is what's gonna be used. However, the actual package being tested might depend on a different, more restrictive node version in its engines field, e.g. mocha works with both node 4 and 5, but my library only works with 4 -- then node 5 will be used, because nodist's target script inspection doesn't know about my library :/
Note: This depends on #110

I'd like to remove the "per directory" (local) version setting feature in favour of package.json inspection. What do you think? (cc @nullivex, @jakub-g)

I have an installer ready for you to test this, if you want...  https://github.com/marcelklehr/nodist/releases/download/v0.8.0-alpha1/NodistSetup-Packagejson-inspection.exe

@marcelklehr Sorry I hadnt had a chance to review this. I think this looks great.
However, I prefer to always have a way to explicitly handle things in the event that I am working in a testing setup.
I actually had some trouble doing some development on the new NPM version management because of a .node-version file sitting in my dev directory. It was actually pretty confusing. So I do like your more automated approach.
And yes like you probably do I work on projects that run in a lot of different envrionments. So I think this is a great feature.
@marcelklehr Should we try to create a 0.8.x branch and merge in this change and my NPM change and do some testing?

A question regarding this pr: Should we have the shim download a suitable executable if none is found matching the active spec?

[ ] Put env before package.json in version search chain in the shim

If the desired version from the package.json it should complain and then run with the environment version.
I think if it tries to put an install in the middle. It can lead to confusing UE.

I think it should fail early, if no matching version is installed. It should not install anything when running node, though, I agree.
However, IMO it would make sense to check upon setting a version whether a version matching the spec is installed.

Another problem is that there's an apparent inconsistency between the semver module used by the shim and the one in the cli:  e.g. nodist 5 doesn't work with the shim... :/

I updated this pr to include

fixed local switching: Use the target script's dir's .node-version instead of cwd/.node-version
automatic installation of missing executables (before nodist cli didn't care whether there were any matching versions installed, now it does)
version ranges in env var

@nullivex Please test this (run both build.bat and node build/build in order to re-build the shim).

Semantic and sytactic fixes for the shim code: https://gist.github.com/anonymous/8dcf1bc9742121f0989ba5bbe5955e3d


NoReverseMatch at / Reverse for 'single_blog' with arguments '(16,)' not found. 1 pattern(s) tried: ['blog/int:id/']

I have two bugs with NoReverseMatch at / Reverse for 'single_blog' with arguments '(16,)' not found errors for templates header.html and index.html.
Read More

{% for cat in catagory %}

                    {{ cat }}

                {% endfor %}

and index.html at line 17. Can you please help with this?

knock me at fb : facebook.com/yeazin.io


Fix bug where when using pair symbols inside of string, write_char doesn't want to print it.

It possibly wants to evaluate pairs inside of the string.
Reproduce
(define file (open-output "file.txt"))
(write-string "public OnGameModeInit(args)\n{\nif(PlayerID == 0) raise(ERR);\n}\n\n" file)

Output
Unbound variable
Unbound variable
Unbound variable

Expected Output

string written into file.txt.

Looks like it works in this build. It needs further research.


A lot of bugfixes, corrected iterator changes from #5, lowered memory overhead per object

#10 - bugfix in push_front()
#11 - bugfix in index() calculation from negative pos
#12 - bugfix in copy constructor and operator=()
#13 - bugfix in insert()
#14 - bugfix in resolve_overflow()
#15 - corrected work with iterators that started in #5 and #6
#16 - saved memory overhead per object (10 => 4 bytes on Arduino Nano)
some minor improvements

I have forgot to mention, that this time I have tested all changes on all examples :-)

Recently, I have started to use simplier array container than arx::, but I like the idea and design of RingBuffer that I use in some projects :-)

I really appreciate your contribution! ;-)


Can't build

Hello!
I am trying to build mySIMBL on MacOS Sierra.
I run this in terminal:
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED="NO" CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO"
and got an error:

** BUILD FAILED **
The following build commands failed:
PBXCp build/Release/mySIMBLAgent.app build/Release/mySIMBL.app/Contents/Library/LoginItems/mySIMBLAgent.app
(1 failure)

How to fix it?

Do you absolutely need to build it? Would a release version be easier?
https://github.com/w0lfschild/mySIMBL/releases

@fnankivell I need 32bit or universal arch, release build is 64 only. It does not hook 32bit applications.

Not sure I've never built via command line. Either way you want to be building the framework because that's what's gonna actually let you load into 32 bit apps. I think I tried to do this once but gave up as it wasn't really simple and 32 bit is basically dead.
https://github.com/w0lfschild/mySIMBLFramework


Replace terrible tables with headings, bullets etc.

📚 Subject area/topic
API reference
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/reference/api-reference/
(check for more)
📋 Description of content that is out-of-date or incorrect
We really can't put up with these tables any longer!  :sweat_smile:

Use other entries on this, and on the configuration reference page, for inspiration to display this content sensibly. (Headings are never bad. Listed as bullet points may work, but we'd need to see them in action.)
🖥 Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response

Would love to do this if it's alright! 👀

Tables are OUT
Bold: 'code,'

and maybe bullets?

are IN

@SatanshuMishra Would be happy to have you do this! I'm sure @VoxelMC would also be happy to provide an extra pair of eyes to help get something that is consistent with the rest of docs.  Please feel free to make a PR, and I'll take a look at what you come up with and we can all figure out exactly what we want after we see it.Thank you!

Thank you and Sounds good! I will have a PR up soon :)!


bump wasmvm to v1.2.5 to fix bugs

Description
bump wasmvm to v1.2.5 to fix bugs CWA-2023-004

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

:exclamation: No coverage uploaded for pull request base (releases/v2.x@5377e66). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##             releases/v2.x     #157   +/-   ##
================================================
  Coverage                 ?   54.74%
================================================
  Files                    ?       25
  Lines                    ?     2285
  Branches                 ?        0
================================================
  Hits                     ?     1251
  Misses                   ?      959
  Partials                 ?       75


Add test files

In this branch

Added test file for all the components
Added test file for all the logics

Status: APPROVED 🟢
Hi  @nxn404-n   👋 👋
I'm @TuyishimireEric, Your code reviewer,
Good job on implementing the project requirements! 🥇

Your project is complete!  There is nothing else to say other than... it's time to merge it 🦾
Congratulations! 🎉
Highlights
✔ App created with Create React App👍
✔ Jest & React Testing Library used 👍
✔ tests are green 👍
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

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


persist typelib and datamodel metadata in the cortex

when cortex clients call addType(), addTufoForm(), and friends, add tufos to the cortex that describe the types and data models.
this is a one-way backing only. for example, types are added as syn:type tufos, which can be inspected via cortex/swarm. however, changes made to syn:type tufos via cortex/swarm do not affect the installed types. likewise, upon reload of the cortex, the types still must be re-installed (since there's a code component that must be present to do parsing, frobbing, etc). the cortex persistence is just metadata.
this lays the groundwork for a cortex loader that can inspect the cortex and automatically import/configure/run typelibs and datamodels when a cortex is reloaded.
i've made a bunch of changes to which i expect discussion/suggestion/feedback. i figured its easier to discuss real, existing code than concepts. i am happy to discuss and rework anything here.

cortex/swarm introspection:
In [4]: syn:prop:form="syn:form"
syn:prop        syn:prop:doc                      syn:prop:form    syn:prop:ptype
--------------  --------------------------------  ---------------  ----------------
syn:form:doc    basic form definition             syn:form         str
syn:form:model  which model defines a given form  syn:form         str
syn:form                                          syn:form         syn:prop
syn:form:ver    form version within the model     syn:form         int
In [5]: syn:prop:form="syn:prop"
syn:prop        syn:prop:form    syn:prop:ptype
--------------  ---------------  ----------------
syn:prop:ptype  syn:prop         syn:type
syn:prop:form   syn:prop         syn:prop
syn:prop        syn:prop         syn:prop
syn:prop:req    syn:prop         bool
syn:prop:doc    syn:prop         str
In [6]: syn:prop:form="syn:type"
syn:prop         syn:prop:defval    syn:prop:doc                         syn:prop:form    syn:prop:ptype      syn:prop:req
---------------  -----------------  -----------------------------------  ---------------  ----------------  --------------
syn:type:base                       what type does this type extend?     syn:type         str                            1
syn:type:ver     1                  What version is this type            syn:type         int
syn:type:doc     ??                 Description for this type            syn:type         str
syn:type                                                                 syn:type         syn:type
syn:type:fields                     number of fields for composite type  syn:type         int

Coverage increased (+0.1%) to 81.144% when pulling 914c6f3faefd72f311d8791706f12e7516052ca1 on williballenthin:persist-data-model into 45f71ba59b3d4f04aa3dd01bc2cde0ac970a2f69 on vivisect:master.

not yet ready for review.

Coverage decreased (-0.3%) to 80.725% when pulling 7a448edd439436d06ab89eaef596802ac7155324 on williballenthin:persist-data-model into 45f71ba59b3d4f04aa3dd01bc2cde0ac970a2f69 on vivisect:master.

alternative implementation merged in a4be716e6a1006a6042f47286d047d456d4870d3


Attaching a debugger crashes the app if it was already livesynced

The app is initialized with the special live sync path that contains a space so URLWithString returns nil.
Fixes #572

run ci

run ci


Edit breaks in two taps, not in four

In Florence, I had to add many breaks, and not a single one of them was in the default list. I had to do six taps for each. Better reduce it to four.

Done in 2.0.


DllNotFoundException: Unable to load DLL 'libgdiplus' on mac

I really like this feature, but am using a mac and getting the error below :

System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libgdiplus': The specified module could not be found.
at System.Runtime.InteropServices.FunctionWrapper`1.get_Delegate()
at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)
at System.Drawing.SafeNativeMethods.Gdip..cctor()
--- End of inner exception stack trace ---
at System.Drawing.SafeNativeMethods.Gdip.GdipGetGenericFontFamilySansSerif(IntPtr& fontfamily)
at System.Drawing.FontFamily.GetGdipGenericSansSerif()
at System.Drawing.FontFamily.get_GenericSansSerif()
at System.Drawing.Font.CreateFont(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical)
at NetBarcode.Barcode..ctor(String data)
at ICFERApp.Controllers.StudentController.Details(Int64 id) in /Users/idrislutaaya/RiderProjects/ICFERApp/ICFERApp/Controllers/StudentController.cs:line 176
at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)

I also tried to install  libgdiplus with this brew install mono-libgdiplus command , but it didn't workout. What caused this issue ?

Unfortunately I have no idea of the error, nor do I have an MEC to test. The only alternative is for you to clone the project and investigate it if I found out that you can post here or submit a pull request.

Ok, let me try my best.

Could you fix it?

Ok, let me try my best.

@huxaiphaer did you fixed it?

It has been a long time, what I remember I used another lib @artmerlop

I found a solution to resolve this error on Mac. Use Homebrew package manager and run these commands in Terminal:
brew update
brew install mono-libgdiplus

Thanks @areee , for the solution.


A misspelling in /src/cpu/cpu_rnn_pd.hpp?

I am tring to write a rnn training example since there is only a rnn inference example. But I am stuck at creating rnn_backward::desc and I found a misspelling in https://github.com/intel/mkl-dnn/blob/master/src/cpu/cpu_rnn_pd.hpp#L230. I guess diff_dst_iter_pd_ should be dst_iter_pd_?Thank you!

Hi @sjtuck,
Yeah, you are right, thanks!
The problem should be already fixed by 304835cb.
Please try the latest master.


Edits Function Node docs.

This fixes minor grammar and typo fixes. The semantics should be double-checked in case my understanding is wrong.

Jenkins, test this please.

Jenkins CI test (for commit 1369a1be95977b8165c12318989a5972bacd238d, target branch master) failed with status FAILURE.

Testing failures look unrelated.


Suppress compiled command

I added an method to disable the logging of the compiled ffmpeg command
this was also a requested feature in #62

I added an method to disable the logging of the compiled ffmpeg command
this was also a requested feature in #62

LGTM, but would you mind fix conflict first? tks.


authors: add first_name and last_name to advisors

Ref: #1217

There is no need for reindexing. The change is at detail page serializer level.


async_std::net::TcpStream closes after write in it

System details
OS: MacOs Big Sur beta 5
CPU: 2,3 ghz 4cores intel i5
RAM 8GB 2133 MHz LPDDR3
Graphics Intel Iris Plus Graphics 655 1536 MB
async-std: 1.6.3
Rust: 1.46
Report details
Connection is closed after attempting to write into TcpStream. I'm new to rust, so I can't dive in depth of language, but it's clearly a bug since I was unable to run correctly any of echo server examples. Examples based on std::net::TcpListener and std::net::TcpStream work correct with no errors. async_std::io::BufWriter makes no difference.
Example
fn main() -> std::io::Result<()> {
    async_std::task::block_on(async {
        use async_std::net::TcpListener;
        use async_std::prelude::*;

        let listener = TcpListener::bind("<IP_ADDRESS>:3000").await?;
        let mut incoming = listener.incoming();

         while let Some(stream) = incoming.next().await {
             let mut stream = stream?;
             println!("New connection");
             stream.write_all(b"hello world").await?; // Connection closes before sending a single byte
             // In this example server continue running.
         }
        Ok(())
    })
}

More details
I was able to read and write to local file with async_std::File.
read and write methods for std::net::TcpStream works.
async_std::io::copy(&mut r,&mut w).await?; works for File.

Works in Rust 1.46

Seeing that you run Big Sur, this may be an operating system behaviour? I cannot replicate this on windows and usually, tcpstreams should send all data before closing. This is partially behaviour provided by the operating system, though.

I've recently updated to beta 6 and now it seems to work perfectly fine.
But anyway this error looks strange to me since all other applications except Virtual Box has worked with no issue. And even more strange since sync version of stream is able to send all data.
I guess it's now solved since no one will be using macOS 11 beta 5 in future.

@mikstime in this case, could you please monitor? We'll fix is this is in the release version.

I'll do my best

@mikstime Have you observed this issue again at any point since upgrading?

I have not. I believe this issue could be closed for now.


Refresh the component graph (and pipeline formulas) when it is updated

What's needed?
We need to be able to pick up and adapt to changes in the component graph dynamically. This means we need to rebuild formulas in the data pipeline and power manager (at least) to accommodate to the new graph.
Proposed solution
Alternatives
Polling
The solution we can implement now would be to poll the microgrid API (fetch components and connections) every some amount of time, compare the new component graph to the current one, and trigger an update if it changed.
Event based
We could have a more efficient way to detect changes if the microgrid API is extended to add an RPC that streams updates to the component graph.
Updates
We would need to update all the affected formulas in the data pipeline, like formulas in *Pools, etc. and the power manager to also adapt to the new graph.

Some historical comments present in an old internal issue about this (so they doesn't get lost, but take with a grain of salt because they could be very outdated):
From @ela-kotulska-frequenz, dated Aug/Sep 2022:

Component graph can change anytime. python-sdk should handle it and refresh the api.
How we should check it if component graph changed:

Trigger request to the API every 30 minutes to get component graph and compare with the previous one
Has a stream with the microgrid API. It will send Component graph everytime when there is new change.
Component graph can change only in the UI. So maybe Cloud connector could change config file whenever component graph will change.
Each component has a timestamp informing when it was recently changed. Maybe we could use that to find out if the component graph changed.

Requirements
Watch for changes in component graph. When the component graph will change we should notify all actors about that.
Problem 1

It should be made in right order. First component graph should be updated, then actors should get notification about that change. Reason:

It is async - we can't be sure that MicrogridApi will get notification before other actors,
Updating component graph is async task (it has awaits)
It might take some time, because of correction feature [^1].
Creating component graph could fail - in that case we use old graph and users should not be notified.

Solution
We have singleton microgrid_api that stores microgrid_api_client, and component_graph.
Microgrid_api should be an actor that waits fro changes in component graph. If there is a change it should update component graph (if possible) and send to the actors that component graph has been changed. MicrogridApi should notify the actors about the change using channels.

The channel for microgrid_api could be global (like microgrid_api instance). We would have extra method get_microgrid_api_notification_channel that returns receiver for that channel.
The channel for microgrid_api will be created in the microgrid_api instance. microgrid_api will has property update_notification_channel that returns receiver for that channel.

Problems with both solutions: microgrid_api would be the only actor that can be called directly (it has method microgrid_api, component_graph).
Problem 2

How to watch for changes in component graph (described above in the first comment)

[^1]: UI or cloud connector can give incomplete graph. In that case we should correct it by site.
src/frequenz/sdk/microgrid/graph.py:_correct_graph_errors

Should handle below cases:

* It is not required for `PV_ARRAY`, `GRID` to be in component graph from UI and in SDK component graph (users don't needs it)
* grid meter has no predecessors then it is grid meter.
* meter can be dangling - it has no successor and predecessor ( for example CHP meter )
* If the leaf is battery (bms) then his path should be bms <- inverter (hybrid) <- bms_mter <- root. BMS might be connected to more then one inverter.
* If the inverter is leaf then his path should be inverter (solar or hybrid) <- pv_meter <- root.
* If the leaf is ev_charger then the path should be ev_charger <- ev_meter <- root
* root might be junction or grid

The type of the inverter/meter should be retrieved from protobuf Component.data.variant field. It is not implemented, yet.
We should wait for that first.

UPDATE:
The feature should be implemented in a way that it does not break if the microgrid API doesn't expose the variant. It should gracefully fails in that case. Possibly in the same as in every case when the graph is invalid. This would allow us to update app etc. even the microgrid API service hasn't been updated yet

Problem 2
We decided to:

Trigger request to the API every 30 minutes to get component graph and compare with the previous one
Has a stream with the microgrid API. It will send Component graph everytime when there is new change.

Because other solution require synchronization. For example:  Cloud  sync can change sdk config file before the microgrid API with change component graph.


fix(DDI-1040): label wrapping with parent container

Fixed label getting truncated if too long

:tada: This PR is included in version 4.0.0-alpha.72 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.114 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.18 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[WIP] Refactoring of distributed virtual switch filtering

Added specs, refactored to facilitate testing.
If there are multiple switches for a port group
concat them with / e.g.
pg1 (switch1/switch2)
https://bugzilla.redhat.com/show_bug.cgi?id=1209407

@gmcculloug
Please review


Remove stale test_app_dependencies_loaded_not_sent

The test test_app_dependencies_loaded_not_sent is not relevant anymore for telemetry. No more changes are required to the backend when sending app-dependencies-loaded  today.
Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] Relevant label (run-parametric-scenario, run-profiling-scenario...) are presents
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present
[ ] To R&P team: locally build and push the image to hub.docker.com

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team
[ ] Once merged, add (or remove) it in system-test-dasboard nightly

Test failures are caused by unrelated tests, related to sampling.


[QUESTION] Empty xls result on live database

Prerequisites

[ ] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[X] Checked that your issue isn't already filed.
[X] Checked if no PR was submitted that fixes this problem.

Versions

PHP version: 7.0
Laravel version: 5.1.46
Package version: ~2.1.27

Description
Exporting large data on live server in XLS format results an empty sheet, only the headings are there.
If I set CSV to the format, I get the appropriate result.
But, on localhost the XLS export works well (with only smaller test data)
In this project I have more than 10 reports with xls export, only this "all in one" report gives this behavior.
I've debugged the Laravel-Excel package, even in the _render method (_setFormat, _setWriter, etc) but I get always the Excel object with the data inside!
Debug of the $this->writer property:
PHPExcel_Writer_Excel5 {#1214 ▼
  -_phpExcel: PHPExcel {#1368 ▼
    +allowedProperties: array:8 [▶]
    -_uniqueID: "5b6179cda27b4"
    -_properties: PHPExcel_DocumentProperties {#1356 ▶}
    -_security: PHPExcel_DocumentSecurity {#1355 ▶}
    -_workSheetCollection: array:1 [▼
      0 => LaravelExcelWorksheet {#1468 ▼
        +_parent: PHPExcel {#1368}
        #parser: null
        +view: null
        +data: array:19 [▼
          0 => array:491 [▶]
          1 => array:491 [ …491]
          2 => array:491 [ …491]
          3 => array:491 [ …491]
          4 => array:491 [ …491]
          5 => array:491 [ …491]
          6 => array:491 [ …491]
          7 => array:491 [ …491]
          8 => array:491 [ …491]
          9 => array:491 [ …491]
          10 => array:491 [ …491]
          11 => array:491 [ …491]
          12 => array:491 [ …491]
          13 => array:491 [ …491]
          14 => array:491 [ …491]
          15 => array:491 [ …491]
          16 => array:491 [ …491]
          17 => array:491 [ …491]
          18 => array:491 [ …491]

you can see the object is built, and has data inside.
No errors in laravel, php, nginx logs.
The site has 128Mb memory to run.
My code to render the sheets, but again it works in the 99% of the cases.
private function export($data, $filename, $captions, $type)
    {
        if (! in_array($type, ['xls', 'csv'])) {
            $type = 'csv';
        }

        $fn = 'XXXX'.YEAR.'-'.$filename.'-'.date('Y-m-d_H-i-s');

        Excel::create($fn, function ($excel) use ($data, $captions) {

            $excel->sheet('LAKAS'.YEAR, function ($sheet) use ($data, $captions) {

                $sheet->fromArray($data, null, 'A1', false, false);
                $sheet->prependRow(1, $captions);
                $sheet->freezeFirstRow();

            });

        })->export($type);
    }

My guess is the rendering eats the memory, but then why no exception is thrown by php/nginx ?
Is it possible that the data has some special characters which breaks the rendering ?
How to debug in which point of the process makes the sheet empty?
Thanks

It's probably nginx not correctly signalling your php memory limit reach. Depending on how you query the data it might have already consumed a lot of memory. The only thing I can recommend you is to try to get the same amount of data and the same php + nginx settings on your local machine and try to see where it uses the most memory.


Feature: add better branch protection documentation and adjust workflows

Type of feature
Documentation
Current behavior
Branch protections don't work due to the additional commit, a workaround re-using testing workflows and possible branch protections is displayed in https://github.com/bdougie/octoherd-script-validate-contribution/pull/16
Desired solution
Document all the limitations properly, including https://github.com/semantic-release/github/issues/175#issuecomment-891098979
Additional context
No response
Code of Conduct

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

this is a service limitation, using the action with the currently documented flows works without issues and should not be extended with unknown functionality


Fix sqlalchemy version in mlflow-docker file

What this PR does / why we need it:
The new release of sqlalchemy is causing this error when starting merlin-mlflow, example workflow, the logs from the workflow here: https://pastebin.com/9QL4j8zK.
SQLAlchemy released a new version (2.0.0) on Jan 27, the last working version for mlflow that did not produced this error was 1.4.46.
This PR fixes the SQLAlchemy version to 1.4.46 in mlflow/dockerfile
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

NONE

Checklist

[ ] Added unit test, integration, and/or e2e tests
[ ] Tested locally
[ ] Updated documentation
[ ] Update Swagger spec if the PR introduce API changes
[ ] Regenerated Golang and Python client if the PR introduce API changes

e2e-test is failing because of a different reason now, but merlin-mlflow can be deployed.

e2e-test is failing because of a different reason now, but merlin-mlflow can be deployed.

Can you increase the CPU request of kserve https://github.com/gojek/merlin/blob/b4a22ae1ef1ad45ad58317c1fbb4ba43ce8cee77/scripts/e2e/config/kserve/overlay.yaml#L17 . I see that the error is caused by failing webhook.

{"level":"error","ts":1675047313.5237648,"caller":"cluster/controller.go:178","msg":"unable to create inference service custom-w-artifact-r-1 Internal error occurred: failed calling webhook "inferenceservice.kserve-webhook-server.defaulter": failed to call webhook: Post "[https://kserve-webhook-server-service.kserve.svc:443/mutate-serving-kserve-io-v1beta1-inferenceservice?timeout=10s\](https://kserve-webhook-server-service.kserve.svc/mutate-serving-kserve-io-v1beta1-inferenceservice?timeout=10s)": EOF","stacktrace":"github.com/gojek/merlin/cluster.(*controller).Deploy\n\t/src/api/cluster/controller.go:178\ngithub.com/gojek/merlin/queue/work.(*ModelServiceDeployment).Deploy\n\t/src/api/queue/work/model_service_deployment.go:115\ngithub.com/gojek/merlin/queue.(*worker).processJob\n\t/src/api/queue/worker.go:81"}

e2e-test is failing because of a different reason now, but merlin-mlflow can be deployed.

Can you increase the CPU request of kserve
https://github.com/gojek/merlin/blob/b4a22ae1ef1ad45ad58317c1fbb4ba43ce8cee77/scripts/e2e/config/kserve/overlay.yaml#L17
. I see that the error is caused by failing webhook.

{"level":"error","ts":1675047313.5237648,"caller":"cluster/controller.go:178","msg":"unable to create inference service custom-w-artifact-r-1 Internal error occurred: failed calling webhook "inferenceservice.kserve-webhook-server.defaulter": failed to call webhook: Post "https://kserve-webhook-server-service.kserve.svc:443/mutate-serving-kserve-io-v1beta1-inferenceservice?timeout=10s": EOF","stacktrace":"github.com/gojek/merlin/cluster.(*controller).Deploy\n\t/src/api/cluster/controller.go:178\ngithub.com/gojek/merlin/queue/work.(*ModelServiceDeployment).Deploy\n\t/src/api/queue/work/model_service_deployment.go:115\ngithub.com/gojek/merlin/queue.(*worker).processJob\n\t/src/api/queue/worker.go:81"}

Hmm, worth a try. I saw this too, but the kserve manager pod is up eventually, webhook is 1 endpoint in kserve pod, in the debug logs the pods get created, which means the mutating webhook is able to respond eventually.

oh wow so it really was resource issue, thanks for the help @pradithya !


Login and Security

User Story:
As a medical worker, I want a login system with personal login details in order to ensure a more secure system not allowing outside users to disturb our cars.
Acceptance criteria:
When entering the app a login screen with login verification should be displayed to the user.

Hey , may i join this project

Hey , may i join this project

@Arunjazz interesting question! This is part of a university course (DIT112 @ Gothenburg University, Sweden) so naturally you cannot participate in the course itself, but since this is an open source project there's nothing stopping you from talking to the team and/or submitting pull requests.

Closing this issue. It is out of scope due to time constraints.


Updated the commands of installing multi-cloud server

issue: #195

Updated the commands of installing multi-cloud server After mkdir command a cd command  added where we will clone the multi-cloud repo.

#sodacode2022
#sodalow
regards
your contributor
Digvijay shelar
@shelar1423

@skdwriting  kindly label sodalow and sodacode2022

Please check the review comments. Either of the solutions will work.

Made changes according to your comments have a look

@shelar1423 this is a duplicate of #197


Permissions GroupDependency

Would this be possible to implement as a new feature?
http://pastebin.com/4c0TRFVG
This would allow to give special event rewards to players only applyed to specific groups.
Also would allow to remove specific players from groups but keep the "permissions" they already earned in the past from other events/rewards.
In the pastbin example fr34k when added to the terrorist group would be awarded with a group permissions that others would have not. But when added to the policeman group, that reward would not be available for him.

Naa, beside its no xml / this is way to complicated, per user permissions would be easier here

That would make a HUGE permissions per user file, this would allow much more combinations with the permissions group. Not that hard to implement imo.

The pastbin is just XML lazy explanation, not a real one ofc.

I don|t understand zour example, could you please make xml out of it and epxplain? Group hierarchy does already exist..

Ok, I will make a example file to explain what I think would be cool. Keep this open.

PLAYER A
PLAYER A
PLAYER A

http://pastebin.com/GGiFmWiu

PLAYER A : vip-elite, elite-champs-2015
PLAYER B : vip-elite
PLAYER C : vip-normal
PLAYER D :
PLAYER E : vip-normal

Example
PLAYER A has elite-champs-2015 because he is part of the vip-elite group (GroupDependency) but PLAYER C does not because he is only vip-normal. PLAYER D is on the elite-champs-2015 but also does not have the GroupDependency. If for some reason PLAYER D is placed back in the vip-elite he will be also be able to use the  elite-champs-2015 permissions.
PLAYER B is part of the vip-elite but he did not get the reward from elite-champs-2015 so dependency does not apply to him.
PLAYER E is on the vip-normal group that has no dependency, so its treated normally.
Implementation
Before applying a group to the player, just check if the current player has the GroupDependency of that specific group. Pretty simple.

I dont have any clue what you want from me, finising the sentence with pretty simple does not make it easier..

I deleted that comment, it was a mistake.

So he just gets a permission if he is in another group?
I don't get this manuel, its "pretty simple", create new groups for events & let them inherit the old groups - done

Yea, that would work but if u have like 5 different rewards, everytime the player leaves the VIP group I will have to remove the member from all 6 groups (elite + 5x rewards).
That way I will keep the member in the reward groups and only remove him from the VIP group that all 6 rewads depend on.

I don't find this particularly useful myself, but it highlights the fact that it might be a good idea to allow plugin developers to override Rocket's permissions handler in order to make custom permissions systems, like how it functions in Bukkit eg

#453


Add Reminder in the Welcome Bot to Star the Meshery.io Project

Current Behavior
A welcome bot has been configured to usher in contributors new to this project. However, a reminder to star the project is missing in the message.
Desired Behavior
The config.yml should be updated, you can take a cue from the highlighted line 22

I would love to work on this


CollectionView within Tableview scrollTrack issue

Firstly I wanna thank you so much for the great effort
I have an issue with my layout I have a tableview with collection view nested in its cell i set my fps track to the tableview and start initially in half the problem is I can't swipe up to make the panel go to full mode as the collection captures the vertical scroll but when i start in full position everything works fine until i change the position back to half any ideas how i can fix this and thanks

Thank you, too. I tried to repro the problem, but unfortunately I couldn't. Could you give me a sample code to investigate it?

I created a mock project to show the issue you can find it here
https://github.com/Ahmed-Masoud/FloatingPanelDemo
also please note that sometimes it works fine on the simulator but never on the physical device
please advice and thanks a lot in advance

Thanks to your example, I could detect the cause of this issue. This is because FloatingPanel's pan gestures doesn't recognize a pan gesture until no tracking scroll views(the collection views in this case)'s pan gesture is failed. FloatignPanel gives priority to no tracking scroll views’ gesture by default.
And then this issue can be resolved by FloatingPanelController.panGestureRecognizer.delegateProxy as below to change its priority to gestures.
diff --git a/FloatingPanelDemo/ViewController.swift b/FloatingPanelDemo/ViewController.swift
index da03ce8..566cb66 100644
--- a/FloatingPanelDemo/ViewController.swift
+++ b/FloatingPanelDemo/ViewController.swift
@@ -32,9 +32,14 @@ class ViewController: UIViewController {
         fpc.surfaceView.grabberHandle.isHidden = true
         fpc.surfaceView.contentPadding = .init(top: 0, left: 0, bottom: 0, right: 0)
         fpc.surfaceView.containerMargins = .init(top: 0, left: 0, bottom: 0, right: 0)
+        fpc.panGestureRecognizer.delegateProxy = self
         fpc.addPanel(toParent: self)
     }
+}

+extension ViewController: UIGestureRecognizerDelegate {
+    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRequireFailureOf otherGestureRecognizer: UIGestureRecognizer) -> Bool {
+        false
+    }
 }
-

Yup that fixed the Issue 🎉 thanks a lot for your reply and keep the great work 👍


Log in Teardown mixed with global exception log

Hello all
We have problem with Cake build log. We log information in Teardown but, if build is failed, logs are mixed with build exception.

Thanks

What version of Cake are you using?
Are you running on a 32 or 64 bit system?
What environment are you running on?  Windows? Linux? Mac?
Are you running on a CI Server?  If so, which one?
How Did You Get This To Happen? (Steps to Reproduce or gist to minimal repro)

Not been able to repro, could it be that CI handles stderr and stout differently?
I ran this script
Task("BOOM")
    .Does(() => throw new Exception("BOOM"));

Teardown(ctx => {
    for(var i = 1; i <= 15; i++)
    {
        Information("Teardown {0}", i);
    }
});

RunTarget("BOOM");

Output was
========================================
BOOM
========================================
Executing task: BOOM
An error occurred when executing task 'BOOM'.

 ----------------------------------------
Teardown
 ----------------------------------------
Executing custom teardown action...
Teardown 1
Teardown 2
Teardown 3
Teardown 4
Teardown 5
Teardown 6
Teardown 7
Teardown 8
Teardown 9
Teardown 10
Teardown 11
Teardown 12
Teardown 13
Teardown 14
Teardown 15
- Error: System.AggregateException: One or more errors occurred. (BOOM)
-  ---> System.Exception: BOOM
-    at Submission#0.<>c.<<Initialize>>b__0_0() in C:\temp\teardown_errorlog.cake:line 2
-    at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass31_0.<Does>b__0(ICakeContext context) in C:\projects\cake\src\Cake.Core\CakeTaskBuilder.Execution.cs:line 60
-    at Cake.Core.CakeTask.Execute(ICakeContext context) in C:\projects\cake\src\Cake.Core\CakeTask.cs:line 125
-    at Cake.Core.DefaultExecutionStrategy.ExecuteAsync(CakeTask task, ICakeContext context) in C:\projects\cake\src\Cake.Core\DefaultExecutionStrategy.cs:line 87
-    at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 336
-    at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 361
-    at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 369
-    at Cake.Core.CakeEngine.RunTask(ICakeContext context, IExecutionStrategy strategy, CakeTask task, String target, Stopwatch stopWatch, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 284
-    at Cake.Core.CakeEngine.RunTargetAsync(ICakeContext context, IExecutionStrategy strategy, ExecutionSettings settings) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 247
-    at Cake.Scripting.BuildScriptHost.RunTargetAsync(String target) in C:\projects\cake\src\Cake\Scripting\BuildScriptHost.cs:line 47
-    at Cake.Core.Scripting.ScriptHost.RunTarget(String target) in C:\projects\cake\src\Cake.Core\Scripting\ScriptHost.cs:line 191
-    at Submission#0.<<Initialize>>d__0.MoveNext() in C:\temp\priv\teardown_errorlog.cake:line 13
- --- End of stack trace from previous location where exception was thrown ---
-    at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, StrongBox`1 exceptionHolderOpt, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
-    at Microsoft.CodeAnalysis.Scripting.Script`1.RunSubmissionsAsync(ScriptExecutionState executionState, ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
-    --- End of inner exception stack trace ---
-    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
-    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
-    at Cake.Scripting.Roslyn.RoslynScriptSession.Execute(Script script) in C:\projects\cake\src\Cake\Scripting\Roslyn\RoslynScriptSession.cs:line 136
-    at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments) in C:\projects\cake\src\Cake.Core\Scripting\ScriptRunner.cs:line 219
-    at Cake.Commands.BuildCommand.Execute(CakeOptions options) in C:\projects\cake\src\Cake\Commands\BuildCommand.cs:line 41
-    at Cake.CakeApplication.Run(CakeOptions options) in C:\projects\cake\src\Cake\CakeApplication.cs:line 45
-    at Cake.Program.Main() in C:\projects\cake\src\Cake\Program.cs:line 80

Which looks in order to me.
Could you please provide more details to aid us in troubleshooting the issue.

(Moving to GitHub Discussions Q&A)


Add persistence to notebook metadata

Save the gist url in it.

Writing in panel.notebook.model.metadata does not seem to be sufficient: https://github.com/hadim/jupyterlab_gist/blob/master/src/index.ts#L45


[test] update html file for evaluation

This commit is to update the existing html file for evaluation just.
Do not merge this PR.!!!!

[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180820. Thank you for submitting PR #304. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.

To contributor, We have used 'Signed-off-by:' notation by default to handle the license issues, that result from contributors. Note that 'Is there a Signed-off-by line?' is important because lawyers tell us we must have to it to cleanly maintain the open-source license issues even though it has nothing to do with the code itself.

It's okay.


Tagging resources in Azure using .Net

Query/Question
Are there any examples of being able to tag resources in Azure using the Azure.ResourceManager.Resources libraries?
Is this the best library to use given it is currently in preview? There appears to be other libraries that can also tag resources:

Microsoft.Azure.Management.ResourceManager.Fluent

The example code includes tagging of a resource group, but would like to see examples of tagging all types of taggable resources in Azure via .Net code.
Environment:

Name and version of the Library package used: Azure.ResourceManager.Resources/1.0.0-preview
Hosting platform or OS and .NET runtime version: Windows 10. Dot net core 3.1.
IDE and version : Visual Studio 2019 ide version: 16.8.3

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Microsoft.Azure.Management.Resources. does not have a centralized tag update method. Instead, Tags are properties on each of the resources. By updating the Tags property and then with the usual CreateOrUpdate/Update() on the resource, tags will be updated.
Here are some examples:
https://github.com/Azure/azure-sdk-for-net/blob/2d2adffee576ea533b5219ede0cdafb8aae9c162/sdk/compute/Microsoft.Azure.Management.Compute/tests/DiskRPTests/DiskRPTestsBase.cs#L75
https://github.com/Azure/azure-sdk-for-net/blob/2d2adffee576ea533b5219ede0cdafb8aae9c162/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/WorkspaceOperationTests.cs#L43
Let me know if they have additional questions.

`


Import stages for a given job

SL-3849

Did they start supporting stages? I remember that the stages endpoint was a mock data (always the default ones), and was not reflecting the actual stages that were configured on workable.

I didn't know that. I don't have access to Workable and so I cannot test if changing a pipeline of a job, the endpoint will return that pipeline and not the default one. I just assumed that their endpoint would return what they say it would 😅


Markdown preview is rendered with strange fonts

Issue Type: Bug

Remove all font settings in settings.json.

Create new file and change language to Markdown.

Enter the following:

Press Ctrl+Shift+V to show preview:

Observe the file rendered with Ubuntu for the plain text and Courier New for the code block. I do not have these fonts specified anywhere in my settings (including GNOME settings). My settings are:

dimitry@laptop:~$ fc-match monospace
CourierMod-Regular.ttf: "Courier" "Regular"
dimitry@laptop:~$ fc-match sans-serif
CenturyGothic-Regular.ttf: "Century Gothic" "Regular"
dimitry@laptop:~$ fc-match system-ui
CenturyGothic-Regular.ttf: "Century Gothic" "Regular"

Change Markdown preview font to your favorite font, eg:
"markdown.preview.fontFamily": "'Roboto Mono'"

Observe the plain text rendered in the proper font, but the code block is still rendered using Courier New:

Current behavior:
The code blocked are rendered using Courier New font, disregarding the markdown.preview.fontFamily setting.
Expected behavior:
Code blocks are rendered respecting the markdown.preview.fontFamily setting or at least using the monospace font.
VS Code version: Code 1.45.0 (d69a79b73808559a91206d73d7717ff5f798f23c, 2020-05-07T16:10:24.511Z)
OS version: Linux x64 5.4.0-29-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 3237)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.23GB (4.95GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (8)

Extension
Author (truncated)
Version

gitlens
eam
10.2.1

vscode-docker
ms-
1.1.0

python
ms-
2020.4.76186

cmake-tools
ms-
1.3.1

cpptools
ms-
0.27.1

cmake
twx
0.0.17

vscodeintellicode
Vis
1.2.7

vscode-icons
vsc
10.1.1

If I completely uninstall Courier New from the system, the code blocks are now rendered with DejaVu Sans Mono, which again is not specified in any of my settings:

Thank you @mjbvz. It's working great now.

Adding verified per Dimitry's comment


[Bug]: starting another mattermost-desktop command does not bring app to forground any more with 5.10

Checks before filing an issue

[X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
[X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
[X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
[X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
[X] I have read the contribution guidelines.

Mattermost Desktop Version
5.10.0
Operating System
Debian 12
Mattermost Server Version
9.11.1
Steps to reproduce

Start the mattermost-desktop app, either via autostart on login or manual, either minimized or not.
Minimize (if not) the app window to notification area by pressing Ctrl-w
Reopen the app window by running the mattermost-desktop command, either on cmdline or application launcher or self-defined keyboard shortcut.

Expected behavior
The app window opens and the (second) mattermost-desktop command terminates successfully. This was the behaviour until 5.10.0.
Observed behavior
The app window does not show up, the (second) mattermost-desktop command only exits. This behavior started with 5.10.0.
Log Output
First command:

13:40:32.351 › Logger Log level set to: info
[macos-notification-state] failed to load 'notificationstate' addon Error: Module did not self-register: '/opt/Mattermost/resources/app.asar.unpacked/node_modules/macos-notification-state/build/Release/notificationstate.node'.
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
    at Module._extensions..node (node:internal/modules/cjs/loader:1602:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2786)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at bindings (/opt/Mattermost/resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at safeLoad (/opt/Mattermost/resources/app.asar/node_modules/macos-notification-state/lib/index.js:3:31) {
  code: 'ERR_DLOPEN_FAILED'
}
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
13:40:32.633 › [App.Initialize] Current working directory is /home/XXXXXXXX, changing into /opt/Mattermost
13:40:34.528 › [App.Config] config.autostart has been configured: true
13:40:34.550 › [App.Initialize] Autoupgrade disabled: false
13:40:34.604 › [ServerDropdownView] init
13:40:34.665 › [i18nManager] Set new language de
13:40:34.821 › [App.Config] config.autostart has been configured: true
13:40:35.517 › [App.Config] config.autostart has been configured: true
13:40:36.906 › [WebContentsEventM...] [renderer] Uncaught (in promise) Error: Ungültiger oder fehlender user_id Parameter in Anfrage-URL.

Second command:
13:42:25.938 › Logger Log level set to: info
[macos-notification-state] failed to load 'notificationstate' addon Error: Module did not self-register: '/opt/Mattermost/resources/app.asar.unpacked/node_modules/macos-notification-state/build/Release/notificationstate.node'.
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
    at Module._extensions..node (node:internal/modules/cjs/loader:1602:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2786)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at bindings (/opt/Mattermost/resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at safeLoad (/opt/Mattermost/resources/app.asar/node_modules/macos-notification-state/lib/index.js:3:31) {
  code: 'ERR_DLOPEN_FAILED'
}
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
13:42:26.051 › [App.Initialize] Current working directory is /home/XXXXXXXX, changing into /opt/Mattermost

Additional Information
For years now, I used a KDE keyboard shortcut that invokes the mattermost-desktop command. If the app was not running, it was started (according to my setting minimized to notification area), otherwise the app windows opened and got the focus. If there is another way, to tell the running mattermost-desktop client instance to open the main window and grab the focus - by a shell command or KDE global keyboard shortcut - please let me know!

Verified, created a ticket: https://mattermost.atlassian.net/browse/MM-61864

Just tested 5.10.1: fixes the issue.
Thanks for the quick update!