Restructure demo

Is this a BUG REPORT or FEATURE REQUEST?:
bug | feature
What happened:
Huge index page without a full structure.
What you expected to happen:
Structured demo.
Something along the lines of:
/ <- see below
fragments/$fragment
background-color/
dev/ <- all testing related stuff

The general idea is to split up each fragment into its own subpage.
Each of these subpages then showcases the various variations of said fragment.
Additionally we could add /background-color/ to showcase the background colors.
The index page would consist of:

hero
items to explain the features
table or content to give an overview of the current fragments and link to the various subpages
newsletter
copyright

The menu should probably reflect that new structure and basically link to home, imprint/about
Later (when list pages are implemented) we could add links to /fragments and /dev, which just list the subpages of these.
Anything else we need to know?:
First actionable item from meta issue #206
Just a first thought. Happy to discuss this in more detail before someone implements it.

Regarding this issue. I'll like to take this on. Currently the structure is a bit confusing i agree. What we have now is along the lines of:
<_index/
awesome-team
hero
items
portfolio

With some other content files not having a directory if their own.
You talked about adding background, does that mean having a seprate folder with all the background variations for a particular fragment?

Yeah there are a few issues with the current way we use the member and items fragment data, but that is a separate issue.
I think the first thing we should do is split up the current demo into
dev/
background/ <- As you said showcasing the backgrounds possible. Maybe with the item fragment and iterate through all the backgrounds.
fragment/member/ <- This would showcase both the single member and team member fragment option. Basically each fragment has its own subpage and on that page we can showcase the various options of that specific fragment. Splitting it up further seems too fractured.
The index/root page could in a first step be a general overview of the features using the items fragment and a table with the available fragments, a link to the demo and a link to the code? and a small explanation or so.

With permission from @lauragift21 I'm working on this issue.
I've created a new section called fragments and added each fragment from _global and _index directories to separate pages, each containing different examples of the same fragment. Also I'm adding the code for each example into the page.
For index and background pages I need a bit help since I'm not sure what content to show in each one. If you have any ideas please let me know.

Background could be the content fragment with the various possible background colors. Basically each fragment would feature one color and maybe add the code to do this within the content section or so?

On the index. I would do a first iteration with navigation, hero, items fragment showcasing the main Syna features, a footer and maybe a table or content fragment listing the various fragments and their demo pages?
Basically the index would be the main page for Syna and could later be used as entry page for Syna itself. How that would be done, I'll think about.


Signature refactor for better context propagation

This is a continuation of the request in #640 to propagate the context more thoroughly throughout the codebase.
I've made a few design decisions that I'd like to draw attention to, in case maintainers disagree:

if there exists no context in any caller function all the way up to the top of the callstack, and the top of the callstack is an exported function, a TODO comment along with a context.TODO is placed at the beginning of the exported function.  This is meant as a note for a future refactor where the exported function can receive a context
Same as 1, but if the top of the callstack is an HTTP request handler, the context is taken from the request and no TODO comment is left.
context is always the first parameter. one existing context parameter was reorganized from this.

It's worth mentioning that I'm unable to test this change (or the current master branch it's based on) due to build failures in the test: health.WorkloadDetails is undefined, and a handful of tests appear to be making HTTP requests to my k8s cluster.  Given the nature of this code change, I don't expect my lack of positive testing to be problematic: the code should compile or fail.

You did a ton of work here to make the program more durable - and its amazing.  Thank you for the contribution.
I have a couple thoughts:

Some of the kuberhealthy packages may be used by other programs, requiring them to implement code changes.  However, go modules should help with this.
This change was done in one PR across every binary and package.  It would have been nicer to tackle smaller bits of the codebase at once.  Some of these contexts that are passed don't really end up making a difference because they stem from the same parent global context or use a simple context.Background().

All that said, I did some build tests and this seems to work fine!  I am going to OK a merge to master here, but I want to run some release candidates built off master before this ends up in a release.  Again, this is a ton of work, and while not fully implemented in all the code touched, its about 700 lines better than what we have now!
Thanks for your PR, again.

Apologies for the ham-fisted approach here, I totally understand if you want this reorganized by package, or closed and reimplemented at your leisure.
As far as the intent of the change: I don't expect any behavioral impact from this.  As you mentioned, most of these callstacks ultimately derive their context from an exported function, where they're instantiated as context.TODO(), the global context in the main package is now only referenced for instantiation and propagated to runResourceQuotaCheck.
The goal of this was to resolve #640 as fully as possible without introducing any breaking changes in function signatures.  That way, the path is mostly paved for when you're ready to make a breaking change and add context as a parameter to those exported functions.
To the best of my knowledge, since only unexported functions were changed this shouldn't cause any breakages: I'll happily help fix anything though!
As far as it not being implemented everywhere: I wasn't able to find any remaining instances where a context.Background() or context.TODO() was abused.  I'd like to continue fixing it now rather than provide another partial solution for #640, but that's just my preference

See if you can get the DCO bot to pass:
Commit sha: fb4dfeb, Author: R. Aidan Campbell, Committer: R. Aidan Campbell; The sign-off is missing.

Thanks again!


Can't have fixed id in loop

https://github.com/apache/www-site/blob/aa4a7f4ebd66a62754536f228ba6333c9ef2ba7c/content/index.ezmd#L308
results in 3 instances of the id, likewise:
https://github.com/apache/www-site/blob/aa4a7f4ebd66a62754536f228ba6333c9ef2ba7c/content/index.ezmd#L273
These ids are not present in the orginal site

I don’t think this causes any problems. The ids assigned to each of the targets is no longer a cycle either. Look at the produced html in the asf-site branch and see if it is problematic.

Existing ids on headings prevents permalink generation in asfgenid

I’ll fix this tomorrow. I’ll add an sequence number to the featured sequences.

This is fixed


Suggested lint rule: disallow implicit-cast-to-bool

I'm thinking of writing a new lint rule for Ruff, to disallow implicit-cast-to-bool.
That is, to disallow statements like foo = None; if foo:. Our team finds that these are a common source of bugs. For example if foo: Optional[int] then was the intention for if foo to trigger on just foo = None, or did the author want it to trigger on foo = 0 as well?
As per the contributing guidelines I'm opening an issue to see if this is a rule that is in-scope for Ruff?
In terms of technical feasibility of implementing this -- to what extent do the ruff internals track the types of each variable?

Hy. I haven't checked if Ruff already has a similar rule and I'm not familiar enough with Python to know if that's a rule that Ruff should support (@AlexWaygood knows more) but I think this isn't a rule that we can add until #1774 is done because it's not a rule that we want to enable by default and many users are using --select  ALL

Big ➕1⃣  to a rule like this! FWIW, I created a discussion about it here: https://github.com/astral-sh/ruff/discussions/8757#discussion-5865172
As a sidenote, if you want to, you could also support this discussion where I pitched this rule in Pyright: https://github.com/microsoft/pyright/discussions/6488#discussion-5865204 I think implementing this in the typechecker would be much more reliable. Pyright is known to implement opinionated rules like this (e.g. unnecessary comparison), but the maintainer is currently not convinced about this one.


Switch to the Spotify logo in the readme

The logo can be found at https://developer.spotify.com/branding-guidelines/ (Green logo on white)

May I take this on?

Go for it!

Thanks @forslund ! I'll create a PR as soon as the hacktoberfest event starts so it counts towards my contributions if you don't mind :)

Resolved by #110


How can I train and test on a single gpu？

I noticed you used multiple GPUs to train.
However, I Just have 1 GPU.
How can I train and test on a single GPU？

I noticed you used multiple GPUs to train.
However, I Just have 1 GPU.
How can I train and test on a single GPU？

The code "device = torch.device("cuda:0,1")" can work with only one GPU ID.


Batch average over Loss

Hello @jfzhang95,
In Loss.py, I find the loss is averaging over batch, as below.
if self.batch_average:
loss /= n
However, I think the loss has already been averaged by setting Size_Average=True. Is there any specific concern on it?
In addition, when batch_average is True, the model has a problem of converging in my project. I guess the reason might be the loss is way too small.
Thanks ahead.

I noticed this as well.  Also the size_average parameter has been deprecated in favor of reduction="mean"


Include buffer storage

(1) generalized boiler to hot water storage which can be either used as buffer or boiler
(2) implemented heating system with buffer storage: was done with availbale controllers and components, component HeatingSystem is still not implemented
(3) separated example modular_household into functions initializing the corresponding components/HeatingSystems
(4) enabled parsing of SystemConfig and included decision variables included yes/no as well as capacity variables (5kWh)

Redundant


Extend CLI to enable deleting field-type plugins

Is your feature request related to a problem? Please describe.
There is a way to publish (creates new or updates existing one), but there is no way to delete plugins via CLI, hence only via admin panel.
Describe the solution you'd like
Add possibility to delete plugin by name (or id (?), but name makes more sense as the publishing happens by stating the name) via CLI

Hi @edvinasjurele Thank you for raising this issue. Could you explain when you prefer deleting plugins using CLI instead of the admin panel?

Hi @eunjae-lee, it might not be strong argument for it, but we have been establishing the review flow of contributors pushing reviewable plugin version from MR via CI.
F.e. plugin is my-plugin and with a manual CI job contributor can push the plugin with name prefix of -REVIEW-{MR_ID}:
my-plugin-REVIEW-20

NOTE: We cannot use the original my-plugin as it first, meant for production, and second, there are only 2 states - draft and publish - per plugin instance, which is not scalable to work with multiple contributors at the same time, while risking accidentally publishing it for our content editors.
Also Organisation field-types can only be accessed by ADMINs, hence only admins can configure assigned spaces and delete plugins. We would like to finish review flow cycle to establish manual CI job for not only publishing a version, but also removing old plugin and leftovers.

More on the same note, we ended up in self-hosting the plugin /dist to our servers to enable us in testing plugins via sandbox https://plugin-sandbox.storyblok.com/field-plugin?url={URL}, but pushing plugin from MR branch is also an option, thus may be used not that frequently. Bugfixes or features can be checked in sandbox, but drastical reworks may need to be doublechecked in the wild :).

