SliverAppBar in NestedScrollView Covers Body [Flutter Web]

Steps to reproduce
Apply the following;
The body must be a scrollable list that allows you to scroll down;
The app bar must exist and be non-0 size
Scaffold(
      appBar: null,
      body: NestedScrollView(
        physics: const NeverScrollableScrollPhysics(),
        headerSliverBuilder: (context, innerBoxIsScrolled) {
          return [
            SliverAppBar(
              surfaceTintColor: Colors.blue,
              backgroundColor: Colors.red,
              title: appBar, // your app bar here, any non-0 app bar will reproduce issue
              centerTitle: true,
              floating: true, //IMPORTANT
              snap: true, //IMPORTANT
              automaticallyImplyLeading: false,
              forceElevated: innerBoxIsScrolled,
              elevation: 0,
            ),
          ];
        },
        body: SafeArea(
          child: Container(
            margin: defaultMargin
                ? context.blockMargin.copyWith(top: 0, bottom: 0)
                : EdgeInsets.zero,
            padding: defaultPadding
                ? context.blockPadding.copyWith(top: 0, bottom: 0)
                : EdgeInsets.zero,
            width: context.blockSize.width,
            child: body,
          ),
        ),
      ),
    );

In Flutter web only (works on mobile) scroll down, and then scroll back up. Notice the app bar covers top the top of the body, when in reality it should shift the body downward (as it does on mobile).
Expected results
In Flutter Web, the app bar will push the body down when it appears upon scrolling up.
Actual results
When the app bar reappears, the body is not shifted downwards (as it is on mobile).
Code sample
Code sample
Scaffold(
      appBar: null,
      body: NestedScrollView(
        physics: const NeverScrollableScrollPhysics(),
        headerSliverBuilder: (context, innerBoxIsScrolled) {
          return [
            SliverAppBar(
              surfaceTintColor: Colors.blue,
              backgroundColor: Colors.red,
              title: appBar, // your app bar here, any non-0 app bar will reproduce issue
              centerTitle: true,
              floating: true, //IMPORTANT
              snap: true, //IMPORTANT
              automaticallyImplyLeading: false,
              forceElevated: innerBoxIsScrolled,
              elevation: 0,
            ),
          ];
        },
        body: SafeArea(
          child: Container(
            margin: defaultMargin
                ? context.blockMargin.copyWith(top: 0, bottom: 0)
                : EdgeInsets.zero,
            padding: defaultPadding
                ? context.blockPadding.copyWith(top: 0, bottom: 0)
                : EdgeInsets.zero,
            width: context.blockSize.width,
            child: body,
          ),
        ),
      ),
    );

- apply a scrollable body that will allow you to scroll to recreate the issue
- apply any non-0 app bar
Screenshots or Video

