brain-score.org submission (user:514) | (public:False)

Plugin-only changes from brain-score.org submission. Generated via Jenkins job create_github_pr, build 197. Plugins added: models: [cornet_s_0_2_4096 cornet_s_0_6_4096 cornet_s_0_8_4096 cornet_s_0_0_4096 cornet_s_0_4_4096]

I don't know why this PR got auto-approved even after all unit tests failed: http://braintree.mit.edu:8080/job/unittest_plugins/1075/parsed_console/

brainscore_vision/models/cornet_s_0_0_4096/model.py
brainscore_vision/models/cornet_s_0_2_4096/model.py
brainscore_vision/models/cornet_s_0_4_4096/model.py
brainscore_vision/models/cornet_s_0_6_4096/model.py
brainscore_vision/models/cornet_s_0_8_4096/model.py
all present in repo


Add Build Env for Django 1.9

Django 1.9 has been released, the djangomaster now represents the pending Django 1.10.0 (or 2.0.0) release

This was addressed in #24


⚠ Mobitopup has degraded performance

In 9971712, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 9193 ms

Resolved: Mobitopup performance has improved in 6914400 after 7 minutes.


Fail to create FTS index using RBAC

Using Couchmove 2.x and RBAC, I get the following error for a FTS change :
Caused by: com.github.couchmove.exception.CouchmoveException: Could not store FTS index : {"error":"rest_auth: cbauth.AuthWebCreds, err: Authentication failure", ... }

This does not happen when I used the legacy way to authenticate.
Other type of changes work fine.
Edit : this happens inside of a k8s cluster
Edit 2 : just to be clear, I have upgraded the user to a full admin to be it was not a silly right mistake

What do you mean by legacy way to authenticate ? In my knowledge, beginning from Couchbase 5.0 you need to create an RBAC user with the correct rights in order to access your application.
I'm using RBAC and I don't have any issues! I'll need more details about that to be able to reproduce.
Did you try override the SDK version to the latest (2.7.21) to see if it works ?


Install resampy

Added resampy to the install instructions. It's needed for mp3 files and other functionality of librosa.

whoops! contains some changes not meant for main yet!


Upgrade to starknet.js v 6.11.0

Currently the starknet-snap is using version 6.7.0 of starknet.js. In order to complete #185 we need at least version 6.10.0 as we updated the starknet ID contracts on sepolia and this change was included in 6.10.0.
Version 6.11.0 is the latest stable version of starknet.js

@irisdv we have already upgrade the version to 6.11.0, may i ask if #185 will require any update on snap rpc? if yes , you wanna need to follow the new revamp structure, we will guide you soon


Add New Package and New Version label to PRs

Description of the new feature/enhancement
Add New Package and New Version label to PRs depending if the Package already exist, also fix the Metadata label.
And maybe a Documentation label to PRs which is not inside the Manifest folder.
This is useful for when you go trough Manifests, if a PR is marked as New Package and you know its already added you can tag it as Duplicate, if its New Version you can quickly look trough the PR and see that its correct. (Many PR's also haven't been updated in a while so if you "correct" the PackageIdentifier it will fail)
This is useful for both Moderators and active Package Maintainers which is up to date and also help with PR validation.

Proposed technical implementation details (optional)
if (PR creates folder) {
Add label New Package
}
elseif (previous version exist) {
bam! New Version label added
}
elseif (no hash change) {
Metadata Label
}
👌

@OfficialEsco we will see if the bot will cooperate 😊. I think this is a great feature to add.


tests for the examples

Supersedes #278

Thank you! I'll look at it a bit later. Terrific work :-)

Before merging this, could you consider adding { cmd: 'npm', args: ['test'] } to examples/buildAll.js? (You may need to rebase to latest to see that file.) This will cause the example tests to run on Travis.

Thank you again. Wow.

Great! I'm glad I could help :-)


question: can one run a single test against multiple browsers in parallel?

Due to the canopy was designed, the only way you can currently run tests in parallel is to run multiple instances of the same .exe
Generally people use canopy inside of a console application.  If this is the case for you too, you can parameterize your application and pass in what browser to use, then just run it X times, once for each browser.
If you dont need parallel, you can use this function to run your tests across multiple browsers:
https://github.com/lefthandedgoat/canopy/blob/master/src/canopy/runner.fs#L210
Something like
runFor [chrome; firefox; ie]

Running a single test can be done multiple ways.  You can makr all your tests as skipped (&&! vs &&&) except the one you want to run.  Or you can mark the test you want to run as wip (&&&&) which will cause only it to run.  It will run slower, because wip is a form of debug mode, and tries to help you work through your test.  You can make wip tests run at normal speed by changing this configuration:
https://github.com/lefthandedgoat/canopy/blob/master/src/canopy/configuration.fs#L27
wipSleep <- 0.0

Hope this helps answer your question!

Closed (no activity).


Added support for minimized boolean bound tag helper attributes

#431
Added support for both bool and Dictionary<*, bool> types.
Have not added support for bool?.

🆙 📅

🆙 📅


[Desoutter] zero items

The bridge has started producing zero items.
http://rssbridge.localhost/?action=display&bridge=Desoutter&context=News+%26+Events&news_lang=https%3A%2F%2Fwww.desouttertools.com%2Fabout-desoutter%2Fnews-events&limit=3&format=Html

It still works on my instance. This is probably rate-limiting.

Works for me too now.


Find and Find-Replace functionality

Find and Find-Replace functionality would be much appreciated.

Especially Find - I use it to jump throughout text.

We're making a clean sweep of piled up issues. It is a duplicated issue with #141.
Currently we are not focused to editor improvement because have to improve the base to make slides and editor improvment is triggered scope creep.


Observable doesn't appear to be usable

According to documentation you should be able to create an observable using the storage class, but there does not appear to be a function observe available in storage.
I am using latest master built from carthage , using:
carthage update --platform iOS --configuration Debug
In the documentation it is : storage.instance.observe(Request<>)
Based on the code it looks to be : CoreDataObservable(Request, Context).observe

Did it work @grangej ?

Yah, my bad, I am using the generic storage protocol in my app instead of the specific CoreDataDefaultStorage. Although it is observable(Request) not observe(Request) :)

Do you have a good example on how you would integrate this into a tableView using rx?

Not yet. Would you like to contribute with the example project adding an example using observables? You've been actively contributing with issues and ideas to the library. If you would like you I can guide you through it and help you.

Sure would be happy too, It would help me to better understand it I am sure.
Specifically I am wondering how we would maintain sort order?

https://github.com/pepibumur/SugarRecord/commit/30ddb1dd0ee405bf82834b5fd014204120dc73c0


tab-lang notes 2021-08-25

@jbrodman: Please add slides, links to slides from notes, and review

LGTM


Articles with embedded images render incorrectly in federated view

Tested this on Friendica, so I'm not sure whether other fediverse platforms supporting the Article activity type necessarily have this problem.
Basically, I have several articles containing images. When fetching said articles through Friendica, I've noticed that the images seem to have been stripped out of their positions in the post, and re-attached to the bottom of it. What's more confusing is that the image count seems to be limited to 3, even if I have far more embedded images in the blog post.
Original Article: https://deadsuperhero.com/2019/10/my-favorite-failed-game-projects/
Friendica Output: https://libranet.de/display/5722ea150a8a9db82fa7905af48253dba2eabbe0
Granted, this could just be a problem with Friendica and how it deals with HTML coming from WordPress, I'm not totally sure yet. But I thought I'd log this here to let you know.

