DropdownMenu may throw a RangeError when both filter and search are enabled in 3.23

Steps to reproduce

Create a DropdownMenu and set both enableFilter and enableSearch to true.
Start typing in the TextFiled, and make sure one of the remaining filtered items is highlighted. (Enter "b" for code sample)
Once the item is highlighted, enter anything that would cause all remaining entries to be filtered. (Enter "a" for code sample)

Expected results
No errors or exceptions are thrown.
Actual results
DropdownMenu throws a RangeError.
Seems to be caused by https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/dropdown_menu.dart#L607 when entries is empty.
Code sample
Code sample
import 'package:flutter/material.dart';

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

// DropdownMenuEntry labels and values for the first dropdown menu.
enum ColorLabel {
  blue('Blue', Colors.blue),
  pink('Pink', Colors.pink),
  green('Green', Colors.green),
  yellow('Orange', Colors.orange),
  grey('Grey', Colors.grey);

  const ColorLabel(this.label, this.color);
  final String label;
  final Color color;
}

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

  @override
  State<DropdownMenuExample> createState() => _DropdownMenuExampleState();
}

class _DropdownMenuExampleState extends State<DropdownMenuExample> {
  final TextEditingController colorController = TextEditingController();
  ColorLabel? selectedColor;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        useMaterial3: true,
        colorSchemeSeed: Colors.green,
      ),
      home: Scaffold(
        body: SafeArea(
          child: DropdownMenu<ColorLabel>(
            enableFilter: true,
            enableSearch: true,
            controller: colorController,
            requestFocusOnTap: true,
            label: const Text('Color'),
            onSelected: (ColorLabel? color) {
              setState(() {
                selectedColor = color;
              });
            },
            dropdownMenuEntries: ColorLabel.values
                .map<DropdownMenuEntry<ColorLabel>>((ColorLabel color) {
              return DropdownMenuEntry<ColorLabel>(
                value: color,
                label: color.label,
                enabled: color.label != 'Grey',
                style: MenuItemButton.styleFrom(
                  foregroundColor: color.color,
                ),
              );
            }).toList(),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/fccdfac2-a5bf-445f-aae8-2d6e507527c8

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel beta, 3.23.0-0.1.pre, on Microsoft Windows [版本 10.0.22631.3880], locale zh-TW)
    • Flutter version 3.23.0-0.1.pre on channel beta at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2feea7a407 (6 weeks ago), 2024-06-06 10:19:10 +0700
    • Engine revision bb10c54666
    • Dart version 3.5.0 (build 3.5.0-180.3.beta)
    • DevTools version 2.36.0

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

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\rd1-9\AppData\Local\Android\Sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = C:\Users\rd1-9\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.10.34928.147
    • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.10+0--11609105)

[✓] VS Code (version 1.91.1)
    • VS Code at C:\Users\rd1-9\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.92.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.22631.3880]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 126.0.6478.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 126.0.2592.102

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

• No issues found!

Thanks for the report. This seems to be only occuring in latest beta and master versions and not in latest stable.
https://github.com/user-attachments/assets/95ce8f04-c98c-49ab-9d9f-060d721eb849

 error log