Notice the top part of the body is covered.
Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.0, on macOS 13.5.1 22G90 darwin-arm64, locale en-US)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.```

</details>

Hi @kornha
Your demo doesn't seem to be clear. Could you please share the demo (video/gif) illustrating the issue corresponding to your sample code?
I completed your sample as below but can't see the issue:

Demo
https://github.com/flutter/flutter/assets/104349824/f4bfea4a-0d44-4bb1-982f-00d89545679d

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

void main() {
  runApp(
    const MaterialApp(
      title: 'Flutter Demo',
      home: NewWidget(),
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: null,
      body: NestedScrollView(
        physics: const NeverScrollableScrollPhysics(),
        headerSliverBuilder: (context, innerBoxIsScrolled) {
          return [
            SliverAppBar(
              surfaceTintColor: Colors.blue,
              backgroundColor: Colors.red,
              title: AppBar(
                title: const Text('title'),
              ), // your app bar here, any non-0 app bar will reproduce issue
              centerTitle: true,
              floating: true, //IMPORTANT
              snap: true, //IMPORTANT
              automaticallyImplyLeading: false,
              forceElevated: innerBoxIsScrolled,
              elevation: 0,
            ),
          ];
        },
        body: SafeArea(
          child: SingleChildScrollView(
            child: Container(
              height: 1500,
              width: 200,
              color: Colors.amber,
            ),
          ),
        ),
      ),
    );
  }
}

Also, I'm the latest Flutter stable channel 3.19.3. You can also try upgrading your Flutter SDK and retry.

If you put a text widget aligned to the very top of you container, scroll down and then back up, what happens? Is it covered?
here is a capture of the issue:

After adding a Text to the head of body, I can see the issue. It also occurs on Android as well. On web, it's easier to reproduce, though.

Demo

Android
Web

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

void main() {
  runApp(
    const MaterialApp(
      title: 'Flutter Demo',
      home: NewWidget(),
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: null,
      body: NestedScrollView(
        physics: const NeverScrollableScrollPhysics(),
        headerSliverBuilder: (context, innerBoxIsScrolled) {
          return [
            SliverAppBar(
              surfaceTintColor: Colors.blue,
              backgroundColor: Colors.red,
              title: AppBar(
                title: const Text('title'),
              ), // your app bar here, any non-0 app bar will reproduce issue
              centerTitle: true,
              floating: true, //IMPORTANT
              snap: true, //IMPORTANT
              automaticallyImplyLeading: false,
              forceElevated: innerBoxIsScrolled,
              elevation: 0,
            ),
          ];
        },
        body: SafeArea(
          child: SingleChildScrollView(
            child: Container(
              height: 1500,
              width: 200,
              color: Colors.amber,
              child: const Text('data'),
            ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.4, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.4 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 68bfaea224 (29 hours ago), 2024-03-20 15:36:31 -0700
    • Engine revision a5c24f538d
    • Dart version 3.3.2
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.58

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

• No issues found!

[!] Flutter (Channel master, 3.21.0-12.0.pre.40, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.21.0-12.0.pre.40 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d755bc222b (28 minutes ago), 2024-03-21 19:44:55 -0700
    • Engine revision e2f324beac
    • Dart version 3.4.0 (build 3.4.0-257.0.dev)
    • DevTools version 2.34.0-dev.5
    • 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 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.58

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

! Doctor found issues in 1 category.

Hi @kornha, it looks like you are missing the sliver overlap widgets. These are used in the context of NestedScrollView when the outer scroll view, the sliver app bar in your case, is expected to overlap the content of the inner scroll view.
There are some examples of this in the documentation: https://api.flutter.dev/flutter/widgets/NestedScrollView-class.html
I also notice the SliverAppBar has snap set to true. This is not supported by the NestedScrollView, but you can folow this issue for updates on that feature: https://github.com/flutter/flutter/issues/59189


Analysis jobs have different behavior

Specifically, the inputs and destination key with information about base-files and the destination container is not set up, because that logic is in the job-add handler. We need a new function on the Job object to handle that logic.

Consequence is that Analysis jobs don't pass along input file and hiearchy meta to the gear? Is there a workaround?
Thanks.

Correct. Workaround for now is to set the gear to a utility category.

HCP pipeline gear requires this file meta and context. This will be a blocker for that soon, and impacting the dev workflow because of the large number of files being output into the acquisition.
fmriprep gear, Jen is confirming if her use case is impacted by this. If it is, we will want a quick turnaround this week.

I uploaded an SDK gear as an "analysis" gear and it failed where it succeeds as a utility gear... https://gears.dev.flywheel.io/#/dashboard/project/59b8296bc4fdd5001e1e8184/session/59c12c3f9019a71e38722d3e?tab=jobs
I am assuming that occurred because the destination is not set.
I need this functionality for my fmriprep gear because it needs to be an analysis gear.

Thanks @jenreiter for looking into it. I'll work with @kofalt on getting the endpoints to call the same code paths again.

A fix for this (will be) #938

Fixed in #938


What is the diference between NNAPI, GPU and Hexagon delegates

Could anyone describe the diference between NNAPI, NPU, GPU and Hexagon delegates?
Does it means NNAPI will use one delegate in NPU, GPU or Hexagon(DSP) according to device? If device only embedded GPU, NNAPI will use GPU; if device only embedded DSP, NNAPI will use DSP; and so on?
Or does NNAPI only use NPU delegate?
Thank you so much~

@srjoglekar246 @karimnosseir could you take a look at this question?

These are different types of TFLite delegates.
I will try to explain below - and provide pointers. Please let me know if you have more questions.

What is TFLite Delegate ?
TFLite delegates is a way to take part/all of the TFLite graph and execute it differently - in other words delegate the execution to something other than the default TFLite CPU kernels.

Why use TFLite Delegates ?
Recently hardware vendors have specialized hardwares that can execute ML operations (or matrix operations) in an optimized way. Utilizing these specialized hardwares can benefit inference speed and power consumption.

What types of delegates does TFLite offers currently ?
There are types that are maintained by the TFLite team and others available open source (or closed source) that leverage TFLite Delegate framework.
Note: You can search for types of delegates available online to use. Here below i will summarize the different delegates maintained by the TFLite team and you can find the code in the TF repo.

NNAPI Delegate:
This delegate is available only on Android devices starting Android 8.1 (API level 27).
This delegate uses Android Neural Network API which can accelerate the execution on different hardwares including GPU, DSP or NPU.
Note that, although NNAPI can accelerate on GPU, or DSP it is not similar (exact) to the GPU delegate or Hexagon DSP delegate.
For more information and instructions on how to run it see the guide.

GPU Delegate:
This delegate supports running on OpenCL and OpenGL. It can run on Android or iOS.
See guide for more information on using it.

Hexagon Delegate:
This Delegate uses Hexagon NN framework which allows running ML operations on the Snapdragon Hexagon DSP.
It is available on Android and can be run also on non-android devices (e.g. Linux on Arm)
See the guide for more information.

CoreML Delegate:
This delegate runs only on iOS since it leverages apple CoreML to accelerate on Apple's Neural engine.
See the guide for more information.

Every delegate has their own requirements, for example Hexagon DSP delegate runs only quantized models while GPU delegate can run floating point models.
For details about what each delegate support, please see this section
Hope that helps.
Thanks

Thank you for your answer, it help me much.
By the way, if I want to use NPU, now I could only use NNAPI?

Hi karimnosseir, sorry to trouble you, that I have another question:
I want to use Hexagon libraries in 64bit, but I could only get 32bit lib from TFLite org link.
I did download tflite_hexagon_nn_skel_v<IP_ADDRESS>.run, and use it to download Hexagon libraries.
Should I download from other link, or just use 32bit in 64bit device?

@karimnosseir  Thank you for your answer, it help me much.
By the way, if I want to use NPU, now I could only use NNAPI?

@limdlh Yes, for newer Android devices that should be the case.

@srjoglekar246 What about XNNPACK ? What does it represent?

@limdlh XNNPack is a delegate that implements some CPU optimizations, especially for sequences of heavy ops like MatMul, Conv etc. So its not exactly a hardware delegate, but runs on CPU. See this blog post for an explanation of how to try it.

Hello @srjoglekar246
From this link, it says that:
XNNPACK engine used by TensorFlow Lite interpreter uses a single thread for inference by default
Could you give some overview on how this is done? For example, if I want to run regular TensorFlowLite on single thread, will that be feasible? How is TFLite with xnnpack engine different from regular TFLite runtime that makes it easy to run on single thread?
Thanks.

We haven't enabled XNNPack by default yet. So you should be running TFLite w/ single-threaded CPU kernels by default as of now.
With XNNPack, some parts of the TFLite graph with CONV/FULLY_CONNECTED etc will get replaced by a single XNNPack kernel that performs the equivalent task but faster. XNNPack runs faster if you set num threads higher with TFLite.

@srjoglekar246 I may be missing something here. Could you please clarify :
I am running inference on CentOS 8 linux x86_64 architecture. And based on this part
When building TensorFlow Lite with Bazel, add --define tflite_with_xnnpack=true, and the TensorFlow Lite interpreter
will use XNNPACK engine by default.

I did build TFlite with --define tflite_with_xnnpack=true. Will this not run on single thread?

This will run w/ XNNPack & a single thread, yes. I did not realize you were building with that --define

That's good to know. Thanks.
But based on your previous comment :

We haven't enabled XNNPack by default yet. So you should be running TFLite w/ single-threaded CPU kernels by default as of now.

Does TFLite still run single threaded even if XNNPack is not enabled?
I am asking this in context of a program that I am currently trying to run. It uses forking to create multiple processes to do inference. Currently, when I used default TFlite, it gets stuck in mutex lock. That's why I want to confine TFLite runtime to a single thread.
Note it also uses flex delegate if that is relevant information to this problem.

Does TFLite still run single threaded even if XNNPack is not enabled?

Yup, atleast for TFLite builtin ops. However, I am not sure if flex uses multiple threads. @abattery do you have an idea?
Also, are you using the same Interpreter from multiple threads? TFLite doesn't support that, you will need a new Interpreter for each concurrent thread. It might be a good sanity check to run some mobilenet model in your framework (since it has only TFlite builtin ops) and see if things work without issues.

Also, are you using the same Interpreter from multiple threads? TFLite doesn't support that, you will need a new Interpreter for each concurrent thread.

I am not sure I understand this completely. I specify only 1 thread when creating InterpreterBuilder, something like this :
tflite::InterpreterBuilder(*flat_buffer_model, builtins)(&interpreter, 1);

Do you mean every child process that is forked should have its own new Interpreter instance?
My model is, in fact, mobilenetv2 which is getting stuck in lock condition.

The Interpreter's kernels will use only single threaded inference in your case. However, you mentioned that you use multiple processes for inference:

I am asking this in context of a program that I am currently trying to run. It uses forking to create multiple processes to do inference.

Are all of these processes using the same Interpreter instance? or different ones?

@srjoglekar246
I am using a code written by someone else, but with some debugging I believe all the processes are using the same interpreter instance. And now I understand from your previous comment, that TFLite doesn't support that.
So I suppose you are suggesting me to create a new Interpreter instance for every process. That's very helpful to know.


Values causing validation errors aren't stored/displayed to user

Expected behaviour

Changing a value from valid to something that causes a validation is stored and re-presented to the user on page refresh.

Actual behaviour

Changing a value from valid to something that cause a validation error is not stored and is not re-presented to the user on page refresh, instead they are presented the previous valid value entered prior to the validation error triggering.

Steps to reproduce the behaviour
These steps involve two fields but the issue occurs with just one field but using two allows the problem to be shown without having to navigate around the questionnaire.

Launch a survey with currency fields
Enter a valid answer (whole number e.g. 1000) for one question on the page
Enter an invalid answer (e.g. 1000.00) for a different question on the page
Submit the page
Observe the single error report for the invalid answer
Swap the values in the two fields
Submit the page
Observe that both fields now have "1000" as the value but the field that "1000.00" was last entered into shows an error but the data is correct i.e. the "1000.00" has been lost
Change the field with the error to any other value e.g. "Jar Jar"
Submit the form
Observe that the value entered is lost i.e. "Jar Jar", but the error is displayed and the last valid value is shown i.e. "1000"

Technical information
Browser
All
Operating System
All
Screenshot

Having spent some more time coming up with the steps to reproduce I think this is a duplicate of #374 which #377 was merged to fix, but the problem still occurs even with this fix.

Confirmed this is fixed by #385 on pre-prod. Closing.


Fix integrated install wxWidgets include paths

Added the unusual wxWidgets setup.h include path that is placed under a library directory.
This resoles issue #3180.

Thanks for the PR!
However, instead of adding a global include to handle this single library, it's much easier and cleaner to move the headers into the standard include directory (include/). @JuhaSointusalo sent this in as #4846, which should fix this issue!


https://v1-20.docs.kubernetes.io/ has wrong text for link to v1.21 docs

This is a Bug Report

**Problem:**On https://v1-20.docs.kubernetes.io/ there is a link to the current docs (v1.21); however the link text is “v1.20”
Proposed Solution:
Fix the link text (branch release-1.20)https://v1-20.docs.kubernetes.io/
Page to Update:
https://kubernetes.io/...

Kubernetes Version:
/priority important-soon

/close


PostgreSQL - error during database search

Hi,
With dbeaver 3.6.5, PostgreSQL 9.4, when I launch a database search with "Table" as object type, in Metadata tab, I get the following error message :
'Database search' has encountered a problem.
SQL Error [22P02]: ERROR: invalid input syntax for type oid: ""
Regards,
Cedric

Thanks for report


Should we archive this repository?

I have the feeling the dependabot is the only one contributing to this repository recently, so I would suggest we should archive it, unless there is more active development planned for this repository in future. In particular, people might confuse the pyiron_gui with ironflow https://github.com/pyiron/ironflow .

I lean against archiving this repo, actually due to the dependabot PRs checking that the code is working after all with the newest software stack.
However, if we decide to start archiving repos which are not actively developed right now, pyiron_gpl sounds like the next candidate to me.

Bringing this to more life, I think I will convert some of the nice widgets here to nodes for the pyiron_workflow infrastructure.


Not working for sbi yono and iMobile pay

Describe the bug
Using the debug release of 2.1.1.
Yono simply closes on launch, no anr or crash window shown.
Imobile pay opens chrome and says rooted device.
Steps To Reproduce

Launch yono by sbi
Crashes
Launch imobile pay by icici
Opens chrome saying rooted

Context

Device: Xiaomi 13 pro (nuwa)
OS: Android 14 based HyperOs
Version of Magisk: 27
Other Root Module(s): Unlimited google photos
LSPosed Module(s): None

Logcat

Log_2024-06-02_22-27-31.txt
Log_2024-06-02_22-30-23.txt
magisk_log_2024-06-02T22.31.12.log

Update : Working with apatch 10762 zygisk next 1.0.5


New suggestions, Bugs and Ideas

Here are the final things that should be added and fix so that yapb will be more fun and making it look realistic. [YAPB WILL BE BETTER]
When yapb bots zoom using snipers, and when the bot using sniper saw the enemy and when the enemy left their sight, the bots unzoom the scope too fast. Its not realistic. Plz make them zoom abit longer before unzooming. Make it 2secs before unzooming the sniper.
Make afk yapb bots. I know this sounds dumb, but its a cool feature. There is once i played yapb and there is a bot in my team that goes afk. Its so realistic. Maybe its a bug. But can you add this plz??? Its fun. Add this function using a command like for example, yb_afk 0 means all bots will not be afk, and yb_afk 1 means bots sometimes goes afk. Make the max number of 1-3 bots that goes afk. And make it super random and very rare. Hope u can add this. And remember, make it rarely happen.
Make bots balance themselves using all grenades. Yapb bots prefer smoke grenade more. Plz balance it so that they can use other grenades better.
4)Plz add yb_debug 2. The ones that work is yb debug 0 and 1. Can u make another one? Which is yb_debug 2. Make yb_debug 2 only show these features (Name, Health, Armor, Item, Clip, Ammo and money). Thats all. Dont add the viewable waypoints where the yapb will walk to certain places with a line that they will follow just like in yb_debug 1. Add a yb_debug 2 with only those things plzz.
Yb_debug 1 is too complicated.
5)Make the yapb always listen to our commands for [Drop C4, Drop weapon, and Make double jump] Sometimes yapb will not drop the c4 or weapons when i use those commands. Make them 100% listen to what we want them to do. And also make them come to where i stand and make a double jump. Sometimes they stand at the wrong position for the double jump and sometimes they ignore to do the double jump and walked away.
Make yapb bots look around while in spawn. This can make it look realistic. In cs1.6 normal bots, they will look at different positions while freezing at spawn. But those bots only look at one direction. Thats all. But for yapb, when they spawn, they only look straight forward and all yapb bots stand in a line like a soldier 😂. Make 1 to 4 bots to look around when they spawn. So that they look like humans. Make them look at different places while freezing at spawn and make them look around like they are searching for enemies or looking at teammates. Do u know how when the yapb bots camp at a place and they will look at one side and then look at the other side? Thats how i kinda want it. (But dont make them look around while buying things. Only make them look around after bots bought their items) Make a command for this if possible. Make two commands like, one will make them not look around in spawn and all bots look the same direction, another will make them look around the area while freezing at spawn. Make it random. Dont make all 4 bots to look around. Make some bots to look around and not all the bots.
7)Can u make the commands to dissapear when we click these commands? Like Drop c4, drop weapon, double jump and finish double jump. Here is my problem. When i click drop c4 or double jump, the commands 1,2,3,4 is still there. We must click 0 to exit the commands. Can u make it more simplier?? Do it this way: if i clicked on 1 or 2 or 3 or 4, the yapb action commands will disapear by itself so that i dont need to press 0 to exit the yapb action commands . This way is much more faster. Plz do it :)
[This is an optional idea]. Since that all yapb bots has aimbot, can u make two seperate commands for two seperate bot playstyle? For example, yb_aimbot 1 means they will play like the way they play right now. They uses aimbots. And another command is yb_aimbot 0 that will disable them to aimlock at their enemies and they will only shoot the enemy if they see their enemy. Plz make these. Its more realistic. For example like cs 1.6 normal bots, they dont have aimbot. So when we go behind our enemy, they wont see us. But for yapb, they will always know where we are😂. So plz add these two commands whether they will use aimbot or will not use aimbot. [This is optional. If u can do this, it will make us have better gameplay experience with yapb bots]. Make yapb aimlock bots to look around quick like in current version. And make yapb without aimlock to look around slower like it was an actual player slowly swiping the screen just like the normal bots in 1.6 where they look around slowly like they are swiping the screen to look. But yapb screen moves fast. U can compare how yapb bots look around and also how the normal bots look around. (Is the cs 1.6 normal bots called zbot? I am not sure so i called it as normal bots)
Make a command for yapb to use or not to use night vision and flashlight. Because i played the apk version that u send me. I see those bots use night vision. But i didnt see them use flashlight yet because i only play for 10 mins. Can u tell me they will use flashlight or not? And have u added any commands for them to allow or disallow to use flashlight and night vision?? Commands MUST BE ADDED in the yapb.cfg file or u can add the ability to buy or not to buy night vsion on the general.cfg file. Because if they use night vsion,it takes much cpu right? So add a command whether they should use it or not. This way is the best.
They switch weapon to quick! For example if a bot has usp and when he saw the deagle on the ground, and when he walks directly to it, he straight away picks it up. Can u make it more realistic? For example if the bot saw that deagle, he will throw the usp away first than only pickup the deagle. Make him throw the usp away before reaching for the deagle. Hope u can do this.
Can u make yapb bots try to shoot or knife small boxes on the floor? For example, i know that yapb will break the vent when the bot get close to it. But i tried and experiment with a map with some small flat boxes on the floor. Bots seem to ignore it. Can u make it shoot or knife small flat boxes or any normal size boxes? Try to make them knife or shoot breakeble objects more often. The best idea is to create a custom waypoint that will make that bot instantly break that object when he comes near it. A custom waypoint is suitable for this situation.
[PLZ DO THIS]. So i have said before that yapb bots at difficulty 0 and 1 does not defuse the bomb, i hope u fixed it in the next update. And also plz make yapb bots to throw grenade and difficulty 0 too. Plz do that. Now for the important part. For difficulty 0 bots, when they get flashed, make them crouch just like in the current version. But for difficulty 1, when they are flasehd, make them stand at their position when they are flashed. Dont make them crouch. When they are flashed, some bots can blindly move around and most of the bots stand still. Remember, dont make them crouch when they are flashed on difficulty 1. Only if the bot has already been crouching in a spot, and when he got flashed, he will still crouch. Hope u understand me and improve difficulty 0 and 1 with the ideas i gave.
Dont make Terrorist bots crouch during bomb planted. Here is what you can do,imagine if there are 5 Terorist and bomb is planted. Make it something like this, 1-2 bots will move around the map to search for enemies (already in current version), another 1-2 bots Stand and camp and wait for enemies to show up. And make only 1 bot that crouch camp while waiting for enemies. This is more balance. Sometimes when i play, most bots crouch camp to protect the bomb. Make them stand camp which is better and more realistic. You can make 2 bots wonder around and 2 bots stand camp and 1 bot crouch camp. Which basically mean make those bots to have a lesser chance to crouch camp. Make more chances for them to wonder and stand camp.
when enabling yb_chat 1, bots will chat, but when i change yb_chat to 0, bots dont chat but when i ask the bots to do double jump, they will send a teammate msg to me saying ok, i will help you...something like that. When yb_chat is 0, can u make them not to say that word? The "Ok i will help you" thing. Plz do it. Thanks alot
I know that yb_walking_allowed 1 means yapb bots can walk and run. And if its set to 0, they can only run. But can you make another one? Yb_walking_allowed 2, which will make them walk ONLY. Can you do this? Juts like the zbot, we can make them able to walk only. I want this feature for yapb. Can u add it? U can use different cmmand for this if you want :)
THANK YOU ONCE AGAIN. YOU HAVE MADE YAPB BETTER EVERY SINGLE TIME!
If u dont understand my requests, feel free to ask me as well. I just want yapb to be realistic and better :)
Need testers for those requested features? I will also help u test the yapb bots as well. Make the apk for me to try it and i will give u feedback :) . Yapb is still the best!

Hello. Can you please split this into separate issues.

Lord, This guy went places.


Facebook Messenger Service Update Breaks Darkmode.

The Bug
Darkmode is no longer being initialized
To Reproduce:
Update the latest version of the messenger service, and try to use darkmode.css
The problem arises at the root of the function localStorage.set() being called. Which is not a Storage interface function. See below:

(Note: This may not be the cause, but will stop the execution of any proceeding code once it fails here, that may be the cause of darkmode.css no longer working. )
The correct function of the Storage interface is .setItem(). See here.
Technical Info:

OS: Windows 10
Browser Chrome
Version v5.0.0-beta.24

This has been fixed with recent facebook service update.

This has been fixed with recent facebook service update.


Ios Build is not working 6.0.0

Lexical or Preprocessor Issue (Xcode): 'AgoraRtcWrapper/iris_rtc_cxx_api.h' file not found
/Users/xxx/development/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.0.0/ios/Classes/VideoViewController.mm:3:8

Lexical or Preprocessor Issue (Xcode): 'AgoraRtcWrapper/iris_video_processor_cxx.h' file not found
/Users/xxx/development/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.0.0/ios/Classes/TextureRenderer.mm:2:8

Can you try to run flutter clean and delete the ios/Pods folder in your project and try again?

Can you try to run flutter clean and delete the ios/Pods folder in your project and try again?

Not working

Is there any other error log? I have double-confirmed that it should be worked on my local machine and CI.

Can you try to run flutter clean and delete the ios/Pods folder in your project and try again?

Yeah still same not working same issue

/Users/ce/development/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.0.0/ios/Classes/VideoViewController.mm:4:9: fatal error: 'AgoraRtcWrapper/iris_rtc_cxx_api.h' file not found
    #import <AgoraRtcWrapper/iris_rtc_cxx_api.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    error: the following command failed with exit code 1 but produced no further output
    CompileC /Users/ce/Library/Developer/Xcode/DerivedData/Runner-eazdhrpiznvjbwephikvswziekdv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/agora_rtc_engine.build/Objects-normal/x86_64/TextureRenderer.o /Users/ce/development/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.0.0/ios/Classes/TextureRenderer.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'agora_rtc_engine' from project 'Pods')

It's sorry that 6.0.0 is not supported simulator yet.

See https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/issues/775


move vertical padding to TextInput to increase hit area

Why
The hit area on the search text input is pretty small right now. What we can do instead is make the wrapper a Pressable and call .focus() whenever we press anywhere inside the gray pill.
Test Plan
Open the app, tap around on the input. It should be a lot easier to focus now.
Also tested that the clear input button still works as well as our "select text on focus".
https://github.com/bluesky-social/social-app/assets/153161762/31c3dc26-79c4-41c2-8f3e-dc831e7908fe

I also added a bunch of other tweaks to this interaction, let's see how that feels

Select when clicking on icon too
Only show "x" when you typed something
Remove Clear button on rest (it's enough to focus it, on web you can press "x" in the field)
Added input width animation


shorter 1.5.9 payload @GarethHeyes

https://twitter.com/garethheyes/status/1017354022494330880

Thank you for the contribution. Unfortunately the payload doesn't seem to be working correctly, since it fails for Angular v1.5.9 during the unit-tests (source).


Support for offline tokens

Summary
This adds new sub-commands to minder auth which enable the usage and installation
of offline tokens. These tokens enable you to create long-lived credentials which are handy
for CI and automation cases.
Co-Authored-By: Eleftheria Stein-Kousathana<EMAIL_ADDRESS>Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[ ] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 38.375% (-0.1%) from 38.521%
when pulling 08dff6ce6dffa6326f8656e835e6d0a3f965bfd1 on offline-tokens
into<PHONE_NUMBER>be80bf2657b0e3736699922d3d4772 on main.

IMO if we're going to expose offline tokens to external users we need to show them how to revoke the tokens. In theory it's possible now through the keycloak account management, but we don't direct users there.

I agree. And Keycloak has a token revocation endpoint we could use, want me to include that as part of this PR? Was thinking of adding a minder auth offline-token revoke command.

IMO if we're going to expose offline tokens to external users we need to show them how to revoke the tokens. In theory it's possible now through the keycloak account management, but we don't direct users there.

I agree. And Keycloak has a token revocation endpoint we could use, want me to include that as part of this PR? Was thinking of adding a minder auth offline-token revoke command.

Yeah I think it should be part of this PR so we don't accidentally release a CLI version without the revocation option

@eleftherias sounds good! I'll work on that tomorrow.

Just rebased


Add backend check for deletes

Overview
This PR adds a backend check for comment deletes to ensure the only the creator can delete the comment.
Closes https://github.com/larvalabs/pullup/issues/410
Screen
On error:

Note: this shows Matt logged in, but that's an related bug fixed in https://github.com/larvalabs/pullup/commit/ecbb9cda6cd42a186f7b8348cbefe7e089ff3dce. I'm actually the user logged in here, so I should not have access to delete his comments.

I also added a check on the backed for news item deletes.


xray support

other py impls

https://github.com/racker/fleece
https://github.com/mathom/xrayvision

This would be really useful - fleece in particular looks useful since it has has built in boto instrumentation.
We've been running it in prod with cProfile for the last little, trying to debug some performance issus (which we'll be doing PRs for shortly) - and am all for adding instrumentation.
Another option would be to use opentracing instrumentation, then the WIP python xray tracer (https://github.com/nornagon/xray-python-opentracing) - since that way people could switch it out for other supported tracers if so required.


NAVISDKClient

i face some problem when i import NAVISDKClient from
import { NAVISDKClient } from 'navi-sdk';
const client = new NAVISDKClient({ mnemonic: mnemonic, networkType: "mainnet", numberOfAccounts: 1 });
it show this error in image

Try replace mnemonic with a valid string


Build llvm failed

After I specify --cache-prefix and --repos-dir, LLVM got built normally but failed to install. The error report said the error happened at https://github.com/DeadCodeProductions/ccbuilder/blob/9cd8c59dcf43dc902868d6ec371ded1bc283f698/ccbuilder/builder/builder.py#L297
I checked the cache-prefix dir, where the llvm dir got deleted somehow during installing.

Commit c82c62935be05a2ed17834a1f04faecaf13a7161 works fine. So I guess the problem is introduced by the recent commit.

https://github.com/DeadCodeProductions/ccbuilder/commit/20487b8ba600ca1a850f40baf323509e0b4ab856#r90615220
I think that's the issue.
@Quarub


[ERROR] failed on subscribe serviceMonitor: NotFound 404: the server

2019/07/25 14:57:45 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get serviceMonitors.meta.k8s.io)
2019/07/25 14:57:45 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2019/07/25 14:57:45 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2019/07/25 14:57:45 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusRules.meta.k8s.io)
2019/07/25 14:57:46 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get serviceMonitors.meta.k8s.io)
2019/07/25 14:57:46 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2019/07/25 14:57:46 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2019/07/25 14:57:46 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusRules.meta.k8s.io)
2019/07/25 14:57:48 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get serviceMonitors.meta.k8s.io)
2019/07/25 14:57:48 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2019/07/25 14:57:48 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusRules.meta.k8s.io)
2019/07/25 14:57:48 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2019/07/25 14:57:52 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get serviceMonitors.meta.k8s.io)
2019/07/25 14:57:52 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2019/07/25 14:57:52 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2019/07/25 14:57:52 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusRules.meta.k8s.io)
2019/07/25 14:57:56 [ERROR] failed on subscribe prometheus: NotFound 404: the server could not find the requested resource (get prometheuses.meta.k8s.io)
2019/07/25 14:57:56 [ERROR] failed on subscribe prometheusRule: NotFound 404: the server could not find the requested resource (get prometheusRules.meta.k8s.io)
2019/07/25 14:57:56 [ERROR] failed on subscribe alertmanager: NotFound 404: the server could not find the requested resource (get alertmanagers.meta.k8s.io)
2019/07/25 14:57:56 [ERROR] failed on subscribe serviceMonitor: NotFound 404: the server could not find the requested resource (get serviceMonitors.meta.k8s.io)

@zh88236 I've got the same on Rancher 2.2.8. Do you remember what was that and how you fixed it?

me too some one know how to fix it ?

If you encounter this problem, then most likely you have activated cluster monitoring in the Rancher in the past. But then, for some reason, it was turned off incorrectly or broken. You may have removed the CRDs.
In my case, helped to activate the cluster monitoring again in the Rancher UI and then, when the monitoring is activated, you can disable it.
After that, the errors disappeared, and the UI started working very quickly and well.


init() takes 2 positional arguments but 3 were given

Wed, 09 Oct 2019 11:22:21 INFO     PlantGateway version 0.6.2
Wed, 09 Oct 2019 11:22:21 INFO     loaded config file from /root/.plantgw.yaml
Wed, 09 Oct 2019 11:22:21 INFO     Getting data from sensor myplant
Wed, 09 Oct 2019 11:22:21 ERROR    could not read data from 11:22:33:44:55:66 (myplant) with reason: init() takes 2 positional arguments but 3 were given
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/plantgw/plantgw.py", line 263, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.7/dist-packages/plantgw/plantgw.py", line 239, in process_mac
poller = MiFloraPoller(sensor_config.mac, BluepyBackend)
File "/usr/local/lib/python3.7/dist-packages/miflora/miflora_poller.py", line 37, in init
self._bt_interface = BluetoothInterface(backend, adapter)
TypeError: init() takes 2 positional arguments but 3 were given
could not read data from 11:22:33:44:55:66 (myplant) with reason: init() takes 2 positional arguments but 3 were given

bluepy-1.3.0 btlewrap-0.0.7 miflora-0.5 paho-mqtt-1.4.0 plantgateway-0.6.2 pyyaml-5.1.2 typing-<IP_ADDRESS>
Python 3.7.3

I am having this exact same problem.
could not read data from C4:7C:8D:63:CA:79 (front-door-plant) with reason: init() takes 2 positional arguments but 3 were given
bluepy (1.3.0), btlewrap (0.0.7), miflora (0.5), paho-mqtt (1.4.0), plantgateway (0.6.2), PyYAML (5.1.2), typing (<IP_ADDRESS>)
Python 3.6.8

I can't test it right now, but I guess it was a problem in the btlewrap library. Can you try to upgrade to v0.0.8:
pip install --upgrade btlewrap==0.0.8

Sorry too fast. Please DOWNGRADE to version 0.0.4
pip remove btlewrap
pip install btlewrap==0.0.4

I downgraded to btlewrap 0.0.4 and still getting the error when running plantgateway. Anything else I should be doing? Do I need to restart my raspberry pi?


Tree sitter for syntax highlighting

Describe the feature
From the site:

Faster, fine-grained code highlighting.

More flexible code folding.

Structural editing (like Paredit, or even better) for non-Lisp code.

More informative indexing for imenu.

Link: https://github.com/ubolonton/emacs-tree-sitter

System information

```
SYSTEM  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /usr/bin/fish
        uname      Linux 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64
        path       (~/.local/bin /usr/local/bin /usr/local/sbin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /usr/lib/emacs/27.1/x86_64-linux-gnu)