hmmmm... I strip them from the post and add the images as attachments... It is a shame that every AP network differs in the UI... :(


TypeError cannot read property "queryCache" of undefined

Describe the bug
I wonder why I can't use destructuring with useQueryClient?
Error Code
export const useDeleteCategory = () => {
  const {invalidateQueries} = useQueryClient();
  const mutate = useMutation(
    ["delete_Category"],
    (id: number) => deleteData({ id, url: "category/delete" }),
    {
      onSuccess: () => {
        invalidateQueries("get_all_category");
      },
    }
  );
  return mutate;
};

Work Code
export const useDeleteCategory = () => {
  const queryClient = useQueryClient();
  const mutate = useMutation(
    ["delete_Category"],
    (id: number) => deleteData({ id, url: "category/delete" }),
    {
      onSuccess: () => {
        queryClient.invalidateQueries("get_all_category");
      },
    }
  );
  return mutate;
};

Expected behavior
When I destructuring useQueryClient it always gets an error when I delete data in API
Screenshots

Desktop (please complete the following information):

OS: BigSur
Browser: [ chrome]
Version: [11.2.3]

Additional context
{
   "dependencies":{
      "react-query": "^3.12.0",
      "react": "^17.0.1",

  }
}

duplicate of https://github.com/tannerlinsley/react-query/issues/1575


Improve the efficiency of s3 rest api multipart upload

When process complete multipart upload request,  alluxio proxy will read all the parts, and then rewrite them to one file. Is there any other way to improve efficiency?
For example, only by modifying metadata to mark multiple part  belonging to one file?

Thanks for this suggestion, I think most likely this would involve a gRPC API change in order to communicate to the Master to "merge" different files and their corresponding blocks into belonging to a single file.

I think it's resolved


Integration with version management tools like nvm, pyenv and rbenv to fulfill dependencies

Provide a detailed description of the proposed feature
Some packages, e.g. asciinema have dependencies on interpreters like, in this case, Python.
Users of such languages already manage their versions using tools like pyenv, nvm, rbenv, etc.
It would be nice if Homebrew would integrate with such tools to fulfill the dependency on a specific language so we do not need to have multiple interpreters (sometimes even on the same version) being installed in the system.
So, if this feature existed when I run brew info asciinema I would be informed that Python is a dependency but its installation is not necessary since I already have it through pyenv.
Today I was trying to install asciinema and, as I usually do, I first check the dependencies of a package before I decide to install it in my system. In this specific case<EMAIL_ADDRESS>was missing.
I manage my Python versions using pyenv and I don't like having installations outside pyenv realm as it can lead to confusion and unforeseen behavior. But that's a personal opinion.
How will the feature be relevant to at least 90% of Homebrew users?
I am not sure whether it will be relevant to 90% of the users, only for a part of the users that program in Python or other interpreted languages like Ruby and NodeJS.
What we can do is check how many packages depend on those languages. This could give us an idea of the impact.
I also believe that this could bring a marginal benefit when it comes to downloading bandwidth since it will be one less thing to pull from the internet. But probably this would be an irrelevant gain, I don't have data to support this.
What alternatives to the feature have been considered?
I know that I could probably get by by using --ignore-dependencies but the documentation for that flag is basically saying to never use it unless you are a homebrew dev, which is definitely not my case.

Similar requests have been made several times before (see, for example, #11312). This leads to configurations that would never be tested in CI, which we can't support.
Sorry!


Node

Does it work in Node?

Hm? It is in PHP. It is just a simple example of how probability changes if you switch or not the gate in the Monty Hall's problem - familiar with it?
But I bet you know that and just chatting-around :) ?

@intellix ping


Use cases instead of hard-coded strings

@webard This is a sample PR.

Will be improved in v2.

Okay.


explain cardinals

Can someone explain what the cardinal amount is and why we are only able to add 5 ordinals and have then to wait until all transactions are succeeded? I can't find a good documentation about the cardinals.

Cardinals are the inputs for the ordinal tx that the wallet makes, in order to inscribe more at a time you should take a big input or multiple bit inputs and split it to cardinals with size that would cover the inscription fee (use --dry-run for estimates)

so basically I have to send X transactions with Y sats per transaction from my main wallet to the ord wallet there X is the amount of ords that I want create? And Y is determinated by the dry-run? Do I need multiple receive addresses for that?

so basically I have to send X transactions with Y sats per transaction from my main wallet to the ord wallet there X is the amount of ords that I want create? And Y is determinated by the dry-run? Do I need multiple receive addresses for that?

y + 10k sats for postage. but put a little more just incase the calc from --dry-run isnt exact.
you can send to the same receive address, but general best practice in bitcoin is not to re-use addresses.
you can construct a multi output tx where 1 input and sends to 10 outputs to fund 10 utxos to use for inscribing.
(can do this with sparrow for an easier gui)
ord inscribe creates 2 transactions, a comit tx and a reveal tx.
and it only uses utxos that have been included in a block (already confirmed) for the comit.
so if wanting to inscribe multiple at once you need multiple utxos ready with cardinals.
cardinals are sats that have no inscriptions.
if need more help, jump in the ordicord (ordinals discord), as its much more active with many ppl ready to help.
utilize the search function, and use the #techsupport channel, or the voice chat.
hope that helps


Metrics for shenandoah

Based on this source code:
https://github.com/openjdk/jdk/blob/554caf33a01ac9ca2e3e9170557e8348750f3971/src/hotspot/share/gc/shenandoah/shenandoahMonitoringSupport.cpp#L65
Partially fixes #6424 by generating metrics for Shenandoah. Too bad ZGC does not have similar MonitoringSupport.cpp file.

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

@didip can you confirm which JVM versions this works with? Have you only tested on Java 11 or does this also work on Java 15?

@didip can you confirm which JVM versions this works with? Have you only tested on Java 11 or does this also work on Java 15?

I just checked and it looks like the names "Shenandoah partial" and "Shenandoah full" are used on both Java 11 and Java 15.

@gianm yes, correct. Sorry for the late response, I am still on paternity leave.

@gianm yes, correct. Sorry for the late response, I am still on paternity leave.

No problem; and, congratulations 🙂
The only legit failure for this patch is test coverage. I'm planning on adding additional tests for JvmMonitor in #12469, so I'll merge this patch now and do all the new tests over there.


How to send custom headers to the receiver app?

I could not understood how can I send custom header like useragent to the receiver app. I need to play some hls video which requires custom headers like useragent and authorization header. Nowhere I can get a fully functional sample code. can anyone help??

the authorization header can be customized using: https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.PlaybackConfig#manifestRequestHandler

Any update on this?

Any update on this??? I need to send an authorization token as a request header for decrypting the video. Can anyone suggest me a way where i can add this token.


Why the pool_size is set to (20, 12) in the SPHead?

Hi,
Thank you for open-sourcing the amazing work.
In the SPHead module, the pool_size parameter
er is set to 20, 12..
Can I ask why these two values? If the input image is 480x480 as in ade20k, the feature map produced by the ResNet backbone is 15x15 (32 down) which is smaller than 20x20. It actually becomes an upsampling operation rather than pooling.

same question，+1

@ylin-ai 'we improve the original ResNet with the dilation strategy and the final feature map size is set to 1/8 of the input image'

@yangdonghan50  hi, do you know how the pooling sizes 20 and 12 are inferred? or  the number of 20 and 12 were just set to the given proportion of 480?
Thanks !!!

@yangdonghan50  hi, do you know how the pooling sizes 20 and 12 are inferred? or  the number of 20 and 12 were just set to the given proportion of 480?
Thanks !!!


Feat/threshold example

This is awesome! No need for bash examples. It would be great if this thing logged what it's doing or it did in the GHA - here's what I see just now, expanding that just shows the code


Dark theme not working

Dark theme and the rest of the themes are not working in macOS (latest version) with latest version of AO.

I can attest to this. Recently installed Ao and the themes are not working.

Work fine on Windows and Linix 🤔

In linux, I can not get night mode totally.

On Mac OS, cannot switch to any other theme.


Enable deterministic C# compilation by default

Deterministic C# compilation is not enabled by default.  This means that the generated assemblies will be a tiny bit different every time they're compiled from the same source code:
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation#deterministic
This breaks our pubcore core-layer optimization and also means that our build scripts will rebuild and publish things like container images, even when nothing has really changed.
All we need to do is add this to our Directory.Build.props files:
<Deterministic>true</Deterministic>

DONE


Spurious diff with mist_device_gateway after each terraform apply

When I run terraform apply with a mist_device_gateway on 0.1.36 configured like the following
resource "mist_device_gateway" "gateway_one" {
  name      = "gateway_one"
  device_id = "redacted"
  site_id   = "redacted"
  oob_ip_config = {
    type = "dhcp"
  }
  additional_config_cmds = ["#", "###"]
  dns_servers            = ["<IP_ADDRESS>"]
  managed                = false
  dhcpd_config = {
    enabled = true,
    config = { # This code block seems to be the cause, if I remove it, I stop seeing the constant diff
      mykey = {}
    }
  }
  tunnel_configs = {
    default = {
      ike_lifetime = 28800,
      ike_proposals = [
        {
          auth_algo = "sha2",
          dh_group = "19",
          enc_algo = "aes256",
        },
      ],
      ipsec_lifetime = 3600,
      ipsec_proposals = [
        {
          auth_algo = "sha2",
          dh_group = "19",
          enc_algo = "aes256",
        },
      ],
      local_id = "test-local-id",
      primary = {
        hosts = ["<IP_ADDRESS>"],
        remote_ids = ["<IP_ADDRESS>"],
        wan_names = ["WAN_0"],
      },
      protocol = "ipsec",
      provider = "custom-ipsec",
      psk = "my-secret",
      version = "2",
    },
  }
}

it shows with the following diff that won't go away even if I accept the apply
Terraform will perform the following actions:

  # mist_device_gateway.gateway_one will be updated in-place
  ~ resource "mist_device_gateway" "gateway_one" {
      + deviceprofile_id       = (known after apply)
      + image1_url             = (known after apply)
      + image2_url             = (known after apply)
      + image3_url             = (known after apply)
      ~ mac                    = "redacted" -> (known after apply)
      ~ model                  = "redacted" -> (known after apply)
        name                   = "gateway_one"
      ~ serial                 = "redacted" -> (known after apply)
      ~ type                   = "gateway" -> (known after apply)
        # (9 unchanged attributes hidden)
    }

Hi @zbuchheit,
Yes, I also saw that for some other resources that I'm trying to fix.
Any advice on how to manage "Computed" resource to avoid this behavior?
Thanks

working to triage this further, it appears the weird unrelated fields showing as changing isn't unique to just the dhcpd_config field, changing any other field also shows them as changing.
It just happens that dhcpd_config with certain values results in a constant diff.
For example, if I change ike_lifetime to 28801 it will show
  ~ resource "mist_device_gateway" "gateway_one" {
      + deviceprofile_id       = (known after apply)
      + image1_url             = (known after apply)
      + image2_url             = (known after apply)
      + image3_url             = (known after apply)
      ~ mac                    = "redacted" -> (known after apply)
      ~ model                  = "redacted" -> (known after apply)
        name                   = "gateway_one"
      ~ serial                 = "redacted" -> (known after apply)
      ~ tunnel_configs         = {
          ~ "default" = {
              ~ ike_lifetime    = 28800 -> 28801
                # (12 unchanged attributes hidden)
            },
        }
      ~ type                   = "gateway" -> (known after apply)
        # (8 unchanged attributes hidden)
    }

but once I apply this and accept the change, the diff will go away unlike with dhcpd_config.config
Seems there are two issues.

Something about dhcpd_config.config causes an constant diff
When there is a diff the following fields always show a change deviceprofile_id, image1_url, image2_url, image3_url, mac, model, serial, type, which I guess could be expected since they are marked as computed fields?

Yes, this is a common issue I'm having with the "computed" attributes. I'm trying to fix it, I already committed some improvements, but I will double check based on your comments.

Hi @zbuchheit , can you test with v0.1.39?

looks to be fixed!


Is there a release coming any time soon

I've looked at the various comments in discussions around this repo - .NET Core and .NET 5 support have been added and there hasn't been a release of this package in what is now over four years.
The work has been done but there isn't even a preview to test? I understand there may be trepidation in terms of breaking/backward compat, but keeping a release this long when the programming has been done is arbitrary.
If you need help - I am more than available in this regard.
When can we expect a release here?
cc @punker76 @Lakritzator

Hi Patrick,
first, I'm just a contributor to this project as the original maintainer currently has other priorities.
Which is fine, Philipp did a great job, where we can build upon.
I think you don't mean it badly, but this is the worst question maintainers can get.
You might know this from your projects... but at least it seems you have way more time on your hands that I have.
I myself work on software when I have time, and feel like it.
Now with the pandemic, and having a kid/wife/dog, I hardly have ANY time left.
I either work, or spend time with my kid who is unfortunately not the easiest and while we cannot entertain him in indoor playgrounds, go to the movies or do other stuff, we have him at home most of the time. By the time he sleeps, daddy is dead tired.

The answer to your "nagging", because that is what it sounds like (well it's true!!), is:
It comes when it comes, and due to me answering this question, it will at least take a week longer. Because I usually only have time to work on things like this, once a week.
About not having a preview, we just didn't get to it yet.
We "recently" added a CI, but previews are not yet on our list.
If you are very depending on this, you are more than welcome to help.
Here are some options:

You can help by cloning the project (develop branch) & building it in VS2019. In "src\NotifyIconWpf\bin\Debug" you will find the nuget package. Point your project to it, and see if it does what it needs to do. If not create a detailed bug report, or send a PR.
Stop nagging, it saves me time from answering. 😀
Or you can sponsor me, via github sponsoring. It might help me a bit towards a new laptop, which will definitively motivate me. But I can fully understand if you don't like to sponsor someone who says what he thinks 🤷♂

Btw... if I would be at work, where I get payed for my work, I might be able to give you an estimate when "you" can expect a release. Mainly because the time I'm at work is plannable. As I am not, the answer is: I don't have a clue.
That is probably not the answer you were hoping for, but at least I had a bit of time to write one 😉
Best wishes,
Robin

I'm not sure what has prompted this bitter response. I assume you may not have been part of an open source project before.
I am not sure how one issue equates to nagging. You have repeatedly said, prior to August there would be a release. People are dependent on this project - if the work has been done, it is quite simple to provide an update, especially if someone else wants to help and they want to ensure they do not do the same work that has already been done.
Given this response I believe it better to fork and move away from what you consider nagging.

@patrickklaeren This will be available with next release (v1.1.0), coming hopefully soon. We still have to clarify who can upload the NuGet package. But after this, it should be done quickly. Thx 🙏

@patrickklaeren This will be available with next release (v1.1.0), coming hopefully soon. We still have to clarify who can upload the NuGet package. But after this, it should be done quickly. Thx 🙏

An actual reply, much appreciated.

@patrickklaeren you are right, I have not been a part of open soure project before.
I didn't find my response that bitter, but I guess one should not write the truth and it also depends with what mindset your read it.
I mentioned that you asked the most unfavorite question, told you why I can't give an answer to when I can provide a release. Also that the biggest thing that is open is testing. Time is preventing me to do this, so I told you how you can assist there. This is actually a thing which @punker76 didn't reflect in his answer. I think he means that he will see how we can deliver a preview.
Maybe you can show how you would have answered when you can't give an satisfying answer to a question which has been asked before?


Caching terraform providers (and other cache)

Hi all,
This is more like a question. Does gitlab-ci-local provide for a way to cache for e.g. terraform provider cache in between local runs?
Thanks
Thomas

If you can utilize terraforms caching mechanism in Gitlab CI/CD, so can gitlab-ci-local 👍


Expanded event

Hey,
I am currently working on a project where I would like to integrate a map into the panel. Unfortunately the map has to be activated when the panel opened. Is there an event I can listen to?
BR
Sebastian

would like this as well


[Feature]:  How can I realize this functionality with your package? React

Is your feature request related to a problem? Please describe.
https://github.com/Telegram-Mini-Apps/tma.js/assets/46872670/f0cec4ea-5ad8-42a3-8563-adb00d0ad3e0
Describe the solution you'd like
I would to get the solution with your package, please
Describe alternatives you've considered
No response
Additional context
No response

I have already answered you in developers chat.
https://docs.telegram-mini-apps.com/packages/tma-js-sdk/components/mini-app#access-requests


Fix InlineUIContainer clipping in text when ArrangeOverride called. (#17183)

What does the pull request do?

Issue #17183
This pr fixes problem with InlineUIContainer clipping inside a text and stuck on coordinates.
What is the current behavior?

Currently InlineUIContainer will be rendered on top of other Run when Width of control will be changed.
What is the updated/expected behavior with this PR?

InlineUIContainer will be rendered outside of textblock when it's not present in collection of inlines.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes
Changes the behavior of Avalonia.ArrangeOverride int TextBlock.
Obsoletions / Deprecations
Fixed issues
Fixes #17183

@cla-avalonia agree

@Danich27rus,
Please read the following Contributor License Agreement (CLA). If you agree with the CLA, please reply with the following:
@cla-avalonia agree

Contributor License Agreement

@cla-avalonia agree

Why do we need multiple arrange calls for embedded controls? There is some invalidation issue and we might need to invalidate visual children somewhere. I can't accept this "hack".

multiple arrange calls for embedded controls

It's a dirty hack, i understand that. I just don't understand how we can validate draw operation for inlines, if InlineUIContainer is not present in list of incoming runs.

Embedded controls are added as a visual child to TextBlock https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/Documents/InlineCollection.cs#L185

So i made a little research. EmbeddedControlRun is not present in TextLayout if it too big for TextLine, so basically if it's not present in TextLines - it cannot be changed in any way, only through VisualChidren. I don't think it's possible to validate child without changing TextFormatterImpl.cs internals

So i made a little research. EmbeddedControlRun is not present in TextLayout if it too big for TextLine, so basically if it's not present in TextLines - it cannot be changed in any way, only through VisualChidren. I don't think it's possible to validate child without changing TextFormatterImpl.cs internals

Simply clear visual children in the arrange call and add them again before arranging the embedded runs.

I (at least tried) to makle this like you described, but i'm not still sure that 100% correct solution

@Gillibald thank you very mush for hekping. I'm sorry about my stupidity

@cla-avalonia agree

Intresting, i thoughr i signed CLA 3 weeks ago

@Gillibald merge-que failed to merge it


Start removing jQuery

Some of this might be a bit tricky, but I wanted to take a first pass at it. Let me know your thoughts 😄

cc @fotinakis

Per discussion, going to close this for now and leave things as is. We have some designs for a future version that will supersede this so we're going to invest effort there.

No problem @fotinakis. If you need help with this future version, feel free to reach out!


Added support for GroupByAppend in SelectDataset

#275

I'll fix the example and nil pointer in a new PR


refactor(linter): rename *_partial_loader files

Current dependencies on/for this PR:

main

PR #1916   👈

PR #1917

This stack of pull requests is managed by Graphite.

Merge activity

Jan 6, 10:56 AM: @Boshen merged this pull request with Graphite.


Sample code start up: unable to find credentials

I'm just getting started and ran the sample code after creating an AWS console application in VS10 Express. I got an unhandled exception when the system executes
IAmazonEC2 ec2 = new Amazon.EC2.AmazonEC2Client();
The details explain that it cannot find the app.vhost.exe.Config file in the debug folder. I checked and it wasn't there. This could be purely a VS problem, but I'm wondering if anyone as a solution? Thanks.

Can you provide the exception message and full stack trace?
How are you passing your AWS keys to the SDK? This page of the developer guide explains how your keys can be setup so the SDK is able to use them.
The simplest way to configure the credentials on your local system is to run the below command (remember to substitute your own keys) in PowerShell to configure the "default" profile, which will automatically be chosen when your code runs:
Set-AWSCredentials -StoreAs default -AccessKey ACCESS_KEY -SecretKey SECRET_KEY
Once you run this command, your development environment will be configured with the keys you specified. It's not necessary to run this command again unless you wish to reconfigure the keys.

I've got it all figured out and working. I just needed to adjust the keys in the app.config file. I created a new set of keys in AWS. Thanks for your response.


Google Cloud JAVA SDK alternative for gsutil parallel_composite_upload_threshold

Team,
Is there any Google Cloud JAVA SDK alternative for gsutil parallel_composite_upload_threshold option?
Regards,
Tanmay

similar request moved to backlog: https://github.com/googleapis/google-cloud-java/issues/2812


New Applet: Positive Quote

Slaps hood of applet This shiny new applet calls an endpoint to get a random affirmation and another endpoint to get a random image. It displays the affirmation over the image.

@juniormonkey, heads up, it looks like your API token expired for 511.org.


Pluggable verifiable clients

This adds support for pluggable VerifiableConsumer and VerifiableProducers test client implementations
allowing third-party clients to be used in-place of the Java client in kafkatests.
A new VerifiableClientMixin class is added and the standard Java Verifiable{Producer,Consumer}
classes have been changed to use it.
While third-party client drivers may be implemented with a complete class based on the Mixin, a simpler
alternative which requries no kafkatest class implementation is available through the VerifiableClientApp class that uses ducktape's global param to specify the client app to use (passed to ducktape through the --globals <json> command line argument).
Some existing kafkatest clients for reference:
Go: https://github.com/confluentinc/confluent-kafka-go/tree/master/kafkatest
Python: https://github.com/confluentinc/confluent-kafka-python/tree/master/confluent_kafka/kafkatest
C++: https://github.com/edenhill/librdkafka/blob/0.9.2.x/examples/kafkatest_verifiable_client.cpp
This PR also contains documentation for the simplex JSON-based verifiable* client protocol.
There are also some minor improvements that makes troubleshooting failing client tests easier.

Nice!

Cool!

@ewencp With the tests passing the ball is now in your court. :)

Thanks @ewencp !


DependabotSemver Service Test and Badge Failing

:clock11: When did the problem start?
~5 days ago, November 8th

:camera: Live badge

https://img.shields.io/dependabot/semver/bundler/puma

:wrench: Is the live badge working?

:link: CircleCI link
https://app.circleci.com/pipelines/github/badges/daily-tests/1321/workflows/0b53d87a-2480-4b3e-bb3a-22f88e3d9938/jobs/2223

:lady_beetle: Stack trace
ValidationError: message mismatch: "value" with value "inaccessible" fails to match the required pattern: /^[1-9][0-9]?%|^100%|^0%$/
    at Object.exports.process (node_modules/joi/lib/errors.js:184:16)
    at Object.internals.entry (node_modules/joi/lib/validator.js:150:26)
    at Object.exports.entry (node_modules/joi/lib/validator.js:27:30)
    at internals.Base.validate (node_modules/joi/lib/base.js:548:26)
    at Object.internals.assert (node_modules/joi/lib/index.js:225:27)
    at Object.attempt (node_modules/joi/lib/index.js:107:26)
    at Function._expectField (file:///home/circleci/project/shields/core/service-test-runner/icedfrisby-shields.js:74:13)
    at IcedFrisbyNock.<anonymous> (file:///home/circleci/project/shields/core/service-test-runner/icedfrisby-shields.js:55:26)
    at IcedFrisbyNock.<anonymous> (node_modules/icedfrisby/lib/icedfrisby.js:954:10)
    at invokeNextHook (node_modules/icedfrisby/lib/icedfrisby.js:1003:24)
    at /home/circleci/project/shields/node_modules/icedfrisby/lib/icedfrisby.js:1017:7
    at new Promise (<anonymous>)
    at IcedFrisbyNock._runHooks (node_modules/icedfrisby/lib/icedfrisby.js:976:12)
    at IcedFrisbyNock.run (node_modules/icedfrisby/lib/icedfrisby.js:1276:20)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Context.<anonymous> (node_modules/icedfrisby/lib/icedfrisby.js:1348:9)

:bulb: Possible solution
It seems that the API contract has changed on us and now requires two additional parameters. Obviously our existing requests don't send those new parameters so we're getting 400 responses with complaints about bad requests.
curl "https://dependabot-badges.githubapp.com/badges/compatibility_score?package-manager=bundler&dependency-name=puma&version-scheme=semver"

{"errors":[{"status":400,"title":"Bad Request","detail":"Missing required parameter: previous-version"}]}

The API now wants both a previous-version and new-version to be provided in the query params. Part of me wonders if this amounts to an incredibly similar, but technically new data point since it's now between explicit pairs (and I don't know if the prior/original percentage reflected an aggregate for the package, ranges, etc.)
https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-select&package-manager=npm_and_yarn&previous-version=4.3.1&new-version=5.0.0

I think we can try to follow up with GitHub to see if the old API exists in any shape or form, but if not, then I'd lean towards deprecating the current badge. We could create a "new" badge that has new required route parameters to account for the previous and new versions, though I'm not sure how much utility that will provide for our users given what seems to be an exact version pinning

I had a quick look at the stats for this on https://metrics.shields.io and we serve hardly any of these. In the last 24 hours we served 33 requests for the dependabot compatibility badge and I think moving to an explicit from/to version pair makes the already narrow use-case for this even narrower. If we do need to remove it I think it will be low impact


Add help blocks for rails forms

Please add help blocks for rails forms. Something like this:
<%= password_field :password, help_block: 'help block' %>

I will

@arefaslani Try now (with version 1.3.0) using the :help options, such as:
<%= password_field :password, help: 'Do not use 123456' %>


delete order is not working properly

I would like to delete any open orders without indicating the order ID.
The code is shown in the picture.
Deleting with order ID is working just fine.
But I want to delete all open orders that are made within 24 hours, regardless the order ID.
I think the written code should serve this purpose. But it doesnt work.
Please help!

It works for me. Check whether delete_order returns any errors. When the function is successful it should return an empty set {}.

i just checked i did not use pip install python-time and also did not import datetime and timedelta
case is close

I see what the happened.
You guys did not tell me to install python-time and also to import datetime and timedelta. Below is the only instruction.
I think you should update the dependencies and imports. I’m sure I’m not the only one (no python experience whatsoever) who face this issue.
Thanks.
Gr, Chris
From: Jakub Loucký @.>
Sent: donderdag 1 juli 2021 20:21
To: lolokraus/DegiroAPI @.>
Cc: cyzelman @.>; Author @.>
Subject: Re: [lolokraus/DegiroAPI] delete order is not working properly (#39)
It works for me. Check whether delete_order returns any errors. When the function is successful it should return an empty set {}.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/lolokraus/DegiroAPI/issues/39#issuecomment-872456279 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNFCDA4EIR2QKLWMAOOIRLTVSWX5ANCNFSM47VFLJMA .  https://github.com/notifications/beacon/ATNFCDFIJIORFKCOFPX7KK3TVSWX5A5CNFSM47VFLJMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGQAKAVY.gif


[libjpeg-turbo] Update to 2.0.5

Fix #12940
Update libjpeg-turbo to the latest version 2.0.5
Note: No feature need to test

/azp run


How to pass field value as parameter to the POST URL?

Hi, What am I doing wrongly?
This is the form:

Parameter I want to add to the end of the POST url is the actual 'umbral' form value.
If I set 30 as fix value my php works fine and I get the update into MySQL database.
POST is: http://xyz:7080/Arduino/MySQL/FunnyVan-DHT22_ESP8266_Lolin/update_temp.php?umbral=30
If I use something like ${umbral} it does not work, so probably I am using wrong way to reference the form 'umbral' variable.
POST is: http://xyz:7080/Arduino/MySQL/FunnyVan-DHT22_ESP8266_Lolin/update_temp.php?umbral=${umbral}
Can you help me?
Thanks

@juampa2010 Data Manipulation sends all elements in the payload. If you wish to send an element value in the URL, then use a custom request.
There is an example in the documentation: https://volkovlabs.io/plugins/volkovlabs-form-panel/request/
$var is used for dashboard variables, which can be used in the URL if defined on the dashboard.
Let me know if it's clear.

@apellew There is an example in the documentation: https://volkovlabs.io/plugins/volkovlabs-form-panel/request/
Let me know if there is anything else.

Yes, it worked for me, many thanks for the support.

@juampa2010 Thank you for confirming.


point {{ config.extra.even_title }} target to /

The title should always point to the landing page.

Thanks!


rpcv05 update errors

closes https://github.com/NethermindEth/starknet.go/issues/408

One task on #408 has to do with updating the errors, and the other has to do with updating a method. I might split updating the method into a separate pr if that's okay with you

One task on #408 has to do with updating the errors, and the other has to do with updating a method. I might split updating the method into a separate pr if that's okay with you #427

Ok, I agree that you can handle the update of the method separately. I updated the issue to track that task with #427  issue. On the other hand, there is the data field in CONTRACT_ERROR task, I left a comment there about it. In any case, I'll update your description to only reference issue #408, because the way it is will close the issue as soon as this get merged and I would like all the tasks to be finished before closing it.


Prometheus agent mode using more heap memory than regular mode.

What did you do?
Configured the prometheus in agent mode.
What did you expect to see?
Expect to see less memory foot print compared to regular mode.
What did you see instead? Under which circumstances?
Rather we see agent mode using more memory than that of regular mode. After further debugging with go pprof we see remote.processExternalLabels is using more than 50% of the heap, which is not the case in regular mode.

(pprof) top
Showing nodes accounting for 776.43MB, 91.73% of 846.41MB total
Dropped 200 nodes (cum <= 4.23MB)
Showing top 10 nodes out of 45
      flat  flat%   sum%        cum   cum%
  428.31MB 50.60% 50.60%   428.31MB 50.60%  github.com/prometheus/prometheus/storage/remote.processExternalLabels
  110.50MB 13.06% 63.66%   539.43MB 63.73%  github.com/prometheus/prometheus/storage/remote.(*QueueManager).StoreSeries
   76.06MB  8.99% 72.65%    76.06MB  8.99%  github.com/prometheus/prometheus/model/labels.(*Builder).Labels
   53.34MB  6.30% 78.95%    53.34MB  6.30%  github.com/prometheus/prometheus/scrape.newScrapePool.func1
   38.77MB  4.58% 83.53%    38.77MB  4.58%  github.com/prometheus/prometheus/tsdb/agent.(*DB).gc
   29.01MB  3.43% 86.95%    29.01MB  3.43%  github.com/prometheus/prometheus/model/textparse.(*PromParser).Metric
   10.73MB  1.27% 88.22%    10.73MB  1.27%  github.com/prometheus/prometheus/scrape.(*scrapeCache).trackStaleness
   10.46MB  1.24% 89.46%    10.46MB  1.24%  github.com/golang/snappy.Encode
   10.25MB  1.21% 90.67%    10.25MB  1.21%  github.com/prometheus/prometheus/scrape.(*scrapeCache).addRef
       9MB  1.06% 91.73%        9MB  1.06%  github.com/prometheus/prometheus/tsdb/agent.seriesHashmap.Set

Below the heap foot print of the same for non agent mode for the exact same environment.
(pprof) top
Showing nodes accounting for 403.64MB, 74.21% of 543.94MB total
Dropped 149 nodes (cum <= 2.72MB)
Showing top 10 nodes out of 94
      flat  flat%   sum%        cum   cum%
  112.58MB 20.70% 20.70%   112.58MB 20.70%  github.com/prometheus/prometheus/pkg/labels.(*Builder).Labels
   83.06MB 15.27% 35.97%    83.06MB 15.27%  github.com/prometheus/prometheus/storage/remote.processExternalLabels
   42.01MB  7.72% 43.69%    42.01MB  7.72%  github.com/prometheus/prometheus/pkg/textparse.(*PromParser).Metric
   37.22MB  6.84% 50.53%    37.22MB  6.84%  github.com/prometheus/prometheus/scrape.newScrapePool.func1
   35.51MB  6.53% 57.06%    51.01MB  9.38%  github.com/prometheus/prometheus/tsdb.newMemSeries
   30.52MB  5.61% 62.67%    30.52MB  5.61%  github.com/prometheus/prometheus/tsdb/chunkenc.(*bstream).writeByte
   16.24MB  2.99% 65.66%    16.24MB  2.99%  github.com/prometheus/prometheus/scrape.(*scrapeCache).trackStaleness
   15.50MB  2.85% 68.51%    15.50MB  2.85%  github.com/prometheus/prometheus/tsdb/chunkenc.NewXORChunk
   15.50MB  2.85% 71.36%    15.50MB  2.85%  github.com/prometheus/prometheus/tsdb.newTxRing (inline)
   15.50MB  2.85% 74.21%    22.02MB  4.05%  github.com/prometheus/prometheus/tsdb.(*memSeries).mmapCurrentHeadChunk

Environment
Kubernetes

System information:
Linux 3.10.0-1160.53.1.el7.x86_64 x86_64

Prometheus version:
prometheus, version 2.33.4 (branch: HEAD, revision: 83032011a5d3e6102624fe58241a374a7201fee8)
build user:       root@d13bf69e7be8
build date:       20220222-16:51:28
go version:       go1.17.7
platform:         linux/amd64

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

global:
  evaluation_interval: 1m
  external_labels:
    cluster_name: <IP_ADDRESS>
    monitor: prometheus
  scrape_interval: 1m
  scrape_timeout: 10s
remote_write:
- url: http://thanos-receive:19291/api/v1/receive
scrape_configs:
- job_name: prometheus
  kubernetes_sd_configs:
  - role: pod
  relabel_configs:
  - action: keep
    regex: external
    source_labels:
    - __meta_kubernetes_pod_annotation_prometheus
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - action: replace
    source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - action: replace
    source_labels:
    - __meta_kubernetes_pod_name
    target_label: kubernetes_pod_name
  - action: keep
    regex: 9090
    source_labels:
    - __meta_kubernetes_pod_container_port_number
  scrape_interval: 10s
- honor_labels: true
  job_name: kafka-metrics
  kubernetes_sd_configs:
  - role: pod
  relabel_configs:
  - action: keep
    regex: broker
    source_labels:
    - __meta_kubernetes_pod_annotation_prometheus
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - action: replace
    source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - action: replace
    source_labels:
    - __meta_kubernetes_pod_name
    target_label: kubernetes_pod_name
  - action: keep
    regex: 5556
    source_labels:
    - __meta_kubernetes_pod_container_port_number
  scrape_interval: 30s
  scrape_timeout: 30s
- honor_labels: true
  job_name: linstor-metrics
  kubernetes_sd_configs:
  - role: endpoints
  relabel_configs:
  - action: keep
    regex: linstor
    source_labels:
    - __meta_kubernetes_namespace
  - action: keep
    regex: .*-op-cs
    source_labels:
    - __meta_kubernetes_endpoints_name
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - action: replace
    source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - action: replace
    source_labels:
    - __meta_kubernetes_pod_name
    target_label: kubernetes_pod_name
  scrape_interval: 30s
  scrape_timeout: 30s
- honor_labels: true
  job_name: drbd-metrics
  kubernetes_sd_configs:
  - role: endpoints
  relabel_configs:
  - action: keep
    regex: linstor
    source_labels:
    - __meta_kubernetes_namespace
  - action: keep
    regex: .*-op-ns-monitoring
    source_labels:
    - __meta_kubernetes_endpoints_name
  - action: keep
    regex: prometheus
    source_labels:
    - __meta_kubernetes_endpoint_port_name
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - action: replace
    source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - action: replace
    source_labels:
    - __meta_kubernetes_pod_name
    target_label: kubernetes_pod_name
  scrape_interval: 30s
  scrape_timeout: 30s
- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
  job_name: kubernetes-apiservers
  kubernetes_sd_configs:
  - role: endpoints
  relabel_configs:
  - action: keep
    regex: default;kubernetes;https
    source_labels:
    - __meta_kubernetes_namespace
    - __meta_kubernetes_service_name
    - __meta_kubernetes_endpoint_port_name
  scheme: https
  tls_config:
    ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
    insecure_skip_verify: true
- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
  job_name: kubernetes-nodes
  kubernetes_sd_configs:
  - role: node
  relabel_configs:
  - action: labelmap
    regex: __meta_kubernetes_node_label_(.+)
  - replacement: kubernetes.default.svc:443
    target_label: __address__
  - regex: (.+)
    replacement: /api/v1/nodes/$1/proxy/metrics
    source_labels:
    - __meta_kubernetes_node_name
    target_label: __metrics_path__
  scheme: https
  tls_config:
    ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
    insecure_skip_verify: true
- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
  job_name: kubernetes-nodes-cadvisor
  kubernetes_sd_configs:
  - role: node
  relabel_configs:
  - action: labelmap
    regex: __meta_kubernetes_node_label_(.+)
  - replacement: kubernetes.default.svc:443
    target_label: __address__
  - regex: (.+)
    replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
    source_labels:
    - __meta_kubernetes_node_name
    target_label: __metrics_path__
  scheme: https
  tls_config:
    ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
    insecure_skip_verify: true
- job_name: kubernetes-service-endpoints
  kubernetes_sd_configs:
  - role: endpoints
  relabel_configs:
  - action: keep
    regex: true
    source_labels:
    - __meta_kubernetes_service_annotation_prometheus_io_scrape
  - action: replace
    regex: (https?)
    source_labels:
    - __meta_kubernetes_service_annotation_prometheus_io_scheme
    target_label: __scheme__
  - action: replace
    regex: (.+)
    source_labels:
    - __meta_kubernetes_service_annotation_prometheus_io_path
    target_label: __metrics_path__
  - action: replace
    regex: ([^:]+)(?::\d+)?;(\d+)
    replacement: $1:$2
    source_labels:
    - __address__
    - __meta_kubernetes_service_annotation_prometheus_io_port
    target_label: __address__
  - action: labelmap
    regex: __meta_kubernetes_service_label_(.+)
  - action: replace
    source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - action: replace
    source_labels:
    - __meta_kubernetes_service_name
    target_label: kubernetes_name
  - action: replace
    source_labels:
    - __meta_kubernetes_pod_node_name
    target_label: kubernetes_node
- honor_labels: true
  job_name: prometheus-pushgateway
  kubernetes_sd_configs:
  - role: service
  relabel_configs:
  - action: keep
    regex: pushgateway
    source_labels:
    - __meta_kubernetes_service_annotation_prometheus_io_probe
- job_name: kubernetes-services
  kubernetes_sd_configs:
  - role: service
  metrics_path: /probe
  params:
    module:
    - http_2xx
  relabel_configs:
  - action: keep
    regex: true
    source_labels:
    - __meta_kubernetes_service_annotation_prometheus_io_probe
  - source_labels:
    - __address__
    target_label: __param_target
  - replacement: blackbox
    target_label: __address__
  - source_labels:
    - __param_target
    target_label: instance
  - action: labelmap
    regex: __meta_kubernetes_service_label_(.+)
  - source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - source_labels:
    - __meta_kubernetes_service_name
    target_label: kubernetes_name
- job_name: kubernetes-pods
  kubernetes_sd_configs:
  - role: pod
  relabel_configs:
  - action: keep
    regex: true
    source_labels:
    - __meta_kubernetes_pod_annotation_prometheus_io_scrape
  - action: replace
    regex: (.+)
    source_labels:
    - __meta_kubernetes_pod_annotation_prometheus_io_path
    target_label: __metrics_path__
  - action: replace
    regex: ([^:]+)(?::\d+)?;(\d+)
    replacement: $1:$2
    source_labels:
    - __address__
    - __meta_kubernetes_pod_annotation_prometheus_io_port
    target_label: __address__
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - action: replace
    source_labels:
    - __meta_kubernetes_namespace
    target_label: kubernetes_namespace
  - action: replace
    source_labels:
    - __meta_kubernetes_pod_name
    target_label: kubernetes_pod_name

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

Hi.
Both use the same config file except that non agent has rules files in config.

I have tried to reproduce this but have not been able to. Can you share details on the number of series, the timeframe you saw this, and any other details?

@mattdurham
Number of Series: 140620
We see the agent mode using the high heap memory(As described remote.processExternalLabels using more than 50% of total heap) all the time compared to that of server mode. Please let us know if you need any more specific info.

pprof.prometheus.alloc_objects.alloc_space.inuse_objects.inuse_space.001.pb.gz
pprof.prometheus.alloc_objects.alloc_space.inuse_objects.inuse_space.002.pb.gz

@mattdurham Do you need any more info/logs on this issue?

@roidelapluie @mattdurham  Please let me know what additional info is needed from me.

Hi
On the screenshot you can find memory usage from prometheus container (v2.36.0)
First "half" - agent mode turned on
Second "half" - agent mode turned off
(metrics from cadvisor -> "container_memory_rss")

@srimuvva Yes, as you can see in agent mode we can observe a peaks on memory usage.

Update on this: this is something we've looked into a few times but haven't been able to reproduce ourselves, and I haven't been able to find anything in the code that might explain this.
My working theory so far is that Prometheus Agent uses more memory because it has more in-memory series, where some series has more than one ref ID associated with it.
The only difference that I found is how the TSDB has an extra check to ensure that concurrent writers don't create the same series with two different ref IDs (if I'm understanding the code correctly). Though this shouldn't be common: two concurrent scrape jobs writing the same series would likely be incorrect and produce unexpected results while graphing.
I don't have a lot of confidence in that extra check being the cause, though that doesn't necessarily discount the theory that Prometheus Agent has more active in-memory series.

@rfratto  Can you check the below issue and let us know if you need any help from me?
https://github.com/prometheus/prometheus/discussions/10979

For the moment, our biggest issue is being able to reproduce this so we can investigate and fix. I think finding the smallest reproducible example which shows the memory difference (using targets which are either public or can be reproduced locally) would be the most helpful for getting this resolved.

We also observe the issue in our environment
❯ go tool pprof -symbolize=remote -inuse_space http://<IP>:9090/debug/pprof/heap
Fetching profile over HTTP from http://<IP>:9090/debug/pprof/heap
Saved profile in /Users/levar/pprof/pprof.prometheus.alloc_objects.alloc_space.inuse_objects.inuse_space.001.pb.gz
File: prometheus
Type: inuse_space
Time: Sep 29, 2022 at 11:50am (CEST)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) top
Showing nodes accounting for 10.66GB, 91.72% of 11.62GB total
Dropped 241 nodes (cum <= 0.06GB)
Showing top 10 nodes out of 56
      flat  flat%   sum%        cum   cum%
    4.63GB 39.84% 39.84%     4.63GB 39.84%  github.com/prometheus/prometheus/storage/remote.processExternalLabels
    1.67GB 14.38% 54.22%     1.67GB 14.38%  github.com/prometheus/prometheus/tsdb/encoding.(*Decbuf).UvarintStr (inline)
    1.50GB 12.93% 67.15%     3.16GB 27.23%  github.com/prometheus/prometheus/tsdb/record.(*Decoder).Series
    1.12GB  9.61% 76.76%     1.12GB  9.61%  github.com/prometheus/prometheus/tsdb/index.(*MemPostings).Delete
    0.85GB  7.28% 84.04%     0.85GB  7.30%  github.com/prometheus/prometheus/model/textparse.(*PromParser).Metric
    0.23GB  1.98% 86.03%     4.87GB 41.89%  github.com/prometheus/prometheus/storage/remote.(*QueueManager).StoreSeries
    0.22GB  1.92% 87.95%     0.22GB  1.92%  github.com/prometheus/prometheus/tsdb.seriesHashmap.set
    0.20GB  1.70% 89.65%     0.20GB  1.70%  github.com/prometheus/prometheus/scrape.newScrapePool.func1
    0.14GB  1.19% 90.84%     0.19GB  1.61%  github.com/prometheus/prometheus/tsdb.newMemSeries
    0.10GB  0.88% 91.72%     0.10GB  0.88%  github.com/prometheus/prometheus/tsdb/chunkenc.NewXORChunk
(pprof)

When can we expect a solving to this issue?

I also found this problem in my environment and have not found a solution so far

This is also an issue for me.

你好，你的来信孙其君已收到，若有急事请电话联系

I have 1m metrics to collect. And the prometheus agent instance takes more then 4GB memory. Every 2hours , it takes double 8GB memory!

你好，你的来信孙其君已收到，若有急事请电话联系

Hello from the bug scrub
We're looking for a volunteer that can take on the problem and also reproduce it.

你好，你的来信孙其君已收到，若有急事请电话联系


Cannot add custom logo

Options in "Theme logos" #116 are greyed out. I can select yes for both options but nothing else (save will return it to no and nothing happens.

Select yes, then you are able to click on a file attach button (clip), select a file and click save.

Uupss.. That was working last release! Sorry will fix it soon.

A bit more detail, removing the classes disabling the buttons lets me access the filepicker and choose my logo but when I click save i get an error
  Failed to open /etc/webmin/authentic-theme/logo.png for writing : Permission denied

i tried the old-school way of copying the logo into that directory and it seems to get removed when i navigate anywhere inside webmin.
Hope this helps

What is output of ls -lsa /etc/webmin/authentic-theme

me@server:/usr/share/webmin/authentic-theme$ ls -lsa /etc/webmin/authentic-theme
total 16
4 drwxr-xr-x   2 root root 4096 May 31 06:22 .
4 drwxr-xr-x 123 root root 4096 May 31 06:06 ..
4 -rw-r--r--   1 root root  114 May 31 06:06 config
4 -rw-r--r--   1 root root 1396 May 31 06:22 settings.js

what about ls -lsa /etc/usermin/authentic-theme

I don't have usermin installed sorry

To correct myself, i was trying to copy the logo.png manually into /usr/share/webmin/authentic-theme
when i copied it into /etc/webmin/authentic-theme it works as expected the folder structures are identical and i got confused   :dizzy_face:  apologies

Actually, you have discovered horrible BUG, that I have just fixed and will release version 13.04, very soon! Thank you!!

Any time you need a confused guy, give me a call. :smile:
Glad i could help, even if it was more of a shotgun than a sniper approach, seriously though, Thanks for all the work you've put into this, you've turned webmin from some dated looking (but wonderful) thing into something i can show clients and have them be impressed. Makes a world of difference.

:+1:  So good to hear this! Thanks!! :D

Sorry man, just tried this after updating to the newest version

It works fine up until that point though

Just as root first delete /etc/webmin/authentic-theme/logo.png and try again. And before that post
ls -lsa /etc/webmin/authentic-theme/logo.png
and
lsattr /etc/webmin/authentic-theme/logo.png

...and ls -lsa /etc/webmin/authentic-theme

I have some changes in regards to your issue in up-coming version 13.05. It should work.
However, in case you will face this issue again, post the output from suggested commands above.. I think you have uploaded logo under some other user or made it immune.


Add more debug output from multi-test

It can be hard to track down failures, especially when they happen in multiple levels of submessages. Getting the full backtrace can be helpful, but it seems I am the only one who can really parse those to see what the issue was.
The main info I pull out is what the messages are and which depth of the submessages we are at. We can add some dbg!() statements to the framework... maybe when each message is executed, when each submessage is executed, each query is called, etc. basically all contract -> contract interactions could be traced.
Since multi-test only compiles for test environments (not into wasm), we can just dump everything with debug logs. Maybe we have some way to configure how many/which logs to dump, but first let's make sure we have all the needed info there, then make it optional.

I'd rather not use dbg!(), since it's quite messy if there are more then couple of them.
I recommend using something like slog with customizable levels of logging, to not clutter the output.
Also, I wonder if we could figure some reasonable way of enabling logs only for particular modules we wan't to debug, for example instantiation, execution, query etc.

@uint I see you've assigned youself here - could you share your vision/approach?

@uint I see you've assigned youself here - could you share your vision/approach?

I don't have one yet. I was going to first try and reproduce the situations when errors happen and the output is confusing (I'm guessing any multitests with a bunch of nested contract -> contract calls?), poke at how multitest/cosmwasm_std mocks work, etc. Basically I need to understand the issue better.
slog (or tracing?) sounds good.
Since we use anyhow in a lot of places, kind of curious if there's any use for anyhow::Error::context.
If you already have ideas about this and wanted to tackle it, I can pass it on and work on something else. I was only starting to look at this.

If you already have ideas about this and wanted to tackle it, I can pass it on and work on something else. I was only starting to look at this.
Nah, I'm actually curious.

I was going to first try and reproduce the situations when errors happen and the output is confusing (I'm guessing any multitests with a bunch of nested contract -> contract calls?)
I remember that I struggled a lot for example when I was introducing migrate contract into tgrade-validator-voting contract. I was getting output from multitest framework - something like "Unauthorized", and that was all. And debug stack trace was going looong into multi test insides...
Later Ethan figured, that contract needs to be privileged to sudo to allow migration - but I'm 100% I wouldn't get that info from any logs.

I remember that I struggled a lot for example when I was introducing migration into tgrade-validator-voting contract. I was getting output from multitest framework - something like "Unauthorized", and that was all. And debug stack trace was going looong into multi test insides... Later Ethan figured, that contract needs to be privileged to sudo to allow migration - but I'm 100% I wouldn't get that info from any logs.

Ahhh, I think @hashedone had a similar problem. Thanks for that. It sounds annoying.

Something like this is possible by making the multitest lib attach context to errors.
---- multitest::voting::executing_slashing_proposals_works stdout ----
thread 'multitest::voting::executing_slashing_proposals_works' panicked at 'called `Result::unwrap()` on an `Err` value: Contract returned an error on execute
Contract address: Contract #4
Message sender: voter2
Funds: []
Message dump:
Execute { proposal_id: 1 }

Caused by:
    0: Contract returned an error on execute
       Contract address: Contract #2
       Message sender: Contract #4
       Funds: []
       Message dump:
       Slash { addr: "voter1", portion: Decimal(Uint128(500000000000000000)) }

    1: Caller is not admin', contracts/tgrade-oc-proposals/src/multitest.rs:522:48

I kind of like the approach of giving errors more information, but I have two concerns to figure out:

This looks a little ugly in test output.
The attached context currently messes up tests that downcast anyhow errors.

Would you still want logs, too? Or prefer logs over this?

This looks a little ugly in test output.
But this is debug? Those are opt-in, so I wouldn't worry about prettines if they are giving more valueable info.
Beside that, those are looking nicely formatted, what to want more. :)

And I don't quite get the second point, you mean that logs are crossing each other?
Best if you could attach some dumps.

Would you still want logs, too? Or prefer logs over this?
If this could be an option to enable I wouldn't mind to have that context anyway.

And I don't quite get the second point, you mean that logs are crossing each other?

Actually, I just pushed a draft PR to show you what I'm doing. I'll explain there. #597

Great solution for execute. We should support at least query and instantiate as well. (More complex ones can be added in as-needed follow-ups). #597 (comment)

When you say "support instantiate", do you mean situations when a contract instantiates another contract from a code id?

Yup. Both that and when an instantiate call triggers another call (like execute or instantiate)
Instantiate and Query calls are not wrapped in a context afaik.

when an instantiate call triggers another call (like execute or instantiate)

The instantiate -> execute case should work as it is, though I guess a test to show that would be nice.

Instantiate and Query calls are not wrapped in a context afaik.

I did that in the final commit in that PR (just before merging) since it was really simple to add and looked more consistent. But not all the possible situations are tested.

I did that in the final commit in that PR (just before merging) since it was really simple to add and looked more consistent. But not all the possible situations are tested.

Ah, I didn't see that. Let me look again at the merged PR

You are right. It was done, I will close this.
I did see some other minor cleanup you can make in a follow-up PR if you think it is relevant.
https://github.com/CosmWasm/cw-plus/pull/597#pullrequestreview-844468022
But this issue is closed 👍


Add oauth2client as a dependency on README

this pull request solves issue https://github.com/prahladyeri/tuxdrive/issues/5 .

@kevinoliveira thanks for your contribution.


[StandardView] Double click on user couses login to CA

Go to: /admin/users/index
Double click on random user couses login to CA, it should moving to user summary, not to CA.

@dawid-g fixed

confirmed.


descriptor: Rephrase reserved wording

We're not forbidding other OCI specs from using these fields, we're forbidding all specs (except for future versions of image-spec) from using these fields.  The wording I'm bringing in here matches what #164 landed for the org.opencontainers.* annotation namespace.
My personal preference would be to use JSON-LD to assign explicit semantics to every field (after which you don't have to worry about namespacing the fields themselves), but that would be a larger change ;).
Fixes #125.

LGTM

lgtm


Cropper Plugin How to get uploaded image resolution

How to get uploaded image resolution before it's being cropped, to display a message.
Thanks

You can try to use the getImageData method to get the natural image size.


Change color many rows is very slow

In my scenario I need change back color row,  depends with one value in cell. I try many options and all the result is very slow and freezing browser.
How can optimize change background color for many rows "more one hundred"?
I try change direct in table "dom" and  using event updateSettings , but both is very slow.

You can customize your table with pure CSS. For example:
As classes: .c0, .c1, .c2 or .r0, r1, r2 . to apply for all columns or rows. Or specific to one cell using id: #0-0, #0-1, #0-2 (where 0-0 is first column and first row).


Getting error from Nuxt when using #imports in a plugin template

Environment

Operating System: Darwin
Node Version:     v18.18.0
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, myModule, devtools
Runtime Modules:  ../src/module
Build Modules:    -

Reproduction
https://github.com/MooseSaeed/my-module/blob/master/src/module.ts
Describe the bug
The addPluginTemplate() in @nuxt/kit throws the below error to the console when importing defineNuxtPlugin from #imports:
[nuxt] `#imports` should be transformed with real imports. There seems to be something wrong with the imports plugin.

The error goes away if I import defineNuxtPlugin from #app instead of #imports even though the documentation's example is using #imports
Also the error doesn't occur with npx nuxi build. It only shows up by running dev.
Additional context
Didn't raise the issue on module-builder or Module Starter Template because the issue is happening when using local modules too.
Logs
TEST Plugin Template - build time                                                                                7:37:13 PM
ℹ Vite client warmed up in 372ms                                                                                7:37:14 PM
ℹ Vite server warmed up in 546ms                                                                                7:37:14 PM
✔ Nitro built in 248 ms                                                                                nitro 7:37:14 PM
[nuxt] `#imports` should be transformed with real imports. There seems to be something wrong with the imports plugin.
TEST Plugin Template

Getting the same earning using Vuefire and @posva suggests it could be a Nuxt issue as well.

This is because you've named your file .ejs and Nuxt doesn't know anything about that file extension (so it doesn't process it). Instead, you can add a valid extension, e.g.:
    addPluginTemplate({
      src: resolve("./runtime/templates/template-plugin.ejs"),
+     filename: 'template-plugin.mjs',
      options: {
        ssr: true,
      },
    });

I’m not using ejs but still have the same issue with Vuefire

@3zzy can you provide a reproduction?


Icon-Logo Design Proposal: Please vote!

Hi Sir @stympy  ,Good day! I am a graphic designer and I want to contribute to your great project by proposing an icon-logo design. If you like and want to use it, I will be gladly sending you the files as a gift to the project for free. Please let me know if you have any ideas or suggestions. I saw that the project does not have a logo yet that's why i am proposing one.
here it is Sir with 2 variations:

I hope you will like and use it Sir.
Thanks and best regards!
-Tobaloidee

will take note of that Sir and create from it. Thanks for the feedback!

created with a new concept:

Hey guys, we need your help to define which logo Faker will use. Please vote or tell @Tobaloidee your suggestions/feedback.
@graciano @stephengroat @JonathanWThom @MarcPer  @jmkoni  @Glenf  @gkunwar  @SpyMaster356  @PuZZleDucK @buzzamus @philduffen @cnharris10

That’s fun, but a bit too reminiscent of Facebook. :)

What if the “F” sort of fit into the coffee mug? For instance, the top of the F could be the top of the mug, the middle horizontal portion of the F was the top of the coffee, and the main portion of the F made up the side of the mug? Might be too awkward, but figured I would throw that out there!

I'll make some alternatives from the suggestions Sirs. :)

Thank you @Tobaloidee for your contributions. All logos that you made are looks good.
@vbrazo among these logos, my vote goes to the latest one.

I like the latter of the last two (the one with the white F), but I like it more with the mug handle of the other one.

Nice logos, @Tobaloidee. I liked the one with the white F too. For some reason it reminded me of the standard masks symbol associated with theater:

Maybe that could be something to think about, having a mask with the the light and shade forming an F. The mask seems to make sense with a library about faking information.

I like the idea of the masks. The coffee cup feels arbitrary to me, and doesn't really fit what Faker does.

Throwin 2 ideas at the wall:
 Use the shadow to show something different
 Show off all the different libraries in faker. (a small sever can serve up a random image each refresh)

This is fun. I'm not designer, so take this with all with a grain of salt, but I like the idea of the drama masks. Maybe a combo of the last thing that @SpyMaster356 posted (where the mask forms an 'F'), except only the F instead of the full word, and the mask square that @Tobaloidee just posted. Though we probably want to stay away from a blue F, as others have stated. Maybe red or burgundy as a representation of ruby? I donno - excited to see other ideas. Thank you for the awesome idea and your time @Tobaloidee!

I will make some alternatives and i will post it asap..thanks!

The "F-masks" are just amazing :open_mouth: ... I think I prefer the less evil looking expression tho.
The idea of a different shadow font is also impressive and conveys the faker concept well :sunglasses:

:)

Wow, the masks look great. I personally didn't mind the evil face, but the smiling version is equally beautiful. So my vote goes for the F masks with red background, no matter if good or evil.

I will wait until the final decision came up Sirs..I hope im not giving you a hard time. :)

