Error when attempting to link project

Bug report
Describe the bug
When I type supabase link --project-ref million-ether-webpage I get
Error: Invalid project ref format. Must be like 'abcdefghijklmnopqrst'.
A clear and concise description of what the bug is.
This might have to do with the name of my project but I removed the '-' symbols and still did not work.
System information

OS: MacOS
Version of supabase-cli: 0.24.1

nvm I figured out what the project ref was, might need to clarify that better in the documentation.

@LeviticusNelson how do you find your project ref?

Since a search for "Invalid project ref format" brings up this page, the solution is:
Go to your project dashboard > Project Settings > General and copy the "Reference ID" value which should be a 20-character lowercase alphabetic string.
Run the command supabase link --project-ref {your-reference-id}


Added AVL Tree - CH20

Have you read the Contributing Guidelines on Pull Requests?
Yes.
Description
Add AVL Tree.
AVL tree is a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees cannot be more than one for all nodes.   It was the first such data structure to be invented.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Fill the PR template.

resolve conflict

resolved

@all-contributors please add @lipsamishra1609 for code


Update Webchat-UI Dependency

Should be updated to this commit:
https://github.com/Revmaker/webchat-ui/commit/d1f6b98d79a48451c11ad6885fe74a2efa59e7b5

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: barakyo sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


NSFW image autopost

I have it set to post every hour. It will post at the same minute of the hour but at a random hour instead of on each hour.
Its set to 3600 seconds. Lasts posts it did were at 2:59, 3:59, 7:59, 10:59, 12:59

Check to see if your bot is down at those times. You can use .stats to check uptime and determine when it most recently came back up.

If it had gone down it would have stopped completely.  That's actually something I've been meaning to report but haven't gotten around to it yet, that the bot stops its NSFW autopost schedule when it dies or needs to be rebooted or whatnot.  Which wouldn't be so bad if you could re-set up the schedule easily but if you want it to post at specific times it becomes pretty tricky to re-set up again.

That's not true. the timer doesn't stop if it errors.

My apologies, I meant that in response to MaybeGoogle's suggestion about the bot fully going down.


add sierracollege

add Sierra College.

@themiladahmadi This domain is blacklisted because the college allows to register an email address there even if you are not a student of the college. If you are the student of this college, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


Old image is displayed before new one when scrolling

Scrolling a list shows old image then new one on iOS.
@michaeldimoudis reported in #206:

scrolling in a ListView in iOS still shows wrong images briefly during the scrolling.

This one is tricky to tackle, we'll need to investigate.

It's related to how bindings are working on Xamarin.Forms. Solution here:

https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-Advanced#usage-in-listview-with-listviewcachingstrategyrecycleelement-enabled
https://developer.xamarin.com/guides/xamarin-forms/user-interface/listview/performance/#RecycleElement
https://github.com/luberda-molinet/FFImageLoading/issues/200

I'm not 100% sure it is only that.
I think that I experienced it in a non XF app.
I will check, but consider it as a low priority for now.

On Forms it should be better after this: https://github.com/luberda-molinet/FFImageLoading/commit/423f4418cbf294602f4510a807cba61e236c1ba5 (Images are now set to null as soon as source changes, before image loading tasks, the same as in Forms Image lately)

@michaeldimoudis: do you still experience it with 2.1.1?

Nop I haven't experienced this again in 2.1.1 👍🏼

Thanks !

As of version 2.2.7 I am experiencing this same issue.
I can confirm the normal forms Image type does not show the recycled image, but CachedImage shows the recycled image when I use both Xaml binding as well as the suggestion in the Wiki linked above.

@leenephi  Could you share your code which sets image source?

Hey @daniel-luberda - thanks for the quick response!
Wanted to also mention that we're only running this on Android currently.
`public class PlayersPageViewCell : ViewCell
{
    private CachedImage _avatarImage;

    public PlayersPageViewCell()
    {
        var absoluteLayout = new AbsoluteLayout();
        absoluteLayout.Padding = new Thickness(5);

        var ratingLabel = new Label();
        ratingLabel.SetBinding(Label.TextProperty, "Rating");

        _avatarImage = new CachedImage();
        _avatarImage.DownsampleToViewSize = true;
        _avatarImage.Aspect = Aspect.AspectFit;

        absoluteLayout.Children.Add(ratingLabel, new Rectangle(0, 0, .2, 1), AbsoluteLayoutFlags.SizeProportional);
        absoluteLayout.Children.Add(_avatarImage, new Rectangle(.25, 0, .2, 1), AbsoluteLayoutFlags.All);

        this.View = absoluteLayout;
    }

    protected override void OnBindingContextChanged()
    {
        var playersPageItem = BindingContext as PlayersPageItemViewModel;
        if (playersPageItem == null) return;

        _avatarImage.Source = playersPageItem.AvatarUrl;

        base.OnBindingContextChanged();
    }
}`

@leenephi Your code looks good.
Last versions have some optimisations, I made some tests and average image loading time dropped. It may be the reason old images are shown sometimes as it is assigned to a view before loading task is cancelled (via OnBindingContextChanged method when new image source is assigned).
What might help (but I am not sure) is:
    protected override void OnBindingContextChanged()
    {
        _avatarImage.Source = null;
        var playersPageItem = BindingContext as PlayersPageItemViewModel;
        if (playersPageItem == null) return;

        _avatarImage.Source = playersPageItem.AvatarUrl;

        base.OnBindingContextChanged();
    }

Thanks @daniel-luberda
Setting the source to null immediately before setting it to the new binding context item indeed works.
How exactly can I see the optimizations made in the pre-release or latest version? In general, I'm having very poor performance when only having 2 or 3 total CachedImages in my list view cell. They all pull from URLs, but even when scrolling back up with memory cache, the list view is dropping frames like crazy. I'm also still using an absolute layout as shown above with recycle caching strategy. Wondering if I'm gonna have to explore a custom renderer for the list cell...! :( haha

You can review all commits. If you replace CachedImage with eg. BoxView, do you still experience performance issues? Also please download our Xamarin.Forms sample (from repo), there are many ListView examples there. They're all quite fast, I didn't notice any lags.  Replacing with box views has it scrolling smoothly/normally. With the three image views, I even notice that while loading from the memory cache (scrolling up from the bottom) the poor performance is the same. At first I thought it was just a Nexus 5 I was testing, but even the Nexus 6P stutters just as much.
Anyway! Let me get you some code. I'll add the XAML, View Cell, and the initialization in the MainActivity.
        <ContentPage.Content>
		<ListView x:Name="PlayersList"
				ItemsSource="{Binding Players}"
				SelectedItem="{Binding SelectedItem}"
				CachingStrategy="RecycleElement"
				HasUnevenRows="false"
				RowHeight="50">
			<ListView.ItemTemplate>
				<DataTemplate>
					<views:PlayersPageViewCell />
				</DataTemplate>
			</ListView.ItemTemplate>
		</ListView>
	</ContentPage.Content>

public class PlayersPageViewCell : ViewCell
    {
        private CachedImage _image1;
        private CachedImage _image2;
        private CachedImage _image3;

        public PlayersPageViewCell()
        {
            var absoluteLayout = new AbsoluteLayout();
            absoluteLayout.Padding = new Thickness(10, 5);

            //var boxView1 = new BoxView();
            //boxView1.Color = Color.Blue;
            //var boxView2 = new BoxView();
            //boxView2.Color = Color.Red;
            //var boxView3 = new BoxView();
            //boxView3.Color = Color.Purple;
            //var boxView4 = new BoxView();
            //boxView4.Color = Color.Black;

            var label = new Label();
            label.TextColor = Color.Black;
            label.VerticalTextAlignment = TextAlignment.Center;
            label.HorizontalTextAlignment = TextAlignment.Center;
            label.SetBinding(Label.TextProperty, "Rating");
            //ratingLabel.SetBinding(GradientLabel.GradientStartColorProperty, "RatingGradientStart");
            //ratingLabel.SetBinding(GradientLabel.GradientEndColorProperty, "RatingGradientEnd");

            _image1 = new CachedImage();
            _image1.HeightRequest = 45;
            _image1.DownsampleToViewSize = true;
            _image1.ErrorPlaceholder = ImageSource.FromFile("player_avatar_placeholder.png");

            _image2 = new CachedImage();
            _image2.HeightRequest = 22;
            _image2.DownsampleToViewSize = true;

            _image3 = new CachedImage();
            _image3.HeightRequest = 22;
            _image3.DownsampleToViewSize = true;

            absoluteLayout.Children.Add(label, new Rectangle(.05, .5, .085, .75), AbsoluteLayoutFlags.All);
            absoluteLayout.Children.Add(_image1, new Rectangle(.15, .5, .2, 1), AbsoluteLayoutFlags.All);
            absoluteLayout.Children.Add(_image2, new Rectangle(.4, 0, .15, .5), AbsoluteLayoutFlags.All);
            absoluteLayout.Children.Add(_image3, new Rectangle(.4, 1, .15, .5), AbsoluteLayoutFlags.All);

            //absoluteLayout.Children.Add(boxView1, new Rectangle(.05, .5, .085, .75), AbsoluteLayoutFlags.All);
            //absoluteLayout.Children.Add(boxView2, new Rectangle(.15, .5, .2, 1), AbsoluteLayoutFlags.All);
            //absoluteLayout.Children.Add(boxView3, new Rectangle(.4, 0, .15, .5), AbsoluteLayoutFlags.All);
            //absoluteLayout.Children.Add(boxView4, new Rectangle(.4, 1, .15, .5), AbsoluteLayoutFlags.All);

            this.View = absoluteLayout;
        }

        protected override void OnBindingContextChanged()
        {
            var playersPageItem = BindingContext as PlayersPageItemViewModel;
            if (playersPageItem == null) return;

            _image1.Source = null;
            _image1.Source = playersPageItem.Image1Url;

            _image2.Source = null;
            _image2.Source = playersPageItem.Image2Url;

            _image3.Source = null;
            _image3.Source = playersPageItem.Image3Url;

            base.OnBindingContextChanged();
        }
    }

            CachedImageRenderer.Init();
            ImageService.Instance.Initialize(new Configuration
            {
                VerboseLogging = true,
                VerbosePerformanceLogging = true,
                Logger = new ImageCacheLogger()
            });

