Weird alpha cutting in 3D

Operating system or device - Godot version:
Linux, latest master
Issue description (what happened, and what was expected):
I'm experiencing some weird alpha cutting on Sprite3D nodes.
If there are Sprites overlapping on the right side of the viewport, it works like I expect it to work:

If I move the camera so that the Sprites are on the left half of the viewport, it cuts down every pixel which has Alpha < 1. I don't know it that's intended behavior, but it makes creating a sprite based 2.5D game literally impossible. But maybe this is changing with the new renderer... :-)

All Sprites use this shader:

For example, look at the lower half of the pipe: https://youtu.be/QvAQIWnsLyk
Steps to reproduce:
Put some blurred sprites (with alpha) behind each other and look at them from different perspectives.

it must be related to the z-sorting of the transparent polygons.
it affects also other platforms and other types of 3D nodes that draw transparent polygons.

I feel like my previous reply was short ...
3D transparent polygons are z-sorted by godot renderer, and AFAIK, there is no mean to manually choose the order in which they are drawn.
Though, in some cases, setting the "Fixedmaterial / Material / Flags / On Top" flag might help with the frontmost layer.
The only workaround that i know is to split the large polygons into smaller tiles.

I want to try if it's "fixed" in 3.0, but we need working Sprite3Ds for that.

The problem in this case is pre pass alpha I think, which is just masking a
problem. Withuot prepass alpha, your geometry should be z-sorted and
display properly, you don't want to draw depth on objects with alpha unless
they can't be sorted
On Sun, Jul 2, 2017 at 9:30 AM, Timo Schwarzer<EMAIL_ADDRESS>wrote:

I want to try if it's "fixed" in 3.0, but we need working Sprite3Ds for
that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7243#issuecomment-312489104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2_t3KSB_jDa0Q0w8RFia9DzdGDHOks5sJ41pgaJpZM4LDoGl
.

Will it be possible to disable pre pass alpha in 3.0 (and do z-sorting respectively)? This would make sprite-based perspective 2.5D games possible.

You can already in the material settings
On Jul 2, 2017 9:54 AM, "Timo Schwarzer"<EMAIL_ADDRESS>wrote:

Will it be possible to disable pre pass alpha in 3.0 (and do z-sorting
respectively)? This would make sprite-based perspective 2.5D games possible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7243#issuecomment-312490194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2-tk4_CT3CuWMjVfOwfZApw407i1ks5sJ5L1gaJpZM4LDoGl
.

@reduz Great! Was there an option for this in 2.1 already or is it new in 3.0?

it's an option both in 2.1 and 3.0
On Sun, Jul 2, 2017 at 5:43 PM, Timo Schwarzer<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz Great! Was there an option for this in
2.1 already or is it new in 3.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7243#issuecomment-312515838,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z25Iu816zHzBkn-jK0P2qgDmRG9g5ks5sKADmgaJpZM4LDoGl
.

So, would it be easy to implement custom z-sorting of my nodes? Because currently they are sorted by the distance from the camera, right? But I want to sort them by their z coordinate, because we will never change the look angle in a 2.5D game.
@reduz Can you give me a small hint where I have to investigate here? Thanks :smile:

For 2.1 or 3.0?
On Jul 3, 2017 1:17 AM, "Timo Schwarzer"<EMAIL_ADDRESS>wrote:

So, would it be easy to implement custom z-sorting of my nodes? Because
currently they are sorted by the distance from the camera, right? But I
want to sort them by their z coordinate, because we will never change the
look angle in a 2.5D game.
@reduz https://github.com/reduz Can you give me a small hint where I
have to investigate here? Thanks 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7243#issuecomment-312546192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z24xZNVZ9FxDNJi3ZIEaV5Eez46Xfks5sKGttgaJpZM4LDoGl
.

Preferably 3.0, but if it's possible in 2.1, too, I could experiment there until 3.0 is ready.

So, I got it to work in 2.1! :smile:
Unless this is 100% different in 3.0 I should get it there, too.
For those who are curious:
The only thing that I needed to do was changing one line in drivers/gles2/rasterizer_gles2.cpp:
Line 4561: e->depth = camera_transform.origin.distance_to(p_instance->transform.origin);
to e->depth = p_instance->transform.origin.z;
This causes the renderer to sort everything by its z coordinate. This simple implementation has it's limitations (e.g. you can't look from the backside or everything is sorted wrong) but this is a perfect start for a 2D game with perspective 3D graphics.
Now there are other things to do like getting 2D physics to work in the 3D environment as using 3D physics here is not needed and will only cause other problems. But this does not belong to this issue.
Thanks @reduz! :smile:

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

2D in 3D is still not easy/possible in Godot as it needs changing the engine's z-sorting. It would be nice to have an additional Z-Value for Sprite3Ds and 2D meshes (on roadmap) in 3D, too. The use case for example is a 2.5D platformer.

@timoschwarzer Can you (or anyone else) still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

I cannot reproduce this bug right now in GLES3. I cannot test GLES2 right now because of https://github.com/godotengine/godot/issues/35401

The rendering engine for 2.x and 3.x is so different. I am not sure this issue is even worth tracking anymore.

I, too, think that this issue can be closed.

Closing. If you notice anything like this, feel free to ping me and I'll re-open.


Wrong connection set for eager loaded models with different connection to the model it is attached to

The function call on this line: https://github.com/laravel/framework/blob/a02877f4a610cdc546787b3f40c697778d4c4ae7/src/Illuminate/Database/Eloquent/Builder.php#L1067
Does not return the correct connection for the eager loaded model
How to replicate:
User.php
<?php

class User extends Illuminate\Database\Eloquent\Model {
    $connection = null; // Or can be any connection as long as not same as the eager loaded model

    public function options() {
        return $this->hasMany('App\UserOption');
    }
}

UserOption.php
<?php

class UserOption extends Illuminate\Database\Eloquent\Model {
    $connection = 'connection2'; // Or can be any connection as long as not same as model that eager loaded it

    public function user() {
        return $this->belongsTo('App\User');
    }
}

TestQuery.php
<?php

$query = new App\User::with('options');

$query->get(); // This will make the correct query but it loads the wrong database connection for the eager loaded model

Additional info:
This worked fine in Laravel 5.3, I did not test laravel 5.4
In laravel 5.3 the code to get the $connection was not in the builder, but in the Illuminate\Database\Eloquent\Model.php
As can be seen in 5.3 : https://github.com/laravel/framework/blob/2906b572aa83ff46b8ad57093dd0e859c0ff783f/src/Illuminate/Database/Eloquent/Model.php#L523-L532
Where the hydate( function still has the $connection passed to it.
But in 5.5, the hydrate method no longer has the $connection value passed to it. as seen here:
https://github.com/laravel/framework/blob/a02877f4a610cdc546787b3f40c697778d4c4ae7/src/Illuminate/Database/Eloquent/Builder.php#L255-L262

Any help in regards to this issue would be greatly appreciated.

I think I may have found the issue, is it possible that this line: https://github.com/laravel/framework/blob/a02877f4a610cdc546787b3f40c697778d4c4ae7/src/Illuminate/Database/Eloquent/Builder.php#L1067
Is supposed to be getting the connectionName from the $this->model instead of $this->query?

My previous finds ( The comment before this ) Were wrong, that was not the root of the issue.
Seems that "default_connection" is not used for new instances of the eager models
So I solved it by explicitly setting the $connection = 'connection' to use in the models that used the default connection.


Add basic linting of JSON files using eslint-plugin-json

By adding basic linting of JSON files, we can ensure that they're actually valid and prevent e.g. test-failures caused by accidental errors when editing the test/test_manifest.json file (something that I've done many times myself).
For now this simply uses the recommended configuration, but we can obviously tweak this later if/when needed. Please find additional information at https://github.com/azeemba/eslint-plugin-json

/botio lint


How to get the 3d proposal from 2d?

hi @smallcorgi i wonder which code is about get the 3d proposals for 2d?thanks

Hi @zhaobaozi
I only implemented the CNN part of the paper and you only can get the 3D dimension and orientation of  3d proposals.
In this project, I didn't implement the paper proposed "Correspondence Constraints".
If you want to get the location value (3D object location x,y,z), you can see the method of paper's supplementary materials.
They had some assumptions and used SVD decomposition to get the 3D object location.

Thanks!So the the paper proposed "Correspondence Constraints" only can get the (x,y,z) of proposals?the (w,h,l) and orientation only come from the CNN part? @smallcorgi

@zhaobaozi   yeah, you should use the dimension, R_y， K to plot 3D Bounding Box


BUG: Text of testimonials section not visible in dark mode.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The text color of the testimonials in the dark mode is too black hence making it difficult to read in black backgrounds , I plan to improve the UI of the testimonials card by making changes to the font size , color of the testimonials , please assign this issue to me under GGSOC.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assigned!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!


Add CompactHeapStringList

This adds a List<String> implementation (write once, read many times) that can store up to 1B (or 4GB) of String objects on-heap using a total of 3 Objects.
This is designed to reduce GC load for cases such as ImageRecordReader.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished. 147 tests run, 7 skipped, 0 failed.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/253/Build result: FAILURE[...truncated 1.21 MB...]	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:404)Caused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/3cb47c4ec97016601d8aefdf91bf06559648d177	at sun.reflect.GeneratedConstructorAccessor450.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)	at java.security.AccessController.doPrivileged(Native Method)	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)	at org.kohsuke.github.Requester.parse(Requester.java:535)	at org.kohsuke.github.Requester._to(Requester.java:262)	... 12 moreCaused by: java.io.FileNotFoundException: https://api.github.com/repos/deeplearning4j/nd4j/statuses/3cb47c4ec97016601d8aefdf91bf06559648d177	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)	at org.kohsuke.github.Requester.parse(Requester.java:525)	... 13 more


Atom Crashes on Windows 10 Loading 1MB Log Files

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:
*[X] Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
*[X] Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
*[X] Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
*[X] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
*[X] Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Atom slows down dramatically and eventually crashes. Tried safe-mode, and was able to reproduce this issue. Tried to clear saved state, and while that did solve the issue temporarily, it did come back. I only have two log files that I am working through, both are about 800kbs and 20k lines (not sure if loc is proper term here).
I have checked for updates after clearing saved state, and it states that 1.16.0 is the latest. Tried to install package-cop, but atom crashed before I even got to that.
Steps to Reproduce