I like the masks in the red background too.

The latest masks are fantastic. :)
Would you mind doing flat variants without the shadow?

+1

Could you please send us lots of different colors? I'd suggest to remove the shadow as well.

I don’t think we need lots of colors... the red looks good to me.

Might also be good to smooth out the top of the mask. Looks a bit devilish right now :P

Hello Sirs..i will show you some variants asap

gradient and flat versions (removed the shadow and flatten a bit the top area)

I'll toss my vote in for ether the lighter red or the second orange ones.
Thanks for working on this @Tobaloidee

My vote is for either of the red ones. Awesome work!

i updated my comment for easier voting :)  It has been a pleasure and this is going to be rewarding for me seeing it in your project.

I vote for R2

That's Ruby Red

I like both R2 and R1

@Tobaloidee R looks awesome. Good job!
Could you open a PR to change the README.md and add the new logo? Please do not forget to reference this issue in the PR.
Let us know how it looks ✅

@Tobaloidee Can you attach the original SVG/AI/whatever files for the R2 and R1 flavors of the happy and evil versions to this issue or email them to me?

Good day Sirs! I will do it now.. :)

Just finished creating the PR #1221 Sir @stympy ... All the needed files (SVG-Ai-PNG) of the R1 R1 versions
you can download here on the link below
https://drive.google.com/drive/u/0/folders/1rr6Bj70lbeQBhNQzYbDI6qCOnQpd5pKD
I will update it and include all the color versions that was posted from the choices.