EMACS   dir        ~/.emacs.d/
        version    27.1
        build      Sep 19, 2020
        buildopts  --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --program-suffix=27 --with-modules --with-file-notification=inotify --with-mailutils --with-harfbuzz --with-json --with-x=yes --with-x-toolkit=gtk3 --with-lcms2 --with-cairo --with-xpm=yes --with-gif=yes --with-gnutls=yes --with-jpeg=yes --with-png=yes --with-tiff=yes --with-xwidgets 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs27-bifpWT/emacs27-27.1~1.git86d8d76aa3=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie'
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
        traits     (batch envvar-file)
DOOM    dir        ~/.dotfiles/emacs/.doom.d/
        version    2.0.9
        build      HEAD -> develop adff1aa68 2020-10-22 02:10:59 -0400
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline (popup +defaults) treemacs vc-gutter workspaces :editor (evil +everywhere) file-templates fold (format +onsave) snippets :emacs dired electric undo vc :term vterm :checkers syntax :tools (eval +overlay) lookup magit lsp pdf :lang (dart +flutter +lsp) emacs-lisp (javascript +lsp) markdown org (python +lsp) sh (web +lsp) yaml :config (default +bindings +smartparens))
        packages   ((atom-one-dark-theme) (doom-themes :disable t))
        unpin      (n/a)
        elpa       (n/a)