Some comments:
            ImageService.Instance.Initialize(new Configuration
            {
                VerboseLogging = true, // this can hurt performance a lot as it's spamming console with a lot of data, please try to disable it
                VerbosePerformanceLogging = true, // this can hurt performance a lot as it's spamming console with a lot of data, please try to disable it
                Logger = new ImageCacheLogger()
            });

 _image1.Source = null; // this can hurt performance as it can cause Forms layout cycle.
_image1.Source = playersPageItem.Image1Url;

BTW: Also read this: https://github.com/luberda-molinet/FFImageLoading/wiki/Native-Http-handlers-=-better-performance


fix report queue size based on the number of Bes and config

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
A large cluster has many BE nodes, and the report occasionally encounters a "queue full" error. The report queue size will be modified based on the number of BE instances.
Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[x] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Fix REST, gRPC, and UDP ports config

The previous cluster implementation could not allow us to share node ports.
Now we can use scuttlebutt to let other nodes know what is our gRPC port.
The Specs are as follow:

REST,  Gossip (udp),  and gRPC ports are configured from the configuration file.
REST port has a hardcoded default value that can be overridden from the configuration file.
gRPC and gossip (UDP) ports default values are computed from the RESP port.
A client node should use scuttlebutt to know the gRPC port of its peers.

Also, expose a ClusterState method via the ClusterService gRPC service. This method should display the cluster state from a node's perspective in JSON format.

Closing...


Windows Tutorial Step 3: Create a GitHub Repo

I started this process by creating a GitHub Repo and was pushing things into it at each step so this step gave me errors indicating that there was nothing to push.
However I did find that I needed to add myvenv/ to my .gitignore file to avoid bloat in my repository.

Im adding a note on tutorial.rst


Can't get it to run on K8-Pi on a Pi 4B

FPP 7.5
Install plugin - Discovery works
I make the dummy controller (I call it KASA-2plug) in xLights and assign a single line single light to it.
I FPP Connect and send that sequence to FPP
At this point I get

I get this even if I have a different sequence selected.
At this time

Commands presets all work

Pinging the KASA plug from the Channel Outputs page works

Pinging plug from SSH shell works

I got no errors on the plugin install.
Next I figured I had an error that was fixed with the update so I Update Plugin
There are no errors in the update

Now Discovery does nothing

Command presets still turn the plug on and off
Pinging the plug from the Output Channels still works

I still get the message that it can't ping the plug, and running the sequence doesn't turn the plug on and off
I'm a bit over my head in terms of what all you are doing and in terms of linux.  Can we do a Zoom and you can help me query the system to see what is going on?
Thanks for any help you can give.

I didn't do that manually - it happened when I uploaded the sequence - do I just delete that DDP output?

I deleted the plug DDP output and

Discovery still doesn't work
Pinging error message is gone
Playing the playlist does not turn the plugs on and off
Should I go back to just installing and not upgrading (when Discovery still worked) and upload the sequence, then delete the DDP output?

Here is my controller file

0
0

Did I do something wrong that I don't see?
Here is my controller in xLights - I don't see a difference from yours, but I might have missed it.

oops - my controller file

Is the IP address in the dummy controller the IP of the plug or is it the IP of the FPP which I installed the plugin to?

Changed the IP of the dummy controller to be the IP of the controller I installed the plugin to, but no change.

I noticed that in xLights you do have the controller which you installed the plugin to.   This is also the controller that we will use the IP address for the dummy controller.   I have both the controller which the plugin is installed to and the dummy controller in xLights and they both have the same IP address.  In xLights in the Dummy Controller settings, the IP is RED, which I suppose is due to 2 different controllers having the same IP address.    Can I not have my show player controller in xLights if I use that same address for the dummy controller?   Does that mean that I need a dedicated controller than only hosts the  plugin?

Oops - in xLights you do NOT have the controller you installed the plugin to (...5.84)- this means you don't have the IP conflict that I have, but I need that controller to run my show - should I dedicate a pi to just host the plugin and become a "dummy controller" and use a different pi to run my K8-Pi?

You would setup you main show controller as the "dummy" controller

How does the "dummy" controller run my K8-Pi?   How do I assign props to various outputs of my show controller if it is a "dummy" with no ports?   I'm pretty new at this but I don't understand

You wouldn't create a "dummy" controller. You have to assign the single lined Model in xLights to an unused port in the k8, it can be the dmx port if needed, then change the channel number in the Kasa Config tab to match it

Okay, great - that worked.  I am very grateful to you for writing this plugin, which solves a problem for me, but the documentation isn't clear to a beginner like me.

   Thanks again for your help.

I would suggest something like this works for newbies like me.
FPP TP-Link KASA plugin by Scott Hanson.txt

I understand it's not easy to configure, I personally only use commands. Due to limitations in xLights/FPP, plugins and non standard output types can't use Auto layout/visualizer and upload. I have thought about tying outputs to models to help with the start channel issue. When no effect is "on" FPP will send a zero which will turn it off. Anything above 127 will turn it on.

I think it's great that this is possible - I intend to turn the 12 foot skeleton/pumpkin and the giant spider on and off at various times within my Halloween sequences, so this is great.
P.S.  I didn't upgrade the plugin since the Discovery and everything else works now and Discovery doesn't work after the upgrade and I don't know if everything else would work or not!
Thanks again for making this plugin - it will really add to my sequences and it would be completely impossible for me to do myself!


[BUG] Project cards not visible

Description
Project cards are not visible in the projects page.
Screenshots

Additional information
No response
Do you want to work on this issue?

[X] I want to work on this issue.

can you fix this in 12 hours? @Nachiket94


ImportError: No module named data_iter in module.ipynb

from data_iter import SyntheticData
However, I got "ImportError: No module named data_iter". Sorry that I got little knowledge on " data_iter" and "SyntheticData".
Should I import some dependancies/libs first?

Really?
As the #4 mentioned that "notebooks should be more beginner friendly".
Lots of basic information and explanations should be added.
Will anyone reorganize the "mxnet-notebooks"? Give it a totally new appearance.

May you should learn about the basic knowledge about python. The data_iter.py could be found in python/basic/data_iter.py in this notebook.


Map viz tool need variable completeness table

Please add a variable completeness table to the map visualization. The table should include information on the main variable as well as for lat/long coordinates

Here's what I have currently:

The backend doesn't give separate values for lat & lon, only the completeness for the geohash variable, which has a nonsensical name to users. I assume the geohash value exists iff lat & lon both exist, so logically it's pretty much equivalent. I don't see a huge need to distinguish between latitude and longitude for variable completeness purposes, so I'm personally fine with just the geohash variable.
The question is what to call it in the table. "Latitude & longitude"? Just leave the geohash name? Another name?
@danicahelb @d-callan

I'd be fine w 'geolocation', it's less wordy than saying 'latitude and longitude' but I think/hope equally understandable to most

Map tool currently down on QA.

Looks good!


API not ready? is there any fix?

Ist hier ein fix in Sicht?
2019-08-02 21:21:26 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 30 seconds.
2019-08-02 21:21:57 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 60 seconds.
2019-08-02 21:22:58 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 90 seconds.
2019-08-02 21:24:29 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 120 seconds.
2019-08-02 21:26:30 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 150 seconds.
2019-08-02 21:29:01 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:32:02 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:35:03 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:38:04 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:41:05 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:44:06 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:47:07 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:50:08 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:53:09 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:56:10 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 21:59:11 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:02:12 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:05:13 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:08:14 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:11:15 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:14:16 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:17:17 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:20:18 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:23:19 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:26:20 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:29:21 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:32:22 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:35:23 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:38:24 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:41:25 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:44:26 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
2019-08-02 22:47:27 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.

Bitte ein Issue bei https://github.com/home-assistant/home-assistant/issues reporten. Dies ist möglicherweise ein Backend Problem.


remove offline specific velero backup annotation

related to https://github.ibm.com/IBMPrivateCloud/roadmap/issues/63296 and https://github.ibm.com/PrivateCloud-analytics/CPD-Quality/issues/21623

/retest


Add Thunderbird, mail

Project URL

https://www.thunderbird.net/
Category

Mail
Chat

Description

Why it should be included to Awesome macOS open source applications  (optional)
Privacy oriented, extensible, performant.
Checklist

[x] Edit applications.json instead of README.md.
[x] Only one project/change is in this pull request
[x] Screenshots(s) added if any
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@matter-it-does Thank you! 🚀


exterminate path_or_url

78 insertions(+), 143 deletions(-), I'm proud of myself. (I removed tests which are no longer relevant)
+ cli: path_or_url should overwrite default: cwd
Fixes #192

r'bazed

Franta N did not use pre-commit so I had to black'd his code (latest commit), this time it's gonna be green.