Awesome! Your logo is already in our master branch. Thanks for the effort. We enjoyed the issue. Let us know if you have new design ideas 👍🏻
Thanks for the comments guys!

 Thanks for accepting my proposal! Awesome people here!  Thanks so much!! :)

Welcome to the team 🙂👏🏻

Only took 11 years to make a logo. :P

Thanks @Tobaloidee !

Thanks @Tobaloidee !!!

You are all most welcome Sirs! my best regards! :)


Defining definition of done in pull request templates

Follow-up to the conversation in Slack.
Maybe we need to separately agree on a definition of done for a pull request / issue. In Jenkins we usually follow the Continuous Integration approach, and we try to keep every issue and pull request an independent deliverable. What it means that we usually try to have an atomic change which can be delivered separately.
E.g. issues could include the following default checklist:

[ ] Change is code complete, no regressions
[ ] All follow-ups are documented as issues and-or TODO comments
[ ] There is decent test coverage for the issue
[ ] If needed, there is user documentation added
[ ] If needed, there is developer documentation added
[ ] If needed, there is a component release performed

Something like that. You could think a bit about your definition of done and maybe create an issue template for it. For example, here are our default GitHub pull request and issue templates in Jenkins:

https://github.com/jenkinsci/.github/blob/master/.github/pull_request_template.md
https://github.com/jenkinsci/.github/tree/master/.github/ISSUE_TEMPLATE