======== Exception caught by widgets library =======================================================
The following RangeError was thrown building DropdownMenu<ColorLabel>(dirty, dependencies: [Directionality, InheritedCupertinoTheme, _InheritedTheme, _LocalizationsScope-[GlobalKey#db66f]], state: _DropdownMenuState<ColorLabel>#1d807):
RangeError (length): Invalid value: Valid value range is empty: 0

The relevant error-causing widget was:
  DropdownMenu<ColorLabel> DropdownMenu:file:///Users/dhs/Documents/NCFlutter/new_test/lib/main.dart:40:18
When the exception was thrown, this was the stack:
#0      List.[] (dart:core-patch/growable_array.dart)
#1      _DropdownMenuState.search (package:flutter/src/material/dropdown_menu.dart:607:44)
#2      _DropdownMenuState.build (package:flutter/src/material/dropdown_menu.dart:750:28)
#3      StatefulElement.build (package:flutter/src/widgets/framework.dart:5729:27)
#4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5617:15)
#5      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5780:11)
#6      Element.rebuild (package:flutter/src/widgets/framework.dart:5333:7)
#7      BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2693:15)
#8      BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2752:11)
#9      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3048:18)
#10     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1162:21)
#11     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468:5)
#12     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15)
#13     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318:9)
#14     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176:5)
#15     _invoke (dart:ui/hooks.dart:312:13)
#16     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:419:5)
#17     _drawFrame (dart:ui/hooks.dart:283:31)
====================================================================================================
D/EGL_emulation(13798): app_time_stats: avg=226.36ms min=22.55ms max=1008.42ms count=7
D/InsetsController(13798): show(ime(), fromIme=true)
D/EGL_emulation(13798): app_time_stats: avg=3301.53ms min=3.24ms max=57577.57ms count=18
Application finished.
the Dart compiler exited unexpectedly.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.22.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.22.2 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (33 hours ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.24.0-1.0.pre.146, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.24.0-1.0.pre.146 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 83bfab5376 (42 minutes ago), 2024-07-16 21:01:28 -0700
    • Engine revision b2bdd68ede
    • Dart version 3.6.0 (build 3.6.0-36.0.dev)
    • DevTools version 2.37.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 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

 beta flutter doctor

[!] Flutter (Channel beta, 3.23.0-0.1.pre, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.23.0-0.1.pre on channel beta at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2feea7a407 (6 weeks ago), 2024-06-06 10:19:10 +0700
    • Engine revision bb10c54666
    • Dart version 3.5.0 (build 3.5.0-180.3.beta)
    • DevTools version 2.36.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 3BD8F2FF-FDB5-4074-8C91-54F99C79156D • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     •
      macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript •
      Google Chrome 105.0.5195.125

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

• No issues found!

Looks like this regressed in https://github.com/flutter/flutter/pull/147294 cc @PurplePolyhedron

Sorry. I missed that the length of entries may change.

This issue has now in stable 3.24.0 stable


Create AddLesson

I believe this was meant to be linked to #169. I've also verified through simple testing that the command exists.


Switch to pure awesome. x)

I made this layout a few days ago, pure JavaScript:

Next I'm going to lay out some handlebars templates (little cards) inside those rectangles.


Animation not always resetting correctly

When undo is set, if animation is cleared and then played again, before the original promise was resolved, status is incorrectly set to FINISHED before the animation is actually over

This has been fixed as part of #41


For sharded deployments with TLS cluster sometimes goes into "maintenance" mode with "enabling TLS" message

Steps to reproduce

All steps to reproduce are not clear, however these steps were performed when issue was discovered

Deploy sharded cluster on LXD
Enable TLS with self-signed certeficates

Expected behavior
Once TLS is enabled, if the certificate did not expired cluster should not re-enable TLS once it is enabled
Actual behavior

Versions
juju.log

Operating system:

Juju CLI:

Juju agent:

Charm revision:

LXD:
Log output

Juju debug log:

Additional context

Upd: same happens on AWS deployment

@dmitry-ratushnyy can you send the exact commands you sent to achieve this?

Upd: This also might be an issue with "self-signed-certificates" charm and is require additional investigation


fix redirect bug in stacks in tab

Bug explain:
There's unwanted redirection if action with type Navigation/SET_PARAMS is dispatched in stacks in tab navigator. It was critical bug for our app.
Bug demonstration: https://expo.io/@sujameslin/react-navigation-bug-reproduce
Like you see the bug demo, it was supposed to be showing the first tab, but its showing 2nd tab after load.
Source code: https://github.com/sujameslin/react-navigation-bug-reproduce/blob/master/App.js#L55-L57

@matthamil would you please review again? i updated like you suggested

@matthamil Hey.
i updated like you requested and pushed with force mode because i squashed commits for better commit history.
After force push, it doesn't showing that your change request is not solved.
I don't know how to fix this but you can see that files are changed like you requested.
Thanks.

@sujameslin Thanks! This fixed my issue.

A little too late to comment but this solved my issue a couple weeks ago! Nice work!


TypeError: Cannot read property 'name' of undefined

Running on OSX 10.12.2, node v7.4.0
It's happening when I try to use the slack plugin meekan, when I try to set up a meeting the bot's response kills the client. I've attached a screenshot of the response that did it.

TypeError: Cannot read property 'name' of undefined
    at handleNewMessage (/Users/mrobinson/source/slack-cli/terminal-slack/main.js:56:5)
    at WebSocket.<anonymous> (/Users/mrobinson/source/slack-cli/terminal-slack/main.js:81:7)
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/WebSocket.js:797:10)
    at /Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:473:18
    at Receiver.applyExtensions (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:360:5)
    at /Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:462:14
    at Receiver.flush (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:336:3)
    at Receiver.finish (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:478:12)

Hi @laxdog, thanks for the heads up. It looks some bots can post without their user showing up in the user list. I looked into it quickly and it looks like bots should be returned by users.list but I guess not all bots are. Or at least, it breaks responses from bots with special integrations like buttons (which aren't supported in the terminal right now).
I've added a fix in commit 2b9982fae74e05c60c305d0d19e4eaaec695465b that shows "Unknown User" if the user is not found. This should at least allow you to keep using the app for now.

Thanks!

Shall we open another issue for the "Unknown User" showing up? It seems that between the CircleCI bot and the Github bot it shows none of the text and none of the users, and that's the majority of the traffic I need to see, so this fix effectively breaks slack for me anyways. :/
Thank you much for looking into it!


Small README fix

On Lonely Collections section was missing #for_collection call on Representer

:cocktail:

@myabc :lemon: + cachaça = :tropical_drink: :smile:


Feature/staging indexd

This PR adds fixes for gen3/helm and updates documentation for s3 buckets.

@lbeckman314  merged to feature/staging


update for latest gems

The google gem entirely breaks the API and requires some rework here

i'm not entirely certain that i even care about fixing that before shipping?  and certainly not before merging.   the choo-choo train needs to start moving here, or we just need to light this repo on fire and abandon it entirely and move it to chef-boneyard.

Just pointing out why I didn't do this months ago. We need to fix it or abandon it. I'm indifferent on the whole thing.

Well, this is better.
Travis is busted, but that is entirely accurate, because this project is busted.  Needs fixing before shipping.

We need this to get merged into fog https://github.com/fog/fog-google/pull/210


Migrating from Snapshot to Development strategy

I had this configuration:
versionStrategy FINAL
versionStrategy PRE_RELEASE
defaultVersionStrategy  SNAPSHOT

And now I am trying to move to this one:
versionStrategy FINAL
versionStrategy PRE_RELEASE
defaultVersionStrategy  DEVELOPMENT

Doing some testing I found a bug already reported in issue 210, now I'm facing a new problem, see the table below:
git describe
v0.2.0

steps
attributes
snapshot v.
dev v.
expected dev v.

1 ok
patch snap/dev
0.2.1-SNAPSHOT
0.2.1-dev.1+11aa
0.2.1-dev.1+11aa

2 ok
patch rc
0.2.1-rc.1
0.2.1-rc.1
0.2.1-rc.1

3 ups!
patch snap/dev
0.2.1-SNAPSHOT
0.2.1-rc.1.dev.1+11aa
0.2.1-dev.1+11aa

4 ok
patch rc
0.2.1-rc.2
0.2.1-rc.2
0.2.1-rc.2

5 ok
new commit pushed

6  ups!
patch snap/dev
0.2.1-SNAPSHOT
0.2.1-rc.2.dev.1+22bb
0.2.1-dev.2+22bb

When I release the same commit in step 3 I expect to obtain the same dev version that I have in step 1. And when I push more commits in step 5, I expect my dev version to reflect this new commit. In summary, I think both differences share a common question: Is there any reason not to infer the DEV version against the last FINAL version instead of the latest PRE_RELEASE version?
Thanks!

For step 3... generally gradle-git is trying to make sure that a version is always greater than or equal to the previous one. Since your last release was rc.1, we need to make sure your dev release is sorted after that (by SemVer rules).
For step 5... the development strategy uses this counting logic. It's always counting from your last version (not the last final release). You could easily adapt that COUNT_COMMITS_FROM_ANY to go from the normal if you don't like the defaults.


Add a "semantic receiver path" to open scope with a certain details panel open

Allow the path to include a "fairly unique" name rather than nodeId.
e.g. http://host/scope#!/show/kube-controllers/default/kubernetes
Which will in turn have to load up the nodes in kube-controllers and find one w/ the name "default/kubernetes".

Is this a dup of #2030?


git fetch --unshallow --tags might not be enough?

I remember from setting up https://github.com/finom/last-release-git that just running get fetch --unshallow --tags was not enough to fetch tags because Travis also clones with the single-branch option. The only way to fix that was to correct the remotes:
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
git fetch --tags

As in https://stackoverflow.com/questions/17714159/how-do-i-undo-a-single-branch-clone
Just wanted to give this heads up, if you tested this and it works in Travis, feel free to close :)

Travis doesn't use the --single-branch option when cloning, at least not on recent builds.
That said, even wit the --single-branch option it should work. This option clone only one branch and therefore doing a git fetch will fetch only the commits of that branch.
As we want to retrieve only the tags in the history of the branch it's not a problem, on the contrary.
Actually I use git tag --merge HEAD to retrieve the tags and make sure to retrieve only the ones in the current branch history, in case the repo was cloned without --single-branch

@felixfbecker did you think there might still be a problem here? Or should we close the issue?

No, from my testing everything works fine! 🙌

Thanks for the feedback and the tests!


add new function in user services

@hsedaqat1378 it's duplicated. please just create one pull request per each branch if there is any fix you can just push it into the old one and pull request will be updated.


test from octo.nvim

Henlo this me trying to create an issue using Octo.nvim ;)
REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Something would go here, REEEEEEEEEEEEE

Something would go here, REEEEEEEEEEEEE


Stack build failing - digest-<IP_ADDRESS> missing

Hey Tom,
I tried to get https://hackage.haskell.org/package/webdriver into a new stack project today but get an error that the dependency digest could not be found. Can you check if it’s just me? The last successful build on hackage is from November last year.
Greetings,
Nicolas
Error during stack build:
digest       > configure
digest       > Configuring digest-<IP_ADDRESS>...
digest       > Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-9.2.7: The program 'pkg-config' version
digest       > >=0.9.0 is required but it could not be found.
digest       >
…

While building package digest-<IP_ADDRESS> (scroll up to its section to see the error) using:
…
Process exited with code: ExitFailure 1

Only fork :)


shell compilation error when disabling CONFIG_SHELL_ECHO_STATUS

Describe the bug
A clear and concise description of what the bug is.
What have you tried to diagnose or workaround this issue?
If the user disables the CONFIG_SHELL_ECHO_STATUS the code will not compile. I have changed the code of the shell.c as the diff bellow:
diff --git a/subsys/shell/shell.c b/subsys/shell/shell.c
index b72c210ca7..e0170454f8 100644
--- a/subsys/shell/shell.c
+++ b/subsys/shell/shell.c
@@ -1066,7 +1066,7 @@ static int instance_init(const struct shell *shell, const void *p_config,
        }

        flag_tx_rdy_set(shell, true);
-       flag_echo_set(shell, CONFIG_SHELL_ECHO_STATUS);
+       flag_echo_set(shell, IS_ENABLED(CONFIG_SHELL_ECHO_STATUS));
        flag_mode_delete_set(shell,
                             IS_ENABLED(CONFIG_SHELL_BACKSPACE_MODE_DELETE));
        shell->ctx->state = SHELL_STATE_INITIALIZED;

To Reproduce
Steps to reproduce the behavior:

All as usually
Disable the shell echo at the menuconfig
make
See error

Expected behavior
A clear and concise description of what you expected to happen.
It must disable the console's echo after compiling and running the code.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
There no other way to disable echo from the shell.
Screenshots or console output
If applicable, add a screenshot (drag-and-drop an image), or console logs
(cut-and-paste text and put a code fence (```) before and after, to help
explain the issue.
$ west build -b nrf52_pca10040 -s .
source directory: /<path_to_zephyr>/zephyr/samples/subsys/shell/shell_module
build directory: /<path_to_zephyr>/zephyr/samples/subsys/shell/shell_module/build
BOARD: nrf52_pca10040
[1/7] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj
ccache /home/rodrigopex/Tools/zephyr-sdk-0.9.5/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc -DBUILD_VERSION=v1.14.0-rc1-36-g68b0aa5c68 -DKERNEL -DNRF52832_XXAA -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../../../kernel/include -I../../../../../arch/arm/include -I../../../../../include -I../../../../../include/drivers -Izephyr/include/generated -I../../../../../soc/arm/nordic_nrf/nrf52 -I../../../../../soc/arm/nordic_nrf/include -I../../../../../lib/libc/minimal/include -I../../../../../ext/lib/fnmatch/. -I../../../../../ext/hal/cmsis/Include -I../../../../../ext/hal/nordic/nrfx -I../../../../../ext/hal/nordic/nrfx/drivers/include -I../../../../../ext/hal/nordic/nrfx/hal -I../../../../../ext/hal/nordic/nrfx/mdk -I../../../../../ext/hal/nordic/. -I../../../../../ext/debug/segger/rtt -isystem /home/rodrigopex/Tools/zephyr-sdk-0.9.5/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include -isystem /home/rodrigopex/Tools/zephyr-sdk-0.9.5/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include-fixed -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /<path_to_zephyr>/zephyr/samples/subsys/shell/shell_module/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -fno-common --sysroot /home/rodrigopex/Tools/zephyr-sdk-0.9.5/sysroots/armv5-zephyr-eabi/usr -mthumb -mcpu=cortex-m4 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -Wpointer-arith -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -std=c99 -MD -MT zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj -MF zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell.c.obj   -c /<path_to_zephyr>/zephyr/subsys/shell/shell.c
/<path_to_zephyr>/zephyr/subsys/shell/shell.c: In function ‘instance_init’:
/<path_to_zephyr>/zephyr/subsys/shell/shell.c:1069:23: error: ‘CONFIG_SHELL_ECHO_STATUS’ undeclared (first use in this function)
  flag_echo_set(shell, CONFIG_SHELL_ECHO_STATUS);
                       ^~~~~~~~~~~~~~~~~~~~~~~~
/<path_to_zephyr>/zephyr/subsys/shell/shell.c:1069:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
ERROR: command exited with status 1: /usr/local/bin/cmake --build /<path_to_zephyr>/zephyr/samples/subsys/shell/shell_module/build
run as "west -v build -b nrf52_pca10040 -s ." for a stack trace

Environment (please complete the following information):

OS: Ubuntu 18.04.1
Toolchain Zephyr SDK 0.9.5
Commit SHA: 68b0aa5c68702c6ca480169028d8d88e07fe6d2e

Additional context
Add any other context about the problem here.

CC: @nordic-krch @jarz-nordic


Added customisability for arrow width (arrowWidth prop)

Hi!
I recently opened an issue regarding arrow width not being customisable and the width: inherit acting weirdly with custom settings of imageWidth and width props. I took the liberty of adding towards your library.
Regards,
Neza

Hi Neza,
First, I appreciate your support toward my library which I made out of free time.
I really want to help you but I lost my access credential to npm a long time ago, I'm afraid there is no point in merge this PR.
I think you can just create your own npm package or just copy it this into your work. You can do whatever you want with this source code, I am O.K. with it.

Okay deal I'll try to create a npm package. You might want to update the readme to tell people it won't be maintained and updated anymore. If you want I can take over the maintenance through a new npm package :)

Hi dj-neza, it is up to you, actually. If you'd like to maintenance it, I'll add a link to your new package.

Sure then I'll open up a new repo and let you know once it's published! :)


Add more options for the importer

The importer could have toggles to choose how to import some features:

Bones
Animations
Combine primitives
Materials
Textures

In my case I don't want to import animations, nor bones. I added those options myself, but it's not that good since I want to receive your future updates without trouble. Also, your GLTFSceneImporter could be splited by module like (MaterialImporter, MeshImporter, HierarchyImporter, TextureImporter, AnimationImporter) that way it would be easier to maintain the code, the class now has 2000+ lines of code.
Thanks for the good work, you're doing an amazing job!

good suggestion +1

Thank you for the suggestion! We have a proposed architecture #259 that does show how we want to split the classes up easier. We may have some time coming up to implement it!

Please update to the latest version. When you still missing some options, please open a new issue. Thanks!


Add support for overages on congestion control limits, with accumulated debt tracking

Description
"Allow overage" mode allows up to one tx per-object per-commit to exceed
congestion control limits, as long as the limit was not already exceeded.
Accumulated debts are applied to future commits.
Test plan
Added tests

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

What is the maximum possible number of commits that a single transaction could span over with this scheme?


TypeError: TypeError: undefined is not a function (evaluating 'Object.setPrototypeOf(a,e.prototype)')

Steps to reproduce:

open app and navigate to "Sections Menu"
turn on Airplane mode (lose data connection)
tap "Give"
crash

This is reproducible locally as well pointing at the local packager. @IsaacHardy says it's Android specific.
https://sentry.io/newspring-church/app/issues/525489396/
TypeError: TypeError: undefined is not a function (evaluating 'Object.setPrototypeOf(a,e.prototype)')

This error is located at:
    in e
    in Apollo(Component)
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in n
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in n
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in n
    in Unknown
    in Unknown
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in e
    in e
    in e
    in RCTView
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in n
    in Unknown
    in Unknown
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in t
    in r
    in u
    in Unknown
    in e
    in RCTView
    in n
    in Unknown
    in e
    in Unknown
    in RCTView
    in t
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in e
    in withRouter()
    in Unknown
    in RCTView
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in n
    in Unknown
    in e
    in Unknown
    in RCTView
    in t
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in e
    in withRouter()
    in Unknown
    in RCTView
    in n
    in t
    in r
    in e
    in Apollo(r)
    in e
    in Apollo(Apollo(r))
    in e
    in Apollo(Apollo(Apollo(r)))
    in e
    in Apollo(Apollo(Apollo(Apollo(r))))
    in e
    in Apollo(Apollo(Apollo(Apollo(Apollo(r)))))
    in e
    in Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(r))))))
    in e
    in Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(r)))))))
    in e
    in withRouter(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(Apollo(r))))))))
    in RCTView
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in t
    in Unknown
    in Unknown
    in Unknown
    in n
    in e
    in withRouter(n)
    in e
    in t
    in Unknown
    in RCTView
    in Unknown
    in r
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in e
    in Apollo(Component)
    in e
    in Apollo(Apollo(Component))
    in e
    in Apollo(Apollo(Apollo(Component)))
    in Unknown
    in e
    in Apollo(Component)
    in RCTView
    in t
    in t
    in t
    in t
    in e
    in Unknown
    in Unknown
    in r
    in RCTView
    in RCTView
    in t
  at finished (/Volumes/Makers/Sites/Apollos/src/@ui/CardStack/Transitioner.js:345:3)
  at None (/Volumes/Makers/Sites/Apollos/src/@ui/CardStack/Transitioner.js:210:17)
  at None ([native code])
...
(20 additional frame(s) were not displayed)

@conrad-vanl Should this issue be closed?


First section of affiliate program

Figma file : https://www.figma.com/file/S1UKYgWewNqNHZFAaBUilG/🏝-Starknet-ID?type=design&node-id=3041%3A16704&mode=design&t=5PxxMknQyo56WaJD-1
Update of the first section of the affiliate page on Starknet ID. The new version is available on Figma.

New issue because I went to the wrong place : https://github.com/starknet-id/starknet.id/issues/56


add Guild#getRulesChannel and Guild#getCommunityUpdatesChannel

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
this PR adds Guild#getRulesChannel and Guild#getCommunityUpdatesChannel.
i'm not sure about being able to set the rules and community updates channel even without the COMMUNITY feature, as it works, and Discord doesn't return any error - i've made an issue discord/discord-api-docs#2282 in the api docs repo, so i'm waiting for response there.
ideas and suggestions are welcome

@MinnDevelopment as discord has replaced the PUBLIC feature with WELCOME_SCREEN_ENABLED, can i replace it in this pr as well?

@MinnDevelopment honestly, i don't know if this should wait for a response on discord/discord-api-docs#2282 as being able to set the com. updates/rules channel shouldn't be possible without the COMMUNITY feature

Considering https://github.com/DV8FromTheWorld/JDA/pull/1515#issuecomment-777058909 I think it would be worth it, to rename the values and methods to public updates and instead of community updates sinces this is what it's called in the Discord API and would match better.
The current name is just in some way confusing.

Considering #1515 (comment) I think it would be worth it, to rename the values and methods to public updates and instead of community updates sinces this is what it's called in the Discord API and would match better.
The current name is just in some way confusing.

it's not confusing, it's called "community updates" in the client

it's not confusing, it's called "community updates" in the client

Ah yes... Discord's patented inconsistent naming of their stuff...


Resolve DhMultiviewCommonColumns naming issue

Some sheets use DhMultiviewCommonColumns and others use DhMultiviewCommonColumnsMixin. We should pick one and make sure it's used consistently everywhere.

DhMultiviewCommonColumnsMixin does't appear anywhere in my https://github.com/microbiomedata/submission-schema/tree/issue-18-water-patterns! But I don't care which you pick.

So should I hold off on making this change? Or?

No, go ahead with whatever you think is best and I will follow your example in my Water Patterns branch.


Workerman does not support auth validation

Workerman does not support auth validation

Show your codes please.

Workerman is just the underlying framework, and specific permission controls are handled by specific business code.

Closing this due to a lack of feedback.
Please come back with more details if this problem persists and we can reopen this.


Update played minutes Authcode instead of username

You should provide the auth code and not the username when updating minutes

I thought we were, but then again since all the code got moved around errors like this have been popping up.


Add readme|s, update & add configs

I tried figuring out details for https://github.com/jochenklar/berlin-maps/issues/4 but did not manage much except for adding some readme|s.
Let me know if the config changes to the BerlinZoom (now based on 1953) are bad and - in case they are – if a separate PR just for the readme files is helpful.

This is not important anymore, closing.


1-click buy causes cart to clear

1-click buy can cause the users cart to completely clear.
for now, the feature has been disabled in: https://github.com/sabjorn/BandcampEnhancementSuite/commit/3424ffe47edf5faa2ebf1cb8d0e319952601e572

seems like it is related to adding $0 items to the cart -- which Bandcamp doesn't actually allow

hopefully fixed with: 3e7c538

I'm seeing this issue and confirmed I have 1.10.4 (ChromeOS Version 130.0.6723.126 (Official Build) (64-bit))
adding this track (which is not NYP/$0) using the 1-click box (either with the default $1 price or after changing it to $2) seems to reliably clear my cart: https://cheekface.bandcamp.com/track/hard-mode
Too bad bc canned me or I could look at some backend logs and figure out what's happening. fixing cart and checkout bugs was my personal mission while I was there - I fixed a lot of them there were still plenty left that I'm guessing no one is working on. 😦

@mr-salty daaaang it. This is so frustrating. But also this track also breaks for me so at least I have a reliable way to re-create! Let me know if you have any thoughts our ideas on what might be causing the issue.

thanks!  IIRC there are far too many code paths where it throws up its arms and nukes the cart. I mean, in this case, removing the "bad" item from the cart instead of tossing all the items seems like an obvious solution, alas...
"The contents of your cart have changed" is my other nemesis, and that sometimes leads to a cart clear, or sometimes happens persistently due to some or other bug.  A couple bcfridays ago I lost a huge cart right before the end of bcfriday and cursed myself for not screenshotting or copy/pasting before I hit "checkout".  So, I'm very happy to see the "export" function you added - so at least if it happens again I'll be able to rebuild it.


[wip] add support for foreign types

As discussed in https://github.com/planetscale/vtprotobuf/pull/93#issuecomment-1715486771, this is the third approach to supporting fast serialization of well-known types:
The idea is adding a flag, foreign to the compiler, which forces code generation to write free-standing functions (i.e. functions where the ProtoBuf message being (de)serialized is an argument, and not a method receiver). This allows the functions to operate on ProtoBuf objects from foreign packages.
As @biosvs points out on the other issue, generating free-standing functions is going to be very hard without adding a lot of if indirections. I had some time today so I sketched out a possible solution that abstracts method definitions and function calls behind a generic API. I managed to get foreign functions generation working for marshal+size -- all the other generation kinds are not implemented.
@biosvs: I would very much like to hear your thoughts on this approach. I think it's reasonably clean given the complexity that foreign types add. I'm out of time for this week, so I'll pick this up again next week -- if you have any suggestions or ways to improve on this design please feel free to push them to your own branch and I'll merge them here. Thanks again for your help with this feature!

Hi @vmg
First, let me say that in general I like the idea of having generator.Signature/generator.Call. Seems like a good approach to deal with an increased complexity.
But I'm not sure if I get the whole idea of the new feature:

Is it internal feature (for wkt only) or it'll be available for any messages?
How it should be used? There are generated marshal/unmarshal functions, but now they should to be called from other marshal/unmarshal functions.

My concerns are:

If it's internal feature, it's not good that main code of plugin is affected. Even from this PR it's obvious that complexity increases, it's harder to read, test and maintain.
If it's public feature, what to do with the chains of composition? Like m1.m2.m3.m4.field, where m3 has only "foreign" marshaler?

I'm trying to say, that such features are not only solution for particular problem, but also commitment for the future (and responsibility for those who use plugin/feature), new tech debt, complexity, potential bugs and inconsistencies between other features, etc. So, it's nice to have design and justification behind any new features.

Hey @biosvs! Thanks for your feedback! I agree with you that the feature is a big change and a lot to maintain down the road. My line of thought was this: since we have to change the codegen to support foreign types, we might as well expose this as a public-facing feature. By allowing vtprotobuf to generate free-standing functions, we can let people opt-in to faster ProtoBuf (de)serialization even for types they don't control (e.g. for the Kubernetes API in their project).
Is this feature generally useful enough? I don't know! But it seems like we need the extra codegen to be able to support the well-known types, so we might as well make expose it to the users in case they find a use for it. I just can't think of a simpler way to generate free-standing functions for the Well Known Types without modifying all the codegen for Marshal and Unmarshal. Can you?

Merged an alternative implementation here: https://github.com/planetscale/vtprotobuf/pull/99
Thanks for the help and the insights @biosvs!


Incorrect path evaluation that converted String to Long

From<EMAIL_ADDRESS>on May 20, 2014 01:03:03
What steps will reproduce the problem? 1. REST response payload contains the following:
"items": [
{
"createdTime":<PHONE_NUMBER>298,
"lastUpdatedTime":<PHONE_NUMBER>298,
"objectKey": {
"keyMap": {
"GUID": "20140519154303298"  <== String
}
}
},
{
"createdTime":<PHONE_NUMBER>330,
"lastUpdatedTime":<PHONE_NUMBER>330,
"objectKey": {
"keyMap": {
"GUID": "20140519154303330"  <== String
}
}
},
{
"createdTime":<PHONE_NUMBER>359,
"lastUpdatedTime":<PHONE_NUMBER>359,
"objectKey": {
"keyMap": {
"GUID": "20140519154303359"  <== String
}
}
}
}

Using below to check:
assertThat().
body("items.objectKey.keyMap.GUID", arrayContaining(myItems));

myItems is of String[]:["20140519154303298", "20140519154303330", "20140519154303359"] What is the expected output? What do you see instead? expected output should be "true".
But the path evaluation produced an array of Long instead of String:
>>  Expected: ["20140519154303298", "20140519154303330", "20140519154303359"]
>>  Actual: [20140519154303298,<PHONE_NUMBER>4303330,<PHONE_NUMBER>4303359] What version of the product are you using? On what operating system? version 2.3.1 Please provide any additional information below.

Original issue: http://code.google.com/p/rest-assured/issues/detail?id=333

From<EMAIL_ADDRESS>on May 20, 2014 02:01:57
That's (probably) because you're using "arrayContaining". What's returned from JsonPath is not an array but a list so change it to "hasItems" and it ought to work.
Status: Invalid


Find .delivery config even when traversing symlinks

Due to issues with an encrypted home directory, I sometime am in a workspace that lives outside $HOME, but is symlinked into it. pwd command still tracks where I am properly.
~/repos/confluence (automate-master ✔) ᐅ ll ~ | grep repos
lrwxrwxrwx  1 patcon     20 Apr 25  2014 repos -> /non_encrypted/repos
~/repos/confluence (automate-master ✔) ᐅ pwd
/home/patcon/repos/confluence

But it seems that delivery gets confused and can't load config. This caused me to lose quite a bit of time, and would be wonderful if it could orient itself :)

@patcon This is an interesting setup. Where is your .delivery/cli.toml?

$HOME
├── cookbooks -> /foo/cookbooks
└── .delivery
    ├── api-tokens
    └── cli.toml

Thanks @afiune :) For simplicity, it's akin to the above. Work happens in cookbooks dir, but config not picked up.


Cannot have AnyCPU Win8/UWP class libs

I'm trying to use SQLitePCL.raw in a Win8.1 class library but because of the generated targets, I cannot have my class library as AnyCPU:
<?xml version="1.0" encoding="utf-8"?>
<!--Automatically generated-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <SDKReference Include="Microsoft.VCLibs, Version=12.0" />
  </ItemGroup>
  <Target Name="InjectReference_9c3053de-7f64-49f0-b4f3-7d7f750b02d0" BeforeTargets="ResolveAssemblyReferences" Condition=" '$(UseSQLiteFrom.ToLower())' != 'elsewhere' ">
    <ItemGroup Condition=" '$(Platform.ToLower())' == 'arm' ">
      <Content Include="$(MSBuildThisFileDirectory)..\..\build\native\sqlite3_dynamic\v120\arm\sqlite3.dll">
        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      </Content>
    </ItemGroup>
    <ItemGroup Condition=" '$(Platform.ToLower())' == 'x64' ">
      <Content Include="$(MSBuildThisFileDirectory)..\..\build\native\sqlite3_dynamic\v120\x64\sqlite3.dll">
        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      </Content>
    </ItemGroup>
    <ItemGroup Condition=" '$(Platform.ToLower())' == 'x86' ">
      <Content Include="$(MSBuildThisFileDirectory)..\..\build\native\sqlite3_dynamic\v120\x86\sqlite3.dll">
        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      </Content>
    </ItemGroup>
  </Target>
</Project>

The issue is that it adds the  <SDKReference Include="Microsoft.VCLibs, Version=12.0" /> and that ref requires me to choose a platform. What would work is a variable that lets me disable that SDKReference include in that case. The SDKReference will get added to the app when the package is added there, so in the end it works out.

I wonder if I could add Condition=" '$(Platform.ToLower())' stuff to the ItemGroup around that SDKReference.
I agree that I either need to add a variable to disable this or just remove it.  It was added quite recently as an attempt to minimize problems for people who forget to add the C++ runtime to their build.

I've confirmed and reproduced the problem.
Putting Platform Condition attributes on that ItemGroup does eliminate the error.  Unless you can think of a reason that is not a good resolution, I will probably take that approach for a fix.

sounds good to me

0.8.6 pushed to nuget


Why is curl installed twice?

The sample docker file has these two lines..
RUN apt-get install -y curl
RUN apt-get install -y libpng-dev libjpeg-dev curl libxi6 build-essential libgl1-mesa-glx

Curl is in the second as well as the first - is there a reason?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1abf884f-eb39-1007-25a6-d049b87504a3
Version Independent ID: 33636e79-d3e1-8c24-f3a5-0c3c79e2a488
Content: Build React app with Visual Studio Container Tools
Content Source: docs/containers/container-tools-react.md
Service: visual-studio-windows
Sub-service: container-tools
GitHub Login: @ghogen
Microsoft Alias: ghogen

@phatcher
Yes, it is because Node is being installed (using cURL) on both the base and dev stages. The dev stages is based on a different image that contains build support infrastructure, but that adds too much extra size for the final image.


feat: smoother transition between EmbeddingsBuilder build() and vector store interface

Feature Request
There should be a more "out of the box" transition between the embeddings generated from the EmbeddingsBuilder's build() method and adding  these to a vector store.
Motivation
Improve the developer experience with working with embeddings and vector stores. Currently, it looks like this:
let embeddings = EmbeddingsBuilder::new(model.clone())
        .documents(vec![
            FakeDefinition {
                id: "doc0".to_string(),
                word: "flurbo".to_string(),
                definitions: vec![
                    "A green alien that lives on cold planets.".to_string(),
                ]
            }
        ])?
        .build()
        .await?;

  let index = InMemoryVectorStore::default()
      .add_documents(
          embeddings
              .into_iter()
              .map(|(fake_definition, embedding_vec)| {
                  (fake_definition.id.clone(), fake_definition, embedding_vec)
              })
              .collect(),
      )?
      .index(model);

As you can see, the user needs to do more manipulation on the embeddings before adding them to the in memory vector store.
This applies less to mongodb and lancedb vector stores because we do not have full control over what goes in the vector store but maybe something can be done.
Proposal

In memory store - going from embeddings builder build() to add_documents should be out of the box.
LanceDb / MongoDb - maybe provide a default mapping between embeddings builder build() and the type that the store expects (ie. Document for mongodb, RecordBatch for lancedb).

I think this can be done on a case-by-case basis for the different vector store (I don't think there is a one-size-fits-all solution here). For instance, the InMemoryVectorStore could have the following helper method:
impl<T> InMemoryVectorStore<T> {
    pub fn with_embeddings(embeddings: Vec<(T, Embedding)>) -> InMemoryVectorStore<T> {...}
}

which would allow the developer to easily populate an InMemoryVectorStore with the result of EmbeddingsBuilder::build.
But for other vector stores, this will highly depend on the complexity of T (e.g.: is it a flat struct that can easily be converted to a single table? Or is it a nested struct?), as well as how the user is integrating Rig in their wider application (e.g.: do they want the embeddings and documents to be in the same collection/table? Or do they want to separate them and link them with a foreign key?).


[Bug] Cannot Insert Text to Canvas Cards in Banner 2.0.1 beta

It seems that when the banner v2 beta is enabled, I can no longer add text in the canvas cards. Specifically, I can type in a card, but once I click somewhere else or start a new line, the previously entered text will be completely gone. Banner v1 doesn't cause this problem though.

System info:
	Obsidian version: v1.4.13
	Installer version: v1.4.13
	Operating system: Windows 10 Education 10.0.23545
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 2
	Plugins enabled: 2
		1: Obsidian42 - BRAT v0.7.0
		2: Banners v2.0.1-beta

Can confirm

Oh interesting, I guess the canvas cards uses CM6 underneath, so it's trying to do the checks as if it were an editing view pane. Gonna add some safeguards to keep banners out of canvas files in that case

Should be fixed now in https://github.com/noatpad/obsidian-banners/releases/tag/2.0.2-beta!


NullPointException

Just when use, it appear this error, not once. Thank you! :)

#17 Are u using Android Studio 3.0?

@niorgai Yes

So I will fix it after stable version release.

Got it, Thank you.

Can you try beta 6? It seems like have been fixed.
Version Info:
Android Studio 3.0 Beta 6
Build #AI-171.4333198, built on September 14, 2017
JRE: 1.8.0_152-release-915-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6

@niorgai Ok, I will try. Thank you.

@niorgai I am sorry to say that, still has this bug. How to see this error message?
Plugin Error: Android Resource Usage Count threw an uncaught NullPointerException. Disable Plugin

Android Studio 3.0.1
Build #AI-171.4443003, built on November 10, 2017
JRE: 1.8.0_152-release-915-b08 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.2
Thank you.


Error with "get_bgp_neighbors_detail'

Description of Issue/Question
This is related to Issue #177.
When running the NAPALM getter 'get_bgp_neighbors_detail()' I get a TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType' error.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
[X] Yes
[ ] No
Setup
napalm-junos version
(Paste verbatim output from pip freeze | grep napalm-junos between quotes below)
$ pip list | grep napalm-junos
napalm-junos      0.10.3

JunOS version
(Paste verbatim output from show version and haiku between quotes below)
bl839s@pok-vsc-b> show version and haiku
Hostname: pok-vsc-b
Model: mx480
Junos: 14.2R6.5
JUNOS Base OS boot [14.2R6.5]
JUNOS Base OS Software Suite [14.2R6.5]
JUNOS platform Software Suite [14.2R6.5]
JUNOS Web Management [14.2R6.5]
JUNOS Runtime Software Suite [14.2R6.5]
JUNOS Online Documentation [14.2R6.5]
JUNOS Services AACL Container package [14.2R6.5]
JUNOS Services Application Level Gateways [14.2R6.5]
JUNOS AppId Services [14.2R6.5]
JUNOS Services Captive Portal and Content Delivery Container package [14.2R6.5]
JUNOS Border Gateway Function package [14.2R6.5]
JUNOS Services HTTP Content Management package [14.2R6.5]
JUNOS IDP Services [14.2R6.5]
JUNOS Services LL-PDF Container package [14.2R6.5]
JUNOS Services Jflow Container package [14.2R6.5]
JUNOS Services MobileNext Software package [14.2R6.5]
JUNOS Services Mobile Subscriber Service Container package [14.2R6.5]
JUNOS Services NAT [14.2R6.5]
JUNOS Services RPM [14.2R6.5]
JUNOS Services PTSP Container package [14.2R6.5]
JUNOS Services Stateful Firewall [14.2R6.5]
JUNOS Voice Services Container package [14.2R6.5]
JUNOS Macsec Software Suite [14.2R6.5]
JUNOS Services Crypto [14.2R6.5]
JUNOS Services SSL [14.2R6.5]
JUNOS Services IPSec [14.2R6.5]
JUNOS py-base-i386 [14.2R6.5]
JUNOS Kernel Software Suite [14.2R6.5]
JUNOS Crypto Software Suite [14.2R6.5]
JUNOS Packet Forwarding Engine Support (M/T/EX Common) [14.2R6.5]
JUNOS Packet Forwarding Engine Support (MX Common) [14.2R6.5]
JUNOS Routing Software Suite [14.2R6.5]

        Holiday spirit
        Christmas comes but once a year
        Keep it shining bright

Steps to Reproduce the Issue
Run the following code:
#!/usr/bin/env python

from getpass import getpass
from pprint import pprint as pp

from napalm_base import get_network_driver

hostname = 'pok-vsc-b'
username = 'ansible'
optional_args = {}
password = getpass()

driver = get_network_driver('junos')
device = driver(hostname, username, password, optional_args=optional_args)

print(">>>Test device open")
device.open()

print(">>>Test get facts")
output = device.get_bgp_neighbors_detail()
pp(output)

Error Traceback
Provides the following error:
>>>Test device open
>>>Test get facts
Traceback (most recent call last):
  File "./testing_junos_bgp_neighbors.py", line 20, in <module>
    output = device.get_bgp_neighbors_detail()
  File "/home/bl839s/.virtualenvs/napalm/local/lib/python2.7/site-packages/napalm_junos/junos.py", line 1011, in get_bgp_neighbors_detail
    _bgp_iter_core(neighbor_data, instance=instance)
  File "/home/bl839s/.virtualenvs/napalm/local/lib/python2.7/site-packages/napalm_junos/junos.py", line 995, in _bgp_iter_core
    neighbor_rib_details[elem[0]] += elem[1]
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

Closed via https://github.com/napalm-automation/napalm-junos/commit/04ec8ba9c229530d694440be67cae52b54932f8b


[Enhancement]: Fixing The Scroll To Top Button not being displayed & Fixing Overlapping Contributor Cards

Is your enhancement request related to a problem? Please describe.➕
Problem:
The scroll to top button is not appearing anymore in the website due to a recent PR. I would like to fix it.
I would also like to reduce the overlap between each contributor picture to make it look better!
Describe the solution you'd like
Solution steps

Try to find the problem in the JS or CSS file

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @5h0ov ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Treat prefixes (in the args and in files) as an input to translation.

Fixes #248

LGTM - but you MUST add the same @input to CycleFinderTask as well.

@brunobowden - i had considered that, but CycleFinderTask does not use the prefixes in any form obvious to me.  Note the lack of Utils.packagePrefixes or j2objcConfig.translateArgs in that class.  Can you tell me why it should use this input?

Fair point... it won't use it because that's only for producing the output, not parsing the abstract syntax tree or similar.


Bug 1907407: Use -mod=vendor to determine buildah version

Using -mod=vendor will ensure that libraries are not downloaded from the
internet.

/assign @coreydaley

/cc @otaviof @gabemontero

/lgtm


Changes to the API fields

After some deliberation we had to limit the metadata fields that will be sent to this API. This was motivated by the fact that we should avoid a situation when a misused metadata field would accidentally include personal health information (see https://github.com/poldracklab/mriqc/pull/464#issuecomment-297178070).
The following are the only allowed metadata fields.

ContrastBolusIngredient
RepetitionTime
TaskName
Manufacturer
ManufacturersModelName
MagneticFieldStrength
DeviceSerialNumber
SoftwareVersions
HardcopyDeviceSoftwareVersion
ReceiveCoilName
GradientSetType
MRTransmitCoilSequence
MatrixCoilMode
CoilCombinationMethod
PulseSequenceType
PulseSequenceDetails
NumberShots
ParallelReductionFactorInPlane
ParallelAcquisitionTechnique
PartialFourier
PartialFourierDirection
PhaseEncodingDirection
EffectiveEchoSpacing
TotalReadoutTime
EchoTime
InversionTime
SliceTiming
SliceEncodingDirection
NumberOfVolumesDiscardedByScanner
NumberOfVolumesDiscardedByUser
DelayTime
FlipAngle
MultibandAccelerationFactor
Instructions
TaskDescription
CogAtlasID
CogPOID
InstitutionName
InstitutionAddress
ConversionSoftware
ConversionSoftwareVersion
md5sum
modality
mriqc_pred
software
subject_id
version

Please adjust the https://github.com/poldracklab/mriqcwebapi/blob/master/dockereve-master/eve-app/settings.py file.

I assume these data are optional when researchers upload their data?

All apart from:

md5sum
modality
mriqc_pred
software
subject_id
version

are optional.

pushed for review


zig version problem  0.9.1, master?

i try to use ZIG master to compile   but seems sources define for  version < 0.9.  Do you will  upgrade to new version of ZIG?
i try some change:
build.zig        defineCMacros   to take separate name and value arugments.
nuklear.zig    c_void   by anyopaque
but this message let me  without solution
:~/dvp/zig-nuklear$ zig build
./zig-cache/o/315006ea2dba4bdf5300abd4bceeb54c/cimport.zig:189:5: error: expected token '}', found 'null'
null: struct_nk_draw_null_texture,
related:
struct nk_draw_null_texture {
nk_handle texture; /* texture handle to a texture with a white pixel /
struct nk_vec2 uv; / coordinates to a white pixel in the texture  */
};
thank you for this work on this library.

add info

I don't really use this lib much myself anymore, so I haven't really done much on it. I'll see if I can do the bare minimum to get it up and running for zig master.
The problem you hit seems like a translate-c bug. We can work around this.

Just updated to compile with newest zig 7b5975b24216855e2c300ad4c9d4dc5800802086

thanks for the responsiveness
i pull and the result still problem  "null"  translation

Huh. I guess the cache screwed me over. I'll have a look

Try again 0044703

Good! but  the origin file header need to be changed ..
i will make more test,
new to the Zig language, I'm also testing NUKLEAR, I'm looking for a library to make a small graphical interface
i close the issue
th+
the result


Intervention approvals

This PR contains:

[x] New features
[ ] Changes to dev-tools e.g. CI config / github tooling
[x] Docs
[ ] Bug fixes
[ ] Code refactor

What is the current behavior? (You can also link to an open issue here)
https://github.com/UKGovernmentBEIS/inspect_ai/issues/521
The current intervention mode example lacks sophisticated approval mechanisms for tool calls and agent actions.
What is the new behavior?
This PR introduces sophisticated approval mechanisms to the existing intervention mode example:

Implements an AllowListApprover for automatic approval of predefined bash commands.
Adds a HumanApprover for manual approval, rejection, escalation, or termination of tool calls.
Creates an ApprovalManager to manage chains of approvers.
Modifies the bash tool to integrate with the approval system.
Updates the agent loop to support agent-level approval for all tool calls.
Adds two new tasks: tool_call_intervention and agent_loop_intervention.
Updates the README with a detailed explanation of new features and usage instructions.

These changes demonstrate how to integrate flexible and secure approval systems into Inspect agents, allowing for both automatic and human-in-the-loop control over agent actions.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No, this PR does not introduce breaking changes. It adds new functionality without modifying existing behavior. Users can opt-in to use the new approval mechanisms in their applications.
Other information:
This PR enhances the security and flexibility of the Inspect AI framework by providing more granular control over agent actions. It allows for both automatic approval of safe commands and human intervention for potentially risky operations, making it suitable for a wider range of use cases and security requirements.

Hi @jjallaire-aisi, thank you very much for your comments! This PR is now ready for review. All your previous comments should be addressed (e.g. using stateless patterns as much as possible) and I've added a bit more functionality and documentation. Happy to hear your comments. Here is a summary of key updates:

Refactored Approvals System:

Implemented Approver as a Protocol for increased flexibility
Created standardized Approval BaseModel
Converted class-based approvers to stateless functions

Improved Agent Loop and Tool Call Execution:

Modified agent_loop to process tool calls individually
Implemented per-tool-call approval checks
Added execution of approved tool calls one at a time
Introduced rejection and skipping of unapproved tool calls

Enhanced Python Code Safety:

Added python_allowlist_approver for stricter Python code checks
Implemented module and function allowlisting
Added protection against sensitive modules and disallowed built-ins

Approver Tool Wrapping:

Introduced wrap_approvers() for multi-stage approval process -> this allows wrapping tool functions without the need to change them
Applied approvers to bash and python functions from Inspect
Moved approval-related printing functions to utils.py

Updated Documentation:

Expanded README with detailed explanations of approver types and functionality
Added examples and screenshots of tool call interventions
Included code snippets for implementation and customization

Thanks @mlcocdav! This looks terrific. I am just about to start working on integrating the approver concept into Inspect (was hoping to start Monday but got delayed by some other stuff). Here is roughly my plan:

Take the core Approval / Approver constructs more or less as-is and bring them into the inspect.tool module.

Add some sort of "context" metadata to @tool so tools can tag themselves as e.g. executing bash or python commands (or generic "code") or tag themselves as having open ended access to the web (e.g. the new web browser tool) or calling a REST API. e.g. something like this: context: Literal["code", "bash", "python", "web", "api"]. The idea is that some approval managers might want to only handle certain contexts (or only handle tool calls that have declared a context). This also provides a hint for specialised approvers like the bash and python ones you created.

Add the approval manager and human approver to core Inspect.

Provide a way to bind to approvers when doing inspect eval, eval(), etc.

Then, I would modify the example to use the core Inspect constructs, and leave the bash and python approvers as examples (we may want to bake something like this in eventually but I'd like to see these develop a bit first based on field experience with them).

@mlcocdav We now have a PR for an Inspect native version of this here: https://github.com/UKGovernmentBEIS/inspect_ai/pull/654
Will close this PR in lieu of that one (the bash and python allowlist approvers are both in a new approvers/ example and the interaction mode example has been simplified substantially by using the standard human approver and the new trace mode).

@jjallaire-aisi That makes sense, thanks!


chore(deps): update common-dev-assets digest to eac64e3

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
2546126 -> eac64e3

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Tinywl starts on black screen

Tinywl version : latest from master branch (Mar 12, branch 'master')
Debug log : https://gist.github.com/artsi0m/ca898b6b596ab15ada482110cb3f2a03
Starting from tty (can't start from gdm and save log)

Tinywl starts on blackscreen, does not respond to any command and does not allow to switch to another tty. Tinywl was terminated with whole system using power button.
Using intel graphics.

Hi, any updates?

Not yet, but lets find out and solve this bug together. As i think it's something with drm-backend.

Not yet, but lets find out and solve this bug together. As i think it's something with drm-backend.

I think I use the same way as https://github.com/Hjdskes/cage for starting, but I compiled it and it works fine,that's strange. Hjdskes did not find difference too.

I also tried to execute it from tty from both normal and root user but i am getting "[backend/session/logind.c:572] Selecting session from XDG_SESSION_ID: 16". (16 at the last for normal user & 10 for root)
My system freezes and i had to forcefully shut down using power button.
Any help for this?
Though, i am running it on debian 10
Please let me know if more info is required.


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2024-04-16)
Features

add equality check (5edd183)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jozan/secret/releases/tag/v0.3.0 :sunflower:


test: remove the throttling control pagination test

I've added a unit test for the api_throttle and kept the burst_throttle for 1 integation test.


Main page template

This template will be used for the following pages:
Promotional buses (will have different content)
Event support
Can the header, contact form section in the bottom and the footer be taken from this template and be the same on each page, please.

@kpierduta what about commbus logo? It will be similar to this template or we will move with what we already have?

I have uploaded the latest design and this is the logo to use below - it's just their logo without the tagline now. I will also send over image assets shortly and icons

@kpierduta I have committed the changes in this issue please check and give your valuable feedback.

@kpierduta Done with changes again. Please check. Now I am leaving. So will check in tomorrow and fix issues if any.

@gagansaini1212 what is the page url for this page, please?

@kpierduta This is our home page


My model outputs the same value for all data during prediction

Hi,
I am using a simple shallow model for a regression task.
When using a single neuron (that outputs the continuous result) i get reasonable results both while training and while predicting.
When a add another layer with few neurons before the last layer, althought the model's training seems normal, when i am using the model to predict i get the same constant value for all inputs.
In addition, i tried to change the activation function of the added layer to linear activation and as expected i get reasonable results (the same like in the case of only 1 neuron as output).
Has anyone encountered such problem and knows how to fix it?

Have you tried varying the learning rate, maybe making it smaller?

Have you tried varying the learning rate, maybe making it smaller?

Yes, i have used different scales of learning rate, as well i was using reduce learning rate on plateu. Since i wrote the post i have tried to use tanh activation and found out that it works fine with it (i still prefere to use relu). So i am really lost because from my prespective it looks like the problem is in the activation function, which doesnt seem reasonable.

Can you post some code snippets?

@YuvalSilman Maybe running a learning rate finder in your model and data can give you a better sense of what can you expect. If it's totally flat it may indicate a problem with your data. In similar situation I've found replacing Adam with RMSprop helps.
Agree that a snippet will help, maybe it's some subtle bug with the data/model handling.

I attached the code which builds the model and my training function.
@eduardofv : I will try using RMSprop, thanks. The prediction is totally flat, the training is fine and looks normal.

Well, I can't find something in your code... are you normalizing your inputs? and if you do, does the data used on predictions are normalized the same way?

Hi, the data is not normalized. Do you think it might be the source of the problem?

@YuvalSilman
Moving this issue to closed status as there has been no activity, in case you still face the error please create a new issue.


Fix location of the model dir in smudge

Currently the model_dir used during smudge is the relative path to the checkout from the repo root, not the converted on that lives in the .git_cml directory. This update changes it to the correct dir, this enables things like git reset --hard to update changes to a model and return to the last checked-in state, currently this results in a FileNotFoundError: [Errno 2] No such file or directory: .../git-theta-test/my-model.pt error as it tries to parse the directory structure from the actual model file.
I'm a little surprised that others haven't reported this error. When else in standard testing are we expecting smudge to get run?

We talked about this is person, this seems to be a quirk of git reset --hard. We want to support it but this may not be the way to do it. Closing for new maybe reopen when we look into it deeper.


First Song Plays fine next queued songs sounds robotic or trying to buffer.

whether its after the first song or a playlist. as long as the bot finishes the 1st song second songs have problems. which i have to do is join and unjoin the bot from the voice channel. ubuntu 17.04

Only happens with Discord web and Discord android app. Issue is related to Discord. There is an unofficial patch to counter that but I am unsure if it's updated.

@samdivaio Would love to know what's the workaround patch to fix that issue XD

@samdivaio Would love to know what's the workaround patch to fix that issue XD

NadekoBot-Extensions

hm, I recall 1.3 the bot will auto-rejoin upon every play back, not sure why it was removed =\

@willysunny because that shit was obnoxious. 😉

Still relevant? or closing this?

@njinco assuming this is a month old. You updated nadeko and tried again with a song? You can use this one for example: https://www.youtube.com/watch?v=dQw4w9WgXcQ
You can close this ticket if you aren't experiencing it anymore.

its still the same. i think i just updated last week. unless there is a new update now i'll do it but basically first one plays fine. the next one queued would always sound robotic or static unless i disconnect the bot from voice and rejoin and play a new one. and if i dont and let the robotic music finish. third input of the command on  queue would always give this message.
https://ibb.co/n9pkJa

@njinco are you using a web browser?

@samdivaio either web or mobile still the same

Use the Nadeko Extension link from my previous comments and patch it, its related to discord and only happens with web and android discord app.

just seeing the description and behavior of the bot . i know this would fix it. cause thats what im doing manually XD . Thanks @samdivaio . closing my issue.


Portal AMBA Accelerator and BYON Action Group : "it does not have permission to perform action(s) 'microsoft.insights/actiongroups/read'"

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Bug
Description
My Management Group (MG) hierarchy does not follow the ALZ pattern as I reproducing having a single MG under the Tenant Root.
I am using the Portal AMBA Accelerator (https://azure.github.io/azure-monitor-baseline-alerts/patterns/alz/deploy/Deploy-via-Azure-Portal-UI/) and only selecting the AMBA Service Health Initiative. I am selecting the deployment to create a User Managed Identity for me and I am selecting the option to Bring Your Own Notifications (BYON) so that I can use an existing Action Group in an existing subscription that it is NOT part of the MG at scope.
The deployment goes well and the policies are assigned correctly at the correct scope. But when I try to remediate any of the policies like "Deploy Resource Health Unhealthy Alert", the remediation fails due to the next error:
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"LinkedAuthorizationFailed","message":"The client '<ObjectID>' with object id '<ObjectID>' has permission to perform action 'microsoft.insights/activityLogAlerts/write' on scope '/subscriptions/<subid1>/resourcegroups/rg-amba-monitoring-001/providers/microsoft.insights/activityLogAlerts/ResourceHealthUnhealthyAlert'; however, it does not have permission to perform action(s) 'microsoft.insights/actiongroups/read' on the linked scope(s) '/subscriptions/<subid2>/resourceGroups/<ResourceGroup>/providers/microsoft.insights/actiongroups/<ActionGroup>' (respectively) or the linked scope(s) are invalid."}]}
Looking at my Entra ID Tenant, I can see that the ObjectID corresponds to an Enterprise Application called "Deploy-AMBA-SvcHealth".
I was able to make it work giving to this identity the "Monitoring Reader Role" at the Action Group scope using this cli command:
az role assignment create --assignee <ObjectID> --role "Monitoring Reader" --scope /subscriptions/<SubID2>/resourceGroups/<RG>/providers/microsoft.insights/actiongroups/<ActionGroup>
After this I was able to remediate the policy correctly.

Hi @IgnacioAguirre ,
When a new UAMI is created by the deployment template, the Monitoring Reader role is automatically assigned at the pseudo root Management Group level during the deployment. In your case, it was assigned to your single MG under the Tenant Root. Your Action Group is NOT part of this MG at scope.
It is the same when you deploy it via Accelerator or Programmatic deployment, as Accelerator uses the same template.
https://azure.github.io/azure-monitor-baseline-alerts/patterns/alz/Available_features/Bring-your-own-Managed-Identity/


Missing page number in the csv file

The files are missing the page number where the URLs are found.
These page numbers will be helpful in deduplication.

Page number is now added, I am going to update the code now


 to unstage)

renamed: old_filename -> new_filename

Git reset HEAD...", old_lename->new-filename patch URL-Git

https://github.com/natasha1007/hello-github-actions.git

https://github.com/natasha1007/hello-github-actions.git

https://github.com/natasha1007/hello-github-actions.git


iCloud Photo Library

It looks as if photos are not loaded from iCloud Photo Library. It only works if I open the photo in photos app first and download the original photo. After that I can select it in TLPhotoPicker.

unfortunately there's not supported icloud photo library. now.
it'll be soon. sorry.

2nding this problem.

b7e32989e07001cd8649175375888b069838b9ce


Set up a DevOps Pipeline for continuous deployment into IBM Cloud Kubernetes (IKS)

As a Developer
I need to automate the continuous deployment of my service
So that I don't have to waste time deploying it manually
Assumptions

We will use the IBM Continuous Delivery Services in IBM Cloud
We can connected Continuous Delivery Service to our GitHub repo
When we push to master a new build will deploy into Kubernetes

Acceptance Criteria:
When I `git push origin master`
And I go to the IBM Continuous Delivery Services web page
Then I should see the application bas been deploy to Kubernetes

Closed because of duplicated issues.


KeyError when adding boundary with label 0 in oversegmentation

I'm trying to add a region with label 0 in the oversegmentation to represent boundary.
But whenever there's a 0 in the oversegmentation (even only one at a random position) gala raises a KeyError during the training.
Some debugging revealed that node includes an entry that does not contain any properties.
However, the index of that node changes from run to run.
Traceback (most recent call last):
File "/home/lheinric/PycharmProjects/GALA_test/own_test.py", line 128, in
test()
File "/home/lheinric/PycharmProjects/GALA_test/own_test.py", line 60, in test
(X, y, w, merges) = g_train.learn_agglomerate(gt_train, fc)[0]
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/agglo.py", line 1261, in learn_agglomerate
learning_mode, labeling_mode))
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/agglo.py", line 1408, in _learn_agglomerate
node_id = g.merge_nodes(n1, n2, merge_priority)
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/agglo.py", line 1579, in merge_nodes
self.refine_post_merge_boundaries(n1, n2, sp2segment)
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/agglo.py", line 1633, in refine_post_merge_boundaries
self.update_merge_queue(u, v)
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/agglo.py", line 1739, in update_merge_queue
w = self.merge_priority_function(self,u,v)
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/agglo.py", line 207, in predict
features = feature_extractor(g, n1, n2)
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/features/base.py", line 9, in call
return self.compute_features(g, n1, n2)
File "/home/lheinric/.local/lib/python2.7/site-packages/gala/features/base.py", line 19, in compute_features
if g.node[n1]['size'] > g.node[n2]['size']:
KeyError: 'size'

Hi @lheinric!
Thanks for using gala!
This is a known issue, actually, and am working on "fixing" it for 0.3. The issue is that, historically, gala has considered the label 0 to be a boundary between superpixels. (This is because we started out using an implementation of watershed that placed these 0-boundaries between superpixels, much like Matlab does.) We've since moved to "complete" segmentations (every pixel belongs to a segment; no boundaries), and the 0 label bits of the code have been neglected.
Do you have a way of generating an oversegmentation with no boundaries? We are actually going to deprecate that functionality, because it's become extremely slow compared to the no-boundary method (and buggy, as you have noticed). However, I might consider keeping it if you have a compelling reason to use it.

Hi Juan,
your comment about speed is interesting, I would have expected the exact opposite: If we label the existing boundary as 1 instead of 0, the resulting supervoxel graph should be huge with thousands of useless features and edges since we never want to merge anything with the boundary. So every supervoxel will make an edge with the 1, but this we never want to have merged anyways. So I'm not sure how you wanna avoid this issue with the no-boundary method. I should add that we have a huge and thick boundary, since we work with data that has extracellular space preservation.

Hi @jmrk84,
The number of edges is not at all a limiting factor. The problem was that 0-boundaries require refinement at the voxel level after each merge, and this was done in pure Python. Even worse, as the boundaries got bigger, so did this step, so there was some quadratic growth in that process. To cap it all off somewhere along the way a bug was introduced so that eventually it would crash, as you know. =P
Anyway, I'm guessing what you are after is a mask, so that all your extracellular space doesn't get included in the RAG. Am I right? I take it you have a good enough predictor of extracellular space? If you remove something from the RAG there's no recovering! =)
If that's what you're after, it should actually be quite trivial to add, because build_rag_from_watershed has an idxs keyword argument that lets you specify which locations to look at when building the graph. There's no way to access it from the constructor, but it should be straightforward to add.
Let me know if that would address your use case!

@lheinric @jmrk84 the latest master should let you mask out thick boundaries by passing a mask= keyword argument to the RAG constructor. You should not have boundaries at all between superpixels that you want to merge, though. See #53, especially the new test_mask function in tests/test_agglo.py.

Hi @jni
That seems to be working :) Thanks a lot!
Profiling the code I noticed that the construction of the graph is quite expensive. Do you think implementing it with cython would be useful?
And one more question: I want to train gala on several data cubes. Is the right way to change the initial policy to the one learned previously or am I missing some functionality here?

Hi @lheinric! Great to hear! Since the issue is resolved, I'm going to close it and move the more open discussion to the mailing list, here. The short answer for both is "maybe". =P


Allow del with matchPattern

Hi there,
I ran into something I found counter-intuitive. I was trying out db.patch and then switched to db.del and couldn't understand why the delete didn't occur until I realised (reading the doc) that del doesn't support the matchPattern syntax. It would be quite nice for consistency (and functionality) if del acted like the first argument of patch (array means actual deletes, and single object means matchPattern).
Also it might be useful to have a delExisting method like in LD-PATCH and possibly a putNew (like addNew) method?
Finally, being able to use the query interface with filters and joins to delete would be nice. Maybe using the chaining syntax? Maybe using .get() instead of toArray would make a .del() fit nicely at the end of the chain?
Cheers,
Jun

Of course a quick workaround was to use .patch(matchPattern, [], done)

@jmatsushita could you please create a different issue for each of these points? I think they're all very good and deserve to be tracked separately.

There you go :)

@jmatsushita this one should now work as expected. We'll release on NPM over the next few days.

Great!

We have now released this feature in version 2.1.1. Closing this one, bugs should go into dedicated issues.


Intro to Landsat webpage changes

http://geoscienceaustralia.github.io/digitalearthau/notebooks/DEA_datasets/Introduction_to_Landsat.html
The abbreviation "SR" is introduced in the NBAR-T section, but it is not defined (presumably 'surface reflectance').  SR can be defined on the first line of the document.
In the first notebook input cell (In [1]:), it says "Import dea-notebook functions. This assumes you are running this notebook from inside the dea-notebooks directory. If not, replace the relative ../Scripts link with a path to the dea-notebooks/Scripts directory.
It is not clear how to find the dea-notebooks/Scripts directory. I just tried it with a notebook started using the DEA desktop icon and it still didn't work. So an explanation of starting a notebook from a subdirectory inside a cloned version of dea-notebooks on GitHub is needed.
In the section "Creating a true-colour image using three bands", it is somewhat confusing to talk about making a true colour plot and then having a flag "contrast_enhance=True" that results in a "colour-enhanced image". It's not clear which one is the true colour image (with flag True or False?). Maybe clarifying this will help the user understand what's happening better?

@walsh-andrew Will put these on my to-do list!


NIFI-12732 ListS3 resets its tracking state after configuration change

Summary
NIFI-12732
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@mark-bathori @tpalfy Thanks for your review comments! Updated the PR based on your recommendations.

LGTM
Thank you for your work @turcsanyip and for your review @mark-bathori  !
Merged into main.


Problem testing kit

Hi there,
I just bought an arducam kit through amazon : https://www.amazon.com/gp/product/B012VSHK4M/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
Including:

ArduCam Shield V2
ArduCam mini 2MP

I'm using an arduino Mega2560 R3>
I supposed that the camera is an OV2640 so i try couple example on arduino but without any success.
I'm wondering if my connection for the camera is good or no, the shield as 20 pins and I'm not really sure how to connect it.
I'm new student trying to learn arduino so if you have couple example who are "good" thanks to share them with me :)

UPDATE
I try to use the example ArduCAM_OV2640_Digital_Camera
I connect my Mini_2MP directly on the Mega2560 board (see pictures)

@maligus74
Hi,
You should use those demos for Shield_V2 board
https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/Shield_V2
Please download new ArduCAM library from https://github.com/ArduCAM/Arduino.git.
Copy  the ArduCAM library and ArduCAM_Touch library and UTFT4ArduCAM_SPI library to the
..\arduino\libraries path.
Then you can use the demos about Shield V2 board.those demos are under ..\Arduino\libraries\ArduCAM\example\Shield_V2 path.
Let us know if you need more help.
Regards.

I tried to put the new ArduCam library into the library folder. The OV7670 library is not valid so I just decide to remove this one and try the demo AdruCam_Mini_Capture2SD.
The program has been upload without any error but the problem now when I try to open ArduCam, I got the message:
ArduCAM Start!
SPI interface Error!
i think I have a problem on the wiring. Actually my shield is directly connected to the Mega2560 and the camera plugged into the Arducam display. But the Arducam shield has 20 pins so I think i might be wrong in the connexion.

i tried different spot to connect the camera but nothing show up on arducam

I tried to change the const int SPI_CS = 7; replace by 10
The SPI is ok but now I get SD card error

New message now:
ArduCAM Start!
SPI interface OK.
SD Card detected.
Can't find OV2640 module!

@maligus74
Hi,
Don't worry and we will try our best to help you.
Are you sure you are using OV2640 camera ?You can print the value of pid and vid.
myCAM.wrSensorReg8_8(0xff, 0x01);
myCAM.rdSensorReg8_8(OV2640_CHIPID_HIGH, &vid);
myCAM.rdSensorReg8_8(OV2640_CHIPID_LOW, &pid);
Serial.println(vid, HEX);
Serial.println(pid, HEX);
If you are using OV2640 you will get pid = 0x26 and vid = 0x41 or 0x42.
What's more , The demos about Mini are used for Arducam mini camera instead of shield V2.
We advice you try ArduCAM_Shield_V2_Capture2SD demo and you should not change anything.
Let us know if you need more help.
Regards.

I tried with the shield but all time got the same fault:
#error Please select the hardware platform and camera module in the ../libraries/ArduCAM/memorysaver.h file

@maligus74
Notice: You should enable the ARDUCAM_SHIELD_V2 platform and OV2640_CAM in the memorysaver.h
which is under the ..Arduino\libraries\ArduCAM path , for more problems, please refer to this link:
http://www.arducam.com/knowledge-base/arducam-typical-problems-arduino-uno/

Not sure now about the OV2640.
How could I check it ?

Found it on amazon on what I order:
Arducam Mini Module Camera Shield with OV2640 2 Megapixels Lens for Arduino UNO Mega2560 Board

I just correct the Step 2 and enable the #define OV2640_CAM
I don't have the error anymore but nothing show up yet on the display

I'm wondering if it's not a wiring issue.
Right now my camera (8 pins) is directly plugged in the arducam (20pins) but without to be sure where it suppose to go.

@maligus74
Hi,
The Arducam mini 2mp (8pin) can't be used on Shield V2 board.
You should use this kind of camera:
http://www.arducam.com/camera-modules/2mp-ov2640/
Let us know if you need more help.
Regards.

Thanks for your answer.
I still would like to try the camera (just to be more confident with).
What's the best way to try ? Connect it directly to the Mega2560 ? If yes, what should be the wiring ?

@maligus74
Hi,
If you want to connect the mini 2MP to 2560,
please refer to connection:
2640	VCC	GND	SDA	SCL	MISO	MOSI	SCK	CS
2560	5V	GND	 20	21	MISO	MOSI	SCK	10
Let us know if you need more help.
Regards.

Hi,
I tried the wiring like you said with the program ArduCam_Mini_Video2SD but the problem when I start the arducam software I got the message SD Card Error!.
Is there any way to not use the SD card ? Just look at the video on the arducam software ?

I comment the following line:
//Initialize SD Card
/while(!SD.begin(SD_CS)){
Serial.println(F("SD Card Error!"));delay(1000);
}/
Now the arducam tell me 'OV2640 Detected' and then 'File Open fail'

@maligus74
Hi,
Please send us your code and we will help you check the bugs.
If you want to send the image to the PC ,you can use ArduCAM_Mini_Video_Streaming
demo .
Notice: you should use the ArduCAM_Mini_QT software which is under ..\Arduino\libraries\ArduCAM\example\host_app\ArduCAM_Host_V2.0_Windows path.
Let us know if you need more help.
Regards.

Hi,
Thanks for all your answer.
I tried the program and it's running great !
I'm gonna buy this camera (https://www.amazon.com/gp/product/B013O8QB8O/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1) for the test with the shield, is that ok ?
If I get good result I will buy a better quality camera and play with that :)

@maligus74
Hi,
Yes, This kind of camera can be pluged in the Arducam Shield board directly.
If you use this auto focus camera , please enable #define MT9D111B_CAM and #define ARDUCAM_SHIELD_V2
Let us know if you need more help.
Regards.

Hi,
I tried this week end to use the camera and the shield V2 but unfortunately it doesn't run.
Like you said I enable #define MT9D111B_CAM and #define ARDUCAM_SHIELD_V2.
I'm acutally trying with the ArduCam_Shield_V2_Video2SD but I have the fault #error please select the hardware platform and camera module...
Any idea ?

@maligus74
Hi,Please try ArduCAM_Shield_V2_Digital_Camera demo or ArduCAM_Shield_V2_Camera_Playback demo.
Before uploading demo, please check those content in the code
//This demo was made for Omnivision MT9D111A/MT9D111B/MT9M112/MT9V111_CAM/
//                                  MT9M001/MT9T112/MT9D112/OV7670/OV7675/
//                                  OV7725/OV2640/OV3640/OV5640/OV5642 sensor.
#if !(defined ARDUCAM_SHIELD_V2 && (defined MT9D111A_CAM|| defined MT9D111B_CAM || defined MT9M112_CAM
|| defined MT9V111_CAM || defined MT9M001_CAM || defined MT9T112_CAM
|| defined MT9D112_CAM || defined OV7670_CAM  || defined OV7675_CAM
|| defined OV7725_CAM  || defined OV2640_CAM  || defined OV5640_CAM
|| defined OV5642_CAM|| defined OV3640_CAM))
#error Please select the hardware platform and camera module in the ../libraries/ArduCAM/memorysaver.h file
#endif
Let us know if you need more help.
Regards.

Hi,
I tried the code ArduCAM_Shield_V2_Digital_Camera and the part of the code that you gave me is correct.
Here is what I got on the display when I fired up:

I got the same result with the ArduCAM_Shield_V2_Camera_Playback

Actually in the memorysaver.h I enable in Step 1 #define ARCUDAM_SHIELD_V2 and in the Step 2 #define MT9D111A_CAM (I also tried MT9D111B_CAM)

@maligus74
Hi,
Don't worry and we  will try our best to help you solve this problem.Tomorrow we will test it
and give you a reply as soon as possible.

@maligus74
Hi,
Very sory for our library's bug,wee have optimized it , please download our new library again from
https://github.com/ArduCAM/Arduino.git
Please enable the #define ARDUCAM_SHIELD_V2 and #define MT9D111B_CAM
in the memorysaver.h file
Let us know if you need more help.
Regards.

Running great with the new library !
Thanks a lot :+1:

@maligus74
Hi,
Glad to hear you have solved  problems.


Change Broadcaster interface to make it send a specific message

This is already a thing, it's just not used by the app