```

Ok, so I did some testing with a custom module and I found that treesitter performed much better than the default that was used,
(rjsx-mode) and syntax highlighting was a bit better too.

I already have plans to add it, but am currently swamped. I'll let you know here when I've made progress with it.

Related: https://hungyi.net/posts/use-emacs-tree-sitter-doom-emacs/

This issue has been automatically marked stale because of a lack of recent activity. If this issue is still valid, reply to it or remove the label or it will be closed in 7 days.

Since @hlissner have added this issue to his plan, this issue is still valid.

Has someone a better workaround to install emacs-treesitter on NixOS with doom-emacs? We already have all grammars sitting in pkgs.tree-sitter.builtGrammars while these pre-build shared libraries won't work without patching.

@Mic92 I believe this should be clarified on the [https://github.com/ubolonton/emacs-tree-sitter](emacs-tree-sitter] repository.

@Mic92 I believe this should be clarified on the emacs-tree-sitter repository.

Well the canonical answer on NixOS would be to use emacsPackages or the emacsOverlay that can override those packages. However with doom this is not possible as it has its own builtin package management, which downloads pre-build binaries with no obvious way of overriding this behavior.

However with doom this is not possible as it has its own builtin package management, which downloads pre-build binaries with no obvious way of overriding this behavior.

I don't understand what you mean. Doom does not download pre-built binaries directly. It downloads and installs Emacs packages. Anything more than that is because the package's (M)ELPA recipe tells it to do so, which can be changed by changing the :files property for a package's recipe. If the package is building, say, shared libraries in Doom's load-path, then prepending the path to pkgs.tree-sitter.builtGrammars's should be a trivial.

However with doom this is not possible as it has its own builtin package management, which downloads pre-build binaries with no obvious way of overriding this behavior.

I don't understand what you mean. Doom does not download pre-built binaries (not directly anyway). It downloads and installs Emacs packages. Anything more than that is because the package's (M)ELPA recipe tells it to do so, which can be changed by changing the :files property for a package's recipe. If the package is building, say, shared libraries in Doom's load-path, then prepending the path to pkgs.tree-sitter.builtGrammars's libraries to load-path should be a trivial.

Not so trivial to me. But I finally solved it. Here is the code for home-manager: https://github.com/Mic92/dotfiles/commit/87d5c4af6ffd190daa92eea153fee77c7cdeb661

For what it's worth, I've followed this post to (I think) add tree-sitter to doom: https://hungyi.net/posts/use-emacs-tree-sitter-doom-emacs/
I say "I think" because running doom sync returns:
Regenerating envvars file at "~/.emacs.d/.local/env"
      ✓ Successfully generated "~/.emacs.d/.local/env"
      Error (use-package): Cannot load tree-sitter
      Error (use-package): Cannot load tree-sitter

I use a literate config that tangles package definitions to packages.el that looks like this:
Implements Tree-Sitter
#+begin_src emacs-lisp
(package! tree-sitter)
(package! tree-sitter-langs)
#+end_src
Enable Tree-Sitter
#+begin_src emacs-lisp
(use-package! tree-sitter
  :config
  (require 'tree-sitter-langs)
  (global-tree-sitter-mode)
  (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
#+end_src

Running M-x tree-sitter-mode enables tree-sitter without any errors.
Anyway, I hope this is helpful

If you notice henrik's private config, it has a module for treesitter. I've been using it for a while now with no issues, hoping it will be merged soon

I had no issue with the guide linked in the previous comment.

For what it's worth, I've followed this post to (I think) add tree-sitter to doom: https://hungyi.net/posts/use-emacs-tree-sitter-doom-emacs/
I say "I think" because running doom sync returns:
Regenerating envvars file at "~/.emacs.d/.local/env"
      ✓ Successfully generated "~/.emacs.d/.local/env"
      Error (use-package): Cannot load tree-sitter
      Error (use-package): Cannot load tree-sitter

I use a literate config that tangles package definitions to packages.el that looks like this:
Implements Tree-Sitter
#+begin_src emacs-lisp
(package! tree-sitter)
(package! tree-sitter-langs)
#+end_src
Enable Tree-Sitter
#+begin_src emacs-lisp
(use-package! tree-sitter
  :config
  (require 'tree-sitter-langs)
  (global-tree-sitter-mode)
  (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
#+end_src

Running M-x tree-sitter-mode enables tree-sitter without any errors.
Anyway, I hope this is helpful

Thanks for this guide! Do we need to disable previous syntax highlight modules or does emacs automatically do that?

@kujohn if you followed the guide, tree sitter will be enabled out of the box.

I tried this on:
  GNU Emacs     v28.1            nil
  Doom core     v3.0.0-dev       HEAD -> master, origin/master 6bf725837 2022-04-26 03:58:14 +0200
  Doom modules  v22.04.0-dev     HEAD -> master, origin/master 6bf725837 2022-04-26 03:58:14 +0200

Emacs starts up and freezes; I have to force quit.

Ach, corp firewall got in the way of treesitter cloning from github.  --debug-init let me see what was happening; all fixed now.


Remove legacy qasm2 parser

Summary
This commit removes the legacy qasm2 parser. This was the original qasm parser in qiskit dating back to the very beginning of the project, but it has been superseded in recent releases by the faster more correct/strict rust parser. We no longer need to keep around two parsers for qasm2. This commit removes the legacy one and it's associated functions (like the ast converter).
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.1%) to 86.573%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
1
91.92%

crates/qasm2/src/parse.rs
6
97.6%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
65269

Relevant Lines:
75392

💛  - Coveralls

The open question for me here is what we want to do about the pygments formatter? (Which is the source of the lint failures). Do we remove the argument from the exporter or do we add openqasm-pygments to the optionals list. Personally I would be in favor of just removing the argument I think.

The other choice about Pygments in the near term is to change it to look up qasm2 by lexer alias, and fallback to unformatted text if there's not one present.  That way, if openqasm-pygments is installed, it'll all just work (because it registers with the Pygments entry points), but doesn't mean that Qiskit has a dependency on any particular lexer.

Yeah, the randomised tests just need to switch to using qasm2.dumps instead.


Implement robust estimates for expected returns

Compare with equation (4.6) in the paper by Boyd, Kahn, et al

This problem is addressed in https://github.com/cvxgrp/cvxmarkowitz/issues/5


[BUG] critical Flashcards issue (editing while reviewing flashcard)

Describe the bug
Flashcard`s edit feature replaces a good chunk of text with "undefined".
To Reproduce
Steps to reproduce the behavior:
precondition: option "Convert ==highlights== to clozes?" is checked