Sorry, @TomasTomecek , will set it up for the next time ;)

Thanks for the reviews, guys. I'm going to merge and let Franta L accept this :P :P

Thanks for the reviews, guys. I'm going to merge and let Franta L accept this :P :P

I need to finally switch to full-time to be present every-day..;-)


Feature request: DirectStorage support

It looks like none of the DirectStorage (IDStorageQueue and friends) types are represented in this crate, it would be quite nice to have them supported.

The windows crate is generated from metadata, which doesn't currently include this API.
I suspect this API will be available in a future edition of the Windows SDK and can then flow into the Win32 metadata. I can forward the issue for their consideration.


[Bug]: [Java BQ FILE_LOADS] When streaming to dynamic destinations with copy jobs and CREATE_IF_NEEDED, only the first destination's table is created

What happened?
Was testing FILE_LOADS streaming writes and found that when dynamic destinations are set and copy jobs are used (ie. large data) and CREATE_IF_NEEDED is set, only the first table is created. For example, if I'm writing to two tables A and B, it becomes a race condition on which copy job is seen first in the pipeline. If copy job to table A is performed first, then table A will be created and all subsequent copy jobs to table B will fail with an error similar to the following:
WARNING: Load job beam_bq_job_COPY_testpipelineahmedabualsaud0905154941c26eb941_17a94e2694554455aa31cca9f9389b49_4e2479b4160d04b56a8075645f4974e1_00003-0 failed, will retry: {
  "errorResult" : {
    "message" : "Not found: Table <project>:<dataset>.mytable_B",
    "reason" : "notFound"
  },
  "errors" : [ {
    "message" : "Not found: Table <project>:<dataset>.mytable_B",
    "reason" : "notFound"
  } ],
  "state" : "DONE"
}. Next job id beam_bq_job_COPY_testpipelineahmedabualsaud0905154941c26eb941_17a94e2694554455aa31cca9f9389b49_4e2479b4160d04b56a8075645f4974e1_00003-1

What we would expect instead is for all tables to be created.
P.S. not seeing this behavior in batch mode
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[X] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

This was identical to https://issues.apache.org/jira/browse/BEAM-7195 - was the fix in https://github.com/apache/beam/pull/14238 no longer effective?

I don't think a test was ever created for the changes in that PR, so I can't tell
But I see that the solution in that PR was only applied to the single partitions code path. I can try implementing it for multiple partitions as well. Thanks @Abacn!

Fixed in #28312


Unable to run 'az ad user show --id<EMAIL_ADDRESS>on AzureML Ubuntu VM

Describe the bug
I want to get my Entra ID programmingly via az ad user show --id<EMAIL_ADDRESS>When I run it on an AzureML Ubuntu VM (I ssh to this VM from my Windows workstation), I am getting error below. The same command runs successfully on my Window workstation.
cli.azure.cli.core.azclierror: AADSTS530003: Your device is required to be managed to access this resource. Trace ID: 9e5ee058-55f2-43d4-8fdd-7ae130103000 Correlation ID: 12055c6b-cc04-4bce-a4d4-cab52a130fff Timestamp: 2024-06-29 06:24:36Z
az_command_data_logger: AADSTS530003: Your device is required to be managed to access this resource. Trace ID: 9e5ee058-55f2-43d4-8fdd-7ae130103000 Correlation ID: 12055c6b-cc04-4bce-a4d4-cab52a130fff Timestamp: 2024-06-29 06:24:36Z

Another related symptom. I can run az login --use-device-code successfully on the Ubuntu VM. But if I add the option --scope https://graph.microsoft.com//.default, I am getting error below. The option works fine on my Windows worksation az login --scope https://graph.microsoft.com//.default.

