Cannot run example project

I just got a brand new clone of this project, but whenever I try to run the packager for the example that is provided I get this error:
Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: react-native-windows
  Paths: /Users/ryanwilson/temp/react-native-video/example/node_modules/react-native-windows/package.json collides with /Users/ryanwilson/temp/react-native-video/example/node_modules/react-native-video/node_modules/react-native-windows/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
  Duplicate module name: react-native-windows
  Paths: /Users/ryanwilson/temp/react-native-video/example/node_modules/react-native-windows/package.json collides with /Users/ryanwilson/temp/react-native-video/example/node_modules/react-native-video/node_modules/react-native-windows/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
    at HasteMap._updateHasteMap (/Users/ryanwilson/temp/react-native-video/example/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:158:13)
    at p.getName.then.name (/Users/ryanwilson/temp/react-native-video/example/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:133:31)

And the packager fails to start which is not allowing me to run the example. Any idea on how to fix this?
Steps to reproduce:
git clone https://github.com/react-native-community/react-native-video.git
cd react-native-video/example
npm install
react-native start
Using:
npm: 4.4.1
node: 7.5.0

If you don't care about windows-phone, you can just remove react-native-windows from the package.json dependencies and completely remove the devDependencies from your package.json and reinstall nodeModules you should be able to run the example now

Closing this now since react-native-windows has been removed as a dependency


[Bug]: It is possible to add more than the maxTags tags in the TagPicker

Contact Details
No response
What happened?
When we already have selectedResults (so the first render of the TagPicker has selectedResults), it is possible to add more tags in the TagPicker than the maxTags prop. For exemple, I want a max of 5 tags. When my TagPicker is empty at the first render, I can put max 5 tags. But when my selectedResults contain already 2 tags at the first render, I can now have 7 tags (and I don't want it).

Component
TagPicker
Component Version
0.3.1
Which browsers are you seeing the problem on?
No response
Mobile Device
No response
Relevant log output
No response

This is fixed and available now.


SafeArea with undesired top padding

Steps to Reproduce

Run flutter create bug.
Update the main.dart file as follows

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
        // This makes the visual density adapt to the platform that you run
        // the app on. For desktop platforms, the controls will be smaller and
        // closer together (more dense) than on mobile platforms.
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: QuizPage(),
    );
  }
}

class QuizPage extends StatelessWidget {
  QuizPage({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          Expanded(
            child: SafeArea(
              child: Text('content'),
            ),
          ),
          _buildBottomActionsContainer(context)
        ],
      ),
    );
  }

  Widget _buildBottomActionsContainer(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.stretch,
      children: [
        Text('top button'),
        SafeArea(
          top:
              true, // HERE: Why toggling top safe area property affects the padding between the Row and the Text?
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: [
              Text('Action Button 1'),
              Text('Action Button 2'),
            ],
          ),
        ),
      ],
    );
  }
}

Expected results: Expected that the padding between the Row and Text('top button') didn't exist
Actual results: There is extra top padding between the Row and its top Text widget

Logs

flutter analyze
Analyzing tehasuiheas...
No issues found! (ran in 1.8s)

[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.7 19H2, locale en-BR)
    • Flutter version 1.22.3 at /Users/guilhermegirotto/flutter
    • Framework revision 8874f21e79 (7 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/guilhermegirotto/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (1 available)
    • iPhone 11 Pro Max (mobile) • A6D43D41-7303-4859-961E-96CCBB307363 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
    ! Error: Girotto iPhone is not connected. Xcode will continue when Girotto
      iPhone is connected. (code -13)
    ! Error: AVPM iPod Poatek is not connected. Xcode will continue when AVPM
      iPod Poatek is connected. (code -13)

• No issues found!

@ggirotto
The reason you are seeing the extra / undesired space / padding between content and top button is because you wrapped SafeArea with Expanded which essentially takes the maximum vertical space. You may replace it with Flexible which takes only minimal space as required and aligns the content and top button as desired.

Updated code:

return Scaffold(
      body: Column(
        children: [
          Flexible(
            child: SafeArea(
              child: Text('content'),
            ),
          ),
          _buildBottomActionsContainer(context)
        ],
      ),
    );

See if this answers your question.

Hi @darshankawar , thanks for your reply. Sorry if I couldn't better explain the problem, but the padding that I wasn't expecting to have is the padding between the Row that wraps Action Button 1, Action Button 2 and the top button text. I'm actually expecting that content expand itself and that top button and the action buttons row be at the bottom of the screen.
You can see the padding that I'm talking about by toggling the SafeAare top property in the code that I wrote in the first post

flutter doctor -v

[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.4 19E2269, locale en-IN)
    • Flutter version 1.22.3 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 8874f21e79 (7 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f                     •
      android-arm • Android 8.1.0 (API 27)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367 •
      ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

I've had a similar issue where without neither flexible nor expanded, SafeArea was putting undesired padding until I've set its top option to false.

If you don't want to show padding (top, bottom, left, right) with SafeArea then define these elements as false. I was facing same issue and resolved by using code :
Scaffold(
body: Column(
children: [
Expanded(
child: SafeArea(
child: Text('content'),
top: false,
bottom: false,
.....
),
),
_buildBottomActionsContainer(context)
],
),
);
Hope it will help you.

If you don't want to show padding (top, bottom, left, right) with SafeArea then define these elements as false. I was facing same issue and resolved by using code :
Scaffold( body: Column( children: [ Expanded( child: SafeArea( child: Text('content'), top: false, bottom: false, ..... ), ), _buildBottomActionsContainer(context) ], ), );
Hope it will help you.

The issue is about why this padding is applied actually. I know that setting the properties to false solves the issue, but the question is why should I set this properties to false, since the padding shouldn't be applied by default?
The description of the SafeArea widget is:

A widget that insets its child by sufficient padding to avoid intrusions by the operating system.

I would like to understand what intrusion by OS exists in the example above

Not sure why this behavior as well, was wondering about this recently while making some tests with SafeArea. Do we have any updates on this issue? I've tested it in both 2.5.3 and 2.8.0 and it's still occurring.

flutter doctor -v (2.8.0)
[✓] Flutter (Channel stable, 2.8.0, on macOS 11.6.1 20G224 darwin-x64, locale en-BR)
    • Flutter version 2.8.0 at /Users/guilhermematuella/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (7 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/guilhermematuella/Library/Android/sdk
    • Platform android-31, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone SE (2nd generation) (mobile) • 14A9935F-51BF-41D7-AE3B-94B23FBDDCD7 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
    • macOS (desktop)                     • macos                                • darwin-x64     • macOS 11.6.1 20G224 darwin-x64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 96.0.4664.110

Hello @ggirotto,  I can reproduce the behavior though, But I believe this is working as intended. With SafeArea.top: true adds padding from the top to prevent display intrusions such as a notch, and punch hole camera.
Adding a SafeArea widget in the center of the widget tree doesn't seem right to me, In my opinion, it should be used only on top of the widget tree in order to meet its purpose. However, I will leave this to the flutter team to decide.
@ggirotto  Any specific reason/use case why SafeArea is being used that way?
output

SafeArea.top: false
SafeArea.top: true

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: const QuizPage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          const Expanded(
            child: SafeArea(
              child: Text('content'),
            ),
          ),
          _buildBottomActionsContainer(context)
        ],
      ),
    );
  }

  Widget _buildBottomActionsContainer(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.stretch,
      children: [
        const Text('top button'),
        SafeArea(
          top:
              false, // HERE: Why toggling top safe area property affects the padding between the Row and the Text?
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: const [
              Text('Action Button 1'),
              Text('Action Button 2'),
            ],
          ),
        ),
      ],
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.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.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

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

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

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

• No issues found!

In the example I added to the issue, the goal of the SafeArea that's wrapping the Row is to avoid the iOS Action Indicator in the bottom of the phone. If I remove the SafeArea the UI behaves like this:

And this is correct, that's the expected behavior. Now, when I add SafeArea around the Row widget to avoid that the content is overlapped by the Activity Indicator, an extra space between top button and both action buttons is added at the same time:

And as you said:

With SafeArea.top: true adds padding from the top to prevent display intrusions such as a notch, and punch hole camera

The question here is: What intrusion this top padding is avoiding?

Ah, I see,  Makes sense, definitely, this is not the desired behavior.


Transfer to cabinjs org on GitHub and npm owner add niftylettuce browser-hrtime

Ty!

@vltansky Can you transfer this repo to cabinjs org on GitHub and npm owner add niftylettuce browser-hrtime?  I will make sure you are collab.

I wrote to you here that I cant transfer repo without being a member of org (as I understood).
I've already added you as an owner to npm (npm owner add niftylettuce browser-hrtime)

Sent you an invite!

I've accepted the invite but still getting "You don’t have the permission to create public repositories on cabinjs" when trying to transfer

Oh awesome!