Thanks for sharing. What an interesting way to create a temporary plugin for testing. Then I understand why you'd want to delete leftovers. While we don't have that feature yet on the CLI, you could send a request to our Management API to achieve the same thing in the meantime.

Hey @edvinasjurele, just wanted to let you know that I am starting to look into this request. I will give you updates once it is done 💯

Hello @edvinasjurele ,
Apologies for the delayed update—I've been on sick leave this past week. After reviewing the implementation in more detail, I've encountered several blockers.
While deleting a field plugin itself is straightforward, the complexity increases when considering the impact on existing references. We would need to ensure users are fully aware of all references, especially if the plugin has been used across multiple stories or spaces. This would require changes to the MAPI, making the overall solution more complex than initially anticipated.
Given these considerations, we’ve decided not to move forward with this implementation. However, Eunjae previously shared a workaround that seems like a good fit for your case.
Thank you for your understanding!


Tensorflow 2.15 Docker image cannot find the GPU drivers, but nvidia-smi can.

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
TF 2.15.0
Custom code
No
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA 12.2
GPU model and memory
NVIDIA TITAN V
Current behavior?
Running TensorFlow 2.15.0 from within Docker image does not find GPU drivers.
nvidia-smi reports the GPUs as available.
This works as intended with a TF 2.14 image in the same machine.
Standalone code to reproduce the issue
docker run --gpus all -it tensorflow/tensorflow:2.15.0-gpu-jupyter bash

<within the container>

# nvidia-smi

# python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

Relevant log output
# nvidia-smi

Thu Nov 16 16:47:22 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA TITAN V                 Off | 00000000:65:00.0 Off |                  N/A |
| 29%   46C    P8              27W / 250W |   1693MiB / 12288MiB |      2%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
+---------------------------------------------------------------------------------------+

# python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

2023-11-16 16:46:54.131081: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2023-11-16 16:46:54.255566: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-11-16 16:46:54.255623: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-11-16 16:46:54.276648: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-11-16 16:46:54.327586: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2023-11-16 16:46:54.328299: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-11-16 16:46:56.486851: W tensorflow/core/common_runtime/gpu/gpu_device.cc:2256] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
[]

Hello @gmarcusm!
If you are not using TF v2.15 specifically then, could you try to use TF v2.14 which willl work fine with TF GPU drivers. Thank you!

I am using TF 2.15 with cuda 12.3, and I have encountered the same problem that my tf cannot find GPUs while nvidia-smi can.

I think I have the same problem.
GPU: A800 DriveVersion: 525.105.17 CUDA Version: 12.0
I’ve installed such versions below
tensorflow 2.9.0 / 2.12/ 2.13.1 / 2.14.0
But it seems like tensorflow could not detect GPU because:
available = tf.test.is_gpu_available() is_cuda_gpu_available = tf.test.is_gpu_available(cuda_only=True) is_cuda_gpu_min_3 = tf.test.is_gpu_available(True, (3,0)) All were “False”.
When I tried pip install tensorflow[and-cuda]==2.15.0 It exactly returns “True”
But still received the error message:
E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered

@angerson could you PTAL when able?

bump - still an issue for me TF ver 2.12.2

I encountered the same problem.
tf.__version__  # '2.15.0'
print(tf.config.list_physical_devices('GPU'))  # []

nvidia-smi
Sat Feb  3 18:53:33 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 546.12                 Driver Version: 546.12       CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4060 ...  WDDM  | 00000000:01:00.0 Off |                  N/A |
| N/A   44C    P0              14W / 115W |      0MiB /  8188MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

I appear to be having a similar problem in the official tensorflow docker image (with tensorflow version 1.16.1):
📦[alexispurslane@distrobox-IcCGtLWekD ~]$ nvidia-smi
Sat Apr 20 17:17:56 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.67                 Driver Version: 550.67         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3070 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   42C    P8             14W /  115W |       4MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
📦[alexispurslane@distrobox-IcCGtLWekD ~]$ python3
Python 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2024-04-20 17:18:41.457224: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-04-20 17:18:41.478638: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
t>>> tf.__version__
'2.16.1'
>>> tf.config.list_logical_devices('GPU')
[]
>>>

wish to confirm that issue still exists with 2.18.0-gpu (while in 2.17.1-gpu all is OK):
Operating System: Windows 10 Enterprise
Python Version: 3.11
TensorFlow Version: 2.18
CUDA Version: 12.3
cuDNN Version: 12
GPU: NVIDIA GeForce RTX 1650
also here, nvidia-smi shows GPU but tf.config.list_physical_devices('gpu') returns an empty list.
reverting to 2.17.1-gpu results in all running as expected.
adding to Dockerfile's requirements.txt tensorflow[and-cuda] on 2.18.0-gpu results in all running as expected

FYI the solution for me was indeed pip install tensorflow[and-cuda] as suggested also here