(i dont know if the error occurs with other options: bold or {{curly}})

have something marked with highlighter "==text=="
review flashcards
click "edit flashcard"- button
dont change anything (abort editing)
some text below or in the highlight gets replaced with "undefined" (you can see the "undefined" popping up if you have the right note open at the right place in the background of review window)
you CANT "undo" this action like you can if you change text yourself
text is lost and maybe you didnt even notice

Expected behavior
some text (the highlight or something after the highlight) gets irreversibly changed to "undefined"
Versions:

OS: win10
Obsidian version: 1.4.16
Plugin version: 1.10.4
If on desktop, Installer version:
'5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.4.16 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36'

Additional context
==example text== and this text here
and here
and here
(and this too): will be deleted (replaced) to the very bottom of the note. so if youre unlucky the whole note gets irreversibly "replaced" and only text above the highlighted text remains

Hi @Ankharna, I could reproduce after clicking "save" but not "cancel"
In any case, I should be able to fix in the next day so, would be great is you could then Beta test before I request that @st3v3nmw  merges into the main branch.
Cheers
Ronny

@ronzulu
Sure will do!

@Ankharna, I think I've fixed this, but am not 100% sure.
I could only get the problem to happen intermittently (before the fix), hence my lack of confidence.
Anyway if you could please try the following:
main.zip
Copy the main.js to the plug-in subfolder of your vault Your-Vault\.obsidian\plugins\obsidian-spaced-repetition. You will need to reload the plug-in (or restart obsidian) for it to take effect.
Cheers
Ronny