They are not the best one for particular project, please feel free to override

I think the PR template should have a strict checklist to keep the PR an independent deliverable, but issues can be more flexible, I think.


Task 025,026,027

Tasks completed with all the parameters pls check and give the informative feedback to change the code as required.

SourceCode/2023/Oct2023/Basics/Sudheer Devabattula/Task026/project.json
[NoFile]

Your project needs to have an Automation Hub URL defined. Go to "Project Settings" and add the info. Score : 1/2

There are dependency packages that aren't used. Remove these to boost the speed of your project. The packages are:

UiPath.Excel.Activities
UiPath.Mail.Activities
UiPath.Testing.Activities
UiPath.UIAutomation.Activities Score : 0/2

[Main.xaml]

Log Messages aren't used in Main workflow. These are important for tracking and error finding, so use them. Score : 0/1

There's a redundant sequence. No need for these, they just clutter things up. You can remove it by right clicking and choosing Remove Surrounding Sequence. Score: 1/2

You're defining activity names too many times. Just once per activity name is enough. Names should be clear and unique. You've got a few that are repeat offenders.

Displaying message - 3 times
Displaying Message - 2 times

Score : 0/1

Some activities use the default name. Make them more descriptive so they're easier to understand. The ones that

SourceCode/2023/Oct2023/Basics/Sudheer Devabattula/Task027/project.json
Review Summary:
File - NoFile:

Missing Automation Hub URL: The project lacks a defined Automation Hub URL according to your organization's requirements. To fix this, head over to the "Project Settings" and add the necessary information.

Unused Dependency Packages: Two dependency packages (UiPath.Testing.Activities and UiPath.UIAutomation.Activities) appear to be inactive. For enhanced process execution time, eliminate any unused packages.

File - Subtraction.xaml

Lack of Log Message: The Subtraction workflow isn't utilizing the Log Message activities. These are crucial during development and post-release as they assist in understanding the workflow path and pinpoint the source and cause of any errors. Make sure you're using Log Messages.

Assign Activity Name: An Assign activity has a default name. Consider giving it a more specific title to improve comprehension of its function.

File - Main.xaml

Redundant Sequence: There's an unnecessary Sequence Argument Task. These should be avoided as they clutter the workflow. Use UiPath Studio's Context Menu's "Remove Surrounding Sequence" option to discard unnecessary sequences.

Multiple Display Names: The "Task Information" display name is used multiple times. Activity names should be clear and specific to their use. Ref

SourceCode/2023/Oct2023/Basics/Sudheer Devabattula/Tsk025/project.json
File: NoFile

Automation Hub URL is missing in your project settings. Add it in via Project Settings.
Your code uses UiPath.Testing.Activities package that isn't being used. Remove these to speed up process execution.