For me works fine for 2.17.0-gpu but breaks on 2.18.0-gpu. nvidia-smi works fine inside container but on latest (and 2.18.0
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

did not show any GPUs unless I pip install tensorflow[and-cuda].
The -gpu images should come with that out of the box....


fix(@angular-devkit/schematics): throw `InvalidCollectionJsonExceptio…

throw InvalidCollectionJsonException when collection file is invalid
Closes #11818
Not quite sure, how can I test this, since I cannot use the node-modules-test-engine-host

@hansl, can you re-review this please? Thanks.


Feature request: add nethogs

NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process.

Nice one! Thanks @pingod.


InstrumentationRegistry.getContext() is deprecated.

Description:
In the PropertiesNonPrivilegedTest.java file in ODK-X Android Library, the InstrumentationRegistry.getContext() method is used to get the context of the application. However, this method is deprecated.
Proposed fix:
Replace the InstrumentationRegistry.getContext() method with the androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getTargetContext() method.
Example:
// Old code
Context context = InstrumentationRegistry.getContext();
// New code
Context context = androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getTargetContext();

Testing:
After making the change, rebuild and run the Project app. Run the PropertiesNonPrivilegedTest test. The test should pass.

@Lamouresparus can you assign me this please?

hello ,Ms @Lamouresparus this is my first time contributing to an open source project through Outreachy.. could i please be assigned this task?

hello ,Ms @Lamouresparus this is my first time contributing to an open source project through Outreachy.. could i please be assigned this task?

@Giftemmanuel I have assigned this issue to you

@Lamouresparus could you please assist me  in finding this file "PropertiesNonPrivilegedTest.java " i can't seem to find it throughout the "https://github.com/odk-x
/
tool-suite-X" repository.

@Giftemmanuel there is no code in the tool-suite-X repository. The issue description tells you which code repository the file is in.

@Giftemmanuel, the file you are seeking can be found in the Android Library repository at this location: PropertiesNonPrivilegedTest.java. The specific changes required can be pinpointed to these lines: Line 67, Line 90, and Line 128.
The recommended action is to replace the aforementioned code lines with the following: Context context = androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getTargetContext();. After making these changes, please re-run the build to ascertain if the tests now pass. If you encounter any issues or require further assistance, feel free to reach out on Slack, and we can collaborate to resolve them.

@Giftemmanuel I can help you with a details explanation of what @Lamouresparus wants you to do on this task.
First, you'll need to clone the androidlibrary project if you have not already cloned, and it should be on the same directory you have the services project. When you have successfully build the androidlibrary project, you are now ready to start the task.
To start the task, here are the steps to follow:

In the androidlibrary project, search for PropertiesNonPrivilegedTest.java. Here is a simple way to search in Android studio, if you are using a MacBook or Windows pc, double tap on shift key on your keyboard or click on the search icon (Screenshot below),

After clicking on the search icon or double tap on shift key on your pc keyboard, you'll see the dialog below:

On the highlighted portion pointed by the red arrow, type the class name: PropertiesNonPrivilegedTest

You will see this (Screenshot below):

Click on the class name, pointed by the arrow, it should open the class PropertiesNonPrivilegedTest.java.

Now you are ready to make the changes.

In the PropertiesNonPrivilegedTest.java class, scroll down to line 67, 90 and 128, you will see this line of code: Context context = InstrumentationRegistry.getContext();

Replace each of those lines with this code: Context context = androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getTargetContext();

What you'll now have should look like the screenshot below in line 67, 90 and 128:

Finally, you can head over to the last thing, which is to run the test.
Click on the green double play button that is highlighted on the screenshot below to run the test, if all test passed, you're good to submit your PR.

I hope this helps.
Good luck. please feel free to ask me any question if you are still not clear on what to do.

Hey @Lamouresparus , i want to add some little flavour on the code ...
Instead of  writing the full package name on the code , why not import the package first and write the code without full package name .
I mean , lets import this package first
import androidx.test.platform.app.InstrumentationRegistry;
by replacing
import androidx.test.InstrumentationRegistry;
then we can make the change in code :
       Context context = InstrumentationRegistry.getInstrumentation().getTargetContext();
instead of the
 Context context = androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getTargetContext();
Any suggestion and recommendation on this ?

You can definitely use imports. I think it's for ease of explanation or possibly namespace collision in some files.
…
On Thu, Oct 12, 2023 at 8:09 AM NIranjan Lamichhane < @.> wrote: Hey @Lamouresparus https://github.com/Lamouresparus , i want to add some little flavour on the code ... Instead of writing the full package name on the code , why not import the package first and write the code without full package name . I mean , lets import this package first import androidx.test.platform.app.InstrumentationRegistry; by replacing import androidx.test.InstrumentationRegistry; then we can make the change in code : Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); instead of the Context context = androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getTargetContext(); Any suggestion and recommendation on this ? — Reply to this email directly, view it on GitHub <#435 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2XP2YNJQOMZMJQ65F5IO3X67MXBANCNFSM6AAAAAA5YSQXFA . You are receiving this because you commented.Message ID: @.>

noted .....

Kemyikpe

thank you.. this was really helpful. i have completed the adjustment with no errors, how to i submit this please? do i send a pull request? @Lamouresparus

Yes please submit a PR.

can i expect to get this isuse assighned to me also  ?

@NiranjanNlc I have assigned you the issue to practice. Unfortunatly only one PR is accepted... but there are many references to the deprecated function so if you find one you can do a PR on that.

Hey @wbrunette, thanks .
I have created the pull request. It's taking more time than usual to perform simple tasks because I was  facing the same issue as mentioned on this Google Issue Tracker.
However, by downgrading to the Android Studio Flamingo, the issue has vanished like magic. Now, I will also look into other deprecated functions.
Seems no other pull request were raised for this , is it possible that this pull request get merged so that it counts as my contribution for my outreachy application.

hello @wbrunette ,
I am an Outreachy applicant, and I would like to work on this issue as part of my contribution. Could you please assign it to me?
thank you.


URL/undefined errors

Hello,
I'm having similar issues as mentioned in https://wordpress.org/support/topic/console-error-2 though I'm not using Wordpress. From what I can gather, all  tags give this error right before the  should be loaded both to console and network tabs (using Chrome). The images do load though, but obviously making a 404 request per every  is not an option.

It seems to happen in Firefox as well. I maintain the plugin cited in the support thread above, so let me know if I can be of assistance.
Here's an example in the wild: https://macmagazine.com.br/


Have an email sent to Ashley Cochrane when an SLC proposal is submitted.

When a person submits an SLC proposal we should an email to Ashley with the name of the course instructor, the name of the person who created the from (possibly only include this if the creator is different than the instructor), and the course name.

 Have an email sent to Ashley Cochrane when an SLC proposal is submitted. #831


rand(::SuperpositionMeasure)

@cscherrer it seems SuperpositionMeasure does not have a rand method:
julia> μ = Dirichlet(10, 1.0)
Dirichlet(α = Fill(1.0, 10),)

julia> result = multipathfinder(μ, 1_000; nruns=20)
┌ Warning: Pareto shape k = 0.8 > 0.7. Resulting importance sampling estimates are likely to be unstable.
└ @ PSIS ~/.julia/packages/PSIS/Rf0S3/src/core.jl:268
Multi-path Pathfinder result
  runs: 20
  draws: 9
  Pareto shape diagnostic: 0.8 (bad)

julia> result.fit_distribution_transformed |> typeof
Pushforward{TransformVariables.CallableTransform{TransformVariables.UnitSimplex}, SuperpositionMeasure{Vector{MvNormal{(:μ, :σ), Tuple{Vector{Float64}, Pathfinder.WoodburyPDMat{Float64, LinearAlgebra.Diagonal{Float64, Vector{Float64}}, Matrix{Float64}, Matrix{Float64}, LinearAlgebra.Diagonal{Float64, Vector{Float64}}, LinearAlgebra.QRCompactWYQ{Float64, Matrix{Float64}}, LinearAlgebra.UpperTriangular{Float64, Matrix{Float64}}}}}}}, Static.True}

julia> result.fit_distribution_transformed |> rand
ERROR: MethodError: no method matching rand(::Random._GLOBAL_RNG, ::Type{Float64}, ::SuperpositionMeasure{Vector{MvNormal{(:μ, :σ), Tuple{Vector{Float64}, Pathfinder.WoodburyPDMat{Float64, LinearAlgebra.Diagonal{Float64, Vector{Float64}}, Matrix{Float64}, Matrix{Float64}, LinearAlgebra.Diagonal{Float64, Vector{Float64}}, LinearAlgebra.QRCompactWYQ{Float64, Matrix{Float64}}, LinearAlgebra.UpperTriangular{Float64, Matrix{Float64}}}}}}})
...

julia> result.draws_transformed
1000-element Vector{Vector{Float64}}:
 [0.12646688194244224, 0.025977504820487007, 0.012354054767482447, 0.1334736170622469, 0.03246415592570656, 0.11141269659298245, 0.024034133186899103, 0.24475990778479786, 0.1342558624335393, 0.15480118548341593]
 [0.0169086648766402, 0.09911231516043292, 0.34416889221132596, 0.10180645019569193, 0.14439126397502686, 0.11713472197731346, 0.08444424836455564, 0.07675136145856229, 0.004312850832038056, 0.010969230948412829]
 [0.204562486395576, 0.10418880831568512, 0.14665258035543918, 0.03270907277182203, 0.025198320818369802, 0.08760170721317947, 0.22661983988004777, 0.0454094719713609, 0.08236705364451188, 0.04469065863400787]
 [0.01816521614098672, 0.08744121201467416, 0.08194354696600549, 0.21065542194335074, 0.05446274719421834, 0.2462246106035293, 0.08504411121447199, 0.09401263968332611, 0.05085735912825384, 0.07119313511118336]
 ⋮
 [0.05276387864922493, 0.06859177668105768, 0.12000714757911174, 0.013786343525336437, 0.0936220599997711, 0.014944597056716297, 0.15220938553755983, 0.32035991301423006, 0.07951434052610347, 0.08420055743088842]
 [0.037353097348125405, 0.1003300343889233, 0.014071365428468915, 0.19619179988878918, 0.002071999284771993, 0.15604889644757544, 0.394789935358081, 0.017367043688102463, 0.02483761912275614, 0.05693820904440616]
 [0.092177514123393, 0.03885924399407327, 0.11357006993749118, 0.040281419867287165, 0.0017297788961319048, 0.30301174382535745, 0.08705530131888517, 0.10436044162668617, 0.12720672435099528, 0.09174776205969937]
 [0.1036299013468673, 0.0237354567117644, 0.00808528404000608, 0.08094192248237413, 0.012319402714347172, 0.17985596931554573, 0.044975357793939554, 0.09246673694172126, 0.33590939793731694, 0.11808057071611726]

Originally posted by @sethaxen in https://github.com/sethaxen/Pathfinder.jl/issues/46#issuecomment-1114755653

Thanks @sethaxen , we really need to nail down the design for this. I think the main issue comes down to normalization. Some examples;

Sampling from a Normal() is no problem.
Should we be allowed to sample from 3 * Normal()?
What about 2.0 * Normal() + 3.0 * StudentT(2)?

That might start to seem more like a clear "no", but then what about 0.4 * Normal() + 0.6 * StudentT(2)? The types can't help us distinguish these, but we want to avoid dynamic dispatch.
@theogf and I were talking recently about how a lot of what we do with smart constructors is like the usual data structure business of worrying about invariants. So one possibility would be to enforce that the weights in a superposition must add to one. Then 2.0 * Normal() + 3.0 * StudentT(2) would become 5.0 * (0.4 * Normal() + 0.6 * StudentT(2)).
My main concerns with that are (1) the overhead of maintaining the invariant, and (2) that is still leaves out that instead of a distribution we might have something like Lebesgue() as a leaf.
I should maybe mention another thing I was considering for that. rebase is defined as
rebase(μ, ν) = ∫(𝒹(μ,ν), ν)

I think for sampling this, it's reasonable to use importance sampling. Or at least, that feels "primitive" in some sense. So we would sample ν and give 𝒹(μ,ν) as the log-weight - the result could represent a sample from μ.
This leads into some other things about representing samples as measures, etc, but I'll hold off on that for now.

TBH I haven't thought about this at all from a design perspective. For the moment I just need a way to represent a uniformly weighted mixture of multivariate normals. I certainly could roll my own type for that (I'm going to keep the integration code in Pathfinder as not part of the API for now, so I'm not concerned about type changes in the future) as well instead of using SuperpositionMeasure.
But this also isn't urgent because I don't think the Pathfinder/MeasureTheory integration will be used much until Soss/Tilde use the latest MeasureTheory version.

Ok, that's a nice special case. Previously I've had an EqualMix constructor - I should get that into MeaureTheory. We'll have different ways of representing superpositions, so I think it will be something like  EqualMixMeasure <: AbstractSuperpositionMeasure

That's currently my work-around which of course involve type piracy:
weight(::MeasureBase.AbstractMeasure) = 1
weight(μ::MeasureBase.WeightedMeasure) = exp(μ.logweight)

function Base.rand(rng::AbstractRNG, μs::AbstractVector{<:MeasureBase.AbstractMeasure})
  ws = weight.(μs)
  ws /= sum(ws) # Normalization of the weights
  rand(rng, Categorical(ws))
end

function Base.rand(rng::AbstractRNG, ::Type{T}, μ::SuperpositionMeasure) where {T}
  rand(rng, T, rand(rng, μ.components))
end


Stack Underflow (Engine Bug) when using yield completed

Godot version:
3.2-dev (https://github.com/godotengine/godot/commit/fb5e8b509b859f9e81d7b7c63086fb7e8dae5dd2)
OS/device including version:
Windows 10 x64
Issue description:
I was implementing a kind of state machine and ran into the Stack Underflow (Engine Bug) problem, which has been mentioned in issue #30269. It seems to occur at specific times when using the yield(gdfunctionstate, "completed") kind of code.
Steps to reproduce:
Open the project, run and press space (or any of the default "ui_accept" action keys).
All the code in the minimal reproduction project is in the Main.gd file:
extends Node2D

class Runner:
	signal ContinueExecution()

	func continue_excution ():
		emit_signal("ContinueExecution")

	func run_data ():
		var run_state = run_branch()

		if run_state is GDScriptFunctionState:
			yield(run_state, "completed")

		return run_state

	func run_branch ():
		yield(self, "ContinueExecution")

var data_intpr := Runner.new()

func _ready():
	data_intpr.run_data()

func _process(delta):
	if Input.is_action_just_pressed("ui_accept"):
		data_intpr.continue_excution()

Minimal reproduction project:
Stack Underflow Yield problem.zip

Ok, if you comment out the return line from the run_data() function, it doesn't throw the underflow error...

Probably related to this comment on the PR which change yield: https://github.com/godotengine/godot/pull/28884/files/9df1a2442b480f9ed8a8d4ec8992ea5046b98719#r284189443


Potential bug with scan imports

https://discord.com/channels/785153694478893126/785176548428087306/1218908043115495554
I have no way of verifying this. But two users have said after uploading a new scan over their existing db it "resets everything"

... gonna need better reproduction steps than hearsay

Since there are no firm reproduction steps, and the few scans I've done doesn't seem to cause any issues, will await for this issue to popup with more details.


Revert "[DEPBOT-0101]: Bump aws-sdk from 2.961.0 to 2.962.0"

Reverts Pocket/collection-api#324
AWS and Apollo builds are failing on main and any outstanding PRs that have had the latest updates from main merged in. Reverting this update as it's not as straightforward as it looked.

The builds are failing on this PR as well. The latest successful build was late last week when this PR was merged: https://github.com/Pocket/collection-api/pull/327. What changed since then?

The closest to the CircleCi/Apollo error that I can find is this ticket: https://github.com/apollographql/federation/issues/904.
@apollo/federation was last bumped up 12 days ago - why didn't this error appear before then? Instead, everything was fine for a week. Bumping it up one more time from 0.28 to 0.29 didn't help - tried it in the Apollo v.3 PR: https://github.com/Pocket/collection-api/pull/276

Resolved in #332.


Add spec for date class

added some specs for Date class.

Date#next
Date#succ

The specs could be a bit stronger and also include some „edge cases“, where the month or year changes. See e.g. #535.

BTW. I didn‘t check in the source code, but I would suppose these two methods are aliases.

@stomar Could you be the reviewer of this PR?
And then merge it when you think it's ready?
Indeed, they are aliases:
> d=Date.today
=> #<Date: 2017-11-04 ((2458062j,0s,0n),+0s,2299161j)>
> d.method(:succ) == d.method(:next)
true

@m-nakamura145 So this means these specs should use a shared: true spec.

(I hadn't noticed I'm a member for this repo.)
@eregon I can review it, but since I'm not too familiar with specs for aliases, which I tried to figure out only recently, I would appreciate if you could first give me your ok for #538 and/or #539  :smile:.

@stomar Done, I'm sorry for the long wait, I was overwhelmed with reviews recently.

@m-nakamura145 Could you share these specs using shared: true (see examples in the codebase), and make them stronger as proposed in https://github.com/ruby/spec/pull/543#issuecomment-341637666 ?

@m-nakamura145 Why did you close the issue?
If it's too complicated to share these specs using shared: true or you don't have time to do, please tell so and we might be able to help.


What happened to the preview of line links?

Hey there :wave:  Using this extension, still – from the beginning.
Before few days i just notice in few times that when link to a line is posted in issue/pr it was automatically shown/rendered. It was like embedded gist (almost).
Don't know. I don't think it was from another extension, cuz i don't have much for GitHub stuff.

That’s a native GitHub feature. Testing
https://github.com/sindresorhus/refined-github/blob/36dfa3bddae209492c083738e12043aafa2cb736/src/content.js#L28

Yep still works

Hm. Yea. Okey, thanks!
But in any way it would be great to work for branches too.
(random line)
https://github.com/sindresorhus/refined-github/blob/master/src/content.js#L6

The probably didn't implement that because branches change and for that reason those links will become wrong at some point. In short they're encouraging you to get the permalink

A reminder here that with Refined GitHub pressing y would also add the permalink to your clipboard.

y is a keyboard shortcut from GitHub itself ;)

@jdreesen GitHub's shortcut will open the permalink; Refined GitHub will also copy its URL.

Oh wow, I didn't know that, that's very nice :)


Module not found: Error: Can't resolve 'mat-video/app/video/video.component'

PLEASE FILL THIS OUT IF YOU WANT HELP WITH AN ISSUE!
Bug, feature request, or proposal:
mat-video/app/video/video.component does not seem to be loading.
ERROR in ./src/app/video-player/video-player.component.ts
Module not found: Error: Can't resolve 'mat-video/app/video/video.component' in 'F:\Source\Repos\EventPlayer\EventPlayer\ClientApp\src\app\video-player'
Failed to compile.

What is the current behavior?
I get the above error whenever I try to run.
What is the expected behavior?
I need to be able to listen to events on the mat video player and seek.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-mkrj9r
package.json
"dependencies": {
    "@angular/animations": "^8.0.2",
    "@angular/cdk": "8.0.1",
    "@angular/common": "8.0.2",
    "@angular/compiler": "8.0.2",
    "@angular/core": "8.0.2",
    "@angular/forms": "8.0.2",
    "@angular/material": "^8.0.1",
    "@angular/platform-browser": "8.0.2",
    "@angular/platform-browser-dynamic": "8.0.2",
    "@angular/platform-server": "8.0.2",
    "@angular/router": "8.0.2",
    "@aspnet/signalr": "^1.1.4",
    "@fortawesome/angular-fontawesome": "^0.4.0",
    "@fortawesome/fontawesome-svg-core": "^1.2.19",
    "@fortawesome/free-solid-svg-icons": "^5.9.0",
    "@nguniversal/module-map-ngfactory-loader": "7.1.0",
    "aspnet-prerendering": "^3.0.1",
    "bootstrap": "^4.3.1",
    "core-js": "^2.6.9",
    "hammerjs": "^2.0.8",
    "jquery": "3.3.1",
    "mat-video": "^2.7.2",
    "oidc-client": "^1.8.2",
    "popper.js": "^1.15.0",
    "rxjs": "^6.5.2",
    "tslib": "^1.10.0",
    "zone.js": "~0.9.1"
  },

app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { NavMenuComponent } from './nav-menu/nav-menu.component';
import { HomeComponent } from './home/home.component';
import { CounterComponent } from './counter/counter.component';
import { FetchDataComponent } from './fetch-data/fetch-data.component';
import { EventViewComponent } from './event-view/event-view.component';
import { MainPlayerComponent } from './main-player/main-player.component';
import { VideoPlayerComponent } from './video-player/video-player.component';
import { CdkTreeModule } from '@angular/cdk/tree';
import { MatIconModule } from '@angular/material/icon';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MatVideoModule } from 'mat-video';
import { RouterModule } from '@angular/router';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent,
    NavMenuComponent,
    HomeComponent,
    CounterComponent,
    FetchDataComponent,
    EventViewComponent,
    MainPlayerComponent,
    VideoPlayerComponent
  ],
  imports: [
    BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),
    BrowserAnimationsModule,
    MatVideoModule,
    HttpClientModule,
    CdkTreeModule,
    MatIconModule,
    FontAwesomeModule,
    FormsModule,
    RouterModule.forRoot([
      { path: '', component: HomeComponent, pathMatch: 'full' },
      { path: 'counter', component: CounterComponent },
      { path: 'fetch-data', component: FetchDataComponent },
      { path: 'event-view', component: EventViewComponent },
      { path: 'main-player', component: MainPlayerComponent },
      { path: 'video-player', component: VideoPlayerComponent }
    ])
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

video-player.component.ts
import { Component, Input, ViewChild, AfterViewInit, Renderer2 } from '@angular/core';
import { MatVideoComponent } from 'mat-video/app/video/video.component';

export interface Video {
  Title: string;
  Source: string;
  Thumbnail?: string;
  StartTime?: number;
  PreviousVideo?: Video;
}

@Component({
  selector: 'app-video-player',
  templateUrl: './video-player.component.html',
  styleUrls: ['./video-player.component.css']
})

export class VideoPlayerComponent implements AfterViewInit{
  @Input() video: Video;

  @ViewChild('video', { static: false }) matVideo: MatVideoComponent;
  videoPlayer: HTMLVideoElement;

  constructor(private renderer: Renderer2) { }

  public seek(time: number) {
    this.videoPlayer.currentTime = time;
  }

  ngAfterViewInit(): void {
    this.videoPlayer = this.matVideo.getVideoTag();

    this.renderer.listen(this.videoPlayer, 'ended', () => console.log('video ended'));
  }
}

video-player.component.html
<mat-video #video src="{{ video.Source }}"></mat-video>
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Tried Angular 7 and 8 and had same issue
Is there anything else I should know?
I am pretty new to angular so I apologize if I have missed something obvious. I followed your installation instructions with no issue. I can play video and change source correctly. I am only having issues with MatVideoComponent.

I was able to work around this issue by replacing MatVideoComponent with "any"
@ViewChild('video', { static: false }) matVideo: any;

@Catopillar any definitely works just to get it to compile, but it'd be nice if we could specify the data type. I'm having the same issue; only difference is that mine is in a lazy-loaded module rather than AppModule.

I am also having same issue.

Same problem here...

same issue...

This is fixed in version 2.8.0.
Use:
import { MatVideoComponent } from 'mat-video/lib/video.component';

Closing.


Feature Request: Battery Percentage

Please Describe The Feature To Be Added
Give the battery percentage of the device
Suggest A Solution
add a property to page like page.battery

Can you try Plyer: https://github.com/kivy/plyer

plyer uses the native API's provided by the OS. So it needs pyjnius(for android) which in turn needs to be built using buildozer to work properly


Update TagViewModel.cs

fixed the ClassName property's tag generator skipping over Count of 10

I appreciate the update, the project is frozen now however (I'll update the README at some point). So no new changes will be added as no new binaries are going to be produced.
If the elusive V3 ever happens I'll be sure to include these into it. I think the project may have died however now there are so many React and VueJS alternatives available for publishing content.


Decommit instance memory after a runtime call on Linux

Right now we have a wasm runtime cache. This cache keeps a number of instantiated runtimes around. That allows the executor to serve the requests with as little latency as possible. This improves latency on the critical paths significantly.
However, the instances retain their memory between executions. This was made as an optimization. This means that if a runtime wrote into some page some physical memory will stay attached to it.
In the light of increasing the heap pages (https://github.com/paritytech/substrate/pull/8892), this problem becomes more severe. With the defaults, that can lead to up 2 GiB consumed by those dirty mappings.
This PR solves this problem on Linux. The solution is to tell the kernel that we are no longer interested in the contents of the specified address range. This will lead to demouting these pages and freeing up the corresponding areas of physical memory. This will not lead to decreasing of virtual memory usage by the instances.
As a side effect on Linux this brings us back in line with https://github.com/paritytech/substrate/pull/3011 after we dropped it. There is no intention to bring this back as a guarantee as of yet. In other words, wasm runtimes must not access uninitialized memory.

Thanks for the review, that was a great catch! It should be fine now.

bot merge


[C++][Parquet] Add change log for the new release

It will be helpful to document what changes went into each release. The idea is to write a brief summary of features added and important bugs fixed.
Reporter: Deepak Majeti / @majetideepak
Related issues:

C++: Release 1.1.0 (blocks)

Note: This issue was originally created as PARQUET-985. Please see the migration documentation for further details.

Wes McKinney / @wesm:
We have https://github.com/apache/parquet-cpp/blob/master/CHANGELOG; perhaps we can write a brief summary in the CHANGELOG explaining the notable new features / improvements / bug fixes / changes.

Deepak Majeti / @majetideepak:
Yeah! the JIRAs fixed can follow this summary.

Wes McKinney / @wesm:
We should create a JIRA issue for each new release to write this summary; I guess we have to decide where to put it since the changelog has been automatically generated so far


Slow loading when setting image

It takes more than 1 second to load the image when I set it.
Tested on iPhone 6.
Edit: it happens when you use a big size image (700Kb for example).

I believe it's related to #2

@serejahh Yes! It's related with the usage of UIImage+ImageEffect instead of UIVisualEffectView.
Maybe here's the solution to the iOS 10 bug that you mentioned in #2 :
-> http://stackoverflow.com/questions/39595047/uivisualeffectview-with-mask-layer


Adjust color scheme for color blindness

the maps are difficult to read in someone is green blind. Some good color schemes for color blind are:

https://i.imgur.com/6hH7S9Z.png

The routes are difficult to see for someone with green blindness. Does not provide for enough contrast.

this will be resolved in the new map theme site using an updated evacuation layer in a Mapbox account we will have access to the styling on.


Correct type in sample code

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@infuerno : Thanks for your contribution to the Azure documentation! The author, @mgoedtel, has been notified to review your proposed change.

@infuerno - Thank you for providing a recommended change to the article to correct a mistake.  I have reviewed your suggestion and approve it for release.  #sign-off.


Enable question cache in browser tests

Description
Enable question cache in browser tests.
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release | database >
[x] Created unit and/or browser tests which fail without the change (if possible)

Issue(s) this completes
Related to #5845

We are no longer planning to cache question data (at least for now) because when we look up a question it is on the admin side and not the applicant side.


K9113 record collector p2

Extract producer from StreamTask to the RecordCollector; make the task agnostic of the underlying embedded client and instead let RecordCollector handle clients and also interpret their thrown exception (AbstractTask still has a reference of the consumer in order to pause / resume partition, and also get committed offsets; the latter function may be moved into RecordCollector in a later PR).
1.a Producer.send() could throw KafkaException whose cause is ProducerFenced;
1.b. Producer.send() could return other exceptions as passed from the callback (ProducerFenced and UnknownProducerId);
1.c. Consumer.commit() could throw CommitFailedException;
1.d Producer.[otherAPI] and Consumer.[otherAPI] could throw other KafkaException, including TimeoutException.

1.a/b/c are interpreted as TaskMigratedException and rethrown from RecordCollector; 1.d are interpreted as general StreamsException and rethrown from RecordCollector.
Task would not handle any such exception, all of them thrown all the way up to the StreamThread; thread handles TaskMigratedException by closing the task "uncleanly", and then handles any other StreamsException as fatal and shutdown itself --- this is a major change in exception handling, e.g. today when close(clean) we try to immediately capture the exception within task, and then immediately handle by re-try close(unclean), which causes very messy hierarchy. This is not completely done in this PR but we are going to that direction in future PRs.

ProcessorStateManager and RecordCollector are created before StreamTask / StandbyTask and are passed in as parameters; this also have a good effect in unit tests that we can use nice mocks for them when only testing task functionalities. Also because of this I've removed a bunch of unit tests from the task level (so do not be afraid of the LOC size, the non-testing part is actually not huge), and will move them to state-manager / record-collector after we've done the whole cleanup. During this period the test coverage would be dropped a bit but we will eventually add them back to other classes.

Task close / suspend procedure are cleaned up based on the clean flag (the isZombie flag is now consolidated into the previous one). Also as a side-effect we fixed the issue that double checkpointing in committing / closing.

Comments from https://github.com/apache/kafka/pull/7846 are addressed already.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hey @guozhangwang , thanks for rebasing this PR. I left one additional comment. I also responded to a few of the threads in the old PR. Nothing is a big deal to me, so feel free to merge the PR when you're ready.


Group messages in SkypeBot

In our company we need to transmit messages, that sent in Skype from our client to our developers Slack room. We develop a bot, that can do it, but, we can't listen all messages in group chat (without @botname mention).
In GitHub I was seen message, that say: "...developers can choose private mode or all messages mode".
We really need this functional. How we can use it?

But Sameroom bot for example can get all messages in group chat. Konnektor has connecting like a user, this feature allows you to get all group messages. This is sad ...

@kelposun I agree.


New org assigned to Gabriel Bobis: Animal Advocacy Careers

Ready. Check https://github.com/riceissa/aiwatch/commit/0db53389c9d31e971a3e33b8faed43b339315f0e

It was not possible to save the latest page archive due to an issue with Wayback. The organization is relatively straightforward, although the first visible team dates back to August 2020, followed by a temporal gap until mid-2021.


bind function doesn't work

Description
i have machine with 2 interfaces with 2 addresses <IP_ADDRESS> <IP_ADDRESS>
what i trying to achieve is :

backend with tcp mode pointing to "list-a" of servers port 443
backend with tcp mode pointing to "list-b" of servers port 443
frontend bound to <IP_ADDRESS> pointing to backend "list-a"
frontend bound to <IP_ADDRESS> pointing to backend "list-b"

Steps to Reproduce

create haproxy_backend mode tcp
create haproxy_servers using backend as parent
create haproxy_frontend using backend as backend mode tcp
create haproxy_bind using frontend as parent mode tcp using address <IP_ADDRESS>
create second set all same just different servers adress names and bind adress

Expected behavior:
`frontend http_443
mode tcp
bind <IP_ADDRESS>:443
stats uri /haproxy?stats
default_backend ingress_443
backend ingress_443
mode tcp
balance source
server pve-master-2 <IP_ADDRESS>:443 check check-ssl verify none
server pve-master-3 <IP_ADDRESS>:443 check check-ssl verify none
server pve-master-1 <IP_ADDRESS>:443 check check-ssl verify none
`
Actual behavior:
`
frontend http_443
mode tcp
stats uri /haproxy?stats
default_backend ingress_443
backend ingress_443
mode tcp
balance source
server pve-master-2 <IP_ADDRESS>:443 check check-ssl verify none
server pve-master-3 <IP_ADDRESS>:443 check check-ssl verify none
server pve-master-1 <IP_ADDRESS>:443 check check-ssl verify none
`
Reproduces how often: always
Versions
Not required yet
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

Thank you for taking the time to report this issue. It seems like there might be the resource priority in your Terraform code. I suspect that setting a depend_on attribute for the haproxy_bind resource to ensure it is created before haproxy_front might resolve the problem ( In fact, the haproxy_bind resource binds a port to the frontend configuration of HAProxy configuration ). To better assist you, Could you please share your Terraform code ? @strelok899

`resource "haproxy_backend" "kubernetes_api_backend" {
count = var.external_loadbalancer_enabled ? 1 : 0
name  = "${var.cluster-name}-kubeapi"
mode  = "tcp"
balance {
algorithm = "source"
}
}
resource "haproxy_server" "kubernetes_api_backend_server" {
for_each    = { for k, v in local.master_nodes_map : k => v if var.external_loadbalancer_enabled }
name        = each.key
port        = var.kubernetes_api_port
address     = each.value.server_ip
parent_name = haproxy_backend.kubernetes_api_backend[0].name
parent_type = "backend"
check       = true
inter       = 10
rise        = 2
fall        = 2
depends_on  = [haproxy_backend.kubernetes_api_backend]
}
resource "haproxy_frontend" "kubernetes_api_front" {
count   = var.external_loadbalancer_enabled ? 1 : 0
name    = "${var.cluster-name}-kubeapi"
backend = haproxy_backend.kubernetes_api_backend[0].name
mode    = "tcp"
tcplog  = true
depends_on = [haproxy_backend.kubernetes_api_backend]
}
resource "haproxy_bind" "kubernetes_api_front_bind" {
count       = var.external_loadbalancer_enabled ? 1 : 0
name        = "${var.cluster-name}-kubeapi-bind"
port        = var.kubernetes_api_bind_port
address     = var.kubernetes_api_bind_address
mode        = "tcp"
parent_name = haproxy_frontend.kubernetes_api_front[0].name
parent_type = "frontend"
depends_on  = [haproxy_frontend.kubernetes_api_front]
}`

It appears there's an issue with the HAProxy data plane API when configuring a frontend as TCP and then attempting to set a TCP bind. This results in the following error:
bind '' in section 'frontend' 'mode' missing or invalid mode 'tcp'

To resolve this issue, you can simply remove the mode = "tcp" setting from the haproxy_bind resource.
Additionally, I'll be enhancing error handling for HAProxy data plane responses in version v0.0.8.
@strelok899

resource "haproxy_backend" "kubernetes_api_backend" {
  count = var.external_loadbalancer_enabled ? 1 : 0
  name  = "${var.cluster-name}-kubeapi"
  mode  = "tcp"
  balance {
    algorithm = "source"
  }
}

resource "haproxy_server" "kubernetes_api_backend_server" {
  for_each    = { for k, v in local.master_nodes_map : k => v if var.external_loadbalancer_enabled }
  name        = each.key
  port        = var.kubernetes_api_port
  address     = each.value.server_ip
  parent_name = haproxy_backend.kubernetes_api_backend[0].name
  parent_type = "backend"
  check       = true
  inter       = 10
  rise        = 2
  fall        = 2
  depends_on  = [haproxy_backend.kubernetes_api_backend]
}

resource "haproxy_frontend" "kubernetes_api_front" {
  count   = var.external_loadbalancer_enabled ? 1 : 0
  name    = "${var.cluster-name}-kubeapi"
  backend = haproxy_backend.kubernetes_api_backend[0].name
  mode    = "tcp"
  tcplog  = true

  depends_on = [haproxy_bind.kubernetes_api_front_bind]
}

resource "haproxy_bind" "kubernetes_api_front_bind" {
  count       = var.external_loadbalancer_enabled ? 1 : 0
  name        = "${var.cluster-name}-kubeapi-bind"
  port        = var.kubernetes_api_bind_port
  address     = var.kubernetes_api_bind_address
  parent_name = haproxy_frontend.kubernetes_api_front[0].name
  parent_type = "frontend"
}

@SepehrImanian ,  so basically like this should work?
maybe you can help me on second issue
server pve-master-2 <IP_ADDRESS>:443 check check-ssl verify none
how to set check-ssl verify none in the server

and superb work on the provider! really high quality project @SepehrImanian kudos

The HAProxy data plane API currently supports features like "check-ssl," "verify," and "none," but these functionalities have not yet been integrated into our provider. However, I plan to include them in the upcoming release. @strelok899


Chisel Facades 1.7.10 2.9-cricket - CRASH REPORT

I was running 2.7-cricket just fine, but when I tried to update to 2.9 I get the following crash report:
https://gist.github.com/chloeprince/d47cbe805af392949855

You're using Chisel 2.2.1, but Chisel Facades 2.9-cricket was built against Chisel 2.3.2. Either update Chisel or keep using 2.7-cricket (which was built against 2.2.0).

Thank you!!!


Footnote enhancements in editor: 1. Display footnote on hover, 2. Jump to/from footnote by Alt+click

Please select if your request is either something new or an enhancement

[X] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[X] Markdown - Markdown features, such as syntax support and features

Describe the solution you'd like
In the editor pane, footnotes would behave like wiki links:

When you hover over a footnote link, it would display a popup preview of the footnote (and any hyperlinks included in the footnote would be live and clickable).
When you Alt+click the footnote link, it would jump to the footnote, and when you Alt-click the link there, it would jump back.

Example footnote:
A humble little footnote. [^1]

blahblahblah…
la-di-da-di-da…

[^1]: Thanks for reading this far. :) As a reward, here's a nice diversion:
      WindowSwap - the calmest place on the internet: https://www.window-swap.com

(For more info about footnotes, see this guide)

Does this not work already?

@SR--

Does this not work already?

No.
This screenshot shows that when you hover the mouse over a wiki link, a preview appears:

This screenshot shows that when you hover the mouse over a footnote, there is no preview of the footnote:

You can confirm that it's a valid footnote by clicking the footnote link in the preview pane, which causes the view to jump to the footnote.


Second modal freezes on mobile and becomes unresponsive after opening

Environment

Operating System: Darwin
Node Version:     v20.14.0
Nuxt Version:     3.13.1
CLI Version:      3.13.1
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      css, extends, modules, gtag, zodI18n, i18n, site, sitemap, ogImage, linkChecker, seoExperiments, seo, cookieControl, sanctum, bugsnag, eslint, image, runtimeConfig, imports, ui, devtools, experimental, colorMode, tailwindcss, routeRules
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.18.7
Reproduction
https://stackblitz.com/edit/nuxt-ui-owswvw?file=app.vue
Description
When opening a second modal from within the first modal on a mobile device, the UI freezes, and the second modal becomes unresponsive. This issue only happens on mobile devices, where the user cannot close the modal, even manually. On desktop, if a close button is added, the user can close it, but on mobile, it remains stuck and doesn't respond to any touch events.
Steps to reproduce:
Open the first modal.
Click the "Open Second" button to open the second modal.
Try to close the second modal on a mobile device.
Expected behavior: The second modal should open and close without freezing the UI, and it should be fully functional on both desktop and mobile devices.
Actual behavior: The second modal freezes the UI on mobile devices, preventing any interaction, and the user cannot close it.
Additional context
No response
Logs
No response

This is a limitation of Headless UI, you have to wrap the second modal in the first on for this to work.

@benjamincanac I had the same issue. Wrapping the second modal in the first one solves the problem. Thank you.


fix field with @Id duplicated check bug when create index

For example, when I declare an entity class, with its id is annotationed with @Id and @TagIndexed. (And I didn't see this two annotation can't use on a same field.)
When I start the SpringApplication, as this framework designed, it will auto-create redisearch index of this entity. But it will throw duplicate @Id when do the FT.CREATE command.
The entity class can just like below.
`@Data
@NoArgsConstructor
@RequiredArgsConstructor(staticName = "of")
@AllArgsConstructor(access = AccessLevel.PROTECTED)
@Document
public class IndexEntity {
/**
 * id
 */
**@Id**
@NonNull
**@TagIndexed**
private String id;

/**
 * user login name
 */
@NonNull
@TagIndexed
private String login;

/**
 * email
 */
@TagIndexed
@JsonIgnore
private String email;

/**
 * company
 */
@TextIndexed
private String company;

}`

Covered by https://github.com/redis/redis-om-spring/pull/294 - thanks for the contribution!


Price Difference

Please can you add option where we can add or customise the price difference so that to make sure it's profitable, something like 1.5% will be okay

This project is failed, Nobody can do arbitrage with python.


Updating references to the new kie-ci actions folder.


Documented GetApplicationDirectoryOperation.java (js-charts)

fixes #84

Looking good! Two more quick things and I'll merge it:

Please format the JavaDocs so that they line up with the methods correctly.
Please try and document more specifically how the application directory is determined on each system. For example, on Linux, the application directory is a hidden folder in the current user's home directory.

I'm really not sure how you ended up with seven commits, but I'd like for you to clean that up and then I'll merge it. There should only be one commit for these changes. Thanks!


Release v4.2.8

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: nelaturuk:x: lpgeiger:x: simsekgokhanlpgeiger seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Rage/hvh - multipaste

All code used is courtesy of their respective owners.
New functions merged from other PRs here:
note - functions from these PRs merged selectively, eg. not all functions in original PR are guaranteed to be ported over here

#2065 - great ragebot put together by @Cyk-Fad
#1922 - 400ms backtrack by @RyDeem
#1546 - fakelag, bullet beams, proper aa and more by @DoomFishWasTaken + animsfix by @notgoodusername
#1716 - hitchance for (legit) aimbot by @dapaster
#1525 - fix for grenades while using AA by @notgoodusername
#1707 - all backtrack tick drawn in backtrack chams by @ClaudiuHKS with fix by @RyDeem

New functions pasted from UC:

Quickpeek: https://www.unknowncheats.me/forum/counterstrike-global-offensive/376779-quick-peek.html

Other new functions not by me:

Asuswalls by @Turionic

New functions by me:

Manual shot override in ragebot
More accurate ScaleDamage() in ragebot
Dehardcoded Hitchance() in ragebot, minor fixes over Esoterik's base based on several posts on UC
Min dmg in ragebot is now clamped to enemy health

Discord for discussion related to this PR: https://discord.gg/9P3WQah

needs

resolver
aa is bipolar needs some fix
asus world and props
dt
baim and min dmg overide key
nade mesh and timer

that aa from #1546  is so broken xd cant desync proper

I dont think 400ms backtracking is working properly at all I cant hit the backtrack

I tested desync chams doesn`t work and backtrack too

I tested desync chams doesn`t work and backtrack too

the guy literally said that desync chams aren't working

i might update my pull & push dt idk

i might update my pull & push dt idk

we will waiting for that

i might update my pull & push dt idk

can u send me your discord?

i might update my pull & push dt idk

would be nice of you

needs

resolver
aa is bipolar needs some fix
asus world and props
dt
baim and min dmg overide key
nade mesh and timer

`void Visuals::transparentWorld() noexcept
{
if (!config->visuals.worldtrans && !config->visuals.proptrans)
return;
for (short h = interfaces->materialSystem->firstMaterial(); h != interfaces->materialSystem->invalidMaterial(); h = interfaces->materialSystem->nextMaterial(h)) {
    const auto mat = interfaces->materialSystem->getMaterial(h);

    if (!mat || ((!config->visuals.Ignore_precache && !mat->isPrecached()) ^ (config->visuals.Precache_Only && mat->isPrecached())))
       continue;

    const std::string_view textureGroup = mat->getTextureGroupName();

    if ((textureGroup.starts_with("World") && config->visuals.worldtrans)) {
            mat->alphaModulate((config->visuals.alphaval / 1000.0f));
    }
    if ((textureGroup.starts_with("StaticProp") && config->visuals.proptrans)) {

        ConVar* static_Prop = interfaces->cvar->findVar("r_DrawSpecificStaticProp");
        static_Prop->setValue(0);

        mat->alphaModulate((config->visuals.propalphaval / 1000.0f));
    }

}

}`
Here just modify this to your liking, it's basic asuswalls for osiris

Here just modify this to your liking, it's basic asuswalls for osiris

Make a pr

crash for press mics

needs fov limiter, for semi rage

Here just modify this to your liking, it's basic asuswalls for osiris

Make a pr

for one function? Why?

for one function? Why?

send me from discord(itscraused#5786) or make pastebin full code please cuz it doesnt work for me

for one function? Why?

Nvm i just broke my laptop

Code by Turionic is working fine. Add missing entries to config (or ditch half of them like me), paste to Visuals.cpp, hook in render_start_scene.

can u pls help me to fix this i only add ragebot from this pr
https://github.com/danielkrupinski/Osiris/pull/2065/commits/b2e245b516030e127a1c9f9d8592c320e4582c75

Little info for everyone using my PR - I'm currently reworking ragebot based on https://www.unknowncheats.me/forum/counterstrike-global-offensive/255054-autowall-convar-scaling.html
ETA is few days, expect much better wallbangs.

#2065 - great ragebot put together by @Cyk-Fad
#1922 - 400ms backtrack by @RyDeem
#1546 - fakelag, animsfix, dope bullet beams, proper aa and more by @DoomFishWasTaken

animfix is by @notgoodusename

Updated. Changelog:
+ force shoot in ragebot
+ hitchance in legit aimbot
+ mindmg in ragebot now clamped to enemy health
+ asuswalls
+ display best dmg & chance that can be dealt in current frame
+ reworked scaleDamage in ragebot
+ dehardcoded ragebot
+ render all frames in backtrack chams

Also i'm attempting to fix grenades with AA (simply by turning AA off if tossing a nade), it's in there but not working properly yet. Turn on "ShotCount" window in misc->debug, on first 2 lines are best damage & chance ragebot is able to do now. Setup a key to force a shot in ragebot. Profit. Quite useful in hvh when both players have ssg/awp and your min damage in ragebot is about 100 (eg. killshot) and you'd like to shot in that situation anyway. If your mindmg > enemy player health, it is now reduced automatically. Asus walls are quite hardcoded, full config of that in next update.  I'm pretty happy about ragebot autowall progress i'm doing, scaleDamage now works properly (esoterik's base used is buggy on it's own). Note - still crashes sometimes, need to debug more.

Did u fix legit aa chams?

Maybe add quick peek it will help when using scout/awp
Example https://www.unknowncheats.me/forum/counterstrike-global-offensive/376779-quick-peek.html

Updated. Changelog:
+ quickpeek
Thanks for the tip @aljawary. To use, enable ragebot for the spefic gun (ssg/awp..), setup quickpeek key (say "E"), then press and hold that key when behind corner - a white circle is rendered at that position. Once you / ragebot takes a shot you will be automatially moving back to starting position. Position of quickpeek start vector is also rendered in "shotsCount" window (gotta rename this).

Did u fix legit aa chams? also enemy chams are not working when backtrack is activated
https://streamable.com/3dqd66

When you have backtrack activated, turn on backtrack chams. I'm rendering all frames of backtrack and the very first frame of that is at the player's model.

when proper resolver?

needs

resolver
aa is bipolar needs some fix
asus world and props - done, needs more config
dt - afaik DoomFishWasTaken is now working on dt, will port if he releases publicly
baim and min dmg overide key - done
nade mesh and timer

@newcommerdontblame resolver after I get this to point where I don't get CTD for a day.

Updated. Changelog:
+ quickpeek
Thanks for the tip @aljawary. To use, enable ragebot for the spefic gun (ssg/awp..), setup quickpeek key (say "E"), then press and hold that key when behind a corner - a white circle is rendered at that position. Once you / ragebot takes a shot you will start to automatically move back to that circle (eg. startposition). Startposition of quickpeek start vector is also rendered in "shotsCount" window (gotta rename this).
preview:
https://www.youtube.com/watch?v=V9ERuVvPXvg&feature=youtu.be

idk when i switch to snipers its not working but only work when change to knife
https://streamable.com/qjvb3y

u can add fov value changer for people play semirage too
+++
i tried to make indicators for aimbot if u can improve this like (here is my pr https://github.com/danielkrupinski/Osiris/pull/2076)
if legitbot off = "AIM" indicator red( its for users who playin at on key)
if legitbot on
if its only aimlock = shows FOV value in indicator but green
if its silent aim = shows FOV value but its red
Same as ragebot for semirage
it could be nice as skeet when its finished :)
https://prnt.sc/u2xktm

Updated. Changelog:
+ quickpeek
Thanks for the tip @aljawary. To use, enable ragebot for the spefic gun (ssg/awp..), setup quickpeek key (say "E"), then press and hold that key when behind a corner - a white circle is rendered at that position. Once you / ragebot takes a shot you will start to automatically move back to that circle (eg. startposition). Startposition of quickpeek start vector is also rendered in "shotsCount" window (gotta rename this).
preview:
https://www.youtube.com/watch?v=V9ERuVvPXvg&feature=youtu.be

idk when i switch to snipers its not working but only work when change to knife
https://streamable.com/qjvb3y

enable ragebot specifiacally for the gun you are using (ragebot->[select your weapon]->enable->config). It won't work with only 'all' enabled.

u can add fov value changer for people play semirage too
+++
i tried to make indicators for aimbot if u can improve this like (here is my pr #2076)
if legitbot off = "AIM" indicator red( its for users who playin at on key)
if legitbot on
if its only aimlock = shows FOV value in indicator but green
if its silent aim = shows FOV value but its red
Same as ragebot for semirage
it could be nice as skeet when its finished :)
https://prnt.sc/u2xktm

I'm aiming more towards this:

All that remains is to get w2s pos of first wall to be penetrated and draw dmg/hitchance on it. best possible dmg + hitchance are already exposed in ragebot since my second update of this PR.

Here is a quick 'n dirty update to ragebot that stores position of first penetration point and returns that. It's so noisy 'cause I'm updating it every frame and as ragebot just casts 256 random rays the best projected ray varies greatly. Most probably I will select the best ray in like every 20 frames and project that (and update ragebot accordingly).
https://www.youtube.com/watch?v=3_HxETCCBeA&feature=youtu.be

"This branch has conflicts that must be resolved"  does this cause issues or should I not worry about it?

"This branch has conflicts that must be resolved" does this cause issues or should I not worry about it?

Your clone is mergin other branches incorrectly. Simply download and build my own clone.

download this https://github.com/lofcz/Osiris
open in vs
set build to release
compile & inject

ok, thanks :)

nice one bro

Updated. Changelog:
+ expose first solid point to penetrate in ragebot
+ render this point
+ fix bullet tracers crash
+ improved ragebot precision by storing best ray devitation
+ precaching of models for bullet tracers
+ dehardcoded hitseed in ragebot

Ragebot is starting to behave much better than original esoterik's implementation. Areas to explore: parallel hitchance computing, caching best rays as possible candidates to be reused in next frame. @DillonHankins your edit2 is fixed now.
Some funky beams using precached models:
https://www.youtube.com/watch?v=NLpwTENmzv4&feature=youtu.be

Does someone want to put together a discord for this pull? I'm working on a resolver currently and have some other visual stuff coded. Also a comprehensive debug window for monitoring anything and everything.

@Turionic good idea - everyone is welcome to join - https://discord.gg/9P3WQah

update description to this:
This is a combined pull request from multiple pulls requests made by several people
All code used is courtesy of their respective owners.
note - functions from these PRs merged selectively, eg. not all functions in original PR are guaranteed to be ported over here
Credits:
@DoomFishWasTaken (pull request #1546)

Reworked Anti-Aim
Reworked Fakelag, this has four different fakelag modes

Normal (static lagging)
Adaptive (calculate necessary fakelag to break lagcomp from velocity)
Random (random fakelag amount between two selectable values)
Switch (calculate necessary fakelag to break lagcomp from difference to serverside)

Bullet tracer beams with custom color
Desync fakewalk exploit (allows you to update lby while moving lmao)
(Legit aka shitty) Fakeduck
@notgoodusename (pull request #1819 & #1525)
animfix
desync chams (broken atm)
aa grenade fix
@RyDeem (pr #1922)
400ms backtrack
@ClaudiuHKS (pr #1707)
draw all backtrack ticks (fixed by @RyDeem)
@Turionic
Asus walls
@Cyk-Fad
Ragebot
@lofcz
Manual shot override in ragebot
More accurate ScaleDamage() in ragebot
Dehardcoded Hitchance() in ragebot, minor fixes over Esoterik's base based on several posts on UC

This is a combined pull request from multiple pulls requests made by several people
**All code used is courtesy of their respective owners.**
_note - functions from these PRs merged selectively, eg. not all functions in original PR are guaranteed to be ported over here_
Credits:
@DoomFishWasTaken (pull request #1546)
- Reworked Anti-Aim
- Reworked Fakelag, this has four different fakelag modes
   1. Normal (static lagging)
   2. Adaptive (calculate necessary fakelag to break lagcomp from velocity)
   3. Random (random fakelag amount between two selectable values)
   4. Switch (calculate necessary fakelag to break lagcomp from difference to serverside)
- Bullet tracer beams with custom color
- Desync fakewalk exploit (allows you to update lby while moving lmao)
- (Legit aka shitty) Fakeduck
@notgoodusename (pull request #1819 & #1525)
- animfix
- desync chams (broken atm)
- aa grenade fix
@RyDeem (pr #1922)
- 400ms backtrack
@ClaudiuHKS (pr #1707)
- draw all backtrack ticks (fixed by @RyDeem)
@Turionic
- Asus walls
@Cyk-Fad
- Ragebot
@lofcz
- Manual shot override in ragebot
- More accurate ScaleDamage() in ragebot
- Dehardcoded Hitchance() in ragebot, minor fixes over Esoterik's base based on several posts on UC
- Min dmg in ragebot is now clamped to enemy health

c+p for markdown

@DoomFishWasTaken it isnt even near to fakeduck its just shitty visual thing

yeah probs

@lofcz @notgoodusename imma push dt soon, got it working :)

@DoomFishWasTaken already done https://streamable.com/hnkrt1

gimme like 15min and I'll drop fixed fakeduck + doubletap spoonfeed aight

doubletap is here boiz and gurlz
most of the code is by @notgoodusename updated by me

doubletap is here boiz and gurlz
most of the code is by @notgoodusename updated by me

error:
missing isShotgun() in entity

@aljawary yeah my dumb ass forgot it

Add changelog pls :)

add update changelog pls

Has issues when going into "one window" style for the ragebot -> certain functions wont "Drop down"/function.
Also, "unhook" crashes the game.
Also, character doesn't move when using and injecting with "release" in game. Very broken :'(

I'll see about fixing those today

I'll see about fixing those today

i can't use doubletap while using fakelag or anti aim

how do i move help

please help me

cant move or do anything when i inject

This pr is broken now

can someone of you upload the semi-rage config to that?
i mean the config where is like autoshoot but not obvious like 360 aimbot, just shooting trought the walls when enemy peek or something. I think you know what im talking about. Grettings!

yoo @lofcz i pasted your ragebot. then i got my fps dropped and csgo crashed. any idea to fix this ?

Can u pls fix desync chams?

dunno how to properly add a commit to this PR, heres a ez fix for enemy chams not working with bt

Before
void Chams::renderPlayer(Entity* player) noexcept
{
    if (!localPlayer)
        return;

    const auto health = player->health();

    if (const auto activeWeapon = player->getActiveWeapon(); activeWeapon && activeWeapon->getClientClass()->classId == ClassId::C4 && activeWeapon->c4StartedArming() && std::any_of(config->chams["Planting"].materials.cbegin(), config->chams["Planting"].materials.cend(), [](const Config::Chams::Material& mat) { return mat.enabled; })) {
        applyChams(config->chams["Planting"].materials, health);
    } else if (player->isDefusing() && std::any_of(config->chams["Defusing"].materials.cbegin(), config->chams["Defusing"].materials.cend(), [](const Config::Chams::Material& mat) { return mat.enabled; })) {
        applyChams(config->chams["Defusing"].materials, health);
    } else if (player == localPlayer.get()) {
        applyChams(config->chams["Local player"].materials, health);
        applyChams(config->chams["DESYNC"].materials, health);
    } else if (localPlayer->isOtherEnemy(player)) {
        if (config->backtrack.enabled) {
            const auto& record = Backtrack::getRecords(player->index());
            if (record.size() && Backtrack::valid(record.front().simulationTime)) {
                if (!appliedChams)
                    hooks->modelRender.callOriginal<void, 21>(ctx, state, info, customBoneToWorld);
                applyChams(config->chams["Backtrack"].materials, health, record.back().matrix);
                interfaces->studioRender->forcedMaterialOverride(nullptr);

            }
        }
        else
        {
            applyChams(config->chams["Enemies"].materials, health);
        }
    } else {
        applyChams(config->chams["Allies"].materials, health);
    }
}

After
void Chams::renderPlayer(Entity* player) noexcept
{
    if (!localPlayer)
        return;

    const auto health = player->health();

    if (const auto activeWeapon = player->getActiveWeapon(); activeWeapon && activeWeapon->getClientClass()->classId == ClassId::C4 && activeWeapon->c4StartedArming() && std::any_of(config->chams["Planting"].materials.cbegin(), config->chams["Planting"].materials.cend(), [](const Config::Chams::Material& mat) { return mat.enabled; })) {
        applyChams(config->chams["Planting"].materials, health);
    } else if (player->isDefusing() && std::any_of(config->chams["Defusing"].materials.cbegin(), config->chams["Defusing"].materials.cend(), [](const Config::Chams::Material& mat) { return mat.enabled; })) {
        applyChams(config->chams["Defusing"].materials, health);
    } else if (player == localPlayer.get()) {
        applyChams(config->chams["Local player"].materials, health);
        applyChams(config->chams["DESYNC"].materials, health);
    } else if (localPlayer->isOtherEnemy(player)) {
        applyChams(config->chams["Enemies"].materials, health);
        if (config->backtrack.enabled) {
            const auto& record = Backtrack::getRecords(player->index());
            if (record.size() && Backtrack::valid(record.front().simulationTime)) {
                if (!appliedChams)
                    hooks->modelRender.callOriginal<void, 21>(ctx, state, info, customBoneToWorld);
                applyChams(config->chams["Backtrack"].materials, health, record.back().matrix);
                interfaces->studioRender->forcedMaterialOverride(nullptr);

            }
        }
    } else {
        applyChams(config->chams["Allies"].materials, health);
    }
}

Line 162 in Chams.cpp

Something is wrong with the configing thingy. When I load my config the ragebot doesn't work at all.

When Anti Aim is on and I am holding a gun, movement is inverted and I get stuck walking in a certain direction. I'll take more time to find where the root of the problem is.

As expected, the problem seems or occur when movement yaw is too high or low.

As expected, the problem seems or occur when movement yaw is too high or low.

If you find why this is happening please PR the fix back so I can merge it, thanks.

Something is wrong with the configing thingy. When I load my config the ragebot doesn't work at all.

Not all of the ragebot / antiaim / visuals config options are added in the toJson functions in config.cpp, add those and that should fix it.
ill poke around and see what i can find out about the yaw / pitch causing incorrect movement

As expected, the problem seems or occur when movement yaw is too high or low.

Enable movement fix.

legit aa flick on the demo, even on 20 ping, any ideas?

I've got fatal errors in assembly Osiris rage/hvh
Any ideas how to ignore errors in Visual Studio?

This is a great fork for hvh but I've found some bugs.
The bugs I've found are:

Crash when trying to join team t at the start of a game
Trying to use DT in rage tab crashes game (I'm pretty sure DT isn't added yet)
Trying to throw a grenade crashes the game

Some other miscellaneous things

Wait for standing position while fake ducking - Add a way to shoot from the standing position accurately while fake ducking (I assume this is just done by delaying the attack until in the standing position)
Fix stuttering - I'm getting stutters in game after injecting when I'm getting more than 200+ fps
Improve Fake duck - When fake ducking it's still pretty easy to get shot, maybe there is a way to improve fd
Add a buy bot - not super high-priority because it's not that useful but would be a great quality of life improvement

So in Config.cpp there are over 200 errors, many of them undeclared identifiers. I'm new to programming, and I'm doing this mainly to create my own fork of Osiris with ragebot on it.

So in Config.cpp there are over 200 errors, many of them undeclared identifiers. I'm new to programming, and I'm doing this mainly to create my own fork of Osiris with ragebot on it.

Please don't spam and wait for an update by me. I'll merge master once I have some time like I did before.

Alright, I can wait.
On Fri, Dec 11, 2020 at 1:11 PM Matěj Štágl<EMAIL_ADDRESS>wrote:

So in Config.cpp there are over 200 errors, many of them undeclared
identifiers. I'm new to programming, and I'm doing this mainly to create my
own fork of Osiris with ragebot on it.
Please don't spam and wait for an update by me. I'll merge master once I
have some time like I did before.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/pull/2074#issuecomment-743345806,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOCKQFCG6ANOPYCYXIJ5MGTSUJOGLANCNFSM4QAJUOMQ
.

Update?

Update?

About extraHooks, I can change Vmtswap to MinHook. Should I go for it ? Would it break anything ? Also, is it safer ?

No linux support, inconsistent code, why bother with the PR?

Buggy mess, no linux support alongside some other things.

Exception thrown at address 0x2ECB8C0D (client.dll) in csgo.exe: 0xC0000005: Read access violation at address 0xB3E0EFD0.
How to fix it?


Any plan with real time data streaming?

Thanks a lot .

Working on it. I will add support for IB gateway.

Great！ Thanks a lot.


fix: enable python generated classes deserialization using cattrs

Problem
Closes: https://github.com/OpenLineage/OpenLineage/issues/2629
Solution
Please describe your change as it relates to the problem, or bug fix, as well as any dependencies. If your change requires a schema change, please describe the schema modification(s) and whether it's a backwards-incompatible or backwards-compatible change, then select one of the following:

Note: All schema changes require discussion. Please link the issue for context.

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
One-line summary:
Checklist

[x] You've signed-off your work
[ ] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.84%. Comparing base (9ae8cc5) to head (2c05068).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2630   +/-   ##
=======================================
  Coverage   84.84%   84.84%
=======================================
  Files          59       59
  Lines        3398     3398
=======================================
  Hits         2883     2883
  Misses        515      515

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

What is the status of this PR?

https://github.com/OpenLineage/OpenLineage/compare/main...python/enable-deserialization
I came up with cattrs solution. One thing I did not include in tests but given the example of environment-properties attribute - this can't be set as Python attribute, it's getting sanitized to environment_properties and original name is put into field's metadata.

I came up with cattrs solution

Should another PR be made from a new branch?


Hook after params attribute is missing

Hi
def do_before(req, resp, resource, params):
	# here params is available

def do_after(req, resp, resource, params):
	# here params is not available

How can I access the params?

Hi @bronte2k7 !
Currently, the framework is designed in a way that "after" hooks do not have access to params, and the signature they should follow is func(req, resp, resource) (plus any additional args/kwargs you can pass via falcon.after).
I see though that documentation for the *args parameter in falcon.after does mention params, but that's most likely a copy-paste mistake that we'll try to rectify.
The idea of after hooks is that they are thought to be used for post-processing the response, where access to params is seldom needed. See also the process_response middleware method.
However, if you do happen to need access to params, or pass any other custom data along the request-response cycle, you can also use req.context and/or resp.context for that purpose.
For instance:
import falcon

def do_before(req, resp, resource, params):
    if params.get('vegetable') == 'cucumber':
        colour = 'green'
    elif params.get('vegetable') == 'tomato':
        colour = 'red'
    else:
        colour = None

    resp.context.colour = params['colour'] = colour

def do_after(req, resp, resource):
    if resp.context.colour:
        resp.set_header('X-Colour', resp.context.colour)

class Vegetables:
    @falcon.before(do_before)
    @falcon.after(do_after)
    def on_get(self, req, resp, vegetable, colour):
        resp.media = {'vegetable': vegetable, 'colour': colour}

app = falcon.App()
app.add_route('/vegetables/{vegetable}', Vegetables())

See also: How can I pass data from a hook to a responder, and between hooks?

Thanks for the detailed answer. Using context is a great idea)))


Fill color from the svg icons is not included in the generator font.

So I am trying to generate a font from these two svg icons : 1,2 (look top left for the icon in the links).
Using fantasticon, the generated font does not have the original color. I took a look at the README.md file and could not find something of help.
I have tried generating the font using icomoon and the color is preserved via css property color.
How can I do that with fantasticon?

I am also interested in this feature! I have been looking for a cli solution that I could run in a CI pipeline and so far no luck. The workaround right now is use iconmoon or add the colors yourself in the CSS.

Hi @lillallol - color information is not related to font generation - icomoon provides an option to generate that into the default CSS  for an icon, which is a kind of feature I may decide to support in the future but so far doesn't seem core to the library.
For now, you can simply add CSS styling to your icons manually.

@tancredi Thanks for the answer. Feel free to close the issue if you want or let it be a feature request.

hey guys, i also need this feature.

Hello, we need this feature