@ronzulu
hey, i tried it with hightlight, bold and curlies. the issue seems to be fixed!!
good stuff, thank you!
i created a test vault for this, but i copied .obsidian folder and applied your fixed file.
i didnt expect to receive a solution so fast :)

Glad the fix worked 😄 I've put in a merge request so that it can be included in the next release.
Cheers
Ronny


Support for SSL - WSS

Dear Author,
Great work on this- I was able to compile this module on a toolchain
Continuing along, I am not able to connect to WSS sever. How can I make this to code work for SSL support. What extra library is required for this.
I installed openssl-util, libopenssl as well but not able to succeed
Any advice on this greatly appreciated
Sincere Regards,
BREL

Hi,
an "easy" way to get WSS (and maybe event proxy support) to work is to use libcurl for the https connection. See here for example: https://github.com/donpillou/MegucoData/blob/master/Src/Markets/Tools/Websocket.cpp
(Unfortunately, this code depends on another library, hence it is probably not suitable for everyone.)
Best regards,
Donpilou.

Dear Author,
Thank you very much for the reply, deeply appreciated.
As advised, I am started compiling the new wss code for the tool chain,  unfortunately it is bringing dependency on libnstd and new make file type Mare. hummm
Any thoughts, why we are not using standard C++ library instead of libnstd and Makefile instead of Marefile
Sincere Regards,
BREL

Hi,

Any thoughts, why we are not using standard C++ library instead of libnstd and Makefile instead of Marefile

This was my personal choice. (I hate STL for various reasons and I needed a Visual Studio project file generator.) The code is just example that should show you how libcurl can be used. I do not recommend using it as it is right now. You are welcome to port this code back to the C++ Standard Library and to use the build system of your choice.
Best regards,
Donpillou.

@srini-murthy, the lack of wss support is a limitation of the current design of easywsclient. You can do what some other people have done, like @donpillou above or what @ahtsiu did in #29 (9111a6af972c4479efa7a36172dacab9b). There is a new design described in #31, which will permanently fix this issue, but there is no ETA on the new design yet.

Dear Author,
Sorry for the late reply, I was on vacation with my family.
Thank you very much for the reply with needful information
I will work through this and revert back any questions.
again, much appreciated
High Regards,
BREL

Has there been any movement on this?
I'm looking for a websocket library to use for a project of mine as this one seems to be a perfect fit, but I need support for SSL.

+1 on ssl

I also need wss/ssl, but the various workarounds above don't seem to work anymore or use the non standard lib.
This is a great little websocket client compared to all the big and difficult to use libs. Hope the project can come back to life!

I now believe @ahtsiu 's code works but the URL parser (the conditional statements around line #475 of easywsclient.cpp) doesn't support wss. Commenting those lines out and hard coding values worked ok.

I confirm that @ahtsiu 's code works  without any URL parser problem.

Howdy, we just open-sourced a library that is based on easywsclient, which has SSL support on macOS, iOS (AppleSSL) and Linux (OpenSSL).
We essentially just made what was proposed in #31 / I added an abstraction for a socket. The code does not compile on Windows though.
There are other changes too, such as the use of a background thread which take care of receiving the messages, while the 'main thread' start + stop the connection, and can send messages.
Thanks a ton for this super simple library which we used as a base and got us where we are today. I like the 'zero dependency' of easywsclient. Our lib also doesn't depend on much, only the platform stuff. No boost dependency for example.

Forgot the link ... https://github.com/machinezone/IXWebSocket

I've created my own library based on this project and GameSparksSDK, and it supports wss !!
the link is
https://github.com/rottor12/WsClientLib
currently it is targeting Windows environment
@Quinny @rawmaterials

I took a look at your lib @rottor12 / it's interesting to see practical uses of mbedtls.

@bsergean actually it complements your IXWebSocket lib as it is aimed at windows environment
I want to keep it small and simple, currently it is below 1000 lines of code

Yep I love the simplicity of easywsclient / I'm sure that many people have used it as a base for different things, such as your library or mine.
I've been wanting to add windows support for IXWebSocket but my main blocker is that I don't have a windows box :)


WFLY-5150 upgrade to Hibernate 5.0.0.Final

Linux Build 7683 is now running using a merge of bbc8ebfab363bdef72292e09c9093ca9d224a774

Linux Build 7683 outcome was SUCCESS using a merge of bbc8ebfab363bdef72292e09c9093ca9d224a774
Summary: Tests passed: 3117, ignored: 364 Build time: 00:50:06

Retest this please

Linux Build 7718 is now running using a merge of bbc8ebfab363bdef72292e09c9093ca9d224a774

Linux Build 7718 outcome was SUCCESS using a merge of bbc8ebfab363bdef72292e09c9093ca9d224a774
Summary: Tests passed: 3117, ignored: 364 Build time: 00:52:35


Improve documentation for standalone scripts

It took me a bit of time to figure out why my standalone script did not work (and ultimately I got here), so here's a little improvement.

Thank you!


fix bug not to trim space of login username

will fix #1790 and back port from #1796

LGTM

LGTM


Fix typo in README

This PR contains:

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

What is the current behavior? (You can also link to an open issue here)
https://github.com/UKGovernmentBEIS/inspect_ai/issues/10
What is the new behavior?
Typo has been fixed
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information:

Thanks, we resolved this in our last release commit: https://github.com/UKGovernmentBEIS/inspect_ai/commit/671a239f13fe2706f89ffccaf5ac5eef86958fc3


Bug: Not able to read code in IOS

Capacitor version:
Latest Dependencies:
@capacitor/cli: 2.0.1
@capacitor/core: 2.0.1
@capacitor/android: 2.0.1
@capacitor/electron: 2.0.1
@capacitor/ios: 2.0.1
Installed Dependencies:
@capacitor/electron not installed
@capacitor/cli 2.0.1
@capacitor/core 2.0.1
@capacitor/ios 2.0.1
@capacitor/android 2.0.1
Library version:

2.0.0

OAuth Provider:

Other: (Salesforce)

Your Plugin Configuration
{
   ios: {
        appId:'xxx',
        responseType: 'code',
        redirectUrl: 'myapp://oauth/',
        scope: 'api id web refresh_token',
        accessTokenEndpoint: 'xxxxx',
      },
}

Affected Platform(s):

iOS