Load atom (various conditions: safe mode, clear saved state, etc)
Wait or load log files.
Wait for Microsoft to say that it is not responding

Expected behavior: Smooth operation and scrolling through the log files
Actual behavior: Scrolling stops at some point, and atom crashes
Reproduces how often: 100%
Versions
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
Atom    : 1.16.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
Additional Information
operation_log.txt

Does Atom crash only when you have those 2 log files open and works otherwise with other files or when no files are open?  Also, I'm guessing you can't but just to confirm, would you be able to share the log files so we can try them out?
Lastly, you mentioned how many lines are in each log file but can you also share how large the files are?

Oh sorry, can you also start Atom like this and share any output you see when it crashes?
atom --safe -f

@WanderingKazuma Can you also try to disable the spell-check package to see if that makes Atom faster? There is a performance issue with spell-check on Windows that can affect small files /cc: https://github.com/atom/spell-check/issues/190

Both log files are about 860 to 890 Kilobytes large, and no I can't share the log files. They are almost 85%-95% json structures that were printed into the log from an NLog enabled .NET application.
Funny thing though. I disabled spell-check package, and noticed that Atom immediately went back to what I was expecting it to do, performing very well and fast/responsive. When I re-enabled the spell-check package, it seems like the act of disabling and re-enabling the package fixed whatever was causing the issue I was having. I'm now using atom without any crashes or slowdowns.

I keep on forgetting about that spell-check issue, thanks @Ben3eeE :bow:

When I re-enabled the spell-check package, it seems like the act of disabling and re-enabling the package fixed whatever was causing the issue I was having.

Hmmm, this seems odd, not sure how disabling and re-enabling spell-check would fix things?  I would think as described in that issue that you would have to spell-check disabled to avoid the problem.
In any case, since it sounds like things are working ok for you now and this seems to be a duplicate of https://github.com/atom/spell-check/issues/190, we'll go ahead and close this out @WanderingKazuma.


module 'mmcv' has no attribute 'is_tuple_of'

What version of mmcv have you installed?

Example - UCF101 Action Recognition.ipynb while running this file I am getting below error  :
/content/Monk_Object_Detection/18_mmaction/lib/mmaction/apis/inference.py in ()
5 import mmcv
6 import torch
----> 7 from mmcv.parallel import collate, scatter
8 from mmcv.runner import load_checkpoint
ModuleNotFoundError: No module named 'mmcv.parallel'
Example - UCF101 Action Recognition.ipynb


Added missing image links in Internships box

there were more such missing image I updated all of them

Looks fine ! Mention the #issue  , will merge it @SadafKausar2025

Can you please assign issue no #123 ?

@SadafKausar2025 This is pr no. what issue are you fixing but, mention that issue no.

Can you please assign me this issue #156 ?
issue number is #156

Good Work @SadafKausar2025

Thank You

hello @PSS2134
you have merge the PR but not given any level please give level to it
so that it can be counted in gssoc


Feature #158140285 User Login(db)

What does this PR do?
Modify the User Login endpoint to generate access tokens
Description of Task to be completed?

Use Test Driven Development to create the following endpoints:
POST api/v1/auth/login

How should this be manually tested?

Clone this repository under the ft-User-Login(db)-#158140285 branch.

If the branch is deleted you can view the latest commit on the above branch here

cd into the directory where this repository was cloned.

create a virtual environment using the code below
pip install virtualenv
virtualenv venv

install the requirements needed
pip install -r requirements.txt

run the code below to set the environment variables.
Windows
setx APP_CONFIG_NAME development
setx DB_NAME testdb
setx DB_USER <your postgresql user>
setx DB_PASSWORD <your postgresql user's password>
Ensure your user has read and write privilleges
Mac/Linux
export APP_CONFIG_NAME=development
export DB_NAME=testdb
export DB_USER=<your postgresql user>
export DB_PASSWORD=<your postgresql user's password>
Ensure your user has read and write privilleges

run the code below to start the server:
python maintenanceTracker.py

Test the above endpoints using Postman.

The endpoints documentation can be found on the path
api/v1 inside the browser.

To run tests:
nosetests -v ./MaintenanceTrackerAPI/_tests

Screenshot

What are the relevant pivotal tracker stories?
#158140285
Signed-off-by: Dave Mathews<EMAIL_ADDRESS>

I know I've mis-named my commits as chores but it won't happen again.

Pull Request Test Coverage Report for Build 134

20 of 20 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.1%) to 83.149%

Totals

Change from base Build 131:
2.1%

Covered Lines:
375

Relevant Lines:
451

💛  - Coveralls


stations: add more

Changes

stations: add Oz's doublej :palm_tree: :hamburger:
stations: add Amsterdam's red light radio 🚲

:+1:

@damassi could you release this on npm? Thanks! :tada:

oh sorry!  will do.


Re-design the date time format

Currently the date time format is of the format:

<size>:<timeUnit>:<timeFormat>(:<pattern>( tz(<timezone>))

E.g.

1:SECONDS:EPOCH
1:DAYS:SIMPLE_DATE_FORMAT:yyyy-MM-dd tz(America/Chicago)
1:MILLISECONDS:TIMESTAMP

The problem of this format is that for certain time format, the size and time unit is implicit, and will cause confusion.
The proposal is to change the time format to:

EPOCH|<timeUnit>(|<size>)

EPOCH|SECONDS
EPOCH|MINUTES|5

SDF|<timeFormat>(|<timezone>)

SDF|yyyy-MM-dd
SDF|yyyy-MM-dd'T'HH:mm:ss'Z'|America/Chicago

TIMESTAMP

We want to change the delimiter so that it won't be mixed with the character in the time format

I feel both if these formats cause a lot of confusion for new users. What each value represents is not implicit and requires going through the doc to change every time.
I propose a better way to handle this is to just keep this whole field as JSON.
e.g.
{
      "size":1,
      "timeUnit":"DAYS",
      "timeFormat":"SIMPLE_DATE_FORMAT",
      "pattern":"yyyy-MM-dd",
      "timeZone":"PST"
}

@KKcorps Agree that keeping it as JSON would be easier to use. We still need a single string representation though which can be used as the argument of the DATE_TIME_CONVERT function. The changes proposed here is for the existing DateTimeFieldSpec and DATE_TIME_CONVERT function, and we should do it in a backward compatible way.
The long term solution should be to introduce the DATE_TIME data type, which can take extra properties (e.g. pattern, timeZone).

Created initial PR: #8727

@Jackie-Jiang For EPOCH|<timeUnit>(|<size>) will this size be not there for MILLISECONDS and SECONDS, as you've mentioned:
EPOCH|SECONDS
EPOCH|MINUTES|5

This size is optional for all the time units. If it is not provided, the default size is 1

@Jackie-Jiang In case of 1:HOURS:SIMPLE_DATE_FORMAT:yyyy-MM-dd tz(America/Chicago) what will be equivalent in the new format?

@stym06 It should be SDF|yyyy-MM-dd|America/Chicago. Note that 1:HOURS does not apply to SDF


Update repoman

Cleaned up a lot of code (removed unused namespaces, file-level namespaces added, other stuff)
Add new metadata loading system
Add variables system
Update nuget packages
Update to .NET 7 Isolated AZF

Yeah.. I want to look at rewriting this.. 😁


Update color of the coins....

Need to distinguish copper and bronze coins better, and platinum should be brighter.

Making a tweak to coin color for v<IP_ADDRESS>.  Better differentiation of color between the coins, and having a brighter platinum coin.

Pushed v0.2 to CurseForge.


Arm platform

Have you considered supporting ARM series processors?

I hope to release Docker images for arm64 and support training

I suggest you build the project on your local arm environment. We support arm see https://localai.io/basics/news/index.html#container-images-1. However, I do not find we have build the container of arm.

@Aisuko are you open for contributions that would build both amd64/arm64 in your CI?

we were. The build time of cross compiling on amd64 was too big to keep it in the pipelines.
We need dedicated hardware.

we were. The build time of cross compiling on amd64 was too big to keep it in the CI pipelines.
We need dedicated hardware.

@mudler thanks all your efforts.
Would it be possible to limit the build to official tags?  That way reducing the need for dedicated hardware?  I'm trying to run localai on mac silicon in k3d, failing when pulling the image as amd64 published only.

I'm trying to run localai on mac silicon in k3d, failing when pulling the image as amd64 published only.

With aarch64/arm64 support users running Apple Silicon will likely be running one of Darwin or Linux. I'd like to see GPU support added for metal builds on Linux before containerized again personally and then K3D after.

I'm trying to run localai on mac silicon in k3d, failing when pulling the image as amd64 published only.

With aarch64/arm64 support users running Apple Silicon will likely be running one of Darwin or Linux. I'd like to see GPU support added for metal builds on Linux before containerized again and then K3D after.

we were. The build time of cross compiling on amd64 was too big to keep it in the CI pipelines.
We need dedicated hardware.

@mudler thanks all your efforts.
Would it be possible to limit the build to official tags? That way reducing the need for dedicated hardware? I'm trying to run localai on mac silicon in k3d, failing when pulling the image as amd64 published only.

probably we could try building only part of the core backends - something we can do quite easily now

Hey, is it on the roadmap to support arm?

trying to do docker pull for arm64 got the message below,
~$ docker pull quay.io/go-skynet/local-ai
Using default tag: latest
latest: Pulling from go-skynet/local-ai
no matching manifest for linux/arm64/v8 in the manifest list entries
Not sure there.

arm64 builds for core images is now merged on master and will be in the next release - I have to explore still how much we can build of the current image matrix, but I assume we can't as much as it is adding quite some load overall to the CI for the moment.
Update: master arm64 images are already out master-ffmpeg-core

Received, thank you

腾龙云开发
@.***

------------------ 原始邮件 ------------------
发件人: "pepe @.>;
发送时间: 2024年6月20日(星期四) 凌晨0:59
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [mudler/LocalAI] Arm platform (Issue #1249)
trying to do docker pull for arm64 got the message below,
~$ docker pull quay.io/go-skynet/local-ai
Using default tag: latest
latest: Pulling from go-skynet/local-ai
no matching manifest for linux/arm64/v8 in the manifest list entries
Not sure there.
arm64 builds for core images is now merged on master and will be in the next release - I have to explore still how much we can build of the current image matrix, but I assume we can't as much as it is adding quite some load overall to the CI for the moment.
Update: master arm64 images are already out master-ffmpeg-core
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

only images core image (ffmpeg-core) is supported with the ARM64 architecture as for now. Now we also have arm64 binaries as well. So I'm closing this card as it just needs follow-ups (for instance, to support all the image combinations we currently support on amd64)


0.6 req /s is kinda low ,for real?

we have one A100 can support 2 requests ,throughoutput  about 10 tokens /s，with just kv cache technique. your configuration with 4 *100 can achieve only 0.6 req /s  under vllm seems way too low . find it hard to believe.

we have one A100 can support 2 requests ,throughoutput about 10 tokens /s，with just kv cache technique. your configuration with 4 *100 can achieve only 0.6 req /s under vllm seems way too low . find it hard to believe.

can you give more details about the model's architecture, size, and the way you used to benchmark it? and some more details about the environment

@chuangzhidan please try with the latest main branch. I have made improvements that allow us to match performance the RESTful API to our Python API (see #328).


Add scalar hints and return types to a few Handler classes

Hey!
Is this is the sort of thing you wanted help with for the 2.x milestone?
I'm more than happy to keep going through the handlers when I'm in boring meetings... Let me know if you'd rather have a separate PR for each handler or if you're ok with a bunch of them in one PR :)
And feel free to close this if it's not what you wanted and I'll go back to paying attention 😂.

@katzien sorry for the delay reviewing this, but yes that's exactly what I meant and if you still have idle meeting time I'd love more of these, a few handlers at a time is ok but please not 50 files to review ;) Please have a look at the two commits I did as they are relevant edits.

And thanks!


Add go solution for 435-Non-Overlapping-Intervals

File(s) Modified: 435-Non-Overlapping-Intervals.go
Language(s) Used: go
Submission URL: _https://leetcode.com/submissions/detail/755253626/_

Thanks, @ChrisKheng!


winning/losing and cashed-out positions

On My bets pg:
Show Won with the amount won (can be for cashed out or waiting til market resolved), show Loss with losing value for early cashed out positions or Loss with $0.00 for markets that get resolved...


Resolve rollup build issues

This appears to resolve my rollup issue, though it is likely a coincidence. In any case, it's a start towards extracting things and making it more possible to remove circular references, or at least lessen their impact.
This is perhaps a starting point that may unblock some folks and hopefully won't conflict too much with @o-alexandrov's work in #226

@aaronjensen thank you, you partially resolved circular references that I want to resolve completely later this week.
No problems, only gratitude 😄

I still don't understand how to plan to remove circular dependencies. Subclasses of ZodType (e.g. ZodOptional) are imported into base.ts and are used in method definitions. You can't get around that.

Execution order before and after bundling won’t be guaranteed as mentioned here https://github.com/colinhacks/zod/pull/231#issuecomment-730373217 but would have been relatively consistent (would break from time to time).
But if don’t do resolutions like in this PR, then there would be too many circular dependencies issues that it’s impossible to create a non-breaking order (I have played with it in the mentioned PR above).
The issue with interdependent classes is very rare in this project, I believe there only one or two such instances.
I believe we’d be able to resolve the interdependent classes issue either by:

modularizing some parts of the classes
or we could always mask it with an execution order “fix”, which would be a lot easier when there are only a couple of such issues.

@colinhacks btw, yes, I was experiencing that issue https://github.com/colinhacks/zod/issues/215#issuecomment-723549501

A couple things:

I don't think https://github.com/webpack/webpack/issues/11871 is related to loading order, it's just about the key ordering of the returned object when you use import * as. As I understand it, the file loading order is predictable and consistent regardless of build system (although different between CommonJS and ESM module systems of course).

michelwestrate clarified that this only applied to files that are mutually dependent during initialization. As an example, ZodOptional is dependent on ZodType during initialization (since it extends ZodType) but ZodType isn't dependent on ZodOptional in the way Michel is describing. It's the same reason this works fine:

const foo = ()=>{
  bar();
}

const bar = () => {
  foo();
};

I'm happy getting rid of the import * as statements that are used internally, I'm happy to be more disciplined about only importing what I need.
I'm not willing to get rid of the methods that currently rely on cyclical imports, like .optional() and .nullable(). I can't tell if you were asking that or not.
If you have a way to reproduce #215 please share! I don't know how to start fixing the ESM loading order issues because I don't have a way to test it.

I meant, in the future, if you use webpack to bundle (& minify) zod for users; as of now, it will mess up the order.

any other bundler might have the same issue at some point or even webpack again, after they resolve that issue

I agree

Regarding reproduction, it happened to me with webpack 5.
I resolved all circular dependencies' issues except one that has six instances, please refer to https://github.com/colinhacks/zod/pull/226#issuecomment-743727445


Canvas preview PDF, how to clear canvas and re-render new files instead of adding new rendering content after the original canvas

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Google Chrome 75.0.3770.100（正式版本）（64 位）
Operating system and its version:  windows 10
PDF.js version: 1.9.426
Is a browser extension:

Steps to reproduce the problem:

When you first enter the preview PDF page, canvas can render PDF correctly
2.When you exit the page and re-preview other PDF files, canvas renders a new PDF file behind the original canvas

What is the expected behavior? (add screenshot)
I want to preview PDF again, just look at the current file, not all the information previewed.
What went wrong? (add screenshot)
Page Rendering Document Information Error.I hope you can provide an API to solve this problem. Thank you and look forward to your reply.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

It's essentially impossible to understand what you're actually trying to report/ask here!
Please provide much more detailed and clear information under the "Steps to reproduce the problem" heading, since otherwise it's not possible for anyone to assist. Furthermore, note https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.

PDF.js version: 1.9.426

That version is more than two years old, and is thus no longer supported; please find the latest releases at https://github.com/mozilla/pdf.js/releases


Docs styling improvements

Summary

Uses Paste tokens for colors
Uses Paste fonts
Added tabs to features overview and categorized the features accordingly
Updated to new Flex logo assets
Fixed a couple typos

Checklist

[x] Tested changes end to end
[x] Added PR Label "ready-for-review"
[x] Requested one or more reviewers for the PR

Updated Paste appearance of docs with new logos:

New feature overview tabs:


reword README

Rendered version at https://github.com/joao-paulo-parity/pr-custom-review/tree/readme

There's a pretty handy button called "display the rich diff" for such files


Code behaves differently, and stops

By doing some searching, I found Modin and it caught my interest quite fast.
To test it, i made a script to see if it works better or worse that the ordinary Pandas. This worked very nicely with Ray on my local machine, but my machine isn’t powerful enough to get a good result, so I got my hands on a really powerful server to run it on. I have then copied my script and all dependencies over to the server, and running it there.
On my local machine, when I import Ray, and initializes it in the beginning, it just goes straight to the code itself.
But on the server, it behaves very differently, apparently. So when I run the script, it starts what I suspect is a virtual environment or localhost. After that, it gives me a lot of prints with the ‘UserWarning’ classification. After some time, it just fails saying that:
The raylet exited immediately because the Ray agent failed. The raylet fate shares with the agent. This can happen because the Ray agent was unexpectedly killed or failed. See dashboard_agent.log for the root cause.
I have absolutely not idea why it fails on my server and not on my local machine. They run the exact same code, with the exact same dependencies within an identical Pyenv. So I’m a little lost here, and honestly I don’t know if this is more related to Ray rather than Modin.
I hope someone can help me in some way

Yes of course! My laptop has a I7-10850H with 32GB RAM. I don't know the specific specs of the server, but I do know that I was allocated 64 cores and 128GB RAM,
And here is the logs as well as the error message itself:
dashboard.log
dashboard_agent.log
(pid=) [2022-08-30 07:22:31,087 E 15816 17980] (raylet.exe) agent_manager.cc:107: The raylet exited immediately because the Ray agent failed. The raylet fate shares with the agent. This can happen because the Ray agent was unexpectedly killed or failed. See `dashboard_agent.log` for the root cause.
Traceback (most recent call last):
  File "C:\Users\MANLW\Documents\testing\lpf_linking.py", line 374, in <module>
    matrix = generate_state_matrix(sup, exc, time_resolution="5s", do_interpolation=True)
  File "C:\Users\MANLW\Documents\testing\lpf_linking.py", line 229, in generate_state_matrix
    df = join_state_matrices(state_df_sv, state_df_ex)
  File "C:\Users\MANLW\Documents\testing\lpf_linking.py", line 158, in join_state_matrices
    df = pd.merge_ordered(df1, df2, how='outer')
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\logging\logger_function.py", line 65, in run_and_log
    return f(*args, **kwargs)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\pandas\general.py", line 132, in merge_ordered
    right = to_pandas(right)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\utils.py", line 399, in to_pandas
    return modin_obj._to_pandas()
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrap
    return method(*args, **kwargs)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\pandas\dataframe.py", line 2884, in _to_pandas
    return self._query_compiler.to_pandas()
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrap
    return method(*args, **kwargs)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\storage_formats\pandas\query_compiler.py", line 259, in to_pandas
    return self._modin_frame.to_pandas()
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\logging\logger_metaclass.py", line 68, in log_wrap
    return method(*args, **kwargs)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\dataframe\pandas\dataframe\dataframe.py", line 115, in run_f_on_minimally_updated_metadata
    result = f(self, *args, **kwargs)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\dataframe\pandas\dataframe\dataframe.py", line 2835, in to_pandas
    df = self._partition_mgr_cls.to_pandas(self._partitions)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\dataframe\pandas\partitioning\partition_manager.py", line 639, in to_pandas
    retrieved_objects = [[obj.to_pandas() for obj in part] for part in partitions]
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\dataframe\pandas\partitioning\partition_manager.py", line 639, in <listcomp>
    retrieved_objects = [[obj.to_pandas() for obj in part] for part in partitions]
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\dataframe\pandas\partitioning\partition_manager.py", line 639, in <listcomp>
    retrieved_objects = [[obj.to_pandas() for obj in part] for part in partitions]
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\dataframe\pandas\partitioning\partition.py", line 125, in to_pandas
    dataframe = self.get()
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\modin\core\execution\ray\implementations\pandas_on_ray\partitioning\partition.py", line 80, in get
    result = ray.get(self.oid)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\ray\_private\client_mode_hook.py", line 105, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\MANLW\.env\cps_ml\lib\site-packages\ray\worker.py", line 1811, in get
    raise value
ray.exceptions.LocalRayletDiedError: The task's local raylet died. Check raylet.out for more information.

@MANLW-Vestas thanks for sending that information. Could you also send the raylet.out log as the end of the error message says, as well as the raylet.err? Those should be in /tmp/ray/session_latest/logs/ after you run your script.
Additionally, can you run either of the following scripts without error:
import modin.pandas as pd

print(pd.DataFrame([3]))

import ray

oid = ray.put(3)
print(ray.get(oid))

If you can run either of those scripts, then we can narrow the problem down to the usage of ray via your script in particular.

Here are the two raylet files. The
raylet.out.txt
raylet.err.txt
And yes, I'm able to run both those tests without errrors. In the Modin test, it comes with the following:
UserWarning: Ray execution environment not yet initialized. Initializing...
To remove this warning, run the following python code before doing dataframe operations:

    import ray
    ray.init()

UserWarning: Distributing <class 'list'> object. This may take some time.
   0
0  3

While in the Ray test this is the output:
2022-08-31 06:14:18,135 INFO services.py:1456 -- View the Ray dashboard at http://<IP_ADDRESS>:8265
3

A thing I just noticed, is that in the ray test, it starts a localhost, and in the modin test, it recommends it, if I understand that message correctly.
But in my own script it also comes with that recommendation of using ray.init(), but it then, fails on the first pandas line, if it hasn't initialized

@MANLW-Vestas it would help us a lot if you could post a minimum reproducible example of the problem you are facing so that we can triage the issue!

I have made a little script that produces the problem that I have. Hope this can be used.
The variable n represents a file that I have, and it's the same amount of entries
import ray
ray.init()
import random
import modin.pandas as pd
from datetime import datetime

def main():

    n = 676532

    matrix = pd.DataFrame({
        "timestamp": [datetime.fromtimestamp(i) for i in range(n)],
        1:  [random.getrandbits(1) for _ in range(n)],
        2:  [random.getrandbits(1) for _ in range(n)],
        3:  [random.getrandbits(1) for _ in range(n)],
        4:  [random.getrandbits(1) for _ in range(n)],
        5:  [random.getrandbits(1) for _ in range(n)],
        6:  [random.getrandbits(1) for _ in range(n)],
        7:  [random.getrandbits(1) for _ in range(n)],
        8:  [random.getrandbits(1) for _ in range(n)],
        9:  [random.getrandbits(1) for _ in range(n)],
        10: [random.getrandbits(1) for _ in range(n)],
        11: [random.getrandbits(1) for _ in range(n)],
        12: [random.getrandbits(1) for _ in range(n)],
        13: [random.getrandbits(1) for _ in range(n)],
        14: [random.getrandbits(1) for _ in range(n)],
        15: [random.getrandbits(1) for _ in range(n)],
        16: [random.getrandbits(1) for _ in range(n)],
        17: [random.getrandbits(1) for _ in range(n)],
        18: [random.getrandbits(1) for _ in range(n)],
        19: [random.getrandbits(1) for _ in range(n)],
        20: [random.getrandbits(1) for _ in range(n)],
        21: [random.getrandbits(1) for _ in range(n)],
        22: [random.getrandbits(1) for _ in range(n)],
        23: [random.getrandbits(1) for _ in range(n)],
        24: [random.getrandbits(1) for _ in range(n)],
        25: [random.getrandbits(1) for _ in range(n)],
        26: [random.getrandbits(1) for _ in range(n)],
        27: [random.getrandbits(1) for _ in range(n)],
        28: [random.getrandbits(1) for _ in range(n)],
        29: [random.getrandbits(1) for _ in range(n)],
        30: [random.getrandbits(1) for _ in range(n)],
        31: [random.getrandbits(1) for _ in range(n)],
        32: [random.getrandbits(1) for _ in range(n)],
        33: [random.getrandbits(1) for _ in range(n)],
        34: [random.getrandbits(1) for _ in range(n)],
        35: [random.getrandbits(1) for _ in range(n)],
        36: [random.getrandbits(1) for _ in range(n)],
        37: [random.getrandbits(1) for _ in range(n)],
        38: [random.getrandbits(1) for _ in range(n)],
        39: [random.getrandbits(1) for _ in range(n)],
        40: [random.getrandbits(1) for _ in range(n)],
        41: [random.getrandbits(1) for _ in range(n)],
        42: [random.getrandbits(1) for _ in range(n)],
        43: [random.getrandbits(1) for _ in range(n)],
        44: [random.getrandbits(1) for _ in range(n)],
        45: [random.getrandbits(1) for _ in range(n)],
        46: [random.getrandbits(1) for _ in range(n)],
        47: [random.getrandbits(1) for _ in range(n)],
        48: [random.getrandbits(1) for _ in range(n)],
        49: [random.getrandbits(1) for _ in range(n)],
    })

    matrix["timestamp"] = pd.to_datetime(list(matrix["timestamp"]), infer_datetime_format=True)
    matrix.set_index("timestamp", inplace=True)

    get_event_intervals(matrix)

def get_event_intervals(state_matrix: pd.DataFrame,) -> pd.DataFrame:

    state_matrix = state_matrix.sort_values(by = ['timestamp']).reset_index(drop = False)

    state_matrix.sort_values(by=["timestamp"], inplace=True)
    state_matrix['time_delta'] = (state_matrix['timestamp'] - state_matrix['timestamp'].shift(1)).astype('timedelta64[s]')

    state_matrix['time_delta_acc'] = state_matrix['time_delta'].cumsum()
    state_matrix['time_delta_acc'] = state_matrix['time_delta_acc'].fillna(0.0)
    state_matrix['time_delta'] = state_matrix['time_delta'].fillna(method = 'bfill')

    event_intervals = state_matrix.melt(
        id_vars = ['timestamp', 'time_delta', 'time_delta_acc'],
        var_name = 'event_id',
        value_name = 'state')

    event_intervals['event_id'] = event_intervals['event_id'].astype(str)

    event_intervals = event_intervals.sort_values(by=['event_id', 'timestamp']).reset_index(drop=True)
    event_intervals['interval_id'] = (
            (event_intervals['state'] != event_intervals['state'].shift(1))
            | (event_intervals['event_id'] != event_intervals['event_id'].shift(1))
    ).astype('int').cumsum()

    event_intervals = event_intervals.groupby(['event_id', 'state', 'interval_id']).agg(
        {'time_delta' : 'sum', 'time_delta_acc' : 'first', 'timestamp' : 'min'}).reset_index(drop = False)

    event_intervals.rename(
        columns = {'time_delta' : 'duration', 'time_delta_acc' : 'time_from_start', 'timestamp' : 'timestamp_min'},
        inplace = True)

    event_intervals['timestamp_max'] = event_intervals['timestamp_min'] + pd.to_timedelta(event_intervals['duration'], unit = 's')

    return event_intervals[[c for c in event_intervals.columns if c not in ['interval_id']]]

if __name__ == "__main__":
    main()

I think the problem in @MANLW-Vestas 's script is event_intervals['timestamp_max'] = event_intervals['timestamp_min'] + pd.to_timedelta(event_intervals['duration'], unit = 's'). That's giving me ValueError: Unable to coerce to Series, length must be 2: given 98 and ValueError: Unable to coerce to Series, length must be 32: given 98. That is #4967, but the root cause is #4966, which makes the right operand a TimedeltaIndex instead of a modin series. Once solve #4966, I think this script should be fixed, because adding series to series works without error. So I'm going to mark this as a duplicate of #4966.
@MANLW-Vestas we'll try to fix #4966 soon. Thank you for giving us a complete reproducer.

Ray task error
  File "/Users/maheshvashishtha/software_sources/modin/modin/core/execution/ray/implementations/pandas_on_ray/partitioning/partition.py", line 450, in _apply_list_of_funcs
    partition = func(partition.copy(), *args, **kwargs)
  File "/Users/maheshvashishtha/software_sources/modin/modin/core/dataframe/algebra/binary.py", line 115, in <lambda>
    lambda df: func(df, other, *args, **kwargs),
  File "/Users/maheshvashishtha/opt/anaconda3/envs/modin-dev/lib/python3.10/site-packages/pandas/core/ops/__init__.py", line 434, in f
    self, other = align_method_FRAME(self, other, axis, flex=True, level=level)
  File "/Users/maheshvashishtha/opt/anaconda3/envs/modin-dev/lib/python3.10/site-packages/pandas/core/ops/__init__.py", line 282, in align_method_FRAME
    right = to_series(right)
  File "/Users/maheshvashishtha/opt/anaconda3/envs/modin-dev/lib/python3.10/site-packages/pandas/core/ops/__init__.py", line 233, in to_series
    raise ValueError(
ValueError: Unable to coerce to Series, length must be 2: given 98

Duplicate of #4966


Search depended packages by path suffix

Package search by substring finds the substring in libc6-dev package in bookworm causing dev packages to be installed in the slim image.
Fixes #857.

I verified what changed due to this commit:
$ docker run --rm python:3.11.3-slim-bookworm dpkg-query -Wf '${Package}\n' > 3.11.3-slim-bookworm.lst
$ docker run --rm sha256:0f312442888796fbacf071931af23bb652eec5d948603ce0744e09ae1cc245b8 dpkg-query -Wf '${Package}\n' > 3.11.4-slim-bookworm-patched.lst
$ diff 3.11.4-slim-bookworm*
31d30
< libc-dev-bin
33d31
< libc6-dev
37d34
< libcrypt-dev
63d59
< libnsl-dev
86d81
< libtirpc-dev
93d87
< linux-libc-dev
105d98
< rpcsvc-proto

If the first character in the filename-search-pattern is none of *[?/ then it will be considered a substring match and will be implicitly surrounded by * (as in *filename-search-pattern*).
https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S

LGTM
$ docker run -it --rm python:slim bash
root@097ad189d1b7:/# diff -u \
<(find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' 2>/dev/null | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u) \
<(find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' 2>/dev/null | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u)
--- /dev/fd/63  2023-08-25 21:01:29.769054925 +0000
+++ /dev/fd/62  2023-08-25 21:01:29.769054925 +0000
@@ -1,6 +1,5 @@
 libbz2-1.0
 libc6
-libc6-dev
 libcom-err2
 libcrypt1
 libdb5.3

Thank you!

Thank you.
I realize it would have been helpful, had I noticed to include the quote already in the comments. Sorry for that.

For my own future reference, the specific offending file path is this one:
libc6-dev:amd64: /usr/share/gdb/auto-load/lib/x86_64-linux-gnu/libc.so.6-gdb.py

:face_exhaling:


Leadership changes happening every few minutes - happens in GKE, not K3D

We're using graft for our consumer deployment's leader election. I'm noticing something happening while testing in GKE that I've never seen while testing on my local laptop (using k3d for Kubernetes). Very frequently (every couple minutes or so) the leader is going down - I guess it must be getting some RPC message? Not sure why. Our code looks like:
    rpc, err := graft.NewNatsRpc(opts)
    if err != nil {
        log.Fatalw("failed to new Nats Rpc", zap.Error(err))
    }
    errChan := make(chan error)
    stateChangeChan := make(chan graft.StateChange)
    handler := graft.NewChanHandler(stateChangeChan, errChan)
    node, err := graft.New(ci, handler, rpc, "/tmp/graft.log")
    if err != nil {
        log.Fatalw("failed to new a node", zap.Error(err))
    }
    defer node.Close()

    cctx, cancel := context.WithCancel(ctx)
    defer cancel()

    if node.State() == graft.LEADER {
        log.Info("I'm the LEADER, starting ...")
        go callbacks.OnStartedLeading(cctx)
    } else {
        log.Info("Not the LEADER, stand by ...")
    }

    handleStateChange := func(sc graft.StateChange) {
        switch sc.To {
        case graft.LEADER:
            log.Info("I'm the LEADER, starting ...")
            go callbacks.OnStartedLeading(cctx)
        case graft.FOLLOWER, graft.CANDIDATE:
            log.Infof("Becoming a %v, stand by ...", sc.To)
            dat, err := os.ReadFile("/tmp/graft.log")
            if err != nil {
                log.Debugf("error reading /tmp/graft.log: %v", err)
            } else {
                log.Debugf("/tmp/graft.log contents: '%s'", dat)
            }
            if sc.From == graft.LEADER {
                cancel()
                callbacks.OnStoppedLeading()
                cctx, cancel = context.WithCancel(ctx)
            }
        case graft.CLOSED:
            if sc.From == graft.LEADER {
                cancel()
                callbacks.OnStoppedLeading()
            }
            log.Fatal("Leader elector connection was CLOSED")
        default:
            log.Fatalf("Unknown state: %s", sc.To)
        }
    }

And we are hitting that case graft.FOLLOWER, graft.CANDIDATE: line.
I added the log line to dump the /tmp/graft.log file. Not sure if that's interesting but this last time it looked like:
'{"SHA":"eyJDdXJyZW50VGVybSI6MjksIlZvdGVkRm9yIjoiYTM1NjI4NjI4ODI2YmQ0YWMzYzIyYWQ2OTIifdo5o+5ea0sNMlW/75VgGJCv2AcJ","Data":"eyJDdXJyZW50VGVybSI6MjksIlZvdGVkRm9yIjoiYTM1NjI4NjI4ODI2YmQ0YWMzYzIyYWQ2OTIifQ=="}'

I'm going to get a better idea of when this is happening actually. Closing this for now....


Marker does not disappear on scroll | Compose

Describe the bug
The chart's marker does not disappear if the user touches the chart to show the marker and immediately performs scrolling on the LazyColumn which the chart is part of.
Module

[ ] compose
[ ] views
[ ] compose-m2
[ ] compose-m3
[x] core

To reproduce

Download vico v1.7.2 source code
Build & Run app
Perform onTouch on chart to have marker displayed & scroll the screen

Expected behavior
The marker should disappear when user scrolls the screen.
Screenshots

Video
Android versions

Android 10 (S9 - physical device)
Android 12 (Pixel 6 - emulator)

Additional context

It works for the Views example
Marker documentation does not mention that this is the default behavior and since those are not persistent markers, the user would expect them by default to disappear when scrolling

Thanks for the bug report! The next update will fix this.

Vico 1.8.0 resolves this issue. Cheers!


ecalsys: start application with gdb on linux

Is your feature request related to a problem? Please describe.
Given the situation that a application that has been started via eCAL crashes, it might be helpful to analyze this crash with an debugger and/or to create a stacktrace.
To achieve that, it's necessary to open a terminal window, to navigate to the working directory, copy the path to the executable and the command line arguments to the terminal and execute the same command using gdb. Like mentioned, this requires some manual steps.
Describe the solution you'd like
It would be helpful, if there is a possibility to directly start the same executable with the same command line arguments in the same environment and same working directory just by selecting an additional checkbox.
Describe alternatives you've considered
Maybe there is another way to create stacktraces automatically in case of an error. I know that this is possible on windows.

Hi Julien,
With eCAL you mean eCAL Sys, right? eCAL Sys since eCAL 5.9 displays a preview in the GUI, where it tells you the command line it will use to start an application (evaluated on the PC the GUI is running on, obviously). You can copy that string to a terminal to start your application with a debugger. You can also create a runner, which automatically starts the application with a debugger. But I am not sure if that is really helpfull, as the terminal should not be interactive by default...

Regards
Florian

ah that's very helpful already.
Yes that's right: With eCalSys it would not be interactive.
Thus, I'm not sure if a separate Runner would be an option.
However, would it be possible to create a complete command that would be necessary to execute the application with gdb like:
cd /path/to/workdir && gdb -ex run --args ./a.out arg1 arg2 ...
and provide the possibility to copy that command?

Well, when configuring the runner with the example options you wrote, you would get:

You still have to copy the working dir and the executable command line separately, but otherwise it is basically what you wrote.

just thinking about if it would be possible to have a button for the gdb command.
When clicking on that, the user gets a pop-up containing the command to start gdb.

Purpose of that would be to make it as easy as possible for the user to start the debugger. (so that even a non-developer is able to start this application)
Regarding the approach with the Runners I currently see some drawbacks:
If the application is already using another Runner, than it's not possible to combine this with the gdb-functionality.
Additionally, the gdb functionality might need to be configured manually in advance.

maybe even a addition to that proposal:
Typically if a application does not start up properly, the developer typically tries to recreate the command line to start up the application from the terminal. Then he executes the command and looks at the output in the terminal to identify the problem.
Also for that functionality, it might be helpful to have the possibility to directly copy the concatenated command to start the application from outside of ecalsys

I am closing this issue, as space in a GUI is worth a lot and implementing this very specialized button doesn't feel right. It can be "emulated" in a few settings by typing gdb -ex run --args by hand and then pasting the command line displayed in the eCAL Sys GUI.
If more users request this feature, we may still add it in the future, but for now I don't really see the necessity


Creator dashboard project activity loading indicator

What
Added a loading indicator when navigating to dashboard tab.
Why
Before adding the loading indicator the user would encounter a blank screen as the dashboard was loading.  The loading indicator gives the user the feedback that the dashboard is loading.
See 👀

@cdolm92 header's def a better approach 👍 let me know when you're done and I'll review again 🙂

@justinswart thanks! going to do some testing will let you know after 😄


Adds conditional logic for the retrieval of credentials

The proposed changes will allow for the successful retrieval of either OAuth or JWT credentials through composition, so that App Builder template developers don't have the need to hardcode in the template which credential to retrieve.
Description
The new changes add conditional logic to look for OAuth credentials, and if such credentials are undefined, it will look for the JWT ones. This change will also make room for future auth providers to be added into the conditional.
Related Issue
https://github.com/adobe/commerce-events-ext-tpl/pull/6

Motivation and Context
This update will benefit App Builder template developers by removing the requirement to hard code credentials in each template, whether existing or new. This change significantly reduces the need for hardcoded information in templates that support multiple authentication protocols, as well as the possibility of new auth providers to be added in the future.
How Has This Been Tested?
These changes were tested specifically with _commerce-events-ext-tpl_ commerce template for App Builder. With the proposed additional code, apps were successfully initialized and deployed for projects using both JWT and OAuth credentials, including half-way the migration process from JWT to OAuth.
Screenshots (if appropriate):
Types of changes

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

Checklist:

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

@mariam21arauj
Nice, this would be a good addition to the lib, making it easier for template implementers to get credentials. Couple questions:

Do we want to have the CLI output that it's looking for OAuth S2S / JWT / Future credentials? Right now this function will do that because it calls the functions to get the first OAuth or JWT credentials and they both use the spinner to output text to the terminal
It might be more performant to have this function make the getCredentials() call once and then use helpers to try to find the first OAuth / JWT / Future credential. This also addresses the first question, because we wouldn't be calling the getFirst- functions directly, and could introduce our own spinner text in this new function

cc: @shazron

@mariam21arauj
Nice, this would be a good addition to the lib, making it easier for template implementers to get credentials. Couple things to think about:

Do we want to have the CLI output that it's looking for OAuth S2S / JWT / Future credentials? Right now this function will do that because it calls the functions to get the first OAuth or JWT credentials and they both use the spinner to output text to the terminal
It might be more performant to have this function make the getCredentials() call once and then use helpers to try to find the first OAuth / JWT / Future credential. This also addresses the first question, because we wouldn't be calling the getFirst- functions directly, and could introduce our own spinner text in this new function

cc: @shazron

Thanks for the feedback, Michael! Just added the suggested changes. Please let me know what you think.

@MichaelGoberling can we squash everything next time? this will be hard to revert if there was an issue in production. Not that there is right now... but investigating an issue in this whole lib currently.


Limit TR publication based on file changed

Right now, the action with publish a new TR each time there is a push to the repo. But some pushes don't affect the spec at all (e.g. updates to admin files, to github workflows, etc).
It would be good to be able to limit TR publications to cases where the commits impact at least one potentially-relevant file (I'm not sure if this should be an allowlist or a blocklist; maybe both should be supported)

Related: https://github.com/sidvishnoi/spec-prod/issues/8


Add more flake8 requirements

This adds a few more flake8 requirements to encourage cleaner code:

W191 indentation contains tabs
W291 trailing whitespace
F401 unused import
E262 inline comment should start with a ‘# ‘
W605 invalid escape sequence ‘[elm]’ (probably in comments that should be ignored?)

Codecov Report

Merging #157 (1a18367) into master (e11110d) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #157   +/-   ##
=======================================
  Coverage   73.78%   73.78%
=======================================
  Files          31       31
  Lines        1957     1957
=======================================
  Hits         1444     1444
  Misses        513      513

Cobaya uses W1,W2,W3,W6 which is I think consistent with Pycharm's auto-format.


OSX stopped working (2nd time in 5 days)

Hi guys,
Are there any updates being made that may be affecting the app or is it something on my computer? My toggle desktop app stopped opening last week so I had to uninstall it and download it again to make it work.
I first tried the App Store version but that one did not work either.
Today, maybe 4 days since I reinstalled it I am having the same issue. Any idea what could be happening?
I know I can use the browser version in the meantime, but it is not as easy.
Thanks.
By the way I am running macOS Sierra 10.12.6

What version of the app you are using. The version from our website is the most up to date version. Can this be connected to mac restarting as described in this issue #2141

I had the same problem. My mac console told me that toggl was looking for libcrypto1.1.dylib. That file was nowhere to be found.
macos 10.13.3
Below you can find the part of the crash report.
Dyld Error Message:
Library not loaded: /usr/local/lib/libcrypto.1.1.dylib
Referenced from: /Applications/TogglDesktop.app/Contents/Frameworks/TogglDesktopLibrary.dylib
Reason: image not found

@wuiidl This issue should be fixed with the latest beta version

@IndrekV I am using version 7.4.91. got it from here last week: https://support.toggl.com/toggl-desktop-for-mac-osx/
I don't think it is related to the issue #2141. I had this problem without even reseting, just closing the app. And also, I don't get any pop-ups or messages. It just does not open.
How stable is the beta version? Should I try this?
Thanks!

Running the beta version now. Seems to be working at the moment.

I tested the version 7.4.91 and it was indeed broken. The latest beta has the fix so it should be ok now.


WI Example does not work & layout is unclear.

The example in this document does not work as expected. I have followed the instructions on an existing and brand new Kubernetes cluster. In both instances I get the same error when running the pod at the end. The container is stuck in creating and when I describe the container I can see the following errors:
`$ kubectl describe pod busybox-secrets-store-inline-user-msi
Name:             busybox-secrets-store-inline-user-msi
Namespace:        default
Priority:         0
Service Account:  workload-identity-sa
Node:             aks-nodepool1-81735245-vmss000001/<IP_ADDRESS>
Start Time:       Fri, 10 Mar 2023 13:37:48 +0000
Labels:           <none>
Annotations:      <none>
Status:           Pending
IP:
IPs:              <none>
Containers:
  busybox:
    Container ID:
    Image:         k8s.gcr.io/e2e-test-images/busybox:1.29-1
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/sleep
      10000
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /mnt/secrets-store from secrets-store01-inline (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-lcx5p (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  secrets-store01-inline:
    Type:              CSI (a Container Storage Interface (CSI) volume source)
    Driver:            secrets-store.csi.k8s.io
    FSType:
    ReadOnly:          true
    VolumeAttributes:      secretProviderClass=azure-kvname-workload-identity
  kube-api-access-lcx5p:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason       Age   From               Message
  ----     ------       ----  ----               -------
  Normal   Scheduled    19s   default-scheduler  Successfully assigned default/busybox-secrets-store-inline-user-msi to aks-nodepool1-81735245-vmss000001
  Warning  FailedMount  17s   kubelet            MountVolume.SetUp failed for volume "secrets-store01-inline" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod default/busybox-secrets-store-inline-user-msi, err: rpc error: code = Unknown desc = failed to mount objects, error: failed to get keyvault client: failed to get authorizer for keyvault client: failed to acquire token: FromAssertion(): http call(https://login.microsoftonline.com/d95095be-6338-44be-89cb-12753aa161e4/oauth2/v2.0/token)(POST) error: reply status code was 400:
{"error":"invalid_request","error_description":"AADSTS70021: No matching federated identity record found for presented assertion. Assertion Issuer: 'https://uksouth.oic.prod-aks.azure.com/d95095be-6338-44be-89cb-12753aa161e4/7627b819-b0f2-4621-934c-c458148d71be/'. Assertion Subject: 'system:serviceaccount:default:workload-identity-sa'. Assertion Audience: 'api://AzureADTokenExchange'. https://docs.microsoft.com/en-us/azure/active-directory/develop/workload-identity-federation\r\nTrace ID: 1394ce8c-1d54-4884-8e49-c7d21befd100\r\nCorrelation ID: 8680a22b-ff54-481d-afa8-b3e1e951162a\r\nTimestamp: 2023-03-10 13:37:50Z","error_codes":[70021],"timestamp":"2023-03-10 13:37:50Z","trace_id":"1394ce8c-1d54-4884-8e49-c7d21befd100","correlation_id":"8680a22b-ff54-481d-afa8-b3e1e951162a","error_uri":"https://login.microsoftonline.com/error?code=70021"}
  Warning  FailedMount  16s  kubelet  MountVolume.SetUp failed for volume "secrets-store01-inline" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod default/busybox-secrets-store-inline-user-msi, err: rpc error: code = Unknown desc = failed to mount objects, error: failed to get keyvault client: failed to get authorizer for keyvault client: failed to acquire token: FromAssertion(): http call(https://login.microsoftonline.com/d95095be-6338-44be-89cb-12753aa161e4/oauth2/v2.0/token)(POST) error: reply status code was 400:
{"error":"invalid_request","error_description":"AADSTS70021: No matching federated identity record found for presented assertion. Assertion Issuer: 'https://uksouth.oic.prod-aks.azure.com/d95095be-6338-44be-89cb-12753aa161e4/7627b819-b0f2-4621-934c-c458148d71be/'. Assertion Subject: 'system:serviceaccount:default:workload-identity-sa'. Assertion Audience: 'api://AzureADTokenExchange'. https://docs.microsoft.com/en-us/azure/active-directory/develop/workload-identity-federation\r\nTrace ID: c3b47016-8f32-4e87-878f-78eb5cc60c00\r\nCorrelation ID: 2e6fa8fc-ee7d-44a5-bc69-491c47fc1f15\r\nTimestamp: 2023-03-10 13:37:51Z","error_codes":[70021],"timestamp":"2023-03-10 13:37:51Z","trace_id":"c3b47016-8f32-4e87-878f-78eb5cc60c00","correlation_id":"2e6fa8fc-ee7d-44a5-bc69-491c47fc1f15","error_uri":"https://login.microsoftonline.com/error?code=70021"}
  Warning  FailedMount  15s  kubelet  MountVolume.SetUp failed for volume "secrets-store01-inline" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod default/busybox-secrets-store-inline-user-msi, err: rpc error: code = Unknown desc = failed to mount objects, error: failed to get keyvault client: failed to get authorizer for keyvault client: failed to acquire token: FromAssertion(): http call(https://login.microsoftonline.com/d95095be-6338-44be-89cb-12753aa161e4/oauth2/v2.0/token)(POST) error: reply status code was 400:
{"error":"invalid_request","error_description":"AADSTS70021: No matching federated identity record found for presented assertion. Assertion Issuer: 'https://uksouth.oic.prod-aks.azure.com/d95095be-6338-44be-89cb-12753aa161e4/7627b819-b0f2-4621-934c-c458148d71be/'. Assertion Subject: 'system:serviceaccount:default:workload-identity-sa'. Assertion Audience: 'api://AzureADTokenExchange'. https://docs.microsoft.com/en-us/azure/active-directory/develop/workload-identity-federation\r\nTrace ID: 50063224-eaa6-4b6e-8488-f2f376042900\r\nCorrelation ID: 3f40e554-c771-46aa-bb9e-5761e8dab582\r\nTimestamp: 2023-03-10 13:37:52Z","error_codes":[70021],"timestamp":"2023-03-10 13:37:52Z","trace_id":"50063224-eaa6-4b6e-8488-f2f376042900","correlation_id":"3f40e554-c771-46aa-bb9e-5761e8dab582","error_uri":"https://login.microsoftonline.com/error?code=70021"}
  Warning  FailedMount  12s  kubelet  MountVolume.SetUp failed for volume "secrets-store01-inline" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod default/busybox-secrets-store-inline-user-msi, err: rpc error: code = Unknown desc = failed to mount objects, error: failed to get keyvault client: failed to get authorizer for keyvault client: failed to acquire token: FromAssertion(): http call(https://login.microsoftonline.com/d95095be-6338-44be-89cb-12753aa161e4/oauth2/v2.0/token)(POST) error: reply status code was 400:
{"error":"invalid_request","error_description":"AADSTS70021: No matching federated identity record found for presented assertion. Assertion Issuer: 'https://uksouth.oic.prod-aks.azure.com/d95095be-6338-44be-89cb-12753aa161e4/7627b819-b0f2-4621-934c-c458148d71be/'. Assertion Subject: 'system:serviceaccount:default:workload-identity-sa'. Assertion Audience: 'api://AzureADTokenExchange'. https://docs.microsoft.com/en-us/azure/active-directory/develop/workload-identity-federation\r\nTrace ID: c0b36902-7be7-4bf4-9fd5-21c871408500\r\nCorrelation ID: f96fe669-3f7e-4491-bcdb-5337921ce3c7\r\nTimestamp: 2023-03-10 13:37:55Z","error_codes":[70021],"timestamp":"2023-03-10 13:37:55Z","trace_id":"c0b36902-7be7-4bf4-9fd5-21c871408500","correlation_id":"f96fe669-3f7e-4491-bcdb-5337921ce3c7","error_uri":"https://login.microsoftonline.com/error?code=70021"}
  Warning  FailedMount  8s  kubelet  MountVolume.SetUp failed for volume "secrets-store01-inline" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod default/busybox-secrets-store-inline-user-msi, err: rpc error: code = Unknown desc = failed to mount objects, error: failed to get keyvault client: failed to get authorizer for keyvault client: failed to acquire token: FromAssertion(): http call(https://login.microsoftonline.com/d95095be-6338-44be-89cb-12753aa161e4/oauth2/v2.0/token)(POST) error: reply status code was 400:
{"error":"invalid_request","error_description":"AADSTS70021: No matching federated identity record found for presented assertion. Assertion Issuer: 'https://uksouth.oic.prod-aks.azure.com/d95095be-6338-44be-89cb-12753aa161e4/7627b819-b0f2-4621-934c-c458148d71be/'. Assertion Subject: 'system:serviceaccount:default:workload-identity-sa'. Assertion Audience: 'api://AzureADTokenExchange'. https://docs.microsoft.com/en-us/azure/active-directory/develop/workload-identity-federation\r\nTrace ID: 65450363-e5a3-4718-82ce-b2ed69919600\r\nCorrelation ID: 29efc823-7c1a-449a-9602-847c6d13623f\r\nTimestamp: 2023-03-10 13:37:59Z","error_codes":[70021],"timestamp":"2023-03-10 13:37:59Z","trace_id":"65450363-e5a3-4718-82ce-b2ed69919600","correlation_id":"29efc823-7c1a-449a-9602-847c6d13623f","error_uri":"https://login.microsoftonline.com/error?code=70021"}`

The federated credential is present and the issuer url is matched including the trailing slash as suggested in the trouble shooting guide: https://secrets-store-csi-driver.sigs.k8s.io/troubleshooting.html
The document also then has an additional section without any context called "Use the CSI Secret Store addon user-assigned managed identity". I thought that was what was just done. This section seems to start the entire process again this time adding identities to the nodepool etc.

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

ID: ec9ff712-aa4c-4e95-ba96-2405010d9f83
Version Independent ID: f553a5a4-a20f-8efd-3712-e64112c35676
Content: Provide an access identity to the Azure Key Vault Provider for Secrets Store CSI Driver for Azure Kubernetes Service (AKS) secrets - Azure Kubernetes Service
Content Source: articles/aks/csi-secrets-store-identity-access.md
Service: azure-kubernetes-service
GitHub Login: @Nickomang
Microsoft Alias: nickoman

@owainow
Thanks for your feedback! We will investigate and update as appropriate.

@owainow
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

It is worth commenting I believe the issue with the example was due to multiple user identities due to other plugins on the cluster. Similar to this issue (https://github.com/Azure/secrets-store-csi-driver-provider-azure/issues/725). This is a common setup even on a clean AKS cluster for example OSM etc so worth adding a comment and solution in this documentation.

Hi @owainow, thanks for the feedback!
I tried reproducing this on a fresh AKS cluster with the OSM and Web Application Routing addons configured, but my deployment was successful. As far as I can tell, OSM didn't create another user-assigned managed identity associated with the VMSS, hence my usage of Web App Routing. Are you able to open a ticket with Azure support? I'd be happy to add mitigation steps, a cautionary note, or create/link to a troubleshooting article as needed once the cause of your issue is determined.
On your second point: I agree the way those two authentication options are presented is a bit unclear, I've updated the article to reduce the ambiguity.

Closing this for now, if this issue persists feel free to re-open.
#please-close


toggleAirplaneMode() causes NullPointerException

What device(s) are you experiencing the problem on?

???

What OS version are you running on the device?

Android 4.2

What version of the product are you using?

???

What steps will reproduce the problem?

???

What is the expected output? What do you see instead?

expected: change to AirPlaneMode
see: cause NullPointerException

Please provide any additional information below.

Reference.

http://stackoverflow.com/questions/25674655/how-to-turn-on-off-airplane-mode-even-on-new-android-versions-and-even-with-ro
http://stackoverflow.com/questions/30790444/unable-to-run-toggleairplanemodetrue-python-script-on-sl4a-for-android


Azure Firewall : Return [unable to find 'xxx'...] when added Application Rule for Azure Firewall

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When we add Application Rule for Azure Firewall, Application Rule is added correctly but we got below message. Rule is able to add without issue so that this might be incorrect the program is working. 'xxx' will be rule name.
unable to find 'xxx'...
To Reproduce
We can repro with below sample command. We got [unable to find 'test'...] with below.
az network firewall application-rule create --collection-name 'name' --firewall-name 'fw-name' --name 'test.com' --protocols Https=443 --resource-group 'fw-rgname' --source-addresses '*' --target-fqdns 'test.com'

I confirmed output with "--debug" below. These response is returned after all command is completed.
cli.azure.cli.core.util: azure.cli.core.util.handle_exception is called with an exception:
cli.azure.cli.core.util: Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/takeshi/.azure/cliextensions/azure-firewall/azext_firewall/custom.py", line 442, in create_af_application_rule
    AzureFirewallApplicationRule, item_name, params, collection_params)
  File "/home/takeshi/.azure/cliextensions/azure-firewall/azext_firewall/custom.py", line 363, in _upsert_af_rule
    return _find_item_at_path(af, '{}.{}.rules.{}'.format(collection_param_name, collection_name, item_name))
  File "/home/takeshi/.azure/cliextensions/azure-firewall/azext_firewall/custom.py", line 61, in _find_item_at_path
    raise CLIError("unable to find '{}'...".format(comp))
knack.util.CLIError: unable to find 'test'...

cli.azure.cli.core.azclierror: unable to find 'test'...
az_command_data_logger: unable to find 'test'...

Expected behavior
We should get no such response.
Environment summary
Azure CloudShell
> az --version
azure-cli                         2.25.0

core                              2.25.0
telemetry                          1.0.6

Extensions:
azure-firewall                    0.11.0
front-door                         1.0.9
ai-examples                        0.2.5
ssh                                0.1.5

Python location '/opt/az/bin/python3'
Extensions directory '/home/takeshi/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.6/site-packages/azure-cli-extensions'

Python (Linux) 3.6.10 (default, Jun 11 2021, 05:19:31)
[GCC 8.3.0]

Additional context
Please let us know if this is not bug...

network

Please do not use "." in the value of --name argument


QueryAll option is not working

Hi,
I am unable to get all the records(including the deleted records) using the QueryAll option. Below is my code snippet used in databricks. This fetches only the records which are not deleted or archived. I am using com.springml:spark-salesforce_2.11:1.1.3 from Maven.
val Case_soql_df = spark.
read.
format("com.springml.spark.salesforce").
option("login","https://login.salesforce.com/services/Soap/u/37.0/").
option("username","" ).
option("password","" ).
option("soql", Case_soql).
option("version","37").
option("queryAll", "true").
load()

You have to build your own jar, because  'queryAll'  param to control retrieving deleted and archived records for SOQL queries was added 28/03/2019 and maven jar from 25/07/2018

Hello All /  @aspektr / @sindhujadhamodaran ,
Need URGENT help on this.
Please help if someone able to resolve this fetching of soft deletes records.
We have replaced dependencies from salesforce-wave-api-1.0.9.jar to salesforce-wave-api-1.0.10.jar (https://mvnrepository.com/artifact/com.springml/salesforce-wave-api/1.0.10).
and added below to pom.xml:

com.springml
salesforce-wave-api
1.0.10

and updated the code to below:
sfDF = sparkSession.
read().
format("com.springml.spark.salesforce").
option("header", "true").
option("username", inputParameters.get("salesforce_username")).
option("password", inputParameters.get("salesforce_password")).
option("soql", query).
option("queryAll", true).
options(options).
load();


ENYO-5125: ToggleButton RTL Fix

Issue Resolved / Feature Added
Support RTL positioning and padding using padding and position mixins
Links
ENYO-5125
Comments
Enact-DCO-1.0-Signed-off-by: Teck Liew<EMAIL_ADDRESS>

Great, simple, fix @teckliew!


Using Browser Link with Firefox

RE: Update to the Browser Link topic
aspnetcore/client-side/using-browserlink.md
https://docs.microsoft.com/aspnet/core/client-side/using-browserlink?tabs=aspnetcore2x
@Larswa reports ...
https://stackoverflow.com/questions/39385195/visual-studio-browser-link-not-working-in-firefox
When in FF and browsing a local site using IIS, Browser Link runs SSL on port 44399. And you need to browse to that port to go through the "Add to exception" to accept the localhost certificate most of us are developing against locally. After that Firefox browser link works fine.

Ran into a snag here. Opened an issue to investigate :point_right: https://github.com/aspnet/BrowserLink/issues/65

This isn't being addressed by engineering, so closing until further notice.


Merge meta data in setup.cfg into pyproject.toml

Short description of the changes:

Merging meta data in setup.cfg into pyproject.toml.
This is to address Story 3163
Long description of the changes:

Check list for the pull request

[ ] I have read the [CONTRIBUTING]
[ ] I have read the [CODE_OF_CONDUCT]
[ ] I have added tests for my changes
[ ] I have updated the documentation accordingly

Check list for the reviewer

[ ] I have read the [CONTRIBUTING]
[ ] I have verified the proposed changes
[ ] best software practices

[ ] all internal functions have an underbar, as is python standard
[ ] clearly named variables (better to be verbose in variable names)
[ ] code comments explaining the intent of code blocks

[ ] All the tests are passing
[ ] The documentation is up to date
[ ] code comments added when explaining intent

Manual test for the reviewer

References

added
[tool.setuptools.packages.find]
where = ["reduction"]
exclude = ["tests*", "scripts*", "docs*", "notebooks*"] in pyproject.toml and addressed other comments.

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

Project coverage is 82.33%. Comparing base (dd81ad8) to head (bdb6dd0).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   82.30%   82.33%   +0.02%
==========================================
  Files          20       20
  Lines        2278     2276       -2
==========================================
- Hits         1875     1874       -1
+ Misses        403      402       -1

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

I think the conflict has been resolved and now ready to merge


Dockerize resque-web

For my own use I dockerized the resque web app.
If your interested in pulling it in simply update the readme and docker-compose to point at your own image. Otherwise we will simply maintain mine.
Let me know if you want any changes.

While this is quite useful, I think "checking in" a docket container of a ruby app inside of a node.js project... is a bit much.   I'm happy to add a link to a docker container folks can run, but I don't think I want to include it inside of this project.

And to that end, there are lot of docker containers which do this already:

https://hub.docker.com/r/ennexa/resque-web/
https://hub.docker.com/r/carloslima/resque-web/
and yours too!

@evantahler Ya the big diff was this one has retry and scheduler plugins enabled. (plus the image is much MUCH smaller). Would you be willing to at least merge the ENV enhancements?

sure!


Using viewerPreferences doesn't work for "output" mode.

Thank you for submitting an issue to jsPDF. Please read carefully.
Are you using the latest version of jsPDF?
Yes 1.41
Have you tried using jspdf.debug.js?
Not sure I can in my environment.
Steps to reproduce
Taking the following directive:
doc.viewerPreferences({"HideToolbar" : true, "HideMenubar" :true, "HideWindowUI": true, "NumCopies" : 10}, true);
and including it in the usual jsbin script:
        var doc = new jsPDF();
      doc.setFontSize(40);
      doc.text(35, 25, 'Does this work?');
      doc.viewerPreferences({"HideToolbar" : true, "HideMenubar" :true, "HideWindowUI": true, "NumCopies" : 10}, true);
  alert(doc.output('datauristring'));
     // doc.save('Testy.pdf');

What I saw
The doc output URI can be seen to not include any directives, they have to be added manually.
What I expected
The link should be like the following (or similar):
data:application/pdf;#toolbar=0&navpanes=0&scrollbar=0;....
In other words the output uri link does not contain any directives. The save version does appear to be correct. Although I could not get the NumCopies to do anything.

If I understand you correctly, you are expecting the wrong result.  ViewerPreferences in a PDF are settings which are applied to a PDF Viewer like Acrobat Reader.
So this is not a valid issue.
Closed

I don't think this is browser dependent behavior as far as I can understand it, this is standard PDF plugin control tags, that can be applied to the datauri. So if I'm setting the resulting pdf uri to an iFrame I can include the same controls as normal.


Add a Validation constructor to validate local date / times

ISSUE
There is no constructor for zio.schema.validation.Validation which can validate a date/time in some format.
SOLUTION
Using other constructors which already exist in zio.schema.validation.Validation (which include regex validation, string length checking, and numeric range checking), introduce a new constructor that satisfies the requirements of this issue.
object Validation {
  ...
  def dateTime(format: String): Validation[String] = ???
}
...
val validation: Validation[String] = Validation.dateTime(""yyyy MM dd")

IMPACT
Increasing the number of constructors for Validation will make it far easier to use the validation package to
WHERE TO LOOK

Schema validation
DateTimeFormatter

PROBLEMATIC ISSUES
Issue #248 must be completed first, or at least, this issue must be based off of #244.

I'd like to take this issue


Cannot delete istio-operator namespace

Repro:
Install operator + ICP
kubectl delete ns istio-operator
The namespace gets stuck forever because the ICP won't get removed.
kubectl delete icp --all also hangs forever, need to manually remove the finalizer

this happened to me occasionally but not always. I think @morvencao did some work before around this?

Maybe there is 'deadlock' there in controller, but normally the finalizer will be cleaned after all  the resources managed by icp are removed.

How can that happen? the first thing that happens when I remove the namespace is the operator pod dies, at which point there is no hope of it recovering

There's a simple explanation for this. Because the CR is also in istio-operator, deleting the ns deletes both the controller and CR in non-deterministic order. At times, the controller will get the chance to add the finalizer to the CR before it's deleted, but will not have time to remove the finalizer before it disappears. In that case we are stuck with a CR with a finalizer, which cannot be deleted (by k8s design).
You can work around it by removing the finalizer field in the CR - otherwise the solution is to move the CR into istio-system, which I think we've either done or are about to do.

I get the same error


How to get the snap element

Suppose i have a draggable instance with multiple snap targets (html targets) , how to i get to know which element was snapped , currently we only get a boolean value snapped but that's not very useful for this scenario. Thanks , great plugin !

Hi @obonyojimmy, thank you for the comment.
These may help you:
https://github.com/anseki/plain-draggable/issues/78#issuecomment-881807380
https://github.com/anseki/plain-draggable/issues/26#issuecomment-484473034

Thanks, 🙏 that was more than helpful.

:smile:


ALONZO HACKING

[Enter feedback here]

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

ID: 5ad101fb-4701-91b8-4e2e-0b01979b6d46
Version Independent ID: e51df428-cc54-5424-b016-c04dd591f6f9
Content: Windows 10, version 21H2, Windows 10, version 21H1, Windows 10, version 20H2 and Windows 10, version 2004 required diagnostic events and fields (Windows 10) - Windows Privacy
Content Source: windows/privacy/required-windows-diagnostic-data-events-and-fields-2004.md
Product: m365-security
Technology: privacy
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

UNDERSTAND IM VICTUM OF UNHUMEN ACTS STALKER HACKING FAMILY MEMBER
CONNIE HEARD HIS MOM NAME TERRORISM ON UNITED STATES SOIL I GOT PROOF


fio benchmark should support --log_hist_msec

This is a feature request for the fio benchmark. Could you please support enabling fio's log_hist_msec option? It is similar to log_avg_msec, which you already support, but instead of averaging latencies over a time interval, it records percentiles over a time interval. I think it would yield much more interesting data than log_avg_msec.

This feature seems to have been introduced in fio 2.15, according to this PR.
https://github.com/axboe/fio/commit/1e613c9c23932006263dd8334007865f32891a0c
So we will need to bump the fio version in linux_packages/fio.py from 2.7 -> 2.15

@meteorfox good point.

https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/1300


Budget section: display pending expenses amount

User requested feature: https://opencollective.freshdesk.com/a/tickets/7037
User story

We would like to use this website to track how much money is available for budgeting purposes. Our organization provides groceries to families impacted by covid-19 and individual volunteers submit for reimbursement for groceries they purchased on their own. When approved but not paid expenses are not included in the balance, it makes it look like we have more money in our budget than we actually do. We do not want to be in a position where we can't reimburse our volunteers, so it would be great if you could add this feature.

Best solution for this problem
In the budget section, next to the balance, we should display the amount of pending expenses (the ones with the APPROVED status).

We should also update the component in the expense pages.

As a reference, this is what my banking app (Shine) is doing:

This is being implemented in the new Collective page update

Also for mobile:

Design: https://www.figma.com/file/ZQBMWhnGGtRWeIZknFW1eP/[OC.com]-Production-Ready-✅?node-id=6564%3A416

We also need to add a field on GQLV1 CollectiveStatsType like pendingExpensesAmount that sums up all the expenses that are PENDING, APPROVED, PROCESSING, ERROR or SCHEDULED_FOR_PAYMENT


0.2.2

Description
Add Kafka manual acknowledgement
Fixes RMQ TestClient routing, NATS inner exceptions processing
Add a bunch of tests
Type of change
Please delete options that are not relevant.

[x] Documentation (typos, code examples, or any documentation updates)
[x] Bug fix (a non-breaking change that resolves an issue)
[x] New feature (a non-breaking change that adds functionality)
[ ] Breaking change (a fix or feature that would disrupt existing functionality)
[x] This change requires a documentation update

Checklist

[x] My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors)
[x] I have conducted a self-review of my own code
[x] I have made the necessary changes to the documentation
[x] My changes do not generate any new warnings
[x] I have added tests to validate the effectiveness of my fix or the functionality of my new feature
[x] Both new and existing unit tests pass successfully on my local environment by running scripts/test-cov.sh
[x] I have ensured that static analysis tests are passing by running scripts/static-anaylysis.sh
[x] I have included code examples to illustrate the modifications

Please, test Kafka Ack behavior manually and correct Kafka/Acknowledgement documentation page


Resume: 2020-2021 Aided a known fraudster to bring to life his pump and dump scheme.

https://tinyurl.com/mapbujps (changed link to removeddit since /r/monero mod removed to try to cover it up - maybe fluffy himself?)

Spam or truth? There is only one way to find out. Look into the sources yourself.

tari-project/tari#2893

tari-project/tari#2892

tari-project/tari#2859

tari-project/tari#2808

tari-project/tari#2797

tari-project/tari#2895

tari-project/tari#2894

tari-project/tari#2890

tari-project/tari#2889

tari-project/tari#2888


Redundant requests for every command in ClusterClient

After changing to ClusterClient, it could be observed that the request latency becomes much higher than before.
According to observation by tcpdump, every command triggers ClusterClient sends AUTH,  CLUSTER SLOTS, and COMMAND  requests to ALL redis servers before handling the real request. Furthermore, most of these redundant requests create new connections instead of reusing connections in the pools.
It could also find that the request is not sent to the server which is responsible for the key slot. There are a lot of MOVED responses, and the client needs to redirect the request to another redis server. If the request is randomly sent to the redis servers, it should not send CLUSTER SLOTS command before sending the real request.

I got the same problem, I see a lot of "COMMAND" requests when i run redis-cli in monitor mode.

I got the same problem, I see a lot of "COMMAND" requests when i run redis-cli in monitor mode.

Problem solved, redis server renamed "command".

This is a problem with Redis 6 which should be fixed by https://github.com/go-redis/redis/pull/1357. Only go-redis v7 and v8 were patched, v6 and earlier still have this problem with Redis 6.