Score: Code Completion (2/2), Execution (1.5/2), Annotations and Comments (1/1)
File: Main.xaml

You have a redundant sequence, Main Sequence. Consider removing it to avoid clutter. Use the 'Remove Surrounding Sequence' option in UiPath Studio's Context Menu is helpful.
The name 'Displaying message' is defined more than once. Try to make each activity name unique for clarity.
Your DataTable variable 'ExtractDataTable' doesn't have the 'dt_' prefix. Stick to the standard and add the prefix.

Score: Code Completion (1/2), Execution (1/2), Annotations and Comments (0.5/1)


[ClickAwayListener] Fix support for removed DOM node

[x] I have followed (at least) the PR section of the contributing guide.
Update click away listener doc page with the limitation described on #20197
Removed unnecessary doc.documentElement check, for raising onClickAway event

Closes #20197

Good news, we can actually solve the problem. I couldn't write an automated test for it, but could manually confirm it with:
import React from 'react';
import ClickAwayListener from '@material-ui/core/ClickAwayListener';

const Demo = () => {
  const [visible, setVisible] = React.useState(true);

  return visible ? (
    <button
      type="button"
      onClick={() => {
        setVisible(false);
      }}
    >
      Will be removed from DOM
    </button>
  ) : null;
};

/**
 * how you used the components
 */
export default function Demo2() {
  const handleClickAway = () => {
    console.log('fired')
  };

  return (

      <Demo />
      <ClickAwayListener onClickAway={handleClickAway}>

Menu 1

      </ClickAwayListener>

  );
}

@seare-kidane Thank you!

@seare-kidane Thank you!

No @oliviertassinari Thank you for actually fixing this problem!

Good news, we can actually solve the problem. I couldn't write an automated test for it, but could manually confirm it with:
import React from 'react';
import ClickAwayListener from '@material-ui/core/ClickAwayListener';

const Demo = () => {
  const [visible, setVisible] = React.useState(true);

  return visible ? (
    <button
      type="button"
      onClick={() => {
        setVisible(false);
      }}
    >
      Will be removed from DOM
    </button>
  ) : null;
};

/**
 * how you used the components
 */
export default function Demo2() {
  const handleClickAway = () => {
    console.log('fired')
  };

  return (

      <Demo />
      <ClickAwayListener onClickAway={handleClickAway}>

Menu 1

      </ClickAwayListener>

  );
}

@oliviertassinari Looks like the bug still exists. I event tried running the above sample and the onClickAway event doesn't get fired when you click on the button :-(
How were you able to verify the fix?

Hi, I had updated the @material-ui/core to 4.9.9 in my project and check from the node_modules files that the changes in this PR isn't there, and then I checked the commit log, it seems that this PR isn't included in 4.9.9?