Related command
az ad user show --id<EMAIL_ADDRESS>az login --use-device-code --scope https://graph.microsoft.com//.default
Errors
See description above.
Issue script & Debug output
Here is the debug output for az ad user show --id<EMAIL_ADDRESS>--debug
DEBUG: cli.knack.cli: Command arguments: ['ad', 'user', 'show', '--id'<EMAIL_ADDRESS>'--debug']
DEBUG: cli.knack.cli: init debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x746a8570c040>, <function OutputProducer.on_global_arguments at 0x746a856b6200>, <function CLIQuery.on_global_arguments at 0x746a856f3ce0>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'ad': ['azure.cli.command_modules.role']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands
DEBUG: cli.azure.cli.core: role                      0.004        17        61
DEBUG: cli.azure.cli.core: Total (1)                 0.004        17        61
DEBUG: cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
DEBUG: cli.azure.cli.core: Loading extensions:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
DEBUG: cli.azure.cli.core: Total (0)                 0.000         0         0
DEBUG: cli.azure.cli.core: Loaded 17 groups, 61 commands.
DEBUG: cli.azure.cli.core: Found a match in the command table.
DEBUG: cli.azure.cli.core: Raw command  : ad user show
DEBUG: cli.azure.cli.core: Command table: ad user show
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x746a84674e00>]
DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/REDACT/.azure/commands/2024-06-29.06-51-17.ad_user_show.1062634.log'.
INFO: az_command_data_logger: command args: ad user show --id {} --debug
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x746a846cf060>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x746a8472d1c0>, <function register_cache_arguments..add_cache_arguments at 0x746a8472d300>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x746a856b62a0>, <function CLIQuery.handle_query_parameter at 0x746a856f3d80>, <function register_ids_argument..parse_ids_arguments at 0x746a8472d260>]
DEBUG: cli.azure.cli.core.util: Retrieving token for resource https://graph.microsoft.com/
DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='/home/REDACT/.azure/msal_token_cache.json', encrypt=False
DEBUG: cli.azure.cli.core.auth.binary_cache: load: /home/REDACT/.azure/msal_http_cache.bin
DEBUG: urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
INFO: msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47
DEBUG: msal.authority: openid_config("https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/kerberos', 'tenant_region_scope': 'WW', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
DEBUG: msal.application: Broker enabled?  Trace ID: a3c52841-d43e-4d86-88e7-d0f2c3862b00 Correlation ID: 53263086-9034-477f-b299-66436a86d9d2 Timestamp: 2024-06-29 06:51:14Z
DEBUG: msal.application: Found 1 RTs matching {'environment': 'login.microsoftonline.com', 'home_account_id': '.72f988bf-86f1-41af-91ab-2d7cd011db47', 'client_id': '04b07795-8ddb-461a-bbee-02f9e1bf7b46'}
DEBUG: msal.telemetry: Generate or reuse correlation_id: b70b6628-f204-44de-aab3-c0e51e80cf10
DEBUG: msal.application: Cache attempts an RT
DEBUG: msal.application: Refresh failed. invalid_grant: AADSTS530003: Your device is required to be managed to access this resource. Trace ID: a3c52841-d43e-4d86-88e7-d0f2c3862b00 Correlation ID: 53263086-9034-477f-b299-66436a86d9d2 Timestamp: 2024-06-29 06:51:14Z
DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/opt/az/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 664, in execute
raise ex
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 731, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 723, in _run_job
return cmd_copy.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/role/commands.py", line 51, in graph_err_handler
raise ex
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 701, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 334, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 363, in handler
show_exception_handler(ex)
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/arm.py", line 432, in show_exception_handler
raise ex
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/command_operation.py", line 361, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/role/custom.py", line 1859, in show_user
return client.user_get(upn_or_object_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 304, in user_get
result = self._send("GET", "{}".format(_get_user_url(id_or_upn)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/command_modules/role/_msgrpah/_graph_client.py", line 52, in _send
r = send_raw_request(self._cli_ctx, method, url, resource=self._resource, uri_parameters=param,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/util.py", line 983, in send_raw_request
token_info, _, _ = profile.get_raw_token(resource)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/_profile.py", line 406, in get_raw_token
sdk_token = credential.get_token(*scopes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/auth/msal_authentication.py", line 74, in get_token
check_result(result, scopes=scopes, claims=claims)
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/auth/util.py", line 139, in check_result
aad_error_handler(result, **kwargs)
File "/opt/az/lib/python3.11/site-packages/azure/cli/core/auth/util.py", line 43, in aad_error_handler
raise AuthenticationError(error_description, msal_error=error, recommendation=login_message)
azure.cli.core.azclierror.AuthenticationError: AADSTS530003: Your device is required to be managed to access this resource. Trace ID: a3c52841-d43e-4d86-88e7-d0f2c3862b00 Correlation ID: 53263086-9034-477f-b299-66436a86d9d2 Timestamp: 2024-06-29 06:51:14Z
ERROR: cli.azure.cli.core.azclierror: AADSTS530003: Your device is required to be managed to access this resource. Trace ID: a3c52841-d43e-4d86-88e7-d0f2c3862b00 Correlation ID: 53263086-9034-477f-b299-66436a86d9d2 Timestamp: 2024-06-29 06:51:14Z
ERROR: az_command_data_logger: AADSTS530003: Your device is required to be managed to access this resource. Trace ID: a3c52841-d43e-4d86-88e7-d0f2c3862b00 Correlation ID: 53263086-9034-477f-b299-66436a86d9d2 Timestamp: 2024-06-29 06:51:14Z
Interactive authentication is needed. Please run:
az login --scope https://graph.microsoft.com//.default
DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x746a84675080>]
INFO: az_command_data_logger: exit code: 1
INFO: cli.main: Command ran in 0.291 seconds (init: 0.148, invoke: 0.142)
INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
INFO: telemetry.client: Accumulated 0 events. Flush the clients.
INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
INFO: telemetry.save: Save telemetry record of length 3995 in cache
INFO: telemetry.main: Begin creating telemetry upload process.
INFO: telemetry.process: Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.11/site-packages/azure/cli/telemetry/init.py /home/REDACT/.azure"
INFO: telemetry.process: Return from creating process
INFO: telemetry.main: Finish creating telemetry upload process.
Expected behavior
az ad user show --id<EMAIL_ADDRESS>should run successfully on AzureML Ubuntu VM
Environment Summary
azure-cli                         2.61.0
core                              2.61.0
telemetry                          1.1.0
Extensions:
ml                                2.26.1
Dependencies:
msal                              1.28.0
azure-mgmt-resource               23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/home/REDACT/.azure/cliextensions'
Python (Linux) 3.11.8 (main, May 16 2024, 03:47:28) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes#aadsts-error-codes doesn't document AADSTS530003, but I guess it is the same issue as https://learn.microsoft.com/en-us/cli/azure/microsoft-graph-migration#graph-command-fails-with-aadsts50005-or-aadsts53000, that is, Microsoft tenant (72f988bf-86f1-41af-91ab-2d7cd011db47) doesn't allow using device code flow to access Microsoft Graph.
There is a feature request https://github.com/Azure/azure-cli/issues/22776 to show the signed in account's object ID, but that feature request was suspended due to several unsettled security discussions. You may follow https://github.com/Azure/azure-cli/issues/22776#issue-1264203875 to retrieve the object ID from the access token.

https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes#aadsts-error-codes doesn't document AADSTS530003, but I guess it is the same issue as https://learn.microsoft.com/en-us/cli/azure/microsoft-graph-migration#graph-command-fails-with-aadsts50005-or-aadsts53000, that is, Microsoft tenant (72f988bf-86f1-41af-91ab-2d7cd011db47) doesn't allow using device code flow to access Microsoft Graph.
There is a feature request #22776 to show the signed in account's object ID, but that feature request was suspended due to several unsettled security discussions. You may follow #22776 (comment) to retrieve the object ID from the access token.

Thank you @jiasli for the workaround. Do you have a similar to az ad sp list?

@jiasli The approach for my own object ID because I can az login as myself. But I cannot az login as other objects, such as a service principal for a workspace named 'gcrllama2ws'. I cannot get access token tied to gcrllama2ws and thus cannot apply the same approach to extract object ID from access token. Am I correct?

I cannot get access token tied to gcrllama2ws

Why can't? Is there any error when running az account get-access-token?

I cannot az login as other objects, such as a service principal for a workspace named 'gcrllama2ws'.

What is the relationship between the login service principal and gcrllama2ws?
If gcrllama2ws is different from the login service principal, you need to assign Application.Read.All permission to the login service principal in order to run az ad sp list. This is the designed behavior of Microsoft Graph.

I am not sure if I understand the question "What is the relationship between the login service principal and gcrllama2ws?". What I am trying to do is:

az login with my SC-Alt account, e.g<EMAIL_ADDRESS>az ad sp list --display-name gcrllama2ws which is blocked by AADSTS70043

So I guess the "login service principal" is my extra ID, not really a service principal, and not an app either. I am not sure if I could assign my extra ID the role of "Application.Read.All". But that's an interesting idea.


Add auto farm button to check patches

Description:
Add an auto farm button on /farming check_patches when patches are complete and ready to be harvested.

I am nervous about how I have used BaseMessageOptions to allow me to return buttons here, in addition whilst I was using /m as inspiration, I couldn't get it to return a promise like /m does. Would appreciate a set of eyes on this.  That said, everything seems to work OK.
Changes:

Add auto farm button to /check_patches response

Other checks:

[X] I have tested all my changes thoroughly.

Autofarm shouldnt have the seed pack icon. The farming icon is more appropriate.

Done & rebased with master

Failing due to circular imports (pull my last commit, run yarn test, and check the error - ping me on discord for help if you need, usually the fix is moving something to a different file)

fixed


html miss  when router.base just only have a slash

When I just setting router.base with "/"
the html element can't find <base> element
It should have a<base href="/">

I tried use a simple project test vue-meta
I just set base.href = '/' html work fine .

so , I thinks this belong nuxt.js issue .
I tried find problem in nuxt.js source but can't find ....
I propose this issus that because I have a project , in dev test is need a sub folder .
but production don't , so , my image url is like ./img/image.jpg
so , if html miss base in head , that will break the image .
for now , if I change router.base to '/' , I need add <base href="/"> in app.html template front {{ HEAD }} everytime ... ummm... even I already write it in my CI/CD ...
maybe if can fix this issue will be best .
thanks .

my personal cognition
setting router.base = '/' and without setting router.base is different .
but seems it the same on nuxt.js at this moment .

Hi @ausir0726,
This is the vue-router base option: https://router.vuejs.org/en/api/options.html.
If you need to add head tag base, you need to create it like you did with the head option in nuxt.config.js.

Hi @ausir0726
It's here in the code https://github.com/nuxt/nuxt.js/blob/master/lib/render.js#L105
The base '/' creates problem in some cases if it exists, that's why we don't create directly.

@Atinux can we add the base element when we define router.base clear ? thanks  .
if not , I will choose respect.

@Atinux update my opinion .
Sorry for waste you valuable time .

You're right @ausir0726, when base is defined in nuxt.config.js, we should add <base href="/">.
Will update it for the next version.

@alexchopin @Atinux
thanks you brothers understanding  .

Thanks to you @ausir0726 for your precious help!


Diagnostics multiline not highlighted

It seems like diagnostics that wrap don't get highlighted

Thanks for the update!
I still seem to get getting some highlight issues:

Can you post a min rust code that reproduce this?

use std::str::self; // error here

fn main() {
    println!("Hello, world!");
}

now should be work.

This problem still seems to arise.

I am using python.


Add possible mode values to PUT /_admin/cluster/maintenance/<server-id>

Description

The Web UI description for this endpoint doesn't specify the possible mode values:

Whereas a similar endpoint (PUT /_admin/cluster/maintenance) does indeed specify possible values for mode (on & off)
Added a sentence to save users an extra click/search for its documentation page
Upstream PRs

3.10:
3.11:
3.12:

Hmm now I'm wondering why the requestBody snippet is not present in the Rest API section for this endpoint:
https://github.com/arangodb/docs-hugo/blob/b74d7ef33e470580f3be825395c20d8d77fe603d/site/content/3.10/develop/http-api/cluster.md?plain=1#L359-L378
We can close this PR if rendering the requestBody is the preferred solution, imo that is probably cleaner

I'm aware that these values are also present under the Schema section in the Request Body header so feel free to close this PR if that is deemed sufficient

makes senses! closing 👍


Responsive navbar doesn't work

On mobile screens the hamburger icon does not appear. No collapsible UI elements, although it uses this template code.

Okay. Lemme check it first.


Fix potential crashes around dynamic casts

The cast in QMemoryRefBuffer::read() is not particularly critical but using qobject_cast lets downstream users turn off RTTI. The other cast in QHexRenderer::renderFrame() was causing a pretty nasty crash on OSX, but it seems like it's not needed at all because we can just use window() from QPainter.

Thanks!


Bug 1929731: Allow partial string matches when filtering target namespace

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1929731
When selecting a target namespace in the plan wizard, partial matches are now supported in the filter and matching text will be highlighted.

@fdupont-redhat I talked to @vconzola about the search term highlighting here, and he thinks we should only add that feature if we add it everywhere we have text filtering in the UI. I opened an issue for that: https://github.com/konveyor/forklift-ui/issues/430 and I'm reverting it here for now.


Can we make the capture icon movable?

If i want to make the capture icon movable like facebook chat icon, How can i do it any guideline? Can i use MovableView class in OverlayViewManager? How to achieve it. Any guideline

First of all, sorry if I didn't reach out to you sooner, I have had several deadlines this week and wouldn't have been able to provide a proper answer to you until now.
Unfortunately I don't use Facebook so I don't know how it handles moving of the overlay, however I see 2 ways it can be done:

Long press and dragging (but we alterady have long press mapped to other actions);
Adding a button in settings to show a simulation of the overlay where items can be repositioned. I would go with this solution.

Looking at the code, OverlayViewManager handles the logic for creating, showing and hiding the views of the overlay and it is extended by each execution mode (we currently have two). As you may have seen it also manages layout parameters (i.e. position on screen) of the views.
In order to add the moving icon functionality, a flag passed in from the service to the constructor of OverlayViewManager may tell it to start in "placement mode" and use dummy views that can be moved around (using MovableView as a reference) instead of the real working ones. When the overlay is stopped, the position is saved in the configuration and used when the real overlay is started.
The service takes the flag from its start intent, so we may add a boolean argument called placementMode to OverlayServiceUtil#createStartIntent() which can be invoked by the new button in settings.
I hope this info can help you out in adding this feature. Don't hesitate to ask me more or to make a pull request if you manage to implement it. If you prefer I can even try to do it myself, but don't expect it by the end of this week.

Thanks for Details response. I will look into it and update you soon hopefully with Pull request.


Port mapping with both host and container port in template is not parsed correctly

Steps to reproduce
Create a template with the following port definition:
"ports": [
  "80:80/tcp"
]

Expected behavior
Host port is filled with 80, container port is filled with 80, protocol TCP is selected
Actual behavior
Host port is blank, container port is filled with "80:80", protocol TCP is selected
Analysis
templateHelper's portArrayToPortConfiguration actually does contain code for both the host and container port, but the host port property is not created in the template model. I will open a PR with a proposed fix.

For you information, this format is not supported by the templates format. See #776 for the feature request.

I saw 776 but the reason I didn't consider this a dupe is that it looks like this was actually intended to work, since the relevant function takes into account the hostPort property. It is just not set on the model, I assume this was unintentional, because of the above and because it makes little sense to have three form fields per mapping and accept the Docker command line format to fill those, but then ignore the delimiter of the first two fields. So I still think this is good to fix if the current single-string format will still be supported for backwards compatibility, especially because the fix is highly trivial and non-breaking. If the old format will be dropped anyway this is indeed a non-issue. Cheers!


why global less only can be imported by 'require' not 'import' ?

I remember that nextjs was defined in this way before, but I don't know if it has been improved. You can try.

module.exports = function ({ types: t }) {     return {         name: 'replace-less-import-to-require',         visitor: {             ImportDeclaration(path){                 const { node } = path;                 if (!node) return;                 const { value } = node.source;                 if (!value || !/\.less$/.test(value)) {                     return;                 }                 path.replaceWithSourceString(require('${value}'));             }         }     } }
you can define a babel plugin to replace import to 'require' syntax


Incoherence in notation for RZX gate

URL to the relevant documentation
https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.RZXGate
In examples section, third equation
Select all that apply

[X] typo
[ ] code bug
[ ] out-of-date content
[ ] broken link
[ ] other

Describe the fix.
If we follow the notation introduce for RZX(θ) q0,q1=exp(−i θ/2 X⊗Z) which are the default notation, it would mean that in the "examples" section, we should have RZX(θ=π)=−iX⊗Z instead of −iZ⊗X.
It's not coherent with the fact that in the note section, we use big-endian convention for the tensor notation.
Or else we have to tell in which way we apply the gate by adding the q1,q0 index like this: RZX(θ=π)q1,q0=−iZ⊗X.

Thanks! This is an issue in the API docs, so it needs to be fixed in qiskit/qiskit. I'm transferring it there.


handle fields named 'box' properly

Should solve https://github.com/stepancheg/rust-protobuf/issues/129 if I haven't missed anything, it solved it in my case.

Rebased and pushed. 71f6ba317c833d79c154d5e9da0388aac855f0e6. It should be done in generic way, but it's OK that way now. Thanks!

Published new version to crates.


[Question] why @types/react-grid-layout bebind the master branch's version

Describe the bug
I got error messages like that :
Could not find a declaration file for module 'react-grid-layout'<EMAIL_ADDRESS>implicitly has an 'any' type.

and i tried to install @types/react-grid-layout whose lastest version is 1.3.5.
Is it competitable with 1.5.0 or just forget to publish the types?
Your Example Website or App
https://codesandbox.io/p/sandbox/staging-bush-3lvt7?file=%2Fsrc%2FShowcaseLayout.js%3A5%2C21
Steps to Reproduce the Bug or Issue

Open ShowcaseLayout.js
Hover to import { Responsive, WidthProvider } from "react-grid-layout";

Expected behavior
I could install @types/react-grid-layout with 1.5.0
react-grid-layout library version
1.5.0
Operating System Version
macOS
Browser
Chrome
Additional context
No response
Screenshots or Videos

I'm also having this issue. If I add version 1.3.5 of the @types package, then I get a weird error:
import { Responsive, WidthProvider, Layouts, Layout, ResponsiveProps, WidthProviderProps } from 'react-grid-layout';
import 'react-grid-layout/css/styles.css';

const ResponsiveReactGridLayout = WidthProvider(Responsive);

const DraggableGridLayout: React.FC<DraggableGridProps> = ({ layoutState, setLayoutState, children, gridLayoutProps = {} }) => {
  return (
    <ResponsiveReactGridLayout
      measureBeforeMount={false}
      draggableHandle=".draggable-card-drag-handle"
      layouts={layoutState}
      onLayoutChange={(_, updatedLayouts) => {
        setLayoutState(filterRequiredBreakpoints(updatedLayouts));
      }}
      rowHeight={CARD_ROW_HEIGHT_UNIT}
      cols={{ sm: 12, md: 12, lg: 12 }}
      breakpoints={{ lg: 1200, md: 720, sm: 0 }}
      margin={[24, 24]}
      isDroppable
      useCSSTransforms
      autoSize
      {...gridLayoutProps}
    >
      {children}
    </ResponsiveReactGridLayout>
  );
};

 - error TS2786: 'ResponsiveReactGridLayout' cannot be used as a JSX component.
  Its instance type 'Component<ResponsiveProps & WidthProviderProps, any, any>' is not a valid JSX element.
    Property 'refs' is missing in type 'Component<ResponsiveProps & WidthProviderProps, any, any>' but required in type 'ElementClass'.

91     <ResponsiveReactGridLayout
        ~~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/@types/react/index.d.ts:510:9
    510         refs: {
                ~~~~
    'refs' is declared here.

I think this is caused by conflicting type definitions for react, between what my project uses versus the @types library.


feat: Matrix integration

Matrix is an open, federated messaging platform: https://matrix.org
ArgoCD Notifications would benefit greatly from Matrix support because a growing number of communities use it daily.  Additionally, Matrix has interoperability with many other messaging platforms via bridges, which would give ArgoCD indirect support for notifications to those platforms:

Rocket.Chat https://matrix.org/blog/2022/05/30/welcoming-rocket-chat-to-matrix
Gitter https://matrix.org/blog/2020/12/07/gitter-now-speaks-matrix
IRC https://matrix.org/bridges/#irc

A full list of bridges can be found at https://matrix.org/bridges
Signed-off-by: David Florness<EMAIL_ADDRESS>

@edwargix could you please solve merge conflicts?

@edwargix could you please solve merge conflicts?

Sure thing; just rebased:

https://github.com/edwargix/notifications-engine/tree/matrix.pr-0 -> https://github.com/edwargix/notifications-engine/tree/matrix.pr-1
compare: https://github.com/edwargix/notifications-engine/compare/matrix.pr-0...edwargix:notifications-engine:matrix.pr-1

looks like https://github.com/argoproj/notifications-engine/pull/128 was just merged; will rebase again...

rebased:

https://github.com/edwargix/notifications-engine/tree/matrix.pr-1 -> https://github.com/edwargix/notifications-engine/tree/matrix.pr-2
compare: https://github.com/edwargix/notifications-engine/compare/matrix.pr-1...edwargix:notifications-engine:matrix.pr-2

moved indirect dependencies to correct location:

https://github.com/edwargix/notifications-engine/tree/matrix.pr-2 -> https://github.com/edwargix/notifications-engine/tree/matrix.pr-3
compare: https://github.com/edwargix/notifications-engine/compare/matrix.pr-2...edwargix:notifications-engine:matrix.pr-3

Thanks @edwargix , going to review this one

rebased: https://github.com/edwargix/notifications-engine/compare/matrix.pr-4..edwargix:notifications-engine:matrix.pr-5

rebased: https://github.com/edwargix/notifications-engine/compare/matrix.pr-5..edwargix:notifications-engine:matrix.pr-6

rebased: https://github.com/edwargix/notifications-engine/compare/matrix.pr-6..edwargix:notifications-engine:matrix.pr-7

Will take a look today a bit later

rebased: matrix.pr-7..matrix.pr-8

rebased: matrix.pr-8..matrix.pr-9

rebased: matrix.pr-8..matrix.pr-9

@pasha-codefresh let me know if there's anything I can do to help

rebased: matrix.pr-9..matrix.pr-10

rebased: matrix.pr-10..matrix.pr-11

rebased: matrix.pr-11..matrix.pr-12

rebased: matrix.pr-12..matrix.pr-13

rebased: matrix.pr-13..matrix.pr-14


.exe file?

Hi,
The ReadMe references a .exe file (to run the app) and I can't seem to find one. I am a total amateur at coding, not sure if I'm missing a step. Any help would be appreciated.
Best,
Steve

I do see that someone else had a similar issue. I think I haven't even figured out how to install the code yet. Any suggestions on how to install without Chocolatey? I am on my work computer.
I am going to attempt to use the portable file now.

Hello
https://github.com/cerebrate/mousejiggler/releases/tag/2.0.25
the zip ( 402KB) should contain the .exe file that you are looking for

@isilsh thank you, I think I must've downloaded the wrong thing. Trying now!

@cerebrate FYI I was able to get the portable version to run on my work laptop. Thank you so much for providing this version - I had previously had an older version installed and was terrified to have lost the ability to seem online without going idle on Teams/having my computer lock every 5-10 minutes (truly first world problems). Also @isilsh thank you for steering me in the right direction.


[stack-ibm-core-security-services] Add support for cloud logs

Depends on https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/pull/137
The Stack DA should support both logdna and cloud logs to allow users to migrate in their own time. LogDNA is supported until March 2025

:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on:

GitHub release
v1.5.0

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on:

GitHub release
v1.5.0

Your semantic-release bot :package::rocket:


fix python missing key error which results from cast error in CPP

This PR fixes a bug when running COCOeval_faster with extra_calc=True on large annotation files, e.g. on ms-coco instances_val2017.json. Note that the standard metrics are not affected by this problem (extra_calc=False)!
The problem is a loss of data in the CPP code when very large IDs (> max int32) are casted from long to int. Back in python, this causes the following error in math_matches: KeyError: 56971388. The loss of data from casting can be reproduced in python as follows:
import numpy as np
print(np.array([902000103548]).astype(np.int32)[0])
# > 56971388

In cocoeval.cpp, this happens at line 145:
ground_truth_orig_id[t * num_ground_truth + match] = (int)ground_truth_instances[ground_truth_sorted_indices[match]].id;

This PR fixes the types and cast accordingly so that mIoU and mAUC_50 can be calculated.
reproduce
Prepare setup:
wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip
unzip annotations_trainval2017.zip
pip install faster-coco-eval==1.5.5

Run python code:
from faster_coco_eval import COCO
from faster_coco_eval import COCOeval_faster as COCOeval

# annotations and fake results
annoation_file = "./annotations/instances_val2017.json"
with open(annoation_file, 'r') as f:
        anns = json.load(f)
        results = anns['annotations']
        for r in results:
            r['score'] = 1

cocoGt = COCO(annoation_file)
cocoDt = cocoGt.loadRes(results)

cocoEval = COCOeval(cocoGt, cocoDt, "bbox", print_function=print, extra_calc=True)  # or 'segm', doesn't matter
cocoEval.evaluate()
cocoEval.accumulate()  # error happens here -> KeyError: 56971388
cocoEval.summarize()   # standard metrics are not affected
print(cocoEval.stats_as_dict)  # 'mIoU' and 'mAUC_50' are missing

test fix
Update setup:
pip uninstall faster-coco-eval
git clone https://github.com/JohannesTheo/faster_coco_eval.git
cd faster_coco_eval
git checkout fix-cpp-cast-error
pip install .

Run python code from above again. The metrics mIoU and mAUC_50 are calculated as expected.

Great job, I didn't even notice that! Thanks for your PR.
LGTM


Add support for OpenOptions::create_new()/O_EXCL

This PR extends the POSIX shim for open to support the O_EXCL flag, when it is used alongside O_CREAT, and exercises it by testing OpenOptions::create_new.

This looks great, thanks. :)
@bors r+

:pushpin: Commit 808709c2889e11b079205fbbf830cd58d1f3711b has been approved by RalfJung

:hourglass: Testing commit 808709c2889e11b079205fbbf830cd58d1f3711b with merge 319f2dd9e1f4d07c9631bffda5229bb11bf38e60...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 319f2dd9e1f4d07c9631bffda5229bb11bf38e60 to master...


Update spark-testing-base to 3.4.0_1.4.4

About this PR
📦 Updates com.holdenkarau:spark-testing-base from 3.4.0_1.4.3 to 3.4.0_1.4.4
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.holdenkarau", artifactId = "spark-testing-base" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.holdenkarau", artifactId = "spark-testing-base" }
}]

labels: library-update, commit-count:1

Superseded by #284.


Support register.lease.enabled can be updated

What changes are proposed in this pull request?
Now the alluxio.master.worker.register.lease.enabled is read once the BlockMasterWorkerServiceHandler object init instance, but cannot be updated after that.
Why are the changes needed?
Read the propertykey from ServerConfiguration each time for worker register, never mind the performance down, since the register request for each worker have only one time, and get a value from ServerConfiguration have no io operation.
Does this PR introduce any user facing changes?
NO

alluxio-bot, merge this please


Vincent refine

mostly refactoring and increasing user friendliness
reconfigured config.json in reposense

Pull Request Test Coverage Report for Build 730

81 of 145 (55.86%)  changed or added relevant lines in 16 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.4%) to 81.053%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/planner/commons/util/CompareUtil.java
1
2
50.0%

src/main/java/seedu/planner/model/summary/Summary.java
35
36
97.22%

src/main/java/seedu/planner/model/summary/SummaryByDateList.java
4
5
80.0%

src/main/java/seedu/planner/model/summary/SummaryByMonthList.java
4
5
80.0%

src/main/java/seedu/planner/ui/SummaryEntry.java
5
7
71.43%

src/main/java/seedu/planner/logic/parser/SummaryCommandParser.java
13
19
68.42%

src/main/java/seedu/planner/logic/commands/SummaryByCategoryCommand.java
0
16
0.0%

src/main/java/seedu/planner/model/summary/SummaryByCategoryList.java
0
36
0.0%

Totals

Change from base Build 720:
-1.4%

Covered Lines:
2926

Relevant Lines:
3610

💛  - Coveralls


Updated blueprint to use hard version number. Latest ember-cli-moment…

The new versions of ember-cli-moment-shim are an addon, not just a library. Without specifying the exact version, the build process breaks at:
Path or pattern "bower_components/ember-cli-moment-shim/moment-shim.js" did not match any files

Am I missing something?

This is perfect, thanks! I'll release a new ember-cli-dates version for this patch.
I'll eventually modify this addon to tie in the ember-cli-moment-shim's latest version. Hopefully sometime today.

Published to npm as<EMAIL_ADDRESS>


Ensure $HOME is set before calling pandoc --version

This PR fixes the problem describe in #103 .
In #103, I suggest using --data-dir option, but it is not usable since pandoc ignores --data-dir option if --version is specified.
This PR takes another aproach; creates an environment which is local to pandoc --version and supply $HOME is it is not set.

Looks good to me.
@janschulz Any thoughts? Want to merge and publish?

LGTM...
The problem I have right now is that I don't have my package builder running. I can cut a "normal" release without a problem, but not the wheels with embedded pandoc.
So:

normal source release is possible
conda packages (via conda-forge) are possible
wheels with pandoc included are not

Yeah, that's fine. I guess the embedded release can wait. Would it be possible to push that somewhere so it's easier to handle?

I had them build with the conda packages for my pwn channel, but doesn't work anymore :-( I want to have a similar setup: three CI services which build the wheels and upload them. Still waiting for some twine changes and then I have to sit down and write the CI scripts. But the latter seems to take a bit of time... A bit more probably, as debugging is hard with CI scripts :-/

Btw @tkob Does converting work? Or does that also need the same workaround?

I believe convert() etc. now work since pandoc (i.e. no --version) does not fail when HOME is not set:
$ unset HOME
$ echo hello | pandoc

hello

$ pandoc --version
pandoc: HOME: getAppUserDataDirectory: does not exist (no environment variable)

@tkob Thanks!
Looks like this was missed upstream? Maybe file a bug there?

@bebraw I've cut a new release (1.2.0) and uploaded the sdist and updated the conda packages.

Nice. 👍


Force Mac build_tests to run on x64 bots

Post-https://github.com/flutter/flutter/pull/119884 the Mac build_tests tests have been flaky on arm64 bots, timing out.
Force the test to run on x64 only while the underlying issue is being investigated https://github.com/flutter/flutter/issues/119750
Fixes https://github.com/flutter/flutter/issues/120292
Fixes https://github.com/flutter/flutter/issues/120472

Also fixes https://github.com/flutter/flutter/issues/120472

Also https://github.com/flutter/flutter/issues/120293


[v6] Code Splitting

There currently isn't any documentation on this in the migration guide for V6.
How does one implement code splitting via React.lazy() since element need to be a React Element.
In v5 I would do something like this:
import * as React, { Suspense } from 'react';
import * as ReactDOM from 'react-dom';

const Loadable = (Component) => props => (
  <Suspense fallback={
Loading...
}>
    <Component {...props} />
  </Suspense>
);

const Dashboard = Loadable(React.lazy(() => import('../components/scenes/Dashboard')));

const routes = () => (

        <Route component={Dashboard} path="/dashboard" />

);

ReactDOM.render(
  <Router children={routes}>,
  document.getElementById('app'),
);

Just put your Dashboard component as a child of your Route and add in Routes. That's about it.


Add SyntaxError for "await" keyword outside of async functions

Fixes #4189
JerryScript-DCO-1.0-Signed-off-by: Peter Marki<EMAIL_ADDRESS>

It is a reserved word only in modules, isn't it?

@zherczeg yes it is, I wasn't aware of that before the PR, thanks for the help. I will fix the test failures.

I would like to understand what is the exact problem here. Could you summarize it?

@zherczeg the problem is that we don't support top-level await in modules yet, so it needs to be a SyntaxError if we are in a module but not in an async function.

As far as I know, the await should be a keyword in modules, so when you use it, the parser will not accept it. I would like to know the case which was not handled before.

https://github.com/jerryscript-project/jerryscript/blob/master/jerry-core/parser/js/js-lexer.c#L874
If we are in a module, await is a keyword. Since this keyword is only accepted by generators, eventually we should get a syntax error. This is why I would like to see a test case which is incorrectly handled.

Oh okay, I understand now. I just checked the v2.3.0 version and it does throw a SyntaxError there, so the linked issue must be due to a different problem. I will close this pull request and open a new one when I find the real fix. Thanks for the help!


C++ version of this repository

What I've done?

I could convert SSD Mobilenet V2 to UFF to .bin TensorRT engine using this code base.
I could do the inference and achieved ~20 FPS.

What is my goal?
I would like to rewrite the inference part of this code base to C++.
That means, I've generated a .bin file using this code base, now I want to read the file and do the inference in C++.
I've managed to compile the C++ project, but on running, I get the following error on de-serializing the .bin file.
[06/14/2020-18:04:05] [F] [TRT] Assertion failed: mConcatAxisID == 1 || mConcatAxisID == 2 || mConcatAxisID == 3
flattenConcat.cpp:51
Aborting...

I would like to know if you can guide me through this issue, and possibly suggest some references to write my C++ version.

@sleebapaul  You could resolve the problem by linking your C++ code with "libflattenconcat.so" (the FlattenConcat plugin).
I think you've probably already figured it out since you've closed the issue.

Linking it with CMake didn't work. Then I used
 dlopen(<path/to/library>, RTLD_LAZY);
It worked out. Thanks for the response.

@sleebapaul can you please guide me to exact resource which you used to comeup with C++ version. I tried sampleUffSSD.cpp from tensorrt/samples which gave me segfault for ssd_inception_v2 model which I was able to run in python inference.

I wrote my own version taking this Python API as a reference. You may refer to the following references.

https://github.com/eembc/mlmark/
https://github.com/dusty-nv/jetson-inference/blob/master/c/tensorNet.cpp
https://developer.nvidia.com/blog/speed-up-inference-tensorrt/
https://github.com/NVIDIA/TensorRT/blob/master/samples/opensource/sampleUffSSD/sampleUffSSD.cpp


Client Allocation Request for: 上海华仓通信技术有限公司

Client Allocation Questions
Core Information

Name: 上海华仓通信技术有限公司
Website / Social Media: http://www.hctxcenter.com/
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f1xchz33shnrv33kaogvtpvewxtbtn7gjwh6r5xqi
Notary Requested: Broz221

Thanks for your application.
Please answer following questions:
What's your name? What's your duty in this company? Please give me your E-mail address and your brief introduction.
Please give me simple overview of your company. (Company scale, establish time, project, use case, etc.)
What's you/your company's contribution to Filecoin? (If exsit)
What kind of data do you want to store? And how much? How about copy right of data?
How many miners do you want to store data to? Which aspect will you inspect these miners?
Could please you introduce your past usage of cloud storage?

What's your name? What's your duty in this company? Please give me your E-mail address and your brief introduction.
Hi, I’m zhang min. I’m a member of the development team of Huacang and my email address is<EMAIL_ADDRESS>I have been in the company for two years, and I’m mainly responsible for the software back-end data processing.
Please give me simple overview of your company.
Huacang Communication Technologies Co., Ltd. is a professional Internet data management sloution provider which was established in 2011 and headquartered in Shanghai, China. We provide server rental and hosting, cloud computing services, domain name registration, enterprise management software and other IT services. Withs a professional technical team of hundreds of people and efficient management mechanisms, the company has a very strong competitiveness in the financial industry, data center, large commercial buildings, parks and other communication access fields.
What's you/your company's contribution to Filecoin? (If exsit)
None. We are new to filecoin.
What kind of data do you want to store? And how much? How about copy right of data?
As an industry-leading data center, there are a large amount of user data to be stored, including video, audio, picture and other personal privacy data. We found that the safe and efficient storage characteristics of IPFS coincide with our company’s development philosophy. our data volume has reached dozens of PB now, and all data has undergone necessary encryption processing and can be legally stored on IPFS.
How many miners do you want to store data to? Which aspect will you inspect these miners?
I want to store data to more than 3 miners. Firstly, I will inspect the reputations and technical strength of miners in the industry. Secondly, the price of data stored by miners will be taken into account. Last but not least, we’d like to establish a stable long-term cooperative relationship with miners.
Could please you introduce your past usage of cloud storage?
Relying on China's three major telecom operators, Huacang has integrated our own ISP and IDC advantages, and has cooperated with major domestic cloud storage providers.


Need map load listener

All of this needs a map load listener for all map operations

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

ID: 73f6104b-2396-52bf-f6f1-44af69fb5b46
Version Independent ID: 7425e32f-f860-2005-8703-625baab53300
Content: Multiple routes with Azure Maps
Content Source: articles/azure-maps/tutorial-prioritized-routes.md
Service: azure-maps
GitHub Login: @dsk-2015
Microsoft Alias: dkshir

misread instructions

If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


FIX: Translation destination 💯

There is a bug causing the translation to be saved in the wrong location and file name. ‘languages’ instead of languages/WPGULP.pot. This is a fix.

Hey, @FrankM1! 🙌
I'm so glad to see your interest in contributing to the WPGulp project. I welcome more contributions from your end. Kindly, make sure you go through a short and concise Contribution Guide for this project.
Moreover, I have merged your PR. BTW feel free to check out our goals for WPGulp v2.0 & Call For Contributors. See if you'd like to take on a component and improve it. We could definitely use more help from contributors like you.
Peace! ✌


The configuration attribute is set in the @FeignClient annotation, causing the service to be downgraded

The configuration attribute is set in the @FeignClient annotation, causing the service to be downgraded.
Spring Boot: 2.0.6.RELEASE
Spring Cloud: Finchley.SR2
Related code is as follows：

The problem has been solved, add a custom class, inherit the HystrixConcurrencyStrategy abstract class, rewrite the wrapCallable method


Deployment according to the docs is not working

Hi,
first of all thanks for this project, I really like the idea to abstract nvme of mounting with a CSI plugin!
I'm not sure if I did something wrong or if it is just an error in the examples or the documentation, but after deploying everything this plugin does not work for me - the mounting never happens.
Few possible errors in the docs I found were

not matching storage class name in examples

storage class https://github.com/kubernetes-csi/csi-driver-nvmf/blob/master/examples/kubernetes/example/storageclass.yaml#L4
pv https://github.com/kubernetes-csi/csi-driver-nvmf/blob/master/examples/kubernetes/example/pv.yaml#L6

NVMf CSI driver instead of csi.nvmf.com in PV exampe https://github.com/kubernetes-csi/csi-driver-nvmf/blob/master/examples/kubernetes/example/pv.yaml#L12
--attrib parameter of the current https://github.com/rexray/gocsi/tree/master/csc does not exist anymore
Not sure if there is more or if the documentation is even complete?

I basically used the files from deploy/kubernetes to deploy everything on vanilla k8s 1.23, the CSI driver also logs out that the registration was successful and my PV contains the csi.driver field as the registration output showed.
The PVC is of course also bound to the PV and I'm pretty confident in my k8s basics :smiley: but if you need more infos I will happily provide everything!
Is it just me or did I miss something? Does this csi driver work for anyone else as documented?
Thanks in advance!
Vincent

Hi, @linkvt,
Thanks for reporting the issue. The possible errors you mentioned do exist.
I will fix the example YAML files and refresh the README (about settings of NVMf Kernel Target) in the next few days. Meanwhile, during my test, I found that there is a path error in fabrics.c.

@linkvt When you use the pv.yaml of example, you need to update volumeAttributes to your attributes

Hi @MeinhardZhou ,
thanks for the quick resolution of these issues!
I will be able to test the current version again in the next few days and give feedback.


esc closes telescope without intermediate normal mode

Hey @folke!!
Reduces 1 <Esc> keypress while exiting telescope.

I'm not a fan of this. How would you enter normal mode in telescope then?
You can of course add this to your own config.

add below config inside init.lua, don't know how to config this in LazyVim style.

Add below into init.lua, don't know how to do this in LazyVim style.
`local actions = require("telescope.actions")
require("telescope").setup({
defaults = {
mappings = {
i = {
[""] = actions.close,
},
},
},
})`

Add below into init.lua, don't know how to do this in LazyVim style.

Add below into init.lua, don't know how to do this in LazyVim style.
`local actions = require("telescope.actions")
require("telescope").setup({
defaults = {
mappings = {
i = {
[""] = actions.close,
},
},
},
})`

Add below into init.lua, don't know how to do this in LazyVim style.
local actions = require("telescope.actions")

require("telescope").setup({
    defaults = {
        mappings = {
            i = {
                ["<esc>"] = actions.close,
            },
        },
    },
})

return {
  {
    "nvim-telescope/telescope.nvim",
    opts = {
      defaults = {
        mappings = {
          i = {
            ["<Esc>"] = function(...)
              return require("telescope.actions").close(...)
            end,
          },
        },
      },
    },
  },
}


eval_det_nusc.txt: No such file or directory

I follow the instruction to install the environment and download the nuscenes dataset successfully.
when I try to run this line:

I got the following errors:

python scripts/eval_nusc_det.py --version=v1.0-trainval --root=data/nuscenes/ --work_dir=work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen --gt_anns=data/nuscenes/anns/tracking_val.json
tee work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_det_nusc.txt
tee: work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_det_nusc.txt: No such file or directory
File "scripts/eval_nusc_det.py", line 190
print(f'Loading tracking result from {tracking_result_path}')

it said lacking the file:
eval_det_nusc.txt
eval_mot_nusc.txt
eval_mot_02_nusc.txt
However, I cannot find it. Where could I find these files and how could I generate them?
Many thanks!

Hi, can you show the full error msg? If you miss those files, then it might be an error in the model inference. Thus when it start to execute the nuscenes evaluation, it got the error.

Hi Roy,
Thank you for your swift reply!
The error message is:

python3 -u
/home/yanran/ObjectsDetection/qd-3dt-main/tools/test_eval_video_exp.py
nuscenes
configs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter.py
/home/yanran/ObjectsDetection/qd-3dt-main/work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/latest.pth
/home/yanran/ObjectsDetection/qd-3dt-main/work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output/output.pkl
--data_split_prefix val --full_frames
Using agg as matplotlib backend
python scripts/eval_nusc_det.py --version=v1.0-trainval
--root=data/nuscenes/
--work_dir=work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen
--gt_anns=data/nuscenes/anns/tracking_val.json
tee
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_det_nusc.txt
tee:
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_det_nusc.txt:
No such file or directory
File "scripts/eval_nusc_det.py", line 190
print(f'Loading tracking result from {tracking_result_path}')
^
SyntaxError: invalid syntax
export PYENV_VERSION=Nusc
PYENV_VERSION=Nusc
python scripts/eval_nusc_mot.py --version=v1.0-trainval
--root=data/nuscenes/
--work_dir=work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen
--gt_anns=data/nuscenes/anns/tracking_val.json
tee
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_mot_nusc.txt
tee:
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_mot_nusc.txt:
No such file or directory
File "scripts/eval_nusc_mot.py", line 76
print(f'Loading tracking result from {tracking_result_path}')
^
SyntaxError: invalid syntax
export PYTHONPATH=:scripts/nuscenes-devkit/python-sdk
PYTHONPATH=:scripts/nuscenes-devkit/python-sdk
python scripts/eval_nusc_mot.py --version=v1.0-trainval
--root=data/nuscenes/
--work_dir=work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen
--gt_anns=data/nuscenes/anns/tracking_val.json --amota_02
tee
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_mot_02_nusc.txt
tee:
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_mot_02_nusc.txt:
No such file or directory
File "scripts/eval_nusc_mot.py", line 76
print(f'Loading tracking result from {tracking_result_path}')
^
SyntaxError: invalid syntax

Best Regards,
Yanran
On Thu, Jun 1, 2023 at 6:54 PM Roy Yang @.***> wrote:

Hi, can you show the full error msg? If you miss those files, then it
might be an error in the model inference. Thus when it start to execute the
nuscenes evaluation, it got the error.
—
Reply to this email directly, view it on GitHub
https://github.com/SysCV/qd-3dt/issues/40#issuecomment-1571820594, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGHDUUVZLMLYUMJWVZ5BFOTXJBYGRANCNFSM6AAAAAAYWWYABY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Roy,
Thank you for the reply. I have checked that I have modified the file path
so it shouldn't be a problem if I change the ./ dictionary. I think the
main problem is:
work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen/eval_det_nusc.txt:
No such file or directory
I double-checked the eval_det_nusc.txt file is not existing or generated.
Could you help me check if your folder contains this file or which python
script generate this file? Then I can dig into the problem better.
Thank you very much for your generous help and precious time! : )
Best Regards,
Yanran
On Fri, Jun 2, 2023 at 11:53 PM Roy Yang @.***> wrote:

It looks like you execute the scripts under $HOME, but our scripts should
be executed under qd-3dt repo root.
—
Reply to this email directly, view it on GitHub
https://github.com/SysCV/qd-3dt/issues/40#issuecomment-1573957979, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGHDUUWFYFBRG2WIVCJES4TXJID65ANCNFSM6AAAAAAYWWYABY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I see. Then do you find output.json or output.pkl file under your work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen? If no, then you need to check whether your inference is completed or interrupted by bugs / env error.

I see. Then do you find output.json or output.pkl file under your work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen? If no, then you need to check whether your inference is completed or interrupted by bugs / env error.

I have checked the file:
Under work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter
there is no file of
output_val_box3d_deep_depth_motion_lstm_3dcen
or output.json and output.pkl
Only a file:
latest.pth
What could the problem be?

I see. Then do you find output.json or output.pkl file under your work_dirs/Nusc/quasi_r101_dcn_3dmatch_multibranch_conv_dep_dim_cen_clsrot_sep_aug_confidence_scale_no_filter/output_val_box3d_deep_depth_motion_lstm_3dcen? If no, then you need to check whether your inference is completed or interrupted by bugs / env error.

Hi Roy,
I have finally solved the problem!
Actually I should add one line in the test_eval_video_exp.py
args.add_ablation_exp = ['all']
at line 958
the variable add_ablation_exp should has 'all' before running the code to generate the files.
Hope this helps!