Current Behavior
Not able read the "code" from URLevent if code is available in URl   please check below log
Other Information
log:
{"iosSourceApplication":"com.apple.SafariViewService","url":"myapp://oauth/?code=aPrxI_ssdsdsdsdssdsdMHl1WjMBOJmM8s.froERJSun6dM7YN5EGAxSvy0oqV0FSFL33KIg%3D%3D&state=mKQ2VrcoxkyhAaXKH9FM&
⚡  [log] - App opened with URL: myapp://oauth/?code=aPrxI_shXQqE3OxcxcxcxccM_rwWU02MHl1WjMBOJmM8s.froERJSun6dM7YN5EGAxSvy0oqV0FSFL33KIg%3D%3D&state=mKQ2VrcoxkyhAaXKH9FM&sfdc_community_url=https%3A%2F%2Fbmpdev-sigep.cs124.force.com%2FBMP&sfdc_community_id=0DB3J0000008OMCWA2
@byteowls/capacitor-oauth2: Authorization failed with The operation couldn’t be completed. (OAuthSwiftError error -11.).
ERROR MESSAGE:  {"message":"ERR_NO_AUTHORIZATION_CODE","errorMessage":""}
⚡  [error] - OAuth rejected {"message":"ERR_NO_AUTHORIZATION_CODE","errorMessage":"","line":224,"column":23,"sourceURL":"user-script:2"}

This is known see #13

@tinahir What I though before might be not right, therefore a few more question.
What do you want to achieve?
a) If you want to get only the code, that would be not possible on iOS because of #13
b) Full code flow. Try setting pkceEnabled to true because a real code flow is not support, as storing secrets on the client is a bad idea.
Does it work on other platforms?
I have no experience with Salesforce so I need as much information as you can get me, please try to debug ios.

Closing as user not replied.


Add topic online-judge

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[ ] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Online Judge is a system used by many computer competitive programming contests like ICPC and so on. There is a lot of good online judges currently on GitHub like QingdaoU / OnlineJudge and zhblue / hustoj. A good topic description may help other people find out about those awesome projects.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Already updated.


Add toggle functionality for displaying and hiding uploaded research files

What does this PR do?
This PR adds functionality to toggle the visibility of the uploaded research files.
When the user clicks 'View,' the list of uploaded files is shown, and the 'Hide'
button replaces 'View.' Clicking 'Hide' hides the list of files and restores the
'View' button.
Why is this important?
Previously, the list of files would append itself every time the 'View' button was clicked,
resulting in duplicate entries. This toggle functionality resolves that issue.
How to test?

Upload a file.
Click 'View' to display the uploaded file list.
Click 'Hide' to remove the file list and return the 'View' button.

Notes:

[ ] Ensure that after uploading a new file, the list updates as expected without duplicates.
Closes issue #3

Please make sure that you should reference the issue like this  Fixes #<issue_number> or Closes #<issue_number>  Don't add any word in between github will not closes the issue when the PR is merged

Fixes #19


Breadcrumb Navigation

Сan you add an easy way to Breadcrumb Navigation?
I think it looks very convenient
Of course it needs some improvement
https://github.com/Jurij15/WinUI3BreadcrumbNavigationSample/tree/master
https://streamable.com/xnzmzh

If you have used https://github.com/winUICommunity/WinUICommunity-Templates, we have used a breadcrumb control for settings page

I refactored it a bit yesterday to make it easier to use
https://github.com/WinUICommunity/WinUICommunity/blob/main/dev/Components/Controls/Navigator/BreadcrumbNavigator.xaml
I will check your links and if I find something useful, I will definitely add it to the components library.

Done


Export code to Lean Prover

As in #195 we have to reorder the recursion data.

This will be relevant in the distant future. One may even prefer to target Isabelle/HoTT.  So closing for now


Little wierdness with marker when input is embedded in label and label text surrounded by span