Done. https://github.com/cabinjs/browser-hrtime


feat(strm-1231): update user roles

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


Add two more test cases for Magic.SpiceExtraction

Added a success case without abstract cells and a case returning illegal overlaps.

I think this was merged in another PR somehow.


New release unable to build due to escape sequence

FYI -- Did a pull on master and now running into this after building:

@truescotian  Sorry for the bug. It was introduced by the latest PR #31

Should be fixed now


WD drafts continue to link to css-display ED instead of WD

I'm not sure why, but we're still auto-genning WD links like "block formatting context" to the css-display ED, even though the TR draft is up-to-date.

Fixed.  (This was probably a data issue.)


Remove guava

Guava is gone.
All guava was removed.
Java 8 as the smallest supported version.

Did you know about https://mvnrepository.com/search?q=reflections8. If the merge does not happen, perhaps you take a look at https://github.com/aschoerk/reflections8

Did you know about https://mvnrepository.com/search?q=reflections8. If the merge does not happen, perhaps you take a look at https://github.com/aschoerk/reflections8
Thanks I did not know that! Thanks I will take a look on it.

Released 0.9.12 with Java 8 support and w/o guava, slightly different implementation then in this branch. Take a look @avraamisvi . Thanks for the PR and sorry for not merging it earlier.


Add TextureHandleExt, ColorImageExt and Update examples.

+remove unsafe code:
unsafe {
    // to fix black textured.
    gl.enable(glow::FRAMEBUFFER_SRGB);
    // to enable MULTISAMPLE.
    gl.enable(glow::MULTISAMPLE)
};

no longer needed since it's been fixed in the egui_glow side already.

Thank you


Update dependencies

@sagikazarmark Any progress on this PR? Can I help?

Will fix tests and merge / review this tuesday, don't have so much time right now :)


istioctl: bundle charts

Motivation for this change
Fixes #94163 (broken istioctl install)
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions - Arch

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

/cc @veehaitch @danieldk

Hm, looks like something's wrong, the bundled manifests refer to istiod from gcr.io/istio-testing/pilot:latest.rather than docker.io/istio/pilot:1.6.5 like the official builds...


millis() overflow problem.