[WFLY-15267] Upgrade Netty to 4.1.68.

https://issues.redhat.com/browse/WFLY-15267

@ehsavoie @pferraro Please review

:+1:  wrt Infinispan.

:+1 from Artemis

@langfr Can you resolve this merge conflict?  Otherwise, ready to merge.

Thanks, @langfr !


DOCKER_HOST not taken into account

What happened:

In a context where the docker host is different from the default configuration, the docker services cannot works.
In other word, the DOCKER_HOST env var is not used by the program.
in my case in did not work in a docker dind context setted up on a bitbucket pipeline

What you expected to happen:
DOCKER_HOST env var should be the law.
How to reproduce it (as minimally and precisely as possible):
Create a docker service and expose it from another host.
Set the DOCKER_HOST var on the machine.
Validate conf with a simple docker run busybox.
Start horusec
Anything else we need to know?:
It is related to the docker client creation.
https://github.com/ZupIT/horusec/blob/02a5f259f415140caa2aa798d3b9cf1c76a19ecd/internal/services/docker/client/docker_config.go#L25
it should be :
dockerClient, err := docker.NewClientWithOpts(docker.FromEnv)
Environment:

Horusec version (use horusec version): latest
Operating System: linux / docker dind
Network plugin / Tool and version (if this is a network-related / tool bug):
Others:

Hello @socotra69
Sorry for the delay in returning and we really appreciate the feedback.
This is a very interesting idea, the engineering team will check as soon as possible to inform you about this change and its impacts on Horusec-CLI
If the impact on the tool is low, it is a very valid exchange, otherwise we will have to assess how we can make the appropriate change without impacting user interaction.


In Falco 0.31.1, the triggered rules are not written to the log file

Describe the bug
(cc: @jasondellaluce )
When installing Falco 0.31.1 (which is currently the latest and the default) using Docker or Helm in Ubuntu 20.04 (did not test others), rules do not show up in the logs.

docker pull falcosecurity/falco-no-driver:0.31.1
docker run --rm -d \
  --privileged \
  --name "falco_training" \
  --security-opt apparmor:unconfined \
  -p 8765:8765 \
  -e HOST_ROOT=/ \
  --cap-add SYS_PTRACE \
  --pid=host $(ls /dev/falco* | xargs -I {} echo --device {}) \
  -v /var/run/docker.sock:/var/run/docker.sock \
  falcosecurity/falco-no-driver:0.31.1
docker logs falco_training
find /root -name "id_rsa"
docker logs falco_training # nothing in the logs

If instead of 0.31.1, you use 0.31.0 the rule shows up in the logs.
The same happens if you are using helm (v1.17.4 is currently the latest and default).
helm repo add falcosecurity https://falcosecurity.github.io/charts
helm repo update
helm install falco --version 1.17.4 falcosecurity/falco
k logs <podname>
find /root -name "id_rsa"
k logs <podname> # nothing in the logs