I was trying out a few variations (see: https://codepen.io/rouilj/pen/XWLzvOQ) and I noticed that
<form-required-if conditions="email=*" indicator="*">

    a label
    <input type="text">

</form-required-if>

places the marker before the span'ed text label. But:
<form-required-if conditions="email=*" indicator="*">

    a label
    <input type="text">

</form-required-if>

places it after the text label (and the label is snugged up to the input, unlike the span case where there is
some space (maybe 1em??).
Also IIRC some screen readers/assistive devices have issues when the label wraps the input and
would prefer the markup to be:
<form-required-if conditions="email=*" indicator="*">
   Required if there’s an email value
   <input type="text" id="text" name="depends-on-email-or-test">
</form-required-if>

This works and also puts the indicator after the label.
Also I just spent over an hour trying to get codepen to play nice and import the component directly from
github using cdn.rawgit.com but I ended up having to copy/paste your component, so it will stay broken until
I repaste.

I was trying out a few variations…

I’ll play with some other markup patterns to see if I can come up with a more robust insertion process that gracefully handles other elements being inside the label.

Also IIRC some screen readers/assistive devices have issues when the label wraps the input

Do you have a resource that backs this up? For a long time I used the separate approach for labels & fields on everything but radio & checkbox inputs. IE was the only browser that had issues with implicit association (as opposed to explicit association via for), but that was back in the IE7 days. I don’t believe it’s an issue now, but if you can point me to a reputable source that indicates the contrary, I’m keen to read it.

I think you are correct. All browsers do the right thing with implicit linking.
Not all assistive tech does. I am looking at: https://a11ysupport.io/tests/html_label_element_implicit (updated feb 2024).
It looks like the accessible label is reported ok. However for Dragon and Voice control on a mac you
can't say "click label".
If you use for on the label and id on the input to explicitly link them, it looks
like it works even if nested. https://a11ysupport.io/tests/html_label_element_explicit.

Did 682d89958fef handle the wierd placement of the required marker that triggered this issue?

Yes. See the updated demo.


fix zap requirements

This is fixes ZAP in v1 by pinning python requirements to the older, working ones.
Closing #67

@mgreisen  - we'll need to do a release with this one. Release new CLI and user has to run
python raft.py service upload-tools
in the new CLI (with existing defaults.json) to get ZAP working again


Keyboard shortcut or command to enable/disable neovim plugin?

Hi, I'm looking for a way to temporarily disable vscode-neovim while pairing with someone who's not a vim user. Is this possible? I couldn't find any existing command.
(it seems it's possible with VSCodeVim).

Duplicate of #101


check for Promise on window

We can’t just check for typeof Promise === “function” for reliance on native promises, because Promise is the declared name of the entire Class and therefore will be considered undefined. If we check against self.Promise, we’ll know that teh scope that we’re checking in is at least a worker or window scope, and we'll be able to utilize those native Promises.
FYI, this means that native promises were never really being used previously, and were always using to the Ractive version.
To test, put a breakpoint inside the ractive cdn latest at line 350, and check typeof Promise in the console there.
The other option for this is to change the name of the class from Promise to something else.

I note the appveyor fail, but following the link doesn't give me a ton of insight as to why it failed.

@bbudd Thanks very much for the PR, though I'm fairly sure this is fixed in edge already? There was a bug introduced by the build process, whereby the internal _Promise name would be replaced with Promise (because of the module's filename), thereby shadowing the native Promise, but that's since been fixed. You can confirm this with Ractive.Promise === window.Promise: http://jsfiddle.net/5k0ha7t4/
You can safely ignore the AppVeyor thing - for some reason the build process isn't working on Windows (it works locally for me in a VM, but  ¯\_ (ツ) _/¯ Windows). There's an open issue for it - #1716

Great, thanks @Rich-Harris  - any idea when it will be up in master?

The million dollar question... I'm on record as saying 'fairly soon', which hopefully means next couple of weeks!

Closing as this is fixed in v0.7


Add link for New Relic

@mogul I'm now seeing a merge conflict here. What's our process for this? Should I fix, or you?


Deploy Dev Version of site to Github Pages

@alebanzas - should we work have a Dev version?

Completed - deployed to staging server for Gnosis


[Extensions] Migrates Search, SearchResults and SearchADTasks action to extensions

Description
This PR migrates SearchDetector, SearchResultAnomalyDetector and SearchADTasks to extension for GET and POST request.

[x] Tested Search Detector for GET and POST.
[ ] Search Anomaly Detector Result - Blocked by https://github.com/opensearch-project/opensearch-sdk-java/issues/626
[x] Tested Search AD Tasks

Issues Resolved
Part of https://github.com/opensearch-project/opensearch-sdk-java/issues/376, https://github.com/opensearch-project/opensearch-sdk-java/issues/377 and https://github.com/opensearch-project/opensearch-sdk-java/issues/380
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #849 (bc315cd) into feature/extensions (8a7cd0f) will decrease coverage by 0.04%.
The diff coverage is 1.63%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                   Coverage Diff                    @@
##             feature/extensions     #849      +/-   ##
========================================================
- Coverage                 35.97%   35.93%   -0.04%
- Complexity                 1915     1916       +1
========================================================
  Files                       299      299
  Lines                     17614    17636      +22
  Branches                   1860     1859       -1
========================================================
+ Hits                       6337     6338       +1
- Misses                    10823    10845      +22
+ Partials                    454      453       -1

Flag
Coverage Δ

plugin
35.93% <1.63%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/opensearch/ad/AnomalyDetectorExtension.java
0.00% <0.00%> (ø)

...a/org/opensearch/ad/rest/AbstractSearchAction.java
0.00% <0.00%> (ø)

...rg/opensearch/ad/rest/RestSearchADTasksAction.java
0.00% <0.00%> (ø)

...earch/ad/rest/RestSearchAnomalyDetectorAction.java
0.00% <0.00%> (ø)

...nsearch/ad/rest/RestSearchAnomalyResultAction.java
0.00% <0.00%> (ø)

...g/opensearch/ad/transport/SearchADTasksAction.java
0.00% <ø> (ø)

...rch/ad/transport/SearchADTasksTransportAction.java
0.00% <0.00%> (ø)

...arch/ad/transport/SearchAnomalyDetectorAction.java
0.00% <ø> (ø)

...ransport/SearchAnomalyDetectorTransportAction.java
0.00% <0.00%> (ø)

...search/ad/transport/SearchAnomalyResultAction.java
0.00% <ø> (ø)

... and 2 more

... and 2 files with indirect coverage changes


Add support for downloading an image of generated cards

Add a way to capture an image of a generated card. The image should include the explanation if the "Explain Yourself" setting was used.

heya iv been using your site for many months now and was wondering if you still have plans to finish this feature. it would be really nice. hecc perhaps you could go a step further and let us export our my cards area as a .mse (magic set editor) file. this would be amazing. (also let me know if you have a patreon or something a project like this deserves at least some coffee money.


ATI stream header detection

Minor fix to allow building on ATI stream API (added ATI standard header path)

Reviewing, though I don't have an environment set up at the moment to cross check the changes.

Yes, referring to the above device comment, when targeting only GPUs it breaks the usability on platforms without GPUs, but have other devices such as intel processors. (such as this laptop)
on your branch when trying to rake test I get
/Users/clundquist/code/ruby/barracuda/test/../ext/barracuda.bundle: failed to create a device group. (Barracuda::OpenCLError)
from /Users/clundquist/code/ruby/barracuda/test/test_buffer.rb:4
from /Users/clundquist/.rvm/gems/ree-1.8.7-2011.03/gems/rake-<IP_ADDRESS>/lib/rake/rake_test_loader.rb:10:in require' 	from /Users/clundquist/.rvm/gems/ree-1.8.7-2011.03/gems/rake-<IP_ADDRESS>/lib/rake/rake_test_loader.rb:10 	from /Users/clundquist/.rvm/gems/ree-1.8.7-2011.03/gems/rake-<IP_ADDRESS>/lib/rake/rake_test_loader.rb:9:in each'
from /Users/clundquist/.rvm/gems/ree-1.8.7-2011.03/gems/rake-<IP_ADDRESS>/lib/rake/rake_test_loader.rb:9
from /Users/clundquist/.rvm/gems/ree-1.8.7-2011.03/gems/rake-<IP_ADDRESS>/lib/rake/rake_test_loader.rb:4:in `select'
from /Users/clundquist/.rvm/gems/ree-1.8.7-2011.03/gems/rake-<IP_ADDRESS>/lib/rake/rake_test_loader.rb:4
While on master tests run successfully.
Would you like to update this to check for GPUs first and then fall back to any device or shall I?

No problem, this is a great thing to catch. I was trying to find a way to query for GPU's first then fall back, but this resulted in failing tests on my laptop. I will just revert it back to ALL based on your findings.
Thank you!
Chris Lundquist

This should be merged in, but it wasn't my most beautiful merge.
It turns out I dorked up some things on master by committing experimental work accidentally from when I was fixing compilation warnings.
I resolved the differences and grabbed your commits. Please let me know if there is anything that I missed.
So there is always more than one way to do merging and pull requests, but one of the more common procedures I've seen is.
fork project
checkout your fork
git checkout -b feature-branch master

git push origin feature-branch
pull request from feature branch
Having the work in a separate branch makes it a little easier to work with. My goal here is to educate, not to berate. Here it was really my fault for borking up the merge. I was trying to get too many things out the door too quickly.
Thank you!
Please let me know if there is anything I have overlooked as I don't have an environment to test these specific changes.
Chris Lundquist


Identify tasks for each dataset

Identify tasks for each of the datasets to evaluate models on. For eg: Fineweb-edu is a large text corpus. What text-based task should a model be evaluated on after being fine-tuned on Fineweb-edu?

Done (https://docs.google.com/document/d/1oJkmtev7s6K-PqV5Ium9XVGC2wPcVxBUhvGj41BWlW8/edit), pending feedback from Benchmark experts and authors


HALON-690: Support process multiplicity

Created by: nc6
This gives a much easier way to handle process multiplicity, as is needed for s3server (e.g. they want to create multiple processes for s3server).
In addition, to facilitate this, we create a proper encoding of LNET addresses and endpoints.

Closing as an obsolete


n-queen.py

This Python approach tackles the N-Queens problem using backtracking. The objective of the N-Queens problem is to place N queens on an NxN chessboard in a way that no two queens threaten each other, meaning they can't share the same row, column, or diagonal. The code provides a backtracking algorithm to find a valid solution. It checks for safe positions to place queens while recursively exploring different possibilities. If a valid solution exists, it returns the chessboard configuration; otherwise, it returns an empty board. The code also includes an example usage for N=8 and prints the solution or indicates if no solution is found. This approach can be applied to find solutions for different board sizes by adjusting the value of N.

N-queens using python


fix for MacOS compile

Fixed printf() format for MacOS M1 compile.

FYI, I've reworked some of these patches and merged the functionality locally, as well as added what I think is correct support for the EEPROM enable option, but I'm waiting to hear back from SainT regarding issues I'm having testing everything both using open_jaggd and the official windows jaggd before I push it.

Closing. Release 1.0.1 contains a superset of this functionality, but as noted, I ended up rewriting much of it.


Using an invalid subcommand should exit with a non-zero exit code

% keybase notasubcommand
No help topic for 'notasubcommand'
% echo $?
0

This is an error, so the exit code should be non-zero.

True, we'll try to fix it soon!


:arrow_up: update scala-library from 2.13.5 to 2.13.13

About this PR
📦 Updates org.scala-lang:scala-library from 2.13.5 to 2.13.13
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala-library" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Summary by CodeRabbit

Chores

Updated Scala version to enhance performance and compatibility.

Superseded by #92.


Variable Dimensions need to be added

Event Card Length, Drawer Header and Collapsing Toolbar heights in both Activities should be varied according to device's dimensions.

Used
android:layout_height="wrap_content"
android:adjustViewBounds="true"
instead of hardcoded height


Sending all matching policies within the range of clock skews

cc @cw9 @jeromefroe @robskillington @martin-mao @prateek
This PR adds logic to send all matching policies between [now-clock_skew, now+clock_skew) to the aggregation tier and let the agg tier decide which one to pick in order to handle clock skews between the collectors and the agg tier.

Coverage increased (+0.02%) to 98.184% when pulling d4ad490fff7d8bd4fb1c27038463c5e17cb091a1 on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.1%) to 98.305% when pulling e1671f2b9ba5d984958c029499f4fbb8f021e040 on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.2%) to 98.366% when pulling 83a8fd73ada5f1a51eebf6c6d8ae480324fe8795 on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.2%) to 98.366% when pulling dfb68233f7c96ee909845bc26146cce4b66e609d on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.1%) to 98.305% when pulling 9f0d83314b6a97b6960c2139b170006ab14ea8c1 on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

LGTM to me as well

Coverage increased (+0.1%) to 98.305% when pulling 7422699db258d6da897e10a7259b691e1e54408a on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.1%) to 98.305% when pulling 7422699db258d6da897e10a7259b691e1e54408a on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.2%) to 98.366% when pulling 8ca0018498995bc2d08e50ce4769dca0c6d9c144 on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.

Coverage increased (+0.1%) to 98.305% when pulling 69d81607b0c34c605fcd39dcc15dbabac992ce30 on xichen-dual-write-policies into d09c796c98c68d3c9e4748627267a32c767442c9 on master.


Merge pull request #564 from iKostanOrg/master

Merge from master

@sourcery-ai review

@sourcery-ai review


Git Challenges not available

Challenge Save your Code Revisions Forever with Git has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
In the challenge description, there are, from line 15, 11 steps that need to be done but none of these challenges seem to be available in the FCC Map area. In the FreeCodeCamp MAP area, there is only 1 Git Challenge available. That is "Save your revisions forever with GIT". The "Git" area says it takes 3 hours to do the Git challenges but there is only the only one Git challenge available. I am signed in (as user 'pfs32') but can still see only the one issue. Am I doing something wrong? Please help. Thanks.

Thanks for your help. Paul

With no help from FreeCodeCamp, I figured out how to do the required challenges. It's a good thing FCC is free or I would stop using this thing.