"if (msNow > nextSwitchTime) { nextSwitchTime = msNow + debounce;"
is used in the PID_RelayOutput example,
When nextSwitchTime overflows, the comparison results for the next cycle will be wrong.
//should use
if(millis() - lastMillis >= interval){
//and NOT like
if(millis() >= lastMillis + interval){

Thank you for pointing this out.
While developing and testing the function, the 50 day overflow issue wasn't considered.  This is because the miscalculated PID sample would represent a very small slice of the window size and any thermal systems using this slower time proportioning output method would also have a very slow rate of temperature rise.
Even so, I'll take a look at updating the function to prevent the overflow issue.

Converting this to discussion. Will do some additional testing and possible update for a future release.


Adapt the steps from abcd-noddi-tbss-experiments to this pipeline

Relies on #2 being done
(This is probably too large of an issue and will have to be split up into tasks and sub-issues here)

Note that the slicer dipy workflows idea can support the task here to some extent. Right now it's just the DTI fit and one of the methods for CSD, but ultimately we may end up adding more and more dipy-related steps in the future. And if we implement some novel algorithm ourselves then dipy would be the primary place to contribute it.


How to do inference in downstream task ER s3prl wavlm

I have trained a downstream ER using wavlm in s3prl task where a checkpoint has been saved dev-best.ckp..  Can you please share the inference code that can be used to check the emotion for a given wav file.
I know there is this code to test but this assumes the data to be in the format for IEMOCAP rather than simply a wav file
`data="your IEMOCAP root"
python3 run_downstream.py -m evaluate -t test
-e checkpoint_fold1.ckpt
-o args.expdir=tgt_dir/er/fold1,,config.downstream_expert.datarc.root=$data`
Can we use the saved checkpoint to something along the lines of the code below from HF.
I would want the model to be loaded once quit reloading it every time there is a new wav file input

{

Hi, we evaluated the WavLM model on ER task following the s3prl repo, and didn't conduct the inference with a given wav file.
I guess you can modify the IEMOCAPDataset to consume the input wave file. However, this issue is more relevant to s3prl codes, and you may obtain the solution to this issue in s3prl repo.


Html => problem with dynamic classes (nuxt)

Describe the bug
When I want to use dynamic classes in HTML from cientos, nothing happens.
Component: Telescope
Reproduction
https://github.com/Dekier/html-error
Steps to reproduce
yarn => yarn dev
System Info
No response
Used Package Manager
yarn
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

I managed to reproduce it, @Dekier curiously if you resize it updates so it most be a render issue, I will take a look to it


BusyHandlerTest is relatively unstable for slow machines

I often see BusyHandlerTest failure when running tests on VMWare.

Not just a VMWare issue, Windows 7 machine I have is not a slow machine but it still gets BusyHandlerTest failures.
I have to run the maven package a few times before I get a successful snapshot build of 3.15.2 and 3.16.1.

Closing this as it's very old. Tests are reliable on CI, shouldn't be a problem anymore. Comment if necessary.


evaluatedPolicyDomainState addition for check

Any plans for adding context.evaluatedPolicyDomainState change check, as for full proof BioMetric Auth, this is a great addition since iOS 9.0

@deepak4u2006 That's a good suggestion. I will check, how it can be implemented or you may also create PR for this.


Rectify the crds location to crds/ instead of files/ as the files have moved

The CRDs location in crds.yaml is still being referenced as files/ but the files have moved to crds/.

Hi @shakti-das. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@howardjohn Follow-up to the crds move. Please review.

/ok-to-test

@shakti-das: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
afbb588358a648ef8f2ab15b254ec2cd392069c9
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shakti-das: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
afbb588358a648ef8f2ab15b254ec2cd392069c9
link
/test gencheck_istio

integ-local-tests_istio
afbb588358a648ef8f2ab15b254ec2cd392069c9
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sdake The checks were failing because of not running make gen.
We (Salesforce) do not use istioctl to install Istio, instead it's Helm + Spinnaker. We are exploring IstioOperator and learned about CRs, but I did not get the point about CRDs if applied via helm deleting CRs. Could you please send me some pointers/references around "A managed resource would result in the deletion of the CRs if the CRDs were removed."

are you using helm2?

yes, our spinnaker pipeline still uses helm2

Well we don't want to cause a regression for helm3 users. I suppose we can add this back to templates/ conditionally (off by default). That gives us pretty cheap support for helm2 again. Would that work for you? basically just wrap this with an option

Yes, that works. I will update the PR accordingly.

@shakti-das: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
726c4346068050206fab7eea2c1c683a61171abb
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shakti-das: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
726c4346068050206fab7eea2c1c683a61171abb
link
/test gencheck_istio

unit-tests_istio
726c4346068050206fab7eea2c1c683a61171abb
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shakti-das: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
726c4346068050206fab7eea2c1c683a61171abb
link
/test gencheck_istio

unit-tests_istio
726c4346068050206fab7eea2c1c683a61171abb
link
/test unit-tests_istio

integ-local-tests_istio
726c4346068050206fab7eea2c1c683a61171abb
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Resource based authorization in SignalR

I have web API with custom policies and authorization handlers.
I wanted to reuse authorization handlers but HttpContext is null when attribute is used on signalr's hub.
For example this is my controller.
[Authorize]
public sealed class ChatsController : ControllerBase
{
    [HttpPost("{chatId}/messages/send")]
    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public Task SendMessage() => Task.CompletedTask;
}

And this my my authorization handler. I can extract "chatId" from HttpContext and then use my custom logic to authorize user.
internal sealed class ChatParticipantRequirementHandler : AuthorizationHandler<ChatParticipantRequirement>
{
    private readonly IHttpContextAccessor _httpContextAccessor;

    public ChatParticipantRequirementHandler(IHttpContextAccessor httpContextAccessor)
    {
        _httpContextAccessor = httpContextAccessor;
    }

    protected override Task HandleRequirementAsync(AuthorizationHandlerContext context, ChatParticipantRequirement requirement)
    {
        if(_httpContextAccessor.HttpContext != null)
        {
            // Logic
        }

        return Task.CompletedTask;
    }
}

However this won't work with Azure SignalR because I don't have access to HttpContext. I know that I can provide custom IUserIdProvider but I have no idea how to access "chatId" from "Join" method in my custom authorization handler.
[Authorize]
public sealed class ChatHub : Hub<IChatClient>
{
    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task Join(Guid chatId)
    {
        await Groups.AddToGroupAsync(Context.ConnectionId, chatId.ToString());
}

Is it possible to reuse my authorization handlers?
I would like to avoid copypasting my code.
One solution is to extract my authorization code to separate services but then I have to manually call those from my hubs and abandon [Authorize] way.

Can you get chatId when negotiate? If yes, you can set chatId in ClaimProvider and pass that into the policy:
In Startup.cs:
services.AddSignalR()
                .AddAzureSignalR(options =>
            {
                options.ClaimsProvider = context => new[]
                {
                    //... other claims you want
                    new Claim("chatId", "fetch your chatId from context"),
                };
            });

In the ChatParticipantRequirementHandler:

  protected override Task HandleRequirementAsync(AuthorizationHandlerContext context,
      PolicyBasedAuthRequirement requirement)
  {
      var chatId = context.User.FindFirst("chatId");
      if (...) // your logic
      {
          context.Succeed(requirement);
      }

      return Task.CompletedTask;
  }

It works but I have endpoint where my parameter is unknown during negotation phase("participantId").
[Authorize]
public sealed class ChatHub : Hub<IChatClient>
{
    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task Join(Guid chatId)
    {
        await Groups.AddToGroupAsync(Context.ConnectionId, chatId.ToString());
    }

    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task Leave(Guid chatId)
    {
        await Groups.RemoveFromGroupAsync(Context.ConnectionId, chatId.ToString());
    }

    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task ParticipantIsTyping(Guid chatId, Guid participantId)
    {
        await Clients.OthersInGroup(chatId.ToString()).ParticipantIsTyping(participantId);
    }
}

Could you explain with self-host SignalR where to fetch participantId?

Lets assume those are my models
public sealed class ChatDto
{
    public Guid Id { get; init; }

    public ParticipantDto CurrentParticipant { get; init; } = null!;

    public IEnumerable<ParticipantDto> Participants { get; init; } = null!;

    public IEnumerable<MessageDto> Messages { get; init; } = null!;
}

public sealed class ParticipantDto
{
    public Guid Id { get; init; }

    public bool IsBanned{ get; init; }

    public Guid? LastMessageReadId { get; init; }
}

public sealed class MessageDto
{
    public Guid Id { get; init; }

    public Guid OwnerId { get; init; }

    public string Content { get; init; } = null!;

    public DateTime CreatedAt { get; init; }
}

And this is my client
    internal static class Program
    {
        private static async Task Main(string[] args)
        {
            // Request to API, for example when I have list of chats and I want to open specific chat
            var chat = GetChat(Guid.NewGuid());

            // Register for push events
            await JoinChat(chat);
        }

        private static async Task JoinChat(ChatDto chat)
        {
            var connection = new HubConnectionBuilder().WithUrl(new Uri("https://localhost:5001/chat")).WithAutomaticReconnect().Build();

            connection.On<MessageDto>("NewMessage", message => Console.WriteLine($"New message: {message.Content}."));
            connection.On<Guid>("ParticipantHasBeenBanned", participant => Console.WriteLine($"Participant with id {participant} has been banned."));

            await connection.StartAsync();
            await connection.SendAsync("join", chat.Id.ToString());

            await Task.Delay(1000 * 60 * 100);
        }

        private static ChatDto GetChat(Guid chatId)
        {
            var currentParticipantId = Guid.NewGuid();
            var lastMessage = new MessageDto { Id = Guid.NewGuid(), Content = "Foo", CreatedAt = DateTime.Now, OwnerId = currentParticipantId };
            var currentParticipant = new ParticipantDto { Id = currentParticipantId, LastMessageReadId = lastMessage.Id };
            var secondParticipant = new ParticipantDto { Id = Guid.NewGuid(), LastMessageReadId = lastMessage.Id };

            return new ChatDto
            {
                Id = Guid.NewGuid(),
                CurrentParticipant = currentParticipant,
                Messages = new List<MessageDto> { lastMessage },
                Participants = new List<ParticipantDto> { currentParticipant, secondParticipant }
            };
        }
    }

My updated hub
[Authorize]
public sealed class ChatHub : Hub<IChatClient>
{
    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task Join(Guid chatId)
    {
        await Groups.AddToGroupAsync(Context.ConnectionId, chatId.ToString());
    }

    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task Leave(Guid chatId)
    {
        await Groups.RemoveFromGroupAsync(Context.ConnectionId, chatId.ToString());
    }

    [Authorize(Policy = PolicyNames.ChatParticipant)]
    public async Task ParticipantHasBeenBanned(Guid chatId, Guid participantId)
    {
        await Clients.OthersInGroup(chatId.ToString()).ParticipantIsTyping(participantId);
    }
}

I have modified my hub - replaced "ParticipantIsTyping" to "ParticipantHasBeenBanned".
So as you can see, I have "chatId" but "participantId" is provided dynamically and we don't know which participant has been banned because chat can have more than two participants.
Please let me know if this is sufficient information.

Not sure if I understand it. Are we still discussing the Policy usage? So when using self-host SignalR instead of Azure SignalR, how Policy can help you get "which participant has been banned"? Your sample shows that participantId is a parameter for the ParticipantHasBeenBanned method, I don't think you can get the participantId from HTTP context though....

So your client GetChat first to get the participantId, and then it calls JoinChat. You can pass the participantId to your chat hub when client connects:
Client:
var connection = new HubConnectionBuilder().WithUrl(new Uri("https://localhost:5001/chat?participantId=abc")).WithAutomaticReconnect().Build();

In your server you can pass this info into claims:
Server:
services.AddSignalR().AddAzureSignalR(o=> {
    o.ClaimsProvider = context =>
    {
        List<Claim> claims = new();
        if (context.Request.Query["participantId"].Count > 0)
        {
            // get the participantId
            claims.Add(new Claim("participantId", context.Request.Query["participantId"][0]));
        }
        // add other claims
        return claims;
    };
});

Then you can get the participantId from Policy.
The concern here is: is it secure for the client to determine the participantId and pass it to the server through queries?

Policy is used to authorize that user is a chat member. Guids are unique but not random, so I want to ensure that user can execute action. I can't pass "participantId" as claims because I can ban any member of chat but I have to authorize that action - for example admin can't ban admin etc.
I will try go with ClaimsProvider and put as many claims as I can("IsAdmin" etc) because I don't see any way to access method parameters after negotation phase. Thanks for your help.

Thanks for the confirmation, please feel free to reopen the issue if you still have other concerns.


chore: release main

:robot: I have created a release beep boop
1.6.2
1.6.2 (2024-05-11)
Bug Fixes

bump version (ef2d306)
internal/logtheme: bump version (c86f76a)
internal/logtheme: bump version (2a158eb)

internal/logtheme: 1.2.2
1.2.2 (2024-05-11)
Bug Fixes

internal/logtheme: bump version (2a158eb)

internal/themes: 1.2.3
1.2.3 (2024-05-11)
Bug Fixes

bump version (ef2d306)
internal/logtheme: bump version (c86f76a)
internal/logtheme: bump version (2a158eb)

pkg/catppuccin: 1.6.3
1.6.3 (2024-05-11)
Bug Fixes

bump version (ef2d306)
internal/logtheme: bump version (2a158eb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/op/redlog/releases/tag/v1.6.2 :sunflower:

:robot: Release is at https://github.com/op/redlog/releases/tag/internal/logtheme/v1.2.2 :sunflower:

:robot: Release is at https://github.com/op/redlog/releases/tag/internal/themes/v1.2.3 :sunflower:

:robot: Release is at https://github.com/op/redlog/releases/tag/pkg/catppuccin/v1.6.3 :sunflower:


getting a timestamp for any purpose (logging)

Environment: Arduino ESP8266
Purpose: Logging
Using the Influx headers, is there a way to generate a timestamp.
I would like to log some things with a timestamp like we all are used from Linux (preferably human readable).
I see there are getTimeStamp and timeStampToString functions but I am not able to get them to work properly.
Thank you in advance and kind regards
Frank

getTimeStamp and timeStampToString create a numeric timestamp for the line protocol. This is not human readable format.
If you need to print time, you can use C standard time library functions, like time, localtime, asctime, or create a custom date time string using sprintf or use advanced date time formating using strftime.
They are also some Arduino libaries for dealing with time.

Thank you very much.


Add join token to SANs

This PR adds the token name to the extraSANs to make the microcluster token verification happy.
See https://github.com/canonical/k8s-snap/pull/629 for more context on why we need this.
Testing
Setup a test cluster with docker containers build from
The cluster comes up and nodes are joining:
NAME                                                READY  SEVERITY  REASON  SINCE  MESSAGE
Cluster/c1                                          True                     20m
├─ClusterInfrastructure - DockerCluster/c1          True                     25m
├─ControlPlane - CK8sControlPlane/c1-control-plane  True                     20m
│ └─3 Machines...                                   True                     22m    See c1-control-plane-jrgpj, c1-control-plane-nl86p, ...
└─Workers
  └─MachineDeployment/c1-worker-md-0                True                     21m
    └─3 Machines...                                 True                     23m    See c1-worker-md-0-lgsvj-8945w, c1-worker-md-0-lgsvj-ptqmh, ...

k8s-snap PR is merged: https://github.com/canonical/k8s-snap/pull/629


Edge cases where video only plays audio and no video

Link to stack overflow conversation.
http://stackoverflow.com/questions/41516999/iphone-inline-video-webgl-three-js-app-has-rare-edge-cases-where-video-only-pl

I completely understand, unfortunately I need permission from client to share.  However even seeing the page makes it difficult because it's proven impossible for me to reproduce.
So what I'm really looking for is just any plausible ideas/thoughts as I'm about out of them.  Once we solve the issue we'll report back solution.
Im just trying to understand what other variables could be at play in this situation.  Same phone (iPhone 6), same iOS version, same safari browser, same carrier (tested on wifi and AT&T)...
For us it works perfect with video and audio, however for the other tester(s) they get the audio however the screen stays black.
So really any thoughts would be appreciated.

Honestly I don't know what could be happening


Build "Mint VAI" section

Create TokenTextField component, which is a TextField component that specifically handles token amounts. It uses BigNumber values, expressed in wei so they can be used with contracts without the need for any conversion. This component is very common in our designs and since it's a very important piece of the app I've covered it with tests

Add support for react-testing-library

Create renderComponent test utility which renders and wraps any DOM passed to it within the same providers and containers as for the app, so that the test environment is similar to our app environment

Update withCenterStory decorator to make it responsive

And environments variables to GitHub actions at workflow level

Create MintRepayVai component

Note that the "Repay VAI" tab is missing. I'm still waiting on the designs to be complete in order to work on it, but since this PR is already getting quite big I'll anyway have to do that in a separate PR.

@coreyar @baomastr the design team updated the designs slightly by adding the token icon inside the input, so I've added all the token icons to the Icon component to support this.


dark_theme: Adjust message colors for higher contrast.

This PR includes color adjustments suggested by @terpimost.
CZO discussion
Screenshots and screen captures:

Before
After

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Re-deploying on chat.zulip.org.

Merged. We may want to not lose track of continued exploration here, but it seems like a solid improvement.


Unable to doom sync because package was not found

What did you expect to happen?
Doom sync/upgrade upgrades the distribution
What actually happened?
❯ doom -d sync
- Debug mode on
> Synchronizing your config with Doom Emacs...

DOOM Initializing package.el
DOOM Initializing straight.el
←[31mx There was an unexpected error:←[0m
  ←[1mType:←[0m error
  ←[1mMessage:←[0m
    error
  ←[1mData:←[0m
    "Could not find package org-superstar in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"

link to config:
https://github.com/rzikm/.doom.d
System information:

❯ doom info
((emacs
  (version . "27.0.60")
  (features . "XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS PDUMPER LCMS2 GMP")
  (build . "Dec 28, 2019")
  (buildopts "--without-dbus --host=x86_64-w64-mingw32 --without-compress-install -C 'CFLAGS=-O2 -static -g3'")
  (windowsys . batch)
  (daemonp . server-running))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop, origin/develop, origin/HEAD 101cd5019 2020-05-26 01:39:52 -0400")
  (dir . "~/.doom.d/"))
 (system
  (type . windows-nt)
  (config . "x86_64-w64-mingw32")
  (shell . "C:/Program Files/Emacs/x86_64/libexec/emacs/27.0.60/x86_64-w64-mingw32/cmdproxy.exe")
  (uname . "n/a")
  (path "c:/Program Files/ConEmu/ConEmu/Scripts" "C:/Program Files/ConEmu" "C:/Program Files/ConEmu/ConEmu" "C:/Python38/Scripts/" "C:/Python38/" "C:/Program Files/Oculus/Support/oculus-runtime" "C:/Python37/Scripts/" "C:/Python37/" "C:/Program Files (x86)/Common Files/Oracle/Java/javapath" "C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/" "C:/Program Files/Intel/Intel(R) Management Engine Components/iCLS/" "C:/Windows/system32" "C:/Windows" "C:/Windows/System32/Wbem" "C:/Windows/System32/WindowsPowerShell/v1.0/" "C:/Windows/System32/OpenSSH/" "C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL" "C:/Program Files/Intel/Intel(R) Management Engine Components/DAL" "C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT" "C:/Program Files/Intel/Intel(R) Management Engine Components/IPT" "C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common" "C:/Program Files/Microsoft SQL Server/110/Tools/Binn/" "C:/ProgramData/chocolatey/bin" "C:/Program Files/Microsoft Windows Performance Toolkit/" "C:/Program Files/Git/cmd" "C:/Program Files (x86)/IncrediBuild" "C:/WINDOWS/system32" "C:/WINDOWS" "C:/WINDOWS/System32/Wbem" "C:/WINDOWS/System32/WindowsPowerShell/v1.0/" "C:/WINDOWS/System32/OpenSSH/" "C:/Program Files (x86)/Visual Leak Detector/bin/Win32" "C:/Program Files (x86)/Visual Leak Detector/bin/Win64" "C:/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin" "C:/Program Files/Java/jdk1.8.0_221/bin" "C:/Program Files/LLVM/bin" "C:/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin" "C:/Program Files (x86)/Gpg4win/../GnuPG/bin" "C:/Program Files/dotnet/" "C:/Program Files/TortoiseGit/bin" "C:/Program Files/TortoiseSVN/bin" "~/.cargo/bin" "~/scoop/shims" "~/AppData/Local/Microsoft/WindowsApps" "~/Documents/bin" "C:/Program Files/CMake/bin" "~/AppData/Local/Microsoft/WindowsApps" "~/.dotnet/tools" "C:/Program Files/Emacs/x86_64/bin" "~/AppData/Local/Pandoc/" "~/.emacs.d/bin" "." "c:/Program Files/Emacs/x86_64/libexec/emacs/27.0.60/x86_64-w64-mingw32"))
 (config
  (envfile)
  (elc-files . 0)
  (modules :completion company helm :ui doom doom-dashboard doom-quit fill-column hl-todo hydra modeline nav-flash ophints (popup +all +defaults) (pretty-code +fira) tabs treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets :emacs dired electric ibuffer vc :term eshell term :checkers syntax :tools (eval +overlay) gist (lookup +docsets) lsp magit make :lang cc csharp data emacs-lisp fsharp latex markdown (org +dragndrop +present) php python rst rust sh web :email (mu4e +gmail) :app calendar :config (default +bindings +smartparens))
  (packages (undo-tree) (hydra) (git-timemachine) (evil-collection) (pos-tip) (company) (counsel) (company-quickhelp) (company-web) (yasnippet) (yasnippet-snippets) (cmake-mode) (markdown-mode) (flymd) (impatient-mode) (edit-server) (which-key) (iedit) (yaml-mode) (powershell) (column-enforce-mode) (smerge-mode) (color-theme-sanityinc-tomorrow) (dap-mode) (multi-term) (powerline) (powerline-evil))
  (unpin "n/a")
  (elpa "n/a")))

This is a duplicate of #2802 and #2909. See #2802 (comment) for workaround.


Wrong table name in select query

I have an crash report in appcenter which says:  SIGABRT: no such table: WatcedLecture but the corresponding class is called WatchedLecture and the query looks like this:
db.Table<WatchedLecture>().Where(w => w.CourseId == courseId).ToList();
Any ideas what could be causing sqlite-net-pcl to generate wrong table name in the query ?
sqlite-net-pcl version: 1.5.231

Make sure you have created the table before you use your queries.

@kinderry The table is created but the query generated has wrong name of the table

You can test with example-time,if this works,there maybe some mistakes in your class.


Fix the playback speed issue

Fixes #9. Interpolators are used in getNextAudioBlock.
https://docs.juce.com/master/classCatmullRomInterpolator.html

A cursor reset bug has been introduced.


One month apart should say Two months apart.

Challenge http://www.freecodecamp.com/challenges/bonfire-friendly-date-ranges has an issue.
December 1st to February 3rd is two months not one month. The test is pretty wordy regardless.

I believe it needs to be used in numbers not the name of the month.
Sent from my iPhone

On Jun 29, 2015, at 4:26 PM, Stephen Wanhella<EMAIL_ADDRESS>wrote:
Challenge http://www.freecodecamp.com/challenges/bonfire-friendly-date-ranges has an issue.
December 1st to February 3rd is two months not one month. The test is pretty wordy regardless.
—
Reply to this email directly or view it on GitHub.

The numbers and everything in the test are right, it's just the message. The output for friendly(['2015-12-01', '2016-02-03']) is ['December 1st','February 3rd'].

Oh because nothing is one month apart look the number format for the year one is 2015 and one is 2016.
Sent from my iPhone

On Jun 29, 2015, at 5:23 PM, Stephen Wanhella<EMAIL_ADDRESS>wrote:
The numbers and everything in the test are right, it's just the message. The output for friendly(['2015-12-01', '2016-02-03']) is ['December 1st','February 3rd'].
—
Reply to this email directly or view it on GitHub.

This is not a problem with the logic of the test or based on my input – it's just a typo.
Yes the years are different but the two dates are only two months apart, therefore the year of the second argument doesn't need to be outputted because it can be inferred.
The test should say something along the lines of, "two months apart can be inferred, even if it is the next year".

Closing as fixed in #1197


Add makedirs() call to ensure logs directory exists

Pull request to the async version
Not now
Description

Add makedirs() call to ensure logs directory exists,
Add logs/ directory in .gitignore.

Describe your tests
After launch-polling logs directory (-ies) will be created if not exists according to specified logger file path in configuration.
Python version: 3.10
OS: Linux, Ubuntu 22.04
Checklist:

[x] I added/edited example on new feature/change (if exists)
[x] My changes won't break backward compatibility
[ ] I made changes both for sync and async

Conflicts have appeared due to #7
Could you rebase the branch?


[Bug]: Dockerfile fails to build and run

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main, 0.12.0
Commit ID
na
Other environment information
Ubuntu 24.04
Docker: 27.3.1
Docker Compose: 2.29.7

Tested on 2 different computers, laptop with Ubuntu 24.04 Desktop and server with Ubuntu Server 24.04

Actual behavior
I am unable to build the ragflow image using the dockerfile

Expected behavior
No response
Steps to reproduce
Run this command

sudo docker build -f Dockerfile -t infiniflow/ragflow:dev .

Additional information
No response

I have now managed to build the docker file successfully after using the updated build instructions found here.
After the build had been completed, I ran it using the command 'sudo docker run infiniflow/ragflow:dev'. The container fails to start with the following message.

I have now managed to build the docker file successfully after using the updated build instructions found here.
After the build had been completed, I ran it using the command 'sudo docker run infiniflow/ragflow:dev'. The container fails to start with the following message.

Link docker/service_conf.yaml to conf/service_conf.yaml in container.

Hi Kevin, thanks for your reply. I'm not sure I understand what you mean by link the yaml files to the container, can you provide an example please.

docker cp docker/service_conf.yaml ragflow-server:/ragflow/conf/service_conf.yaml

@rplescia Look at docker/docker-compose.yml for run ragflow container only. However it's recommended to run via the compose file which contains ragflow and its dependencies.

Thanks for all the help.
So the correct way to start the container after the image has been built is modify the docker-compose.yaml file to use the local image and then start it using 'docker compose up...'?

Users needn't to build the ragflow image.  'docker compose up...' download the image automatically.


[move cli] update README with coverage tracking information

Motivation
Added information about the --track-cov for move test
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
The new README
Related PRs
#6760 #6761

/land

:broken_heart: Test Failed - Build images and run cluster test

/land


[Q]: Missing comment signs # in the 'public-resolvers.md' ?

There are lot of non-commented # text strings in the public-resolvers.md
Is it normal for this file? I'm guessing only sdns://..... lines are code-relative?
Just found this strange...

# and ## indicate titles and subtitles (this is the Markdown format). These are not comments :)
Everything is free form. Each resolver just need a title with its name. sdns:// patterns are extracted from the text no matter where they are.


[JENKINS-30433] Updated README

Updates several examples. Also removed any prominent references to job templating as it's not the best practice.

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


feat[data-export]: Support for formatting SOQL Queries

Is your feature request related to a problem? Please describe.
Related to issue 216
Describe the solution you'd like
The goal of this feature is to format the SOQL query so that the user has a clearer view of the SOQL structure.
Before Formatting

After Formatting

duplicate of #216 and #289


Clear TODOs from kv_hash function

Codecov Report

Merging #65 (5a4fcdc) into develop (575b35b) will decrease coverage by 0.04%.
The diff coverage is 96.42%.

@@             Coverage Diff             @@
##           develop      #65      +/-   ##
===========================================
- Coverage    93.04%   93.00%   -0.05%
===========================================
  Files           28       28
  Lines         5147     5160      +13
===========================================
+ Hits          4789     4799      +10
- Misses         358      361       +3

Impacted Files
Coverage Δ

src/error.rs
100.00% <ø> (ø)

src/lib.rs
100.00% <ø> (ø)

src/merk/snapshot.rs
0.00% <0.00%> (ø)

src/test_utils/mod.rs
62.40% <50.00%> (ø)

src/merk/restore.rs
97.09% <71.42%> (-0.36%)
:arrow_down:

src/proofs/tree.rs
93.30% <90.00%> (-0.67%)
:arrow_down:

src/proofs/chunk.rs
96.78% <94.11%> (-0.05%)
:arrow_down:

src/tree/link.rs
94.13% <95.65%> (+0.04%)
:arrow_up:

src/tree/ops.rs
96.81% <96.77%> (+0.02%)
:arrow_up:

src/merk/chunks.rs
99.65% <100.00%> (ø)

... and 19 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Bug] Previewing Recursive CTE's Throws Error "Recursive CTE in subquery are not supported."

Is this a new bug in dbt-redshift?

[X] I believe this is a new bug in dbt-redshift
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When I preview a recursive CTE in dbt cloud IDE, I am getting an error Recursive CTE in subquery are not supported. The same recursive CTE query run successfully with dbt run or dbt build. It also works fine with other datawarehouse such as Snowflake.

Expected Behavior
The Preview button should show successful output when previewed the recursive CTE query.

Steps To Reproduce

Preview the below recursive query in dbt cloud IDE connected to Redshift.

with recursive daily_dates(upload_day) AS (
select
'2024-01-01'::date as upload_day
union all
select
(upload_day + interval '1 day')::date as upload_day
from daily_dates
where upload_day < current_timestamp
)

select * from daily_dates

The below error should appear.

Runtime Error Database Error in sql_operation inline_query (from remote system.sql) Recursive CTE in subquery are not supported.
Encountered an error: Runtime Error Database Error in sql_operation inline_query (from remote system.sql) Recursive CTE in subquery are not supported.

Relevant log output
1. The below is log output from the `Preview` button.

Began running node model.my_new_project.test_recursive_cte
Acquiring new redshift connection 'model.my_new_project.test_recursive_cte'
Began compiling node model.my_new_project.test_recursive_cte
Writing injected SQL for node "model.my_new_project.test_recursive_cte"
Timing info for model.my_new_project.test_recursive_cte (compile): 03:27:57.672761 => 03:27:57.697862
Began executing node model.my_new_project.test_recursive_cte
Using redshift connection "model.my_new_project.test_recursive_cte"
On model.my_new_project.test_recursive_cte: /* {"app": "dbt", "dbt_version": "1.7.13", "profile_name": "user", "target_name": "default", "node_id": "model.my_new_project.test_recursive_cte"} */

    select *
    from (
        with recursive daily_dates(upload_day) AS (
select
'2024-01-01'::date as upload_day
union all
select
(upload_day + interval '1 day')::date as upload_day
from daily_dates
where upload_day < current_timestamp
)

select * from daily_dates
    ) as model_limit_subq
    limit 500
Opening a new connection, currently in state init
Redshift adapter: Establishing connection using ssl with `sslmode` set to 'prefer'.To connect without ssl, set `sslmode` to 'disable'.
Redshift adapter: Connecting to redshift with username/password based auth...
Redshift adapter: Redshift error: Recursive CTE in subquery are not supported.
Timing info for model.my_new_project.test_recursive_cte (execute): 03:27:57.699028 => 03:27:57.728949
On model.my_new_project.test_recursive_cte: Close
Database Error in model test_recursive_cte (models/example/test_recursive_cte.sql)
  Recursive CTE in subquery are not supported.
Finished running node model.my_new_project.test_recursive_cte

The below is the log output using dbt run.

03:26:09 SQL status: SUCCESS in 0.0 seconds
03:26:09 Using redshift connection "model.my_new_project.test_recursive_cte"
03:26:09 On model.my_new_project.test_recursive_cte: /* {"app": "dbt", "dbt_version": "1.7.13", "profile_name": "user", "target_name": "default", "node_id": "model.my_new_project.test_recursive_cte"} */

  create  table
    "dev"."dbt_mdichoso"."test_recursive_cte__dbt_tmp"

  as (
    with recursive daily_dates(upload_day) AS (
select
'2024-01-01'::date as upload_day
union all
select
(upload_day + interval '1 day')::date as upload_day
from daily_dates
where upload_day < current_timestamp
)

select * from daily_dates
  );
03:26:16 SQL status: SUCCESS in 6.0 seconds
03:26:16 Using redshift connection "model.my_new_project.test_recursive_cte"
03:26:16 On model.my_new_project.test_recursive_cte: /* {"app": "dbt", "dbt_version": "1.7.13", "profile_name": "user", "target_name": "default", "node_id": "model.my_new_project.test_recursive_cte"} */
alter table "dev"."dbt_mdichoso"."test_recursive_cte__dbt_tmp" rename to "test_recursive_cte"
03:26:16 SQL status: SUCCESS in 0.0 seconds

### Environment

```markdown
- OS: macOS
- Python: using dbt cloud
- dbt-core: 1.7.13
- dbt-redshift: 1.7.13

Additional Context
No response

Seconding this! I have a few instances where I need to use recursion, and it's annoying not to be able to build/test my work the same way I do for everything else. I get the same error, even though my queries run normally and do not error in the AWS Console/Redshift Query Editor, and dbt is able to build and test the resulting tables successfully.

Thanks @Caitlin-Syntax! I think we're going to resolve this issue by changing the default behavior of get_show_sql to avoid wrapping in a subquery, given edge cases like this one:

https://github.com/dbt-labs/dbt-adapters/issues/207

@ashrafkasmipfs you likely have a different issue if your pipelines are blocked. This only affects the Preview functionality in the Cloud IDE; it does not impact Build, Run, or Test functionality in the Cloud IDE (or elsewhere), and it does not affect Job execution. The problem here is that the Preview function wraps up the compiled SQL as a subquery to apply a LIMIT clause (e.g. SELECT * FROM (your query) as model_limit_subq limit 500), but Build doesn't add the extra wrapper. It could be that you have a macro or something else that's causing your recursive CTE to get wrapped.

I'm affected by this issue. We're using BigQuery instead of redshift. Our query runs just fine on BQ, yet I can't run / build the model in DBT.  No matter what, it will run a select * FROM with my query below, thus throwing the following error: WITH RECURSIVE is only allowed at the top level of the SELECT, CREATE TABLE AS SELECT, CREATE VIEW, INSERT, EXPORT DATA statements.
select * from (WITH RECURSIVE ...

This issue is resolved for me - I just used Preview in the Cloud IDE for a recursive query!
I'm assuming this is a result of the fix for Issue 207 in PR 249.

Not working for me yet. Still getting the error: "Recursive CTE in subquery are not supported."

@brooketran1 I saw the changed behavior after switching my Dev Environment from a pretty old version up to Cloud Versionless; I assume this hasn't been fixed in all older versions. If that isn't the issue for you/upgrading isn't an option for you, there are some templates for overriding get_show_sql that you could try in the meantime detailed on these issues:
https://github.com/dbt-labs/dbt-adapters/issues/207
https://github.com/dbt-labs/dbt-core/issues/9600

I believe this was fixed by https://github.com/dbt-labs/dbt-adapters/issues/207 and first available in dbt-adapters 1.3.3 (which requires dbt-core >= 1.8.0), so I'm going to close this as resolved.
Please open a new issue referencing this one if you run into any problems.
Example
Create this file:
models/my_recursive_cte.sql
with recursive daily_dates (upload_day) as (

    select
        -- 3 days ago
        {{ dbt.dateadd(datepart="day", interval=-3, from_date_or_timestamp=dbt.current_timestamp()) }}::date as upload_day

    union all

    select
        (upload_day + interval '1 day')::date as upload_day
    from daily_dates
    where upload_day < current_timestamp

)

select * from daily_dates

Run this command:
dbt show --limit 1 --select my_recursive_cte

Get this output for dbt v1.7:
$ dbt show --limit 1 --select my_recursive_cte

17:35:59  Running with dbt=1.7.11
17:36:03  Registered adapter: redshift=1.7.7
17:36:07
17:36:08  Encountered an error:
Runtime Error
  Database Error in model my_recursive_cte (models/my_recursive_cte.sql)
    Recursive CTE in subquery are not supported.

Get this output for dbt v1.8:
$ dbt show --limit 1 --select my_recursive_cte

17:34:52  Running with dbt=1.8.8
17:34:52  Registered adapter: redshift=1.8.1
17:34:55
17:34:56  Previewing node 'my_recursive_cte':
| upload_day |
| ---------- |
| 2024-12-02 |

@Caitlin-Syntax @dbeatty10 you're right! updated to the latest version and this is now working, thanks!


feat: add cartLinesTotalQuantity to useCart()

Description
Next step in #545 is to add the one hook that doesn't already exist in useCart() to it.
Additional context
I tried to setup some tests to run here (and thus the updates to the fixtures and utilities files), but it was a pretty big pain. I still wouldn't mind adding them, but I think I would need some ideas / help on how to go about doing it.

Before submitting the PR, please make sure you do the following:

[x] Add your change under the Unreleased heading in the package's CHANGELOG.md
[x] Read the Contributing Guidelines
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[x] Update docs in this repository for your change, if needed

Tried again to get tests working, but ultimately failed. I added the tests here for reference https://github.com/Shopify/hydrogen/pull/567/files#diff-ae2a69d862b42ded734b03cec4e649a5b0b18be4e0ffb98fe3b3084c294c4063
The first one works, but trying to update the cart is failing.


Bug in the example

In the example the method public bool Equals(TwoDPoint p) checks the type of p, where it is not necessary, but the method public override bool Equals(object obj) should, before casting p to a specific type.

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

ID: e95b738e-a319-8947-c098-692068c24b9c
Version Independent ID: 227a6999-9add-4a0a-98cb-c0c6624d6089
Content: How to define value equality for a type - C# Programming Guide
Content Source: docs/csharp/programming-guide/statements-expressions-operators/how-to-define-value-equality-for-a-type.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

The method Equals(object obj) uses as keyword, which results in "null" if the given type cannot be converted to TwoDPoint. So, this doesn't seem to have a problem.
The method Equals(TwoDPoint p) compares the type, which seems necessary in my opinion.
If you create a new class ThreeDPoint that inherits TwoDPoint, and define a "Z" variable on it. Then comparing the type will be necessary.
Consider the following:
var p1 = new TwoDPoint(5, 7);
var p2 = new ThreeDPoint(5, 7, 9); // ThreeDPoint inherits TwoDPoint.

if (p1.Equals(p2))
    Console.WriteLine("They are equal.");
else
    Console.WriteLine("They are NOT equal.");

The above code will print "They are equal." instead of "They are NOT equal." if you removed the following part:
            if (this.GetType() != p.GetType())
            {
                return false;
            }

Thanks for pointing this out @balintn22
@Youssef1313 's analysis is correct. I'll close this as an answered question.


syncserver service: follow-up of #28189

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/28189 still required some changes but I didn't get time to do them all before it was merged.
Things done

fix the permission problem pointed out by @Mic92
remove user and group options
add myself as maintainer

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I see you added the "port to stable" label. Could you tell me what I should do to make this happen ?

Thank you.
If you want to get this into stable as well, please cherry-pick (with -x) & submit a PR against the release branch.


docs: safety: Add safety documentation

Add the safety documentation to the Zephyr documentation tree.
Starts with the safety overview written by the safety committee, which describes the general goals for the safety in zephyr and
introduces a process overview how a safety certification can be achieved in the zephyr project.

@kartben fixed everything according to your suggestions. Thanks for the review


DnD a text from a text field doesn't remove text in the source

aims to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1679872
Fix a bug in generic build: it wasn't possible to drop a text in a form

/botio test

I forgot about this patch, but given that this seems like a clear bug in Firefox, is also tracked upstream, and is pretty minor in my opinion, is it worth working around this here? I'm a bit afraid that such workarounds might not behave correctly in e.g., other browsers, and in general we try to keep browser-specific hacks to the bare minimum...

I completely agree with https://github.com/mozilla/pdf.js/pull/12698#issuecomment-860209657, since this really ought to be fixed in Firefox rather than worked-around in PDF.js; closing this PR for now.


Re-enable skipped test

For #119146
This tests passes locally for me. Making sure it doesn't fail in CI

Whoops, wrong test re-enabled


scripts: add decode_ddr5_dimms.py script

Add script to decode dump of DDR5 SPD data
It does not decode all dump yet, just basic information on geometry and timings

Moving to #116. We need those changes to obtain SPD dump anyway


Update scenario.sh

It was forgotten to load the file "server-adminlist.json".

Thx.
Whos idea was it to separate those scripts? Combining them would take some work and should probably be taken care of at the next big refactor.


Creating subscriptions with latest local build

When I use your image
messagebird/gcloud-pubsub-emulator:latest everything works for me as described, including the ability to create topics, etc with the environment variables.
However when I build the image myself and run it with the environment set to create a topic and subscription (same values that worked with  your image)  it creates the topic then gets the following error when creating a subscription.  clipped message from the log follows:
Exception in thread "grpc-default-executor-10" java.lang.NoClassDefFoundError: java/time/Duration
[pubsub] 	at com.google.cloud.pubsub.testing.v1.MessageBacklog.(MessageBacklog.java:89)
[pubsub] 	at com.google.cloud.pubsub.testing.v1.MessageBacklog.(MessageBacklog.java:78)
[pubsub] 	at com.google.cloud.pubsub.testing.v1.FakePubsubServer$SubscriptionData.(FakePubsubServer.java:1353)
[pubsub] 	at com.google.cloud.pubsub.testing.v1.FakePubsubServer.createSubscription(FakePubsubServer.java:455)
[pubsub] 	at com.google.cloud.pubsub.testing.v1.PubsubGrpcServerAdapter$2.createSubscription(PubsubGrpcServerAdapter.java:177)
[pubsub] 	at com.google.pubsub.v1.SubscriberGrpc$MethodHandlers.invoke(SubscriberGrpc.java:2323)
[pubsub] 	at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:171)
[pubsub] 	at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
[pubsub] 	at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
[pubsub] 	at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
[pubsub] 	at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86)
[pubsub] 	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:283)
[pubsub] 	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:761)
[pubsub] 	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
[pubsub] 	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
[pubsub] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
[pubsub] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
[pubsub] 	at java.lang.Thread.run(Thread.java:748)
Is it possible that some of the dependencies of this dockerfile have drifted?

To reproduce you can use your own examples from the readme.  (for creating topic, subscriptions, etc. )

+1 I'm facing the same issue

I've got a fix, I'll open up a PR shortly

@parity-error https://github.com/marcelcorso/gcloud-pubsub-emulator/pull/10
You can find how I got it working in my PR here, really simple change, just updating the JDK version did the trick.

Nice.  Thank you!


Consider including scope name in moduleName

Type of Issue
[ ] Bug Report
[x] Feature Request

Description
Currently, the moduleName of a library is set to the package's name without the scope name. I would like to see the possibility/default to include the scope name in the moduleName, as a package name such as core is meaningless without scope name and will likely cause conflicts.
I can whip up a PR if you feel this may be useful. I'm not quite sure if including the scope name by default is warranted as it would be a breaking change, although I feel like it is a more sensible default. What is your thought on how to go about this?

Hi @JoostK,
yes, you're right. A good starting point for a PR is the ngc.ts:
https://github.com/dherges/ng-packagr/blob/c5c32c5/src/lib/steps/ngc.ts#L14-L15


hyperlink exceptions in the console view to the corresponding source …

Hyperlink exceptions in the console view to the corresponding source files.

recognize potential stack frames in the console view
use heuristics and the analysis server to resolve those references to the right files
have the various launch types be responsible for knowing how to resolve a reference
fix https://github.com/dart-atom/dartlang/issues/457


change the to lower method to to lower invariant in the admin panel project template (#5766)

this closes #5766

@mojtabanpe Thanks for submitting this PR, but the good first issues are only for the first contribution, and resolving more than one of them is not allowed here. So please let the other new contributors take care of the rest.
You can try resolving other issues, especially the up for grabs ones.
I'm sorry but this PR is rejected and I have to close it.


Vcode add fcmp

Not really sure the definition of fcmp. I believe we need to do a ucomiss and then update some register with the true or false (1 or 0) using the setcc instruction based on the condition code. However I am not sure if this thinking is accurate nor which register should be set?

Note, in addition to the tests in emit tests, I've checked lowering from the wasm level for all the f32 and f64 comparison instructions.

Note the test failure "Run cargo run -p run-examples" runs locally for me.

lgtm, thanks! (can't approve yet, since the other sets of PRs haven't landed yet)

👍 Will rebase and address the comments in one go once https://github.com/bytecodealliance/wasmtime/pull/2004 has landed.


Feature request: Add options to disable grouping in graphs

I don't really understand how the grouping in graphs works, tbh. So when I look at a graph I don't really know what exactly it is telling me anymore. Maybe that's just me, but I would much rather not group the data in any way and just see all points from all my training sessions. Would be super happy if this were possible.
Side note: The new app is already amazing. I've used Massive for a few months and already liked that, but Flexify is just so snappy and so featureful compared to Massive, I really like it :)

That's what history is for

What do you mean? There is no graph in the history tab

History is listing the exercises as they come, the graphs page has metrics per exercise so they are grouped by nature.


project set up

I'm facing a few issues setting up and getting the following error when running the app.py script
-Chatbot-using-Llama-2 % python app.py
Traceback (most recent call last):
File "/Users/eugvuong/Desktop/Medical-Chatbot/Medical-Chatbot-using-Llama-2/app.py", line 47, in
docsearch=pinecone.Pinecone.Index((index_name), embeddings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/eugvuong/Desktop/Medical-Chatbot/virt_env/lib/python3.11/site-packages/pinecone/control/pinecone.py", line 622, in Index
pt = kwargs.pop('pool_threads', None) or self.pool_threads
^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'pool_threads'
I also noticed every time you run the script, it will create a index in pinecone but this causes issues if the index is already created
File "/Users/eugvuong/Desktop/Medical-Chatbot/virt_env/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 261, in request
raise PineconeApiException(http_resp=r)
pinecone.core.client.exceptions.PineconeApiException: (409)
Reason: Conflict
HTTP response headers: HTTPHeaderDict({'content-type': 'text/plain; charset=utf-8', 'access-control-allow-origin': '', 'vary': 'origin,access-control-request-method,access-control-request-headers', 'access-control-expose-headers': '', 'X-Cloud-Trace-Context': '34f1bc846da265c72a6b8b96b070b47e', 'Date': 'Wed, 17 Apr 2024 09:35:43 GMT', 'Server': 'Google Frontend', 'Content-Length': '85', 'Via': '1.1 google', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'})
HTTP response body: {"error":{"code":"ALREADY_EXISTS","message":"Resource  already exists"},"status":409}
wouldn't this cause issues if you want to re-run the project?

No, as the main script is app.py, it contains a method from 'from_existing_index' that takes the embeddings from existing index.
Do initialize your Pinecone credentials properly

Thanks Kaylan, I've set up an API key from pinecone console and added the key into an .env file. But when running app.py I get the following error.
AttributeError: init is no longer a top-level attribute of the pinecone package.
Please create an instance of the Pinecone class instead.
so I've changed the code to the following
index_name="medichat"
if PINECONE_API_KEY is None:
print("PINECONE_API_KEY is None")
else:
pc = pinecone.Pinecone(api_key='******************')
# Creates an index using the API key stored in the client 'pc'.
pc.create_index(
name=index_name,
dimension=3, # Replace with your model dimensions
metric="euclidean", # Replace with your model metric
spec=ServerlessSpec(
cloud="aws",
region="us-west-2"
)
)
This then led me to getting the AttributeError


Use unified Makefile for CBMC proofs

This PR submodules in the CBMC Makefile Template repository, hosted at
https://github.com/awslabs/aws-templates-for-cbmc-proofs

This repository contains templates for Makefiles and associated files for doing CBMC proofs. This commit is in preparation for migrating the aws-c-common proofs to use this unified Makefile, which will simplify proof setup and maintenance.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

About to re-trigger a build, having taken this PR out of draft mode.
Expect two tests to fail on the production CI, but to succeed in beta.

/cbmc run checks

Closing in favour of #660.


Feature/sponsors endpoint

Closes #35

I think the APISponsor and Sponsor interfaces do not have the same fields as the schema. The app successfully renders and acts as if it has the description and socials fields, but the build flags it.

I think the APISponsor and Sponsor interfaces do not have the same fields as the schema. The app successfully renders and acts as if it has the description and socials fields, but the build flags it...

You might have to add the type manually to the types file on our end so it wont be flagged

I think the APISponsor and Sponsor interfaces do not have the same fields as the schema. The app successfully renders and acts as if it has the description and socials fields, but the build flags it...

You might have to add the type manually to the types file on our end so it wont be flagged

Even if I make the type locally, won't we still need to access certain fields of the schema (e.g. the description)? It's using those fields that the build flags.

I think the APISponsor and Sponsor interfaces do not have the same fields as the schema. The app successfully renders and acts as if it has the description and socials fields, but the build flags it...

You might have to add the type manually to the types file on our end so it wont be flagged

Even if I make the type locally, won't we still need to access certain fields of the schema (e.g. the description)? It's using those fields that the build flags.

I think we can import them and create an interface that adds in the fields and export that.


ZAP Chat subtitles for Video 16

url: https://www.youtube.com/watch?v=_CKzFqDi33A
Please take a closer look at the following points:
-I don't understand line 77
-Line 78 I'm not sure about that
-09:40-09:45: Yiannis asks something -> I don't understand - subtitles missing
please check

The lifespan of videos decreases over time - so unfortunately this always has to be done at short notice :-(

Sorry for the delay. I'll try to review and listen tomorrow.

77/78 are actually correct.

The 9:40 part seems unimportant, I think he was just trying to agree/acknowledge.

I didn't have 30min to do the whole thing. But from what I read through and listened to it seems good.

30 minutes is good - I usually sit there between 1-2 hours (just for proofreading and listening) :-)

I just said 30 because the vid is ~27 🤷♂
Thanks for your efforts!!

Thank you!

Many thanks! Now applied and auto-translated into the usual set 😁


Show CPU frequency with logo color. Also remove pysensors dependency

I'll return to this on the weekend, could you try to resolve conflict ?

Where ever that came from...


Automatic update to 1.9.10 not functioning as expected

Version
1.9.9
Details
Youtube Downloader 1.9.9 fails to automatically update to 1.9.10, which would be expected.
This isn't a huge issue, seeing as I can simply manually download 1.9.10, but I figured you'd want to know about it.
https://user-images.githubusercontent.com/13796683/222306249-878d24af-b835-4fb6-b4d0-da70da39b54f.mp4
Steps to reproduce
YoutubeDownloader 1.9.9 is located in my Downloads directory. When launching 1.9.9, it states that it's downloading 1.9.10, as expected, and informs the user that it will be installed on exit.
Exiting the program, either with the Install Now button or manually Xing it, does not cause the program to update.
Running the program as administrator does not fix the issue.

 Goddammit.

That looks weird but I'm glad you figured it out


Fix the parsing of CustomParameters and CustomTestParameters

Fix the parsing of CustomParameters, CustomTestParameters, and TestParameter in case of

the value contains '='
the value contains uppercase letters, and it's case sensitive
the value contains special characters, e.g. "&"

@lizzha Any test results available here?

@juhlee-microsoft  let me send you the test result internally


Which VCSs do we want to support?

Do we really need to support other VCSs? In the README.md we are talking about "runs code analyzers on your version control system". Currently only Git repositories are supported. This will probably not change in the near future, so it might make sense to concentrate on Git first.

I also think we should focus on git repositories.

The focus is set on Git. Other VCS can be integrated as adapters afterwards.


TupleType equivalent of ntuple(f,args)

It might be nice to allow creation of Tuple{} somewhat similarly to Base.ntuple.   Right now I'm using Tuple{ntuple(f, x)…}

Fixed by 38a3594932f74b47b5c352f1ed814fef47075885.


Metrics for V1 Release

Hi,
It's looking like the following Code Development metrics are (nearly?) ready for release:
Code_Changes
Code_Changes_Lines
Issues_New
Issues_Active
Issues_Closed
Reviews
Reviews_Accepted
Reviews_Declined
@jgbarah @sgoggins @GeorgLink If you have any finishing touches that need to be done before June 21, that would be great :)

Thanks, Matt. I hope we can review all of this in our weekly meeting. There are some other metric in progress in a pull request, and some improvements as well.

Looks good to me, just a clarification on the "Review" metric, do we keep track of the number of iteration a Refiew undergoes?

Looks good to me, just a clarification on the "Review" metric, do we keep track of the number of iteration a Refiew undergoes?

Not in the "basic" Review metric. But that's a good diea, and an interesting metric that we could have for goal "Efficiency". Please, feel free to comment that in #138, and/or produce a pull request on the code development focus area.

WRT the metrics ready for release, the proposal we agreed during our meeting today, following the idea of accepting all metrics that went through code review, is to propose all metrics in the "Summary or Metrics" table:

Goal
Question
Metric

Activity
Changes
Code_Changes

Activity
Changes
Code_Changes_Lines

Activity
Issues
Issues_New

Activity
Issues
Issues_Active

Activity
Issues
Issues_Closed

Activity
Reviews
Reviews

Activity
Reviews
Reviews_Accepted

Activity
Reviews
Reviews_Declined

Efficiency
Reviews
Reviews_Duration

If nobody objects, this wiill be the list of metrics released in V1.

This sounds great to me. Thanks for the push on this.

Yes. Thank you.


As a User, I want to be able to reach the whole moderator team with a message.

Right now, a user can @moderator, @admin or PM a specific moderator. For the sake of being able to read back a message a user submitted as 'complaint', 'request', etc; we need a !mod command that users can employ to send a message to all moderators for moderation.

On hold till I decide to use the master branch of discord.py or when it lands in 1.7.x

On hold due to #29


suggestion: channel subscription feed

Please consider adding an option to subscribe to channels and thus be able to see an aggregation of the channels' latest videos similar to YouTube's "What's New"

This is a duplicate of #8, closing.


Error in Cloud setup flow

Description
I am trying to log in to (re)configure a device I removed as it wasn't responding. I get an unexpected error message in the UI after confirming the login QR code.
This is with 2024.11.0
Steps to reproduce

Go to add device / cloud setup
Enter the user code/submit
Scan and approve login with Tyua app/click submit in UI
Error message come up

Expected behaviour
It should proceed to the next page to select device from the cloud data.
Additional context
Log message from HA:
Logger: aiohttp.server
Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:448
First occurred: 10:49:08 (3 occurrences)
Last logged: 11:46:16

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 370, in async_configure
    result = await self._async_configure(flow_id, user_input)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 417, in _async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 520, in _async_handle_step
    result: _FlowResultT = await getattr(flow, method)(user_input)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tuya_local/config_flow.py", line 180, in async_step_scan
    self.__cloud_devices = await self.cloud.async_get_devices()
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/tuya_local/cloud.py", line 158, in async_get_devices
    "is_hub": device.category in HUB_CATEGORIES or device.local_key == "",
                                                   ^^^^^^^^^^^^^^^^
AttributeError: 'CustomerDevice' object has no attribute 'local_key'

related to  this I was getting an error message earlier about a usage of setSocketPersistent in device.py but don't have the log of that any more (I'll look into it later).
Confirmation

[X] I am sure this is a bug or improvement, that is well enough described that it can be implemented.

[ ] If this is for a specific device, the device config is mentioned above, or diagnostics are included.

[X] Log messages or diagnostics relevant to the issue are included.

[X] This is not requesting addition of a new device.

The setSocketPersistent issue was just fixed by another user, and 2024.11.1 released.


Update-IntuneManagedDeviceDeviceCompliancePolicyState 400 error

I'm attempting to update some wonky compliance policies that should be coming up compliant on our devices and setting them manually to Compliant via this command.
Using this: Update-IntuneManagedDeviceDeviceCompliancePolicyState -managedDeviceId 9f475a3a-147c-4386-8528-8fe5afa3d659 -deviceCompliancePolicyStateId 4f47066a-d2c8-40e3-8a8e-4f1a54ed5d10
Update-IntuneManagedDeviceDeviceCompliancePolicyState : 400 Bad Request
{
  "error": {
    "code": "No method match route template",
    "message": "No OData route exists that match template ~/singleton/navigation/key/navigation/key with http verb PATCH for request
/StatelessDeviceConfigurationFEService/deviceManagement/managedDevices('9f475a3a-147c-4386-8528-8fe5afa3d659')/deviceCompliancePolicyStates('4f47066a-d2c8-40e3-8a8e-4f1a54ed5d10').",
    "innerError": {
      "request-id": "148ae4b2-2654-4f9d-b3bf-71df46245b62",
      "date": "2019-02-01T18:30:23"
    }
  }
}
At line:7 char:1
+ Update-IntuneManagedDeviceDeviceCompliancePolicyState -managedDeviceI ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ConnectionError: (@{Request=; Response=}:PSObject) [Update-IntuneMa...ancePolicyState], HttpRequestException
    + FullyQualifiedErrorId : PowerShellGraphSDK_HttpRequestError,Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets.Update_IntuneManagedDeviceDeviceCompliancePolicyState

Any ideas?
edit: Seems to happen on the Get function as well. Only happens when I include the deviceCompliancePolicyStateId.

looking

Hello Antiph0n just curious about this case, have you tried set the schema to beta on your script to check if this works?
Update-MSGraphEnvironment -Schema beta

Hello Antiph0n just curious about this case, have you tried set the schema to beta on your script to check if this works?
Update-MSGraphEnvironment -Schema beta

I just attempted to use that beta schema and I still get the same error.

Have you tried to do the same from Graph Explorer using same method ?

Same error with Get-IntuneManagedDeviceDeviceCompliancePolicyState , any news?
400 Bad Request
{"error":{"code":"No method match route template","message":"No OData route exists that match template ~/singleton/navigation/key/navigation/key with http
verb GET for request /DeviceConfiguration_2301/StatelessDeviceConfigurationFEService/deviceManagement/managedDevices


Tests not running as expected; error when using tox -e func-py37

What I did

Cloned the client repo and made a branch from master for my metaflow integration.
Created an example integration flow
Added yea asserts to the top of that file.  The id is metaflow.0.1
When I run yea r metaflow.0.1, the test does not fail as expected (there should be 4 runs, but assert expects 999)
When I run tox -e func-py37, I get a long error

Thanks for the report, this was fixed here:
https://github.com/wandb/yea-wandb/commit/2261adf6324d56dfb15ddd5788624b68adb7a339


new version for energymanager

support for more kiwigrid-powered devices

was the links wrong before ?enet vs energeymanager?

Yes, don't know why.

copy & paste error? :-)