If you use 1.17.3 it works.

Hi @pmusa, after some investigation I think this is related to the Docker logs buffering.
One indicator of this hypothesis is that events are printed to the logs after a bunch of alerts are triggered, and they state the right timestamp. The second point is that, as for my testing, this happens only when the container is launched as detatched. To mitigate this, I tried launching the container like this and it worked:
docker run --rm -d \
  --privileged \
  --name "falco_training" \
  --security-opt apparmor:unconfined \
  -p 8765:8765 \
  -e HOST_ROOT=/ \
  --cap-add SYS_PTRACE \
  --pid=host $(ls /dev/falco* | xargs -I {} echo --device {}) \
  -v /var/run/docker.sock:/var/run/docker.sock \
  falcosecurity/falco-no-driver:0.31.1 \
  /usr/bin/falco -o file_output.enabled=true -o file_output.filename=/dev/stdout

I think this example works for me because it bypasses the docker buffering someway. I think similar spot-checks can be performed by testing the http/grpc/syslog outputs. Can you double check?

After a bit of investigation I believe this is a known issue which is not really related to Falco and not new to 0.31.1 .
I believe that if you need to run Falco in such a way that events appear immediately in the log file you can add --tty to the Docker command line (or tty: true if running in kubernetes or compose). Can you try that?

Thanks a lot @pmusa !
The reason why I believe that this behavior is not new in 0.31.1 is not because I released 0.31.1 😬 but because I found these:

https://github.com/falcosecurity/falco/issues/1198
https://github.com/falcosecurity/falco/issues/1291
https://github.com/falcosecurity/falco/pull/1296

I believe we can close this issue. In addition, I added a note about this to the documentation here: https://github.com/falcosecurity/falco-website/pull/578


[20.03] haskellPackages.pandoc-crossref: downgrade to latest working

Motivation for this change
I'm moving #80556 to target 20.03 since pandoc-crossref was fixed in master and 20.03 is not getting a haskell update, it seems.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Looks good to me, thanks!

Thank you.


Add support for processing non-square images w/ ConvNextFeatureExtractor

closes #482

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Create README_es.md for spanish speakers

Fixes #20

Create README_es.md for spanish speakers.

Before you do a merge could you add the hacktoberfest accepted label to this PR please


[bug] Some urls cause the finder to fail

Some urls cause the finder to throw an exception which causes the script to fail, can we can an argument to silently throw the error, but keep running?
Traceback (most recent call last):  File "./gitfinder.py", line 84, in <module>    main()  File "./gitfinder.py", line 80, in main    pool.map(fun, domains)  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 268, in map    return self._map_async(func, iterable, mapstar, chunksize).get()  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 657, in get    raise self._value urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>

@gehaxelt would you mind checking this issue? Thanks!


Update correct path to contract file

(magnetocorp admin)$ docker exec cliMagnetoCorp peer chaincode install -n papercontract -v 0 -p /opt/gopath/src/github.com/contract/lib -l node

Thanks for the contribution! However, this is a read-only mirror. please read the contribution guide. Also, feel free to join us on chat!