I tried changing my package.json to this
"@material-ui/core": " git://github.com/mui-org/material-ui.git#006e7a30dfc89148dd78207901db946292662efb",
but my app is failing with `Module not found: Error: Can't resolve '@material-ui/core'.
Currently, I also encounter these weird Clickaway closing on itself when clicking Select component inside, but I'm not sure how to apply this new PR fixes to my app :(

Could you guys confirm that we are good at https://codesandbox.io/s/inspiring-newton-337c6?
@pawlarius I'm curious, what was your process for figuring out how to use this patch?

https://codesandbox.io/s/inspiring-newton-337c6

Confirming the fix on code sandbox works!
Also verified the this fix is not part of the 4.9.9 release for some reason. 😕

@oliviertassinari Actually I am not sure how to use this patch, so I just try using commit id directly 😅. But I've just checked how you apply the patch on your sandbox 👍
@seare-kidane hope this will be included in the next release 🙇♀

It will be included in the next release.


Required kernel modules?

Is there a list of what kernel modules are required for an image to boot? I'm trying this on an Intel Mac (Big Sur).
I've been successful in getting an Ubuntu VM to load (using the Ubuntu cloud images and following the instructions from @droidix https://github.com/evansm7/vftool/issues/2#issuecomment-735455161). I've also managed to get the cloud image of Debian 10 to work, by adding certain virtio modules to the initrd image, but it's still strange...
Basically, the Debian kernel works with the following modules added:

virtio_pci
virtio_blk
virtio_net
virtio_console

However -- it doesn't work exactly like this. When loading the kernel with the following options -a "root=/dev/vda console=hvc0", the VM goes right into the initramfs image. Adding virtio_console got me this far.
Steps (in either a chroot from the initramfs image or using the Ubuntu kernel/initrd to edit the Debian initrd)
(initramfs) mkdir /mnt
(initramfs) mount -t ext4 /dev/vda /mnt
root@(none):/# echo "virtio_console" >> /etc/initramfs-tools/modules
root@(none):/# update-initramfs -u

I then copied the file /boot/initrd.img-4.19.0-13-amd64 image out of the disk image to use with vftool.
The strangeness is that I can get a full VM to boot when I add the debug option to the kernel command. Starting the vm with -a "root=/dev/vda console=hvc0 debug" successfully boots the Debian VM. It seems like there is a timing issue where the storage device isn't found unless the kernel is in debug mode, but I don't have any guess as to where it is.
I'd like to be able to use as stock of a Debian kernel as possible, so does anyone know which kernel modules or arguments I might need to try to get this to work stably?
Here is the full command line that works:
vftool -k vmlinuz-4.19.0-13-amd64 -i newinitrd -d debian_10_cloud.img -t 1 -m 2048 -a "root=/dev/vda console=hvc0 debug"

This is the command that doesn't:
vftool -k vmlinuz-4.19.0-13-amd64 -i newinitrd -d debian_10_cloud.img -t 1 -m 2048 -a "root=/dev/vda console=hvc0"

I have the same results if I'm using the full disk with partitions (using root=/dev/vda1) and only the ext4 partition (using root=/dev/vda).

I was able to bootstrap a debian instance using the comment mentioned above and additionally added notes.
Though, in my case, I'm using bullseye - I wonder if that would impact the behavior seen previously (I'm not going to try and use buster/current stable because I need a few things in bullseye anyway)

You can check my PR #20 😁

@fanvinga have any idea for android vm ?


3.0.10 don't map request headers key to lowercase.

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
flutter

Platform Version
2.0.3

Dio Version
3.0.10

Android Studio / Xcode Version
Android Studio 4.1.2

Repro rate
all the time (100%)

Repro with our demo prj
/

Demo project link
/

Issue Description and Steps
In 3.0.9, _RequestConfig remap headers key to lowercase:
https://github.com/flutterchina/dio/blob/fba381d22cc91d5bc263265e1600a274b20f806a/dio/lib/src/options.dart#L354
and headers annoation also describe that behavior:
  /// Http request headers. The keys of initial headers will be converted to lowercase,
  /// for example 'Content-Type' will be converted to 'content-type'.
  ///
  /// You should use lowercase as the key name when you need to set the request header.
  Map<String, dynamic> headers;

But in that commit, the toLowerCase action is removed.
Why delete that logic but remain the annotion about converting to lowercase? That will lead to can not find expected value from headers when put key in uppercase but get in lowercase, which is worked in 3.0.9.

So many issues are closed by the stale bot, perhaps this repo will be no longer maintained :(


⚠ Bofrost.lu has degraded performance

In d05fb20, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2058 ms

Resolved: Bofrost.lu performance has improved in 49cd20a after 13 minutes.


Use stack for managing result instances

Instead of having a separate field for each of the result instances, use a stack where the tip of the stack is the one which is displayed.

This isn't necessary until we have filtering of results.


Added ability to setup the willOpen percents for automated opening

I had the need to automate an action if bottom view was completely opened. The current listeners made this quite difficult, as onOpen was triggered several times during the dragging.
This change allows to setup the margin percentage for automated opening (both from open or close state).
In my case, setting it up to 1 and checking for layout.getStatus()==Status.OPEN on the onHandRelease does the trick, as this means that it's open when user releases finger and will move to close status if it's not completely open.
Just let me know your thoughts on the change. And thanks for the great library!

Yay! thanks

Any plans for next release? Also need this feature :D


[workers] "unexpected error occurred" when there is an idling worker

Steps

Create a service with worker1 and worker2
Send and receive few variables to/from worker1, but do not use the worker2
Run the service

Issue
"ballerina: unexpected error occurred" is logged and the service will not be deployed

Ballerina v0.94.
Now we can't send and receive values to himself. For example, the following scenario will not work.
function main (string[] args) {
worker w1 {
int a = 5;
int b;
a -> w1;
b <- w1;
}
}
If you have another scenario, please put a concrete sample and re-open the issue.


config --default-user does not change the user

Describe the issue
After creating a new user and setting it successfully with config --default-user, the shell still opens as root.
To Reproduce

Create user with useradd called "USER"
Setup use in sudoers file
Invoke Arch.exe with Arch config --default-user USER
Open new shell using only Arch.

Expected behavior
New shells should open with user USER.
Enviroment:
Microsoft Windows [Versión 10.0.16299.431]
ArchWSL 18081100
wsldl, version 18080900

Additional context
Using get --default-user returns the correct uid, and I even debugged the code and everything seems fine, there was no error when calling WslConfigureDistribution. Could be a WSL or rootfs thing?

That is a WSL problem.
Probably,Rebooting the computer will fix it.
Please see #7

Your totally right, rebooting works.
Seeing this is a typical issue, I'd suggest adding this to known issues or a FAQ in readme?

In the past I wrote it in README, but moved to wiki...
Is it hard to find?

Is it hard to find?

Not at all, adding it to the wiki is perfectly fine!


RDPconf state all right, but can't log in with remote control while mentaining multi-user work.

windows version: 1809  17763.348
first the listener state is not fully supported, then I just changed the ini file, it became fully supported.
but, when I use my another computer on the same wifi to connect to this PC, it still says that other users would log out if I log in.
the gpedit.msc is modified too, but it didn't work.

to do so you need to restart the termservice and after reboot the box.

to do so you need to restart the termservice and after reboot the box.

ok, that worked, but another problem popped up, no matter whether I set the "one session per user" and then reboot, restart the service, everytime I log in my main account, it will open a new session.

to do so you need to restart the termservice and after reboot the box.

ok, that worked, but another problem popped up, no matter whether I set the "one session per user" and then reboot, restart the service, everytime I log in my main account, it will open a new session.

ok, found the solution here. Thank you, dude! solution

Same as https://github.com/stascorp/rdpwrap/issues/422


Definition list is not rendered

Follow documentation for definition list you need use code:
Apple
:   Pomaceous fruit of plants of the genus Malus in the family Rosaceae.

but it not works.

which documentation is that? and which parser class are you using?

There is in that documentation: http://michelf.ca/projects/php-markdown/extra/
Ok, sorry, I did't notice your comment (https://github.com/cebe/markdown/issues/25). It is not implemented yet. Sorry again.


Replace uv.fs_realpath with vim builtin functions

The method uv.fs_realpath is a lua binding for uv_fs_realpath in libuv, which currently not cover several corner cases in Windows OS. See API document of libuv for details.
Promote to fix #2341

relate https://github.com/neovim/nvim-lspconfig/pull/2343 I think i should merge this first.

Okay, of cause. #2343 seems more sophisticated and I will drop my modification on lspinfo.lua.


loki.source.api (and prometheus.receive_http?) used to collect telemetry from network should send headers to backend

Request
loki.source.api and prometheus.receive_http used to collect telemetry from network should support authentication and/or at least forward received Authoriztion and X-Scope-OrgID headers to backends.
Use case
I was trying to use Grafana Agent and the components mentioned to collect metrics and logs from several agents on the network and send to two backend. The backend expect Authorization and/or X-Scope-OrgID headers to insert data in the proper tenant.
It seems that the two components doesn't support authentication by themselves and, despite having an authenticating reverse proxy in front correctly sending Authorization and X-Scope-OrgID, they doensn't forward these headers to backend endpoint, making impossible to push data in proper, variable, tenant.
Any other component recommended to do this?

The ability to convert certain HTTP headers to labels would also be useful to identify different teams sending metrics to central Alloy clusters in larger environments.


Update proposal.ts

Changes proposed in this pull request:

honor new configuration field filters.exclusions for addresses to be excluded from a space's proposals

e.g
{   "token": ..   "strategies": [     {      ..       }     }   ],   "members": [],   "filters": {     "exclusions": []     } }

How would you like to use this feature? I feel like having blacklisting will be complicated to manage because anyone can generate a new address, it will be easy to bypass this limitation.

How would you like to use this feature? I feel like having blacklisting will be complicated to manage because anyone can generate a new address, it will be easy to bypass this limitation.

sorry for the delay - this is no longer our intended directive. it's been updated more towards a minBalance requirement for creating proposals. i will abandon this PR


Implement Stacks RFC 0006:  Update Bionic Stack

Blocked
This issue is blocked on the completion of https://github.com/paketo-buildpacks/jammy-tiny-stack/issues/1 as a functional example of how the new tooling and automation will work together. The bionic stacks should follow a very similar workflow set up to the Jammy Tiny stack.

Now that Stacks RFC 0005 has been accepted, the modifications outlined in the RFC should be made to the Bionic stacks and/or related automation.
In order to roll changes out smoothly and avoid any changes needed down the road, this work should be completed once the jam create-stack command is readily available (Blocked on PR) and we can leverage it in our automation.

[ ] Leverage the jam create-stack command in our automation

Modifications to Full/Base/Tiny stack build-and-test workflows, and the top level stacks repository test-create-stack workflow
Publish the generated images to both the -cnb and non-cnb tags, as well as the new location outlined in the RFC:

   paketobuildpacks/{phase}:{version}-{variant}
   paketobuildpacks/{phase}:{version}-{variant}-cnb
   paketobuildpacks/{phase}-bionic-{variant}:{version}

Remove legacy create-stack code

[x] Create 3 new repositories: bionic-<variant>-stack, relocate code from <phase>-stack-release to the new repos

Base issue: https://github.com/paketo-buildpacks/bionic-full-stack/issues/1

All related issues are complete!!


Set Breakpoint/Clear Breakpoint disabled on context menu

only activated when debugger is active.  also pls file debugger issues under gide :)


Classes completely missing.

Classes are not supported. Is that what you meant by "I tried to avoid real OOP"?

Hey Armin, thanks for taking interest in the project.
I never added classes. This is stated in the first line of the README.
Instead I immediately moved onto the second part of the book, the bytecode vm.
What I meant with "I tried to avoid real OOP" is that I didn't want to use classes where I didn't have to (instead I used a lot of classes to mimic the behavior of Ruby modules, because I wrote this before I knew of modules). The book has this part written in Java so the example code is really object oriented.
Feel free to fork this and try to implement classes on your own.


OAK-10642: Add tests for operations on very large ordered collections

Testing repeated reordering in a long running transaction.

3 new tests added, 2 of them are expected to fail when run in oak-jcr with
mvn -DargLine="-Xmx4g" -Dupdate.limit=50 -Dnsfixtures="DOCUMENT_NS" clean install -Dtest=ManyChildrenIT -Djacoco.skip
The move test should succeed.