CustomKernel: Get VM ip if dhcp changed it after reboot

After kernel install the VM is restarted and it is possible the VM gets a new IP via dhcp and the Is-VmAlive function does not check for it and LISAv2 can't reach it

Result after PR Changes:
03-27-2019 16:26:43 : [INFO ] Shutting down LISAv2-OneVM-Stef-PR63-636893078426-role-0 from LISAv2-OneVM-Stef-PR63-636893078426...
03-27-2019 16:26:46 : [INFO ] VM stopped successfully.
03-27-2019 16:26:46 : [INFO ] Starting LISAv2-OneVM-Stef-PR63-636893078426-role-0 from LISAv2-OneVM-Stef-PR63-636893078426...
03-27-2019 16:26:47 : [INFO ] Succeeded.
03-27-2019 16:26:47 : [INFO ] Trying to connect to deployed VMs.
03-27-2019 16:27:08 : [WARN ] TCP test failed
03-27-2019 16:27:08 : [INFO ] Connecting to <IP_ADDRESS> and port 22 failed.
03-27-2019 16:27:08 : [WARN ] Checking if HyperV VM changed IP at boot.
03-27-2019 16:27:08 : [INFO ] LISAv2-OneVM-Stef-PR63-636893078426-role-0 : Waiting for IP address (Timeout in 300 seconds)...
03-27-2019 16:27:08 : [INFO ] 1 VM(s) still waiting to open port 22.
03-27-2019 16:27:08 : [INFO ] Retrying 1/20 in 3 seconds.
03-27-2019 16:27:11 : [INFO ] Connecting to <IP_ADDRESS>:22 succeeded.
03-27-2019 16:27:11 : [INFO ] All VM ports are open.


500 Error when changing AppId/Pass. Requires Emulator restart.

Related (probably): https://github.com/microsoft/BotBuilder-Samples/issues/1523
I've seen this happen before, too.
Version
4.4.1-60043 (although I'm fairly certain this isn't new)
Describe the bug
In order for a change to MicrosoftAppId / MicrosoftAppPassword to take effect in the Emulator, the whole Emulator application must be restarted, not just the opened bot or the "Live Chat" window. I have a feeling this is tied to caching it for an endpoint, but I haven't tested different endpoints.
This can be a problem in the following scenarios:

Having a typo in appId/pass and then trying to change it. It will appear to never work unless user restarts Emulator
Testing a local bot with and without an appId/appPass
Testing multiple bots on the localhost endpoint
Needing to change the password while testing -- maybe user accidentally uploads to repo

To Reproduce
Get two valid AppIds/AppPasswords. I'll refer to them as AppA/PassA, AppB/PassB.
FAIL:

Start a bot with AppA/PassA set in appsettings.json
Connect to the bot in Emulator using Open Bot, using AppA/PassA
Stop the bot
Change the bot to use AppB/PassB in appsettings.json
Close Live Chat window in Emulator
Open Bot in Emulator with AppB/PassB
Receive 500 Error
Close Emulator entirely
Open Bot in Emulator with AppB/PassB
Success

SUCCESS:

Start a bot with AppA/PassA set in appsettings.json
Connect to the bot in Emulator using Open Bot, using AppA/PassA
Stop the bot
Change the bot to use AppB/PassB in appsettings.json
Close Emulator entirely
Open Bot in Emulator with AppB/PassB
Success

Expected behavior
Opening a new Bot session in Emulator should not use an old AppId/AppPassword.
Additional context
I've tested various ways of stopping/restarting the bot and with/without ngrok. Pretty sure this is an Emulator issue.
The completely breaks in C#, presenting the 500 error and then not connecting. In Node, it seems to first try to connect with the old AppId/Pass, but then tries to connect with the new one and works. See image:

Note that when connecting in Emulator, I used 94ea2b04-ccba-437e-b3f1-3f0376fcbc98. It showed the error in console, but actually worked in the Emulator.
[bug]

I've been able to repro this on some scenarios as well. I believe this change will solve the issue.

@mdrichardson try updating to the most recent nightly build and see if the change fixes your issue.

Still able to repro:

Restarting the Emulator still fixes it and I'm using Win+V to paste, so I'm definitely using the same/correct id/pass.

@mdrichardson - Sorry for the late reply. #1597 fixes this issue with your repro steps above. Feel free to test the latest nightly build with your scenario to see if it's been solved. If not, let's plan to meet in person or via teams to solve it.

@justinwilaby 	Still experiencing this:

I'd be a little surprised if that fixed it, since I can repro this without ngrok.
Let's meet tomorrow in person. Reach out to me on Teams when you're free and I'll pop down--I'm pretty flexible outside of 10-1030am.

@justinwilaby @mdrichardson Did you two end up working this out, or is this still an outstanding issue?

@tonyanziano Still outstanding. I haven't tested this in awhile, though.

Tried to repro on 4.5 and seems to be fixed now.

@tonyanziano 	Confirmed fix! Good work!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24366

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24535

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/37374

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/42614

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/50735

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52381

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

@visr is JuliaGeo configured properly for TagBot? All repos keep sending these repeated notifications GADM.jl, GDAL.jl, ... and I wonder if this is something on our side. All other repos I maintain in other orgs don't have these notifications after a new tag is released.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


DEADLINE_EXCEEDED

Describe the issue
I keep getting the error in the screenshot below when I try to enroll my repos

To Reproduce
No response
What version are you using?
No config file present, using default values. Version: 0.0.20 Go Version: go1.21.4 Git Commit: 0272289f474238c275434f7718a45eaa02133e3a Commit Date: 2023-12-08T08:39:46Z OS/Arch: darwin/amd64 Dirty: false User Agent: minder-cli/0.0.20 (darwin) amd64 (go1.21.4)

@AGMETEOR thank you for filing the issue! I was hitting the same problem yesterday, too and opened https://github.com/stacklok/minder/pull/1924 to address it. I need to go back to that PR and fix a lint issue. I'll do it ASAP and report when the bug was fixed and a new release tagged.

Thanks a lot @jhrozek . In the meantime, I have increased the context deadline from source and built a new binary. Maybe I also could have used a config file.

Thanks a lot @jhrozek . In the meantime, I have increased the context deadline from source and built a new binary. Maybe I also could have used a config file.

Just note that if you build from source, then minder will point to stacklok's staging instance (the release binaries point to prod instance of minder). You can set the minder instance by setting grpc_server.host to api.stacklok.com for prod, though.

Thanks a lot @jhrozek . In the meantime, I have increased the context deadline from source and built a new binary. Maybe I also could have used a config file.

Just note that if you build from source, then minder will point to stacklok's staging instance (the release binaries point to prod instance of minder). You can set the minder instance by setting grpc_server.host to api.stacklok.com for prod, though.

Using my built binary, minderbin doing ./minderbin auth login gives me
Minder Server    api.stacklok.com:443

Is api.stacklok.com:443 the staging server?

api.stacklok.com is prod

So my building from source also points to prod?

@AGMETEOR it depends on how you built it. I think you might have used goreleaser to build it, so that would end up in prod, which is anyway the right thing (staging is meant to be unstable)

I used go build -o minderbin cmd/cli/main.go

@AGMETEOR I was about to do a correction. Yeah, we default to production, and only point to staging if you'd do make build. So, building with go build directly will point to production.
I will open an issue to document this better, I had already forgotten :smile:

Here's the issue https://github.com/stacklok/minder/issues/1933

Can I work on it?

@AGMETEOR of course!

Do we have some web UI, apart from CLI where I can view profiles associated with my github provider?

@AGMETEOR there is no UI yet, only the CLI is available. It will be worked on in the near future though!
By default there are no profiles available in your project, you need to install them. We have a set of references in https://github.com/stacklok/minder-rules-and-profiles

Meanwhile minder profile get -i <fdfdfd> doesn't seem to be working. I keep getting INVALID_ARGUMENT

@AGMETEOR checking this out.

@AGMETEOR is this one still an issue for you?

@AGMETEOR thank you for the patience!! Sorry about the bumpy road

@JAORMX no problem. I think it should be fixed now. I just have one more thing I am trying to do using the quickstart guide. I already setup a repo for minder and I have a secret scanning rule setup by quickstart. What happens after that? Does minder comment on my repo or PR since I don't think I have secret scanning enabled on the repo.

@AGMETEOR actually, the quickstart's default profile will set things up in such a way that you'll get that fixed automatically.
The profile looks as follows:
version: v1
type: profile
name: quickstart-profile
context:
  provider: github
alert: "on"
remediate: "on"
repository:
  - type: secret_scanning
    def:
      enabled: true

If for some reason your repos would be out of compliance, you'll see a GitHub security advisory. But it will also automatically fix it. So... most likely you just won't see issues, you'll just get the fix and minder will be happy. If you disable secret scanning, Minder will re-enable it given that it's the policy. That's controllable via the remediate toggle.

@JAORMX I see it now. I had disabled secret scanning on a repo but I had not checked again to see if minder had indeed renabled it. But it actually did. Perhaps I should get some sort of feedback (maybe through email) from minder to tell me what it actually did. Like in this case an alert that it enabled secret scanning. I can see "alert: on" but I didn't get one

@AGMETEOR that is a good idea! Perhaps we could try to gather all the remediations done and present a summary. It gets tricky not to do too much noise, especially on more thorough profiles such as this one: https://github.com/stacklok/minder-rules-and-profiles/blob/main/profiles/github/stacklok-profile-remediate.yaml
I'll bring this up and see what the team comes up with! Thanks a lot for the feedback!

I think a summary would be nice. Thanks a lot for the engagement.

Closing the issue as it was addressed by https://github.com/stacklok/minder/pull/1924 and https://github.com/stacklok/minder/issues/1935. Thanks again for bringing this up! 🙏


Allow indicating form errors on AddToBasketForm

On the product detail page, it is impossible to indicate an incorrect field on the add-to-basket form.
Every time, form is being recreated from scratch, loosing form validation data and error indicators.

The best and simplest solution for this case would be basket form submission via AJAX.
In addition to submission without page reload, it does not require any interim implementation, which could cause more complications, than value.
Hence, we'd continue further discussion in related issue #1352.


Does not play nicely with chefdk

There seems to be a rdoc conflict with chefdk. When installing knife-azure with the chef gem install command, the following occurs with any knife commands:
/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2064:in `raise_if_conflicts': Unable to activate knife-azure-1.2.2, because rdoc-4.1.0 conflicts with rdoc (~> 3.12) (Gem::LoadError)

@mattstratton , now that @kaustubh-d said the rdoc dependency is removed, does it work for you and we can close this?
AnneTheAgile

@AnneTheAgile @mattstratton
We have verified this with chef-dk v0.6.0 and its working fine.


Logs should be visible in console (with TRACE level) during execution of tests

I would like to see logs from application (including TRACE logs) during junit tests execution in System.out
For now, there are saving to directory with production logs which is unacceptable

I saw that ther eis really many log records when TRACE level is active so I think that DEBUG level is
sufficient :)

Now it is possible. See CONSOLE.LOGGING.LEVEL maven property


Make more comprehensive use of ToSql string constants

WHERE, AND, add Add SET, UNION, FROM, ESCAPE, and UPDATE to ToSQL
Was just poking around looking to expose a variable and I did this instead. Presuming it will help with memory use and the like by reducing literal instantiation.

Benchmarks?

Planning to do some this week.

Will reopen once I have something substantiated...


Obtaining the Dataset

https://github.com/CMUSTRUDEL/DIRTY/blob/20f779b3ae1f0360bbbacc73728f447b910a12fc/README.md#L61
I'm interested in obtaining the dataset.

Thanks for your interest. The full unprocessed dataset is quite large (~100GB), so it might take a week or so to package it and upload it to an appropriate hosting site.

Sure. I appreciate you going through the effort. I'll check back when it's available. Thanks.

I am also interested in obtaining the dataset, specifically the names of all projects that were compiled into binaries. Will the unprocessed dataset contain this information?

I am also interested in obtaining the dataset, specifically the names of all projects that were compiled into binaries. Will the unprocessed dataset contain this information?

Ah, thanks for the question! The dataset does not contain this information, but I've added the projects.txt file that we used to generate it with GHCC to the root of this repository and added a small note in the README.

The full dataset is now uploaded and available here: https://doi.org/10.1184/R1/20732656.v1


Can't follow "Site -> Installation Guide"

Guys, about https://www.rabbitmq.com/install-rpm.html
In brief: guide is not working...
It never worked for me. This is more like poem, not step by step guide to reproduce issue. I faced similar issues with several instances. Looks like some simple step is missed from your guide and I have not enough experience to understand what's going on... Sorry for such style...
I'm trying to install RabbitMQ (3.x.x) with Erlang (20.x.x) on my CentOS 7 machine...
I wrote this text after about 7 or so tries to install Rabbit with you guide with different methods... And on last try I begun to write down what I do...
Let's try simplest method. "Zero-dependency Erlang from RabbitMQ".
Open GitHub link from guide, find "Release Artifacts". I need yum install, so I will use "Yum repositories are available from Bintray and Package Cloud".
Let's look into Bintray link.
Click on "Set me up", and follow instructions for manual install.

vi /etc/yum.repos.d/ bintray-rabbitmq-rpm.repo

#bintraybintray-rabbitmq-rpm - packages by rabbitmq from Bintray
[bintraybintray-rabbitmq-rpm]
name=bintray-rabbitmq-rpm
baseurl=https://dl.bintray.com/rabbitmq/rpm
gpgcheck=0
repo_gpgcheck=0
enabled=1

That's all ? Step back into GitHub link for Zero Dependency. Let's follow "To use Erlang 20.x on CentOS 7"

#In /etc/yum.repos.d/rabbitmq-erlang.repo
[rabbitmq-erlang]
name=rabbitmq-erlang
baseurl=https://dl.bintray.com/rabbitmq/rpm/erlang/20/el/7
gpgcheck=1
gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
repo_gpgcheck=0
enabled=1

That's all ? Step back into RabbitMQ manual. Section "With rpm and Downloaded RPM".

After downloading the server package, issue the following command as 'root'
rpm --import https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
#this example assumes the CentOS 7 version of the package
yum install rabbitmq-server-3.7.5-1.el7.noarch.rpm

Ok, Let's do this. And I get results

$ yum install rabbitmq-server-3.7.5-1.el7.noarch.rpm
Loaded plugins: fastestmirror
https://dl.bintray.com/rabbitmq/rpm/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
failure: repodata/repomd.xml from bintraybintray-rabbitmq-rpm: [Errno 256] No more mirrors to try.
https://dl.bintray.com/rabbitmq/rpm/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

... Something wrong with BinTray repository ? Or with my config ?
Lets delete our repository files and start from scratch. Let's try Package Cloud. "Yum repositories are available from Bintray and Package Cloud."
So, "bash script" method for "RPM". I have been told to execute

curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash

Result

...
Generating yum cache for rabbitmq_erlang...
The repository is setup! You can now install packages.

Okay, lets back to RabbitMQ guide and setup Rabbit

$ yum install rabbitmq-server-3.7.5-1.el7.noarch.rpm
Loaded plugins: fastestmirror
rabbitmq_erlang/x86_64/signature    |  836 B  00:00:00
rabbitmq_erlang/x86_64/signature    | 1.0 kB  00:00:00 !!!
rabbitmq_erlang-source/signature    |  836 B  00:00:00
rabbitmq_erlang-source/signature    |  951 B  00:00:00 !!!
Loading mirror speeds from cached hostfile

base: mirror.cogentco.com
epel: epel.mirror.constant.com
extras: mirror.team-cymru.com
updates: mirror.wdc1.us.leaseweb.net
No package rabbitmq-server-3.7.5-1.el7.noarch.rpm available.
Error: Nothing to do

Damn... Go back into guide and use "Using PackageCloud Yum Repository" from https://www.rabbitmq.com/install-rpm.html

A Yum repository with RabbitMQ packages is available from PackageCloud. A quick way to install is to use a Package Cloud-provided script. Package Cloud also can be used to install a recent Erlang version via yum.

Let's use them...
All done. Lets install rabbit...

$ yum install rabbitmq-server-3.7.5-1.el7.noarch.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

base: mirror.cogentco.com
epel: epel.mirror.constant.com
extras: mirror.team-cymru.com
updates: mirror.wdc1.us.leaseweb.net
No package rabbitmq-server-3.7.5-1.el7.noarch.rpm available.
Error: Nothing to do

And what now ? Nothing works...
Let's install Erlang from EPEL:

$ yum install erlang
Installed:
erlang.x86_64 0:20.3.4-1.el7.centos
Complete!
$ erl
Erlang/OTP 20 [erts-9.3]...

Good. But what about rabbit ??? Why I can't just "yum install rabbitmq" ?

$ yum search rabbit
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

base: centos.mirror.constant.com
epel: epel.mirror.constant.com
extras: mirror.genesisadaptive.com
updates: mirror.wdc1.us.leaseweb.net
================================================  N/S matched: rabbit ================================================
golang-github-michaelklishin-rabbit-hole-devel.noarch : RabbitMQ HTTP API client in Go
librabbitmq-devel.x86_64 : Header files and development libraries for librabbitmq
librabbitmq-devel.i686 : Header files and development libraries for librabbitmq
librabbitmq-examples.x86_64 : Examples built using the librabbitmq
librabbitmq-tools.x86_64 : Example tools built using the librabbitmq package
opensips-event_rabbitmq.x86_64 : Event RabbitMQ module
rabbitmq-java-client-doc.noarch : Documentation for rabbitmq-java-client
rabbitmq-java-client-javadoc.noarch : Javadoc for rabbitmq-java-client
rabbitmq-server.noarch : The RabbitMQ server
RabbIT.noarch : Proxy for a faster web
golang-github-streadway-amqp-devel.noarch : Go client for AMQP 0.9.1 with RabbitMQ extensions
librabbitmq.x86_64 : Client library for AMQP
librabbitmq.i686 : C-language AMQP client library
lugaru.x86_64 : Ninja rabbit fighting game
rabbitmq-java-client.noarch : Java Advanced Message Queue Protocol client library

Name and summary matches only, use "search all" for everything.

Ow, look, I found "rabbitmq-server.noarch : The RabbitMQ server". Lets try it

$ yum install rabbitmq-server
Loaded plugins: fastestmirror
rabbitmq_erlang/x86_64/signature            |  836 B  00:00:00
rabbitmq_erlang/x86_64/signature            | 1.0 kB  00:00:00 !!!
rabbitmq_erlang-source/signature            |  836 B  00:00:00
rabbitmq_erlang-source/signature            |  951 B  00:00:00 !!!
rabbitmq_rabbitmq-server/x86_64/signature   |  836 B  00:00:00
rabbitmq_rabbitmq-server/x86_64/signature   | 1.0 kB  00:00:00 !!!
rabbitmq_rabbitmq-server-source/signature   |  836 B  00:00:00
rabbitmq_rabbitmq-server-source/signature   | 1.0 kB  00:00:00 !!!
Loading mirror speeds from cached hostfile

base: mirror.cogentco.com
epel: s3-mirror-us-east-1.fedoraproject.org
extras: mirror.team-cymru.com
updates: mirror.wdc1.us.leaseweb.net
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.7.5-1.el7 will be installed
--> Processing Dependency: socat for package: rabbitmq-server-3.7.5-1.el7.noarch
--> Running transaction check
---> Package socat.x86_64 0:<IP_ADDRESS>-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved

Exellent, but what version ? RabbitMQ 3.7.5. Great...
So, what's wrong with ...? With whom ? Me ? Guide ? Instance ?

I'm afraid we cannot act on a poem, only a well enough defined problem.
Perhaps start a mailing list thread with more details about the CentOS version used (it "7" can mean "7.0", "7.1", and so on to "7.4").
Some messages suggest you haven't uninstalled the package or removed traces of one repo before adding another one. That can be problematic with both yum and apt.
FWIW I personally tried Bintray and Package Cloud installation guides when we introduced yum repos there and if it was a common issue, we'd be swamped with questions and complaints on the mailing list and so on.

the problem is the guide doesn't work ;) At all.... It's actually getting me pretty angry...

I'm afraid we cannot act on a "doesn't work at all either". I'm sorry that you are angry but unless you provide a specific set of steps, expectations, and observations [on the mailing list] no one would be able to help you and possibly improve the docs based on the outcome.
RabbitMQ installation guides get 10s if not 100 thousand of page views a month (haven't looked at the per-guide breakdown recently) and FWIW a very small number of people claim that they "don't work at all" or angry at us.
Open source software maintainers are outnumbered by open source software users by several orders of magnitude. Consider being a part of the solution and helping at least by providing information instead of making bold claims or being angry. Thank you.


Change container image scanning error handling

Depends on #8747
Proposed change:

when no image found or image.docker_id=nil, queue_abort, instead of queue_signal
when expected exceptions occur (exceptions that were previously caught) use log level error instead of info
make collect_compliance_data private

@miq-bot add_label enhancement, providers/containers, smart_state, darga/no

fyi @simon3z @enoodle @cben we probably shouldn't merge this at this time. The reason being needed fixes for darga might require a different fix for upstream and darga branches.

@miq-bot assign moolitayer

Looks good in general.  Couple of comments.

Is this building on top of #8747 or is it an alternative? (I see some code is similar). At this time this is :-1: , as for #8747 needs discussion.

Since #10396 We have the cleanup through the timeout handling done by job.rb.
The job message would be a generic timeout message and the stacktrace will be in the log.

Since #10396 We have the cleanup through the timeout handling done by job.rb.
The job message would be a generic timeout message and the stacktrace will be in the log.


Performance improvement for QR rendering

It takes a lot of time to render a lot of QR Bills since addPath is an expensive function as we need to convert from QR segments to SVG and then to PDF.
We can bypass the conversion from QR to SVG, and directly convert QR segments to PDF.
This leads to huge performance benefits (a4.js):

Number of bills
10
100
1000
10000

Normal
754.651ms
5.426s
50.278s
Node crashed :(

Modified
278.702ms
969.642ms
6.985s
1 min 7.421s

Furthermore, the second most expensive function is the getPenaltyScore() found in qr-code-generator.ts, that checks which of the 8 mask patterns is the most effective one...
const qrCode = qrcodegen.QrCode.encodeSegments([eci, ...segments], qrcodegen.QrCode.Ecc.MEDIUM, 1, 40, 0);
If we impose mask 0, this leads to again to huge performance gains:

Number of bills
10
100
1000
10000

Normal
754.651ms
5.426s
50.278s
Node crashed :(

Modified
278.702ms
969.642ms
6.985s
1 min 7.421s

Modified V2
157.408ms
586.346ms
3.679s
34.487s

Thank you for further researching and testing performance bottlenecks. It sounds good, but I'm not sure if it's the best idea to hardcode the masking pattern. After all, the readability of the QR code will suffer in most cases. Do you have a more in-depth knowledge about QR codes and do you know if this is safe to do?
I don't really want to trade readability for performance.

Yes, that's the problem... for 10/100 bills the performance gains are not justifiable as I think it's better to lose some time improving the readability of the code. After 1000 I don't know...

I checked the specifications again. There is no mention about the masking patterns. But there are rules to minimum module size and error correction etc, so I would like to play it save and stick to the expensive calculation for now.
Im going to merge, feel free to open an issue if you want to further discuss this topic.


Warn if trying to use through tmux/screen

A user reported that it failed with a vague error message but they apparently were using tmux which is not supported.
Before starting, awrit should check if the Kitty graphics protocol is supported and exit with a message saying that it isn't supported in tmux, screen or other terminals that don't support the Kitty graphics protocol

It seems kitty graphics protocol now supports running inside tmux. At least timg supports it.

In order to use Kitty graphics protocol under tmux, it seems you have to use passthrough mode.
https://github.com/kovidgoyal/kitty/blob/ce2e1b08132831fe770ec48d1e73eb4edd21c5b5/kittens/icat/transmit.go#L38-L43
See man tmux for detail:
OPTIONS
    ...
    Available server options are:
    ...
    allow-passthrough [on | off]
        Allow programs in the pane to bypass tmux using a terminal escape sequence (\ePtmux;...\e\\).

Actually, Virtual Placements (Unicode Placeholders; the recent addition for multiplexer support) might not even be required for the use case of this project, since, in particular, the terminal screen will actually never be scrolled while running awrit.
Just wrapping the current graphics control sequences being used with the passthrough might be sufficient to make things work in tmux and screen and is worth giving a try first.
By the way, I recall they both have length limits for their passthrough payloads (at least, for screen). Hence, the graphics sequences might have to be chucked.

Anyone got luck on make it work on Tmux?
In my current setup if I run kitten icat img.png inside tmux it works as expected, but when I try to execute awrit it shows a bunch of "BAD SIZE 1908360" messages, even having set -g allow-passthrough on in my .tmux.conf.


Update ember to 1.10-beta.3

More info about 1.10 is here: http://emberjs.com/blog/2014/12/08/ember-1-9-0-released.html
Recommended to do the following after merging:

rm -rf tmp/ bower_components/
npm install
bower install

@mixonic for you

:clap: :sparkler:


asciidoctor: 2.0.16 -> 2.0.17, add multipage to extensions

Motivation for this change
This update asciidoctor and asciidoctor-with-extensions from 2.0.16 to 2.0.17 as well as adding asciidoctor-multipages to asciidoctor-with-extensions.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

We need some kind of an extension system for asciidoctor.. I see more and more PRs like this that add extensions since asciidoctor-with-extensions was introduced. Could you separate the update commits to a different PR?

@

We need some kind of an extension system for asciidoctor.. I see more and more PRs like this that add extensions since asciidoctor-with-extensions was introduced. Could you separate the update commits to a different PR?

extension system is out of scope of this PR. As long as nothing breaks or we have blocking things I see no reason to do the dance with another PR.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 156210 run on x86_64-linux 1

20 packages marked as broken and skipped:

collectd
collectd-data
libvmi
qemu_xen
qemu_xen-light
qemu_xen_4_10
qemu_xen_4_10-light
qubes-core-vchan-xen
xen
xen-light
xen-slim
xenPackages.xen-light
xenPackages.xen-slim
xenPackages.xen-vanilla
xenPackages.xen_4_10-light
xenPackages.xen_4_10-slim
xenPackages.xen_4_10-vanilla
xen_4_10
xen_4_10-light
xen_4_10-slim

1 package failed to build and are new build failure:

oni2: log was empty

52 packages built:

asciidoctor
asciidoctor-with-extensions
awesome (awesome-4-0)
bat-extras.batgrep
bluespec
bpftrace (linuxKernel.packages.hardkernel_4_14.bpftrace ,linuxKernel.packages.linux_4_14.bpftrace ,linuxKernel.packages.linux_4_14_hardened.bpftrace ,linuxKernel.packages.linux_4_19.bpftrace ,linuxKernel.packages.linux_4_19_hardened.bpftrace ,linuxKernel.packages.linux_4_4.bpftrace ,linuxKernel.packages.linux_4_9.bpftrace ,linuxKernel.packages.linux_5_10.bpftrace ,linuxKernel.packages.linux_5_10_hardened.bpftrace ,linuxKernel.packages.linux_5_15.bpftrace ,linuxKernel.packages.linux_5_15_hardened.bpftrace ,linuxKernel.packages.linux_5_16.bpftrace ,linuxKernel.packages.linux_5_4.bpftrace ,linuxKernel.packages.linux_5_4_hardened.bpftrace ,linuxKernel.packages.linux_hardened.bpftrace ,linuxKernel.packages.linux_latest_libre.bpftrace ,linuxKernel.packages.linux_libre.bpftrace ,linuxKernel.packages.linux_lqx.bpftrace ,linuxKernel.packages.linux_testing_bcachefs.bpftrace ,linuxKernel.packages.linux_xanmod.bpftrace ,linuxKernel.packages.linux_zen.bpftrace ,linuxPackages-libre.bpftrace ,linuxPackages.bpftrace ,linuxPackages_4_14_hardened.bpftrace ,linuxPackages_4_19_hardened.bpftrace ,linuxPackages_5_10_hardened.bpftrace ,linuxPackages_5_15_hardened.bpftrace ,linuxPackages_5_4_hardened.bpftrace ,linuxPackages_hardened.bpftrace ,linuxPackages_hardkernel_latest.bpftrace ,linuxPackages_latest-libre.bpftrace ,linuxPackages_latest.bpftrace ,linuxPackages_lqx.bpftrace ,linuxPackages_testing_bcachefs.bpftrace ,linuxPackages_xanmod.bpftrace ,linuxPackages_zen.bpftrace)
btrbk
ccache
ccacheStdenv
ccacheWrapper
code-server
compactor
credslayer
drbd
elixir_ls
esh
haka
haskellPackages.neuron
hfinger
keepassxc
mdcat
neuron-notes
newsboat
nux
ocf-resource-agents
openvscode-server
ostinato
pistol
plausible
pleroma
python310Packages.pyshark
python39Packages.pyshark
reposurgeon
ripgrep
ripgrep-all
rnp
spacevim
stellar-core
styx
tapview
termshark
timewarrior
vscode-extensions.asciidoctor.asciidoctor-vscode
warzone2100
webcat
weechat
weechat-unwrapped
wifite2
wireshark (wireshark-qt)
wireshark-cli
wsjtx
yosys-bluespec


Make trained model testing support single mixins

@micmn we added mixins which makes the base class checking a bit more complicated.
mixins are defined as template <class T> CIterativeMachine : public T { ... }, and the class Perceptron : public CIterativeMachine<CLinearMachine> { ... }, so ctags will generate inherits: CIterativeMachine and therefore the perceptron would not be included in the tests.
We cannot use your mapping function instead because I dont know what type of machine will lie inside, e.g. 'CiterativeMachine: CMachine' would not work for example for kernel machines.
So what I did here is to extract the mixin template parameter from the declaration of the class and then substitute the base class with that, but keep the mixin in the classes dictionary (we might want to define tests for mixins only later on).

Eventually, all this kind of stuff should rather be done using an AST parser rather than ctags, e.g. http://clang.llvm.org/docs/LibASTMatchersTutorial.html
but for now, this PR re-adds the classes to the test so we dont have error slipping through

Wow last year I did some research on llvm for these unit tests but I totally missed LibASTMatchers :|
Did a quick test with clang-query: something like
match cxxRecordDecl(allOf(hasName("CPerceptron"),isDerivedFrom(hasName("CLinearMachine")))) should easily do it even for mixins.

yessss.....
mind giving these automated tests a go with this lib?

let me know if anything came out of this. would be so much better than using clang

Sure, probably the most annoying thing is to figure out how to integrate it
in the build without slowing it down excessively?
Il lun 16 lug 2018 22:50 Heiko Strathmann<EMAIL_ADDRESS>ha
scritto:

let me know if anything came out of this. would be so much better than
using clang
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/pull/4369#issuecomment-405377670,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKH6TvBZZzJ018KnERn59SNYR3bZTgAXks5uHPyXgaJpZM4VOwKl
.

Indeed,
But we could exclude it from travis, and just run those tests on the buildbot if needed, @vigsterkr what do you think?

I tried this tutorial http://clang.llvm.org/docs/LibASTMatchersTutorial.html but it seems that to build the tool you need to compile clang and it takes hours and hours (and gbs of ram/hdd), then I tried linking against pre-built clang libraries but I got errors (maybe there is a reason they make you compile clang from source in the tutorial?)
So if we have to compile clang the only way would be to build a binary for this tool or...?

yes :( mmmh dont know what to do from here...
@vigsterkr ?

Working on it.
You can actually use precompiled llvm and libtooling

On 25 Jul 2018, at 19:57, Heiko Strathmann<EMAIL_ADDRESS>wrote:
yes :( mmmh dont know what to do from here...
@vigsterkr ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


fix: MediaFullscreenButton state is broken on window resize (#627)

Fix issue #627 by checking in the constructor of media-fullscreen-button if its parent media-controller is fullscreen, and if it is, setting the media-is-fullscreen attribute of the button itself.
This is not an ideal solution, as a proper one should either prevent the re-creation of the button when the window is resized, or relying only on the media-is-fullscreen attribute of the parent media-controller and not of the button itself.
However, as the bug makes it hard to exit fullscreen on Android, this fix is better than nothing.

thanks for contributing!
I did some more investigating and the root cause was that the media state was incorrect when there was no fullscreen event.target available. The new fullscreen button element did correctly receive state when registering but the state itself was incorrect. the fix was getting the state from something like document.fullscreenElement.
closing your PR in favor of https://github.com/muxinc/media-chrome/pull/634


Debug display of Information for Researchers page

Side navs and title appear to be missing

Caused by links containing colons (which may be a special character in YAML frontmatter?)


Sorry it is not a issues but ....

I dont really know anything about android but i want to install a older version of an apk to my phone but rn it just warned me that Downgrade detected: Update version code 12100639 is older than current 12100737] , so i got here because i want to change the androidmanifest.xml android version code but idk how to install zip and appt2 tool , can you guide me at this ?

Yeah:
2024/08/17 15:40:38 Failed executing zip: exec: "zip": executable file not found in %PATH%
"zip" doesn't seem to be part of the android build tools. It's not looking for zipalign. I tried that.
Unfortunately makes the work of ensody wasted for anyone else


Performance measurements, end to end

Description
A measurement from a message is received by the api gateway, to the market actor has received all information regarding the transaction.
Acceptance criteria

@tml og @ mnd tale om det er en dublet


[BUG] Cache.Client.js Cannot find Seo.Client.jsx on standalone app

Describe the bug
I get this error when trying to deploy this app to Heroku. The site works after a few refreshes, but doesn't load on first instance. I believe the issue is related to #195 However, I was unable to find the solution looking through the commits.
To Reproduce
Go to link to view my app.
Expected behaviour
Blank screen on first load with 'Cache.client..js:112 Error: Could not find client component /tmp/build_d3c46730/src/components/Seo.client.jsx' error until site is refreshed. This bug is intermittent, in that the site runs normally sometimes and other times not.
Screenshots

Heroku Log:

Additional context
Site works flawlessly locally. Reproducing the bug can be random.

Hydrogen version: ^0.8.3
Node version: 16.13.0
Device details: Tested on both Desktop browser (Chrome + Safari) and iPhone Safari

@DannChang thank you for reporting this. There have been a lot of changes to this code in the latest release. Could you try updating to the latest version of Hydrogen? See the release notes on how to migrate to 0.10: https://github.com/Shopify/hydrogen/releases/tag/v0.10.0

Feel free to reopen if you're still seeing this.

Feel free to reopen if you're still seeing this.

@jplhomer
I'm getting a similar error for client components.
I have a Header.client.tsx which exports a JSX.Element:
export default function Header() {
...
}

Which I then try to import into a Layout.server.ts:
import Header from '~/components/global/Header.client';
export function Layout({ children }: PropsWithChildren) {
...
    <Header />


FrontEnd needs to be reformulated as model w/ trainable DoG weights

FrontEnd is currently implemented as a straightforward trainable CNN whose filter weights (31x31 * 6 filters) are all free params. The final model will be a 13-param CNN whose filters are parameterized by scalars and difference of Gaussian kernels (DoGs).
This needs to be changed to:

[x] have user-specified filter sizes, b/c 31x31 is unreasonably large
[x] difference of gaussian filters, each parameterized by two stdevs
[x] add tests in test_models.py to accommodate FrontEnd.

Right now, the forward pass outputs infs because of division by neg numbers in the normalization step.
This will no longer be an issue when the filters are DoGs.

To be clear about that final point: because the forward pass returns inf (or nan?) we're not testing pretrained=False for synthesis and passing through the PoolingWindows. Dealing with them in a principled way is difficult, so we're leaving it out for now.
Once we've gotten that fixed, make sure we're testing them too.

Addressed by #95

Addressed in #95 and merged.


Enhancement to allow install in current directory?

I'm wondering if you would considerable it permissable/allowable for ReactQL to be able to install in the current directory?  I can see in the code where this isn't presently allowed, and I'd be willing to do a PR if it'd help, but it's an option I'd like and I'd think others might also.   Thoughts?

You can actually install a ReactQL project into the current folder, so long as the dir is empty. Just specify . when it asks where you'd like to install.
It will refuse to install if the folder isn't empty, as a sanity check against overwriting existing files.


Introducing Nitro Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the Nitro Guru to Gurubase. Nitro Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "Nitro Guru", which highlights that Nitro now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable Nitro Guru in Gurubase, just let me know that's totally fine.

Thank you! Let's followup from https://github.com/unjs/undocs/issues/157 (nitro also uses undocs tooling)


Why does this need a GET request and open up the app to CSRF attacks?

I'm kinda curious why this was an acceptable choice?
How do we use django-hijack without this?
(I read https://github.com/arteria/django-hijack/issues/84)

I got a hacky fix working, simply by overriding the button template to submit a form instead of being a plain link.
Implementation is a little ugly because it seems we need to create this form in JavaScript because the whole changelist is a form and nesting forms is a bit funky. But if you create the form in javascript on-click it seems to work (in my Firefox).
Then I can put HIJACK_ALLOW_GET_REQUESTS back to False and silence the django-hijack-admin check with Django's SILENCED_SYSTEM_CHECKS feature.
Is it worth it to make this solution nice and add it to the package? Main thing it needs it a place to put a shared snippet of JavaScript but ideally without users having to override their changelist templates (in this ugly version the snippet repeats on every row).

You are right @Bartvds, CSRF protection is an important issue. That's why from version 2.1, we have moved the Django admin integration into a separate package – to give users a choice whether or not to allow GET requests.
There are other ways to integrate django-hijack into your project. If, for instance, you have your own admin interface, then you could place the hijack form there. Here's a reference implementation: https://django-hijack.readthedocs.io/en/latest/#usage
However, if you find a way to use a form in the admin instead of a button – and the solution is both maintainable and non-hacky – that would of course be great and we would be happy to review a pull request! :)

If old browser support is not required you could add it as a button in your model admin as:
return format_html(mark_safe("""              <input type="submit" formaction="/hijack/{}/" value="Hijack" />   """), obj.id)

Any thoughts on this? The solution above looks pretty acceptable to be. I'll admit I have a tendency to use GET in my own changelist customisations but it's probably not good to promote this in a reusable app.

I'm interested in this too.

It is waiting for a PR I guess.
I personally think a POST with CSRF protection should be the default implementation as there is (AFAIK) no real reason to use GET (besides implementation convenience).
I like @radyz  formaction based approach, browser support is fair http://caniuse.com/#search=formaction

If using formaction is acceptable I could issue a PR for this.

Maybe it would need a setting to toggle the formaction approach as an escape for users where browser support is problematic.
We could also require to explicitly enable this feature so we wouldn't need a major version bump on release (because it is a breaking change for old browsers), but I'm not sure if that matters enough.

Hey guys, I think I solved this in https://github.com/arteria/django-hijack-admin/pull/37 .


raftstore-v2: implement snapshot backup for raftstore v2

What is changed and how it works?

Issue Number: ref https://github.com/tikv/tikv/issues/12842
What's Changed:
This PR tried to adapt backup for raft store v2 logic.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)

Try backup manually without checksum

Try restore manually without checksum but it cost time to split region.

No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

/merge

/retest

/rebuild


Shift Computation of PaddingFree Variable CuSeqLen from Flash Attention Forward to DataCollatorWithFlattening

Description
To save on repeated computation of the same input across all the flash attention forward layers, this PR shifts the computation of arguments cu_seq_len and max_length to the data collator.
Running the same benchmark on ORCA Math from Transformers Padding Free, there is approx 2% improvement in train runtime from this implementation change.

Implementation
Train Runtime (secs)
Throughput (Toks/sec)

Transformers Native Padding Free
788
1253

Plugin PaddingFree (Transformers < 4.43) - Computation of Arguments at FA Forward
567
1741

Plugin PaddingFree (Transformers < 4.43) - Computation of Arguments  at Data Collator
555
1779

Reproduce
NOTE: The top level model's forward method had to be patched with a wrapper function to accept the additional kwargs from the data collator. Due to the change in method signature, HFTrainer will remove unused columns not detected from the model's forward method signature, causing it To avoid the removal, additional arg, remove_unused_columns=False needs to be passed to the Trainer.
accelerate launch --config_file scripts/benchmarks/accelerate.yaml --num_processes=8 --main_process_port=29500 -m tuning.sft_trainer --padding_free huggingface --model_name_or_path mistralai/Mistral-7B-v0.1 --packing False --max_seq_len 4096 --training_data_path /workspace/data/datasets/orca-math-rd-bench.json --learning_rate 2e-5 --torch_dtype float16 --gradient_accumulation_steps 2 --use_flash_attn True --include_tokens_per_second True --num_train_epochs 1 --gradient_checkpointing True --evaluation_strategy no --save_strategy no --weight_decay 0.01 --warmup_steps 10 --adam_epsilon 1e-4 --lr_scheduler_type linear --logging_strategy steps --logging_steps 10 --per_device_train_batch_size 4 --output_dir benchmark_outputs/ilab --skip_memory_metrics False --remove_unused_columns False

TODO:

Consider making this implementation the default for all Transformer versions in the AADP plugin

closing this PR for now because there are issues identified with this impl.


HBASE-25798 typo in MetricsAssertHelpe for branch-2

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  4s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m  8s
branch-2 passed

+1 :green_heart:
compile
0m 14s
branch-2 passed

+1 :green_heart:
shadedjars
6m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 16s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 42s
the patch passed

+1 :green_heart:
compile
0m 14s
the patch passed

+1 :green_heart:
javac
0m 14s
the patch passed

+1 :green_heart:
shadedjars
6m 31s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 25s
hbase-hadoop-compat in the patch passed.

24m 43s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3187

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 2c72775e90eb 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 9cf8a48d20

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/testReport/

Max. process+thread count
218 (vs. ulimit of 12500)

modules
C: hbase-hadoop-compat U: hbase-hadoop-compat

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 38s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m 35s
branch-2 passed

+1 :green_heart:
compile
0m 18s
branch-2 passed

+1 :green_heart:
shadedjars
6m 50s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 21s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 59s
the patch passed

+1 :green_heart:
compile
0m 18s
the patch passed

+1 :green_heart:
javac
0m 18s
the patch passed

+1 :green_heart:
shadedjars
6m 47s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 17s
the patch passed

_ Other Tests _

-1 :x:
unit
0m 28s
hbase-hadoop-compat in the patch failed.

25m 53s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3187

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux a44b477efec5 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 9cf8a48d20

Default Java
AdoptOpenJDK-11.0.10+9

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-hadoop-compat.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/testReport/

Max. process+thread count
256 (vs. ulimit of 12500)

modules
C: hbase-hadoop-compat U: hbase-hadoop-compat

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 39s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
4m  5s
branch-2 passed

+1 :green_heart:
compile
0m 23s
branch-2 passed

+1 :green_heart:
checkstyle
0m 13s
branch-2 passed

+1 :green_heart:
spotbugs
0m 26s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 43s
the patch passed

+1 :green_heart:
compile
0m 22s
the patch passed

+1 :green_heart:
javac
0m 22s
the patch passed

+1 :green_heart:
checkstyle
0m 12s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
13m  3s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
0m 35s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

33m 56s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3187

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 2997da3c9424 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 9cf8a48d20

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
86 (vs. ulimit of 12500)

modules
C: hbase-hadoop-compat U: hbase-hadoop-compat

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3187/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Don't hide tabs and filter/sort controls when a user is searching projects

Description
From a UX standpoint, it feels a bit weird that we hide the controls and require a user to clear their search to get the tabs/filters back. This is also related to a small quirk where if a user clears their search string, they cannot clear their search with the x button to get the controls back.

Proposal
Leave tabs and filter/sort available even if a user has an active search.
Screenshots

(Can't clear my search due to empty string, can't get tabs/filters back until i clear it or do an empty search)

@peripheralist I believe we've hidden this because currently the filter and sort won't work when there's a search string present? How hard will it be to get them to be friendly with each other do you think?

That's right. When we search we're actually querying a different entity than Projects, check the useProjectsSearch hook. The graph doesn't support querying with a where argument in addition to the text argument we use with search, meaning we can't search and filter at the same time

@tomquirk how would you feel about downgrading this one from bug to just a feature request?

ya totally


Can't open page with loading instance in ngOnInit from modal

Short description of the problem:
When I try to navigate from modal view to page, that have ngOnInit method with Loading animation - nothing happens.
What behavior are you expecting?
I want to navigate from modals to other pages with loading animation in ngOnInit method.
Or if ionic team planning to implement resolve section analog in future - it will be fine.
Steps to reproduce:

I open modal instance

public openModal(): Promise<any> {
        let modal = Modal.create(ShowInfoModal);
        return this.navCtrl.present(modal);
    }

From modal I try to open other page with different methods but got nothing (loading animation from new page appear, than dismiss, but page not changed)

public openBroken1(): Promise<any> {
    return this.navCtrl.setRoot(PaymentMethodPage, {}, {animate: true, direction: 'forward'});
}

 public openBroken2(): Promise<any> {
    return this.viewCtrl.dismiss()
        .then(() => this.navCtrl.setRoot(PaymentMethodPage, {}, {animate: true, direction: 'forward'}));
}

public openBroken3(): Promise<any> {
    this.viewCtrl.destroy();
    return this.navCtrl.setRoot(PaymentMethodPage, {}, {animate: true, direction: 'forward'});
}

public openBroken4(): Promise<any> {
    this.viewCtrl.onDestroy(() => this.navCtrl.setRoot(PaymentMethodPage, {}, {animate: true, direction: 'forward'}));
    return this.viewCtrl.dismiss();
}

In page, that can't open I implement ngOnInit (also try onPageWillEnter and onPageLoaded) method with animation (will be used for animate API response loading. In example simplified but still not work)

ngOnInit() {
        var loadingInstance = Loading.create({
            content: 'Loading...'
        });
        this.navCtrl.present(loadingInstance);

        setTimeout(() => {
            loadingInstance.dismiss();
        }, 1000)
    }

Other information
Work project with error code placed here (branch ER-3_navigation_animation_error)
Or you can clone it with
git clone -b ER-3_navigation_animation_error https://github.com/EugeneSnihovsky/ionic2-for-errors.git

Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
OS: Distributor ID:     LinuxMint Description:  Linux Mint 17.2 Rafaela
Node Version: v5.3.0

@adamdbradley do you think the new overlay system could have fixed this?
https://github.com/driftyco/ionic/issues/7140

Yes, hopefully this issue may have been fixed in beta11, since the overlay's anchor is always at the root and already initialized.

I'm putting this down as one of my things to test this afternoon. I'm thinking it should be fixed though (:

Just did a quick test on this and it seems to be fixed for me with the latest nightly. If anyone is on the latest nightly, or beta.11 once it gets released, and still has this issue feel free to comment and i will happily reopen. Thanks for using Ionic!


ISPN-16781 [GITHUB CI] Fail Test Result Report if mvn verify fails

if mvn verify fails, then fail the Test Report Result check just after

Thanks @rigazilla


Containers exiting - no entry point OR strict.perms not found

When composing up, logstash, metricbeat and filebeat fail

All 3 containers exit for the same reason

Running on mac intel

same issue here - Windows Docker Desktop

Reproducible on Ubuntu-22.04
2023/11/26 23:35:59 Setting 'xpack.monitoring.enabled' from environment.
/usr/local/bin/docker-entrypoint: line 30: exec: strict.perms=false: not found

saw the pull request, another workaround is
command: ["filebeat", "-e", "--strict.perms=false"]

syntax was bad for filebeat/metricbeat, and nonexistent for logstash.
i updated the strict-perms syntax and it should work now.  removed it for logstash.
let me know if you still have issues.


Add docs for deleting translations

Fix #143

PS: do you also need this in the REAMDE?

[Current coverage][cc-pull] is 86.10%

Merging [#144][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #144   diff @@
==========================================
  Files            40         40
  Lines          2734       2734
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2354       2354
  Misses          380        380
  Partials          0          0

Powered by Codecov. Last updated by [762a490...1c81e23][cc-compare]
[cc-base-branch]: https://codecov.io/gh/edoburu/django-parler/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/edoburu/django-parler/compare/762a49099f592c09f46f6ace202374c07a80efe3...1c81e23ab9793f697f4093c64fd72c5b3308fab2
[cc-pull]: https://codecov.io/gh/edoburu/django-parler/pull/144?src=pr

I'm sorry, I'm closing this in favor for a better API solution that also works for users of multiple inheritance.

Ok, no worries :)
Just wanted to give you a helping hand since maintaining things is hard and labor intensive ;D

Thanks, that is much appreciated. It's indeed a lot of work. A delete_translation() API is now available in 83dda28f24d9696df84ddd245cac5ab4757447f3


FABN-1531 Version bump to 2.1.1

Signed-off-by: heatherlp<EMAIL_ADDRESS>

Yep good spot! Should have fixed that now


Better version parsing

Closes #174.

Codecov Report

Merging #196 into master will decrease coverage by 0.90%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
- Coverage   83.00%   82.09%   -0.91%
==========================================
  Files          12       12
  Lines         453      458       +5
==========================================
  Hits          376      376
- Misses         77       82       +5

Impacted Files
Coverage Δ

os_info/src/version.rs
66.66% <0.00%> (-7.76%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35f0e2b...3a5e198. Read the comment docs.


Using a binary classifier as a custom label function

Issue description
I did a binary classifier and create a LabelingFunction which labels if the prediction score is above a threshold. I load the model as a preprocessing step where I do inference using tf model and transformers. However, when I execute PandasParallelLF, either it load models several times and I ran out of memory if the inference is inside of get_label or it cannot pickle TypeError: can't pickle _thread.RLock objects if the inference is outside of the get_label function (as in the example).
models = {...}

def get_label(input, label_id):
   if label_id and input > 0.8:
      return label_id
 return ABSTAIN

LabelingFunction(
            name=f"lf_binary_clf_{id}",
            f=get_label,
            resources=dict(label=label_id),
            pre=[lambda input: models[label_id].predict(encode(tokenizer, [input.payload]))]
        )

If I want to select a clf, what should be the proper way to do inference?

@cuent Thanks for letting us know. We are taking a look at this and will get back to you ASAP.

@cuent At the moment, we don't support this feature. Perhaps you can try a workaround where you use the model to create a list or dict of predictions before hand and then look up the appropriate value during the LF.

Thanks, @vkrishnamurthy11. I created a rest service for inference and wrapped it with a label function. I'll close the issue. THanks for your answer :)

@cuent Can you please share the code for what worked? re: The Label function and how you wrapped the same?


Exact Environment Information

Hey @xinge008 ,
Can you have a chance to tell me the exact environment information while working on this project? Currently, I am trying to run this model in an HPC cluster, however, it seems that the combination of spconv, torch, and torch-scatter is very sensitive. Meaning that their compatible CUDA version and etc. create a lot of headaches. However, I believe I can replicate your results, if I may know your system information since I will be able to install exact dependencies.
By the way, I really like to express that it is an amazing project, I sincerely congratulate you and I wish you the continuation of this success.
Thanks in adcanve.

For spconv , we use spconv==1.2.1 and cuda==10.2;
torch-scatter >= 1.4.0
torch==1.2.

Thank you very much really. Can you also elaborate on your CUDA-cuDNN and Python versions?

python==3.7.7
cuDNN==7.6.5
cuda==10.2


Form validation shouldn't trim values before validation

Form validator trims whitespaces from values before validation, which is really unwanted.
For example, "          123" validates as "integer".
Or "        aaaa" validates against regexp[/^[a-z0-9]*$/i], but it shouldn't, as space is not a valid char, but the validator receives the form value as space-trimmed...
Currently I have to add custom validators, which validates against input value instead of the "value" param...

Fixed since Fomantic-UI 2.4 by adding a new option shoudTrim in https://github.com/fomantic/Fomantic-UI/pull/27
See https://fomantic-ui.com/behaviors/form.html#/settings


Access to XMLHttpRequest at ' ... ' from origin ' ... ' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

The same error I solved on the local machine by adding 'useTLS' => false, 'encrypted' => false in config/broadcasting.php and forceTLS:false,  'encrypted':false in resources/js/bootstrap.js
When I try to run it on the live server, it gives CORS policy error
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I also tried downgrading pusher.js from 6.0.3 to 4.4 but got no success.
I have hosted this application on shared hosting on Laravel 5.8, and use Cloudflare.

Same issue here

did you resolve this?

No. I haven't.
I ended up not using it unfortunately.
Hope you guys find a solution for it.

You can fix this URL issue:
Solution:
In your post request make sure you have the full URL 'http://sockjs-mt1.pusher.com/pusher/app/....etc'
Error:
const siteUrl = 'http://sockjs-mt1.pusher.com/'
Post request ${siteUrl}/pusher/app/....etc

same here

same issue here

Anyone solve this issue.
I have the same problem.
 enabledTransports: ['ws', 'wss']
I did this but didn't solve the problem. What to do?

Anyone solve this issue.
I have the same problem.
 enabledTransports: ['ws', 'wss']
I did this but didn't solve the problem. What to do?
Local is good but not in the web.

Can you try setting devServer.transportMode = "ws" ?

Duplicate of https://github.com/beyondcode/laravel-websockets/issues/403 (see you there)

@ECHO OFF
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp
pause
/************
create a new file  and save file  .bat extension "like this :-  privateBrowser.bat" ,
and run the this file. and insert local path: http://localhost:4200
***********/

i am also getting this error

Check https://github.com/beyondcode/laravel-websockets/issues/403

I solved this problem by changing pusher-js version from 6.0.0 to 5.1.1. in (Laravel vuejs project)


BottomSheet has nullable animationController but uses it as non-null

Created from b/173042655, the bottom sheet widget throws exceptions if used without an animationController, even though this property is nullable.
Steps to Reproduce

Create an app with a BottomSheet as the child, something like:

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: BottomSheet(
          onClosing: (){},
          builder: (context) {
            return Container(
              color: Colors.orange,
              height: 100,
              width: 100,
            );
          },
        ),
      ),
    );
  }

Perform drag gesture on the bottom sheet
See exception thrown:

The following _CastError was thrown while handling a gesture:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      _BottomSheetState._dismissUnderway (package:flutter/src/material/bottom_sheet.dart:194:58)
#1      _BottomSheetState._handleDragUpdate (package:flutter/src/material/bottom_sheet.dart:204:9)
#2      DragGestureRecognizer._checkUpdate.<anonymous closure> (package:flutter/src/gestures/monodrag.dart:431:55)
#3      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:183:24)
#4      DragGestureRecognizer._checkUpdate (package:flutter/src/gestures/monodrag.dart:431:7)

Expected results: No exception or enforce a non-null animation controller
Actual results: Exception occurs

[✓] Flutter (Channel master, 1.24.0-8.0.pre.252, on Mac OS X 10.15.5 19F101 darwin-x64, locale en-US)
    • Flutter version 1.24.0-8.0.pre.252 at /Users/<user>/Development/flutter
    • Framework revision bf2c9dfc05 (35 hours ago), 2020-11-14 22:38:02 -0500
    • Engine revision 3e77d854a7
    • Dart version 2.12.0 (build 2.12.0-45.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/raboughanem/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio with Blaze.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • iPhone 8 (mobile) • 1CDE6067-6A37-4B9F-861F-D3316A9AB34B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
    • macOS (desktop)   • macos                                • darwin-x64     • Mac OS X 10.15.5 19F101 darwin-x64
    • Web Server (web)  • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)      • chrome                               • web-javascript • Google Chrome 86.0.4240.198

• No issues found!

Working on this!

Seeing this a lot in production too.

I experiment the same issue using DraggableScrollable widget when closing the bottom sheet with a quick swipe down.
I haven't succeeded to catch this error to avoid reporting false positive crash logs 😕
If anyone has a hint to catch this error while this issue is resolved, it would be greatly appreciated 🙏

Stacktrace

flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown while finalizing the widget tree:
flutter: ScrollableState#4dd03(tickers: tracking 3 tickers, position:
flutter: _DraggableScrollableSheetScrollPosition#4d3bb(offset: -61.9, range: -1.0..453.4, viewport: 79.6,
flutter: ScrollableState, BouncingScrollPhysics -> RangeMaintainingScrollPhysics, null,
flutter: ScrollDirection.forward), effective physics: BouncingScrollPhysics -> RangeMaintainingScrollPhysics)
flutter: was disposed with an active Ticker.
flutter: ScrollableState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was
flutter: called on the mixin, that Ticker was still active. All Tickers must be disposed before calling
flutter: super.dispose().
flutter: Tickers used by AnimationControllers should be disposed by calling dispose() on the
flutter: AnimationController itself. Otherwise, the ticker will leak.
flutter: The offending ticker was:
flutter:   _WidgetTicker(created by ScrollableState#4dd03(tickers: tracking 1 ticker, position:

======== Exception caught by widgets library =======================================================
The following assertion was thrown while finalizing the widget tree:
ScrollableState#4dd03(tickers: tracking 3 tickers, position: _DraggableScrollableSheetScrollPosition#4d3bb(offset: -61.9, range: -1.0..453.4, viewport: 79.6, ScrollableState, BouncingScrollPhysics -> RangeMaintainingScrollPhysics, null, ScrollDirection.forward), effective physics: BouncingScrollPhysics -> RangeMaintainingScrollPhysics) was disposed with an active Ticker.

ScrollableState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was called on the mixin, that Ticker was still active. All Tickers must be disposed before calling super.dispose().

Tickers used by AnimationControllers should be disposed by calling dispose() on the AnimationController itself. Otherwise, the ticker will leak.

The offending ticker was: _WidgetTicker(created by ScrollableState#4dd03(tickers: tracking 1 ticker, position: _DraggableScrollableSheetScrollPosition#4d3bb(offset: -81.2, range: 0.0..464.3, viewport: 68.7, ScrollableState, BouncingScrollPhysics -> RangeMaintainingScrollPhysics, BallisticScrollActivity#6034d(AnimationController#ee085(▶ -81.244; for BallisticScrollActivity)), ScrollDirection.forward), effective physics: BouncingScrollPhysics -> RangeMaintainingScrollPhysics))
The stack trace when the _WidgetTicker was actually created was:
#0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40)
#1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
#2      new _WidgetTicker (package:flutter/src/widgets/ticker_provider.dart:271:81)
#3      TickerProviderStateMixin.createTicker (package:flutter/src/widgets/ticker_provider.dart:202:34)
#4      new AnimationController.unbounded (package:flutter/src/animation/animation_controller.dart:280:21)
#5      _DraggableScrollableSheetScrollPosition.goBallistic (package:flutter/src/widgets/draggable_scrollable_sheet.dart:480:73)
#6      BallisticScrollActivity.applyNewDimensions (package:flutter/src/widgets/scroll_activity.dart:549:14)
#7      ScrollPosition.applyNewDimensions (package:flutter/src/widgets/scroll_position.dart:593:15)
#8      ScrollPositionWithSingleContext.applyNewDimensions (package:flutter/src/widgets/scroll_position_with_single_context.dart:104:11)
#9      ScrollPosition.applyContentDimensions (package:flutter/src/widgets/scroll_position.dart:533:7)
#10     _DraggableScrollableSheetScrollPosition.applyContentDimensions (package:flutter/src/widgets/draggable_scrollable_sheet.dart:442:18)
#11     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1487:20)
#12     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1636:7)
#13     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:881:18)
#14     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:462:19)
#15     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:876:13)
#16     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
#17     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#18     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
#19     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
#23     _invoke (dart:ui/hooks.dart:163:10)
#24     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
#25     _drawFrame (dart:ui/hooks.dart:126:31)
(elided 3 frames from dart:async)

When the exception was thrown, this was the stack:
#0      TickerProviderStateMixin.dispose.<anonymous closure> (package:flutter/src/widgets/ticker_provider.dart:219:13)
#1      TickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:237:6)
#2      RestorationMixin.dispose (package:flutter/src/widgets/restoration.dart:1080:11)
#3      ScrollableState.dispose (package:flutter/src/widgets/scrollable.dart:512:11)
#4      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4800:11)
...
====================================================================================================
flutter:   _DraggableScrollableSheetScrollPosition#4d3bb(offset: -81.2, range: 0.0..464.3, viewport: 68.7,
flutter:   ScrollableState, BouncingScrollPhysics -> RangeMaintainingScrollPhysics,
flutter:   BallisticScrollActivity#6034d(AnimationController#ee085(▶ -81.244; for BallisticScrollActivity)),
flutter:   ScrollDirection.forward), effective physics: BouncingScrollPhysics ->
flutter:   RangeMaintainingScrollPhysics))
flutter:   The stack trace when the _WidgetTicker was actually created was:
flutter:   #0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40)
flutter:   #1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
flutter:   #2      new _WidgetTicker (package:flutter/src/widgets/ticker_provider.dart:271:81)
flutter:   #3      TickerProviderStateMixin.createTicker
flutter:   (package:flutter/src/widgets/ticker_provider.dart:202:34)
flutter:   #4      new AnimationController.unbounded
flutter:   (package:flutter/src/animation/animation_controller.dart:280:21)
flutter:   #5      _DraggableScrollableSheetScrollPosition.goBallistic
flutter:   (package:flutter/src/widgets/draggable_scrollable_sheet.dart:480:73)
flutter:   #6      BallisticScrollActivity.applyNewDimensions
flutter:   (package:flutter/src/widgets/scroll_activity.dart:549:14)
flutter:   #7      ScrollPosition.applyNewDimensions
flutter:   (package:flutter/src/widgets/scroll_position.dart:593:15)
flutter:   #8      ScrollPositionWithSingleContext.applyNewDimensions
flutter:   (package:flutter/src/widgets/scroll_position_with_single_context.dart:104:11)
flutter:   #9      ScrollPosition.applyContentDimensions
flutter:   (package:flutter/src/widgets/scroll_position.dart:533:7)
flutter:   #10     _DraggableScrollableSheetScrollPosition.applyContentDimensions
flutter:   (package:flutter/src/widgets/draggable_scrollable_sheet.dart:442:18)
flutter:   #11     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1487:20)
flutter:   #12     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1636:7)
flutter:   #13     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:881:18)
flutter:   #14     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:462:19)
flutter:   #15     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:876:13)
flutter:   #16     RendererBinding._handlePersistentFrameCallback
flutter:   (package:flutter/src/rendering/binding.dart:328:5)
flutter:   #17     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
flutter:   #18     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
flutter:   #19     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
flutter:   #23     _invoke (dart:ui/hooks.dart:163:10)
flutter:   #24     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
flutter:   #25     _drawFrame (dart:ui/hooks.dart:126:31)
flutter:   (elided 3 frames from dart:async)
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      TickerProviderStateMixin.dispose.<anonymous closure> (package:flutter/src/widgets/ticker_provider.dart:219:13)
flutter: #1      TickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:237:6)
flutter: #2      RestorationMixin.dispose (package:flutter/src/widgets/restoration.dart:1080:11)
flutter: #3      ScrollableState.dispose (package:flutter/src/widgets/scrollable.dart:512:11)
flutter: #4      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4800:11)
flutter: #5      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1847:13)
flutter: #6      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #7      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #8      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #9      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #10     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #11     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #12     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #13     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #14     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #15     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #16     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #17     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #18     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #19     _LayoutBuilderElement.visitChildren (package:flutter/src/widgets/layout_builder.dart:71:14)
flutter: #20     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #21     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #22     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #23     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #24     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #25     _LayoutBuilderElement.visitChildren (package:flutter/src/widgets/layout_builder.dart:71:14)
flutter: #26     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #27     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #28     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #29     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #30     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #31     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #32     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #33     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #34     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #35     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #36     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #37     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #38     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #39     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #40     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #41     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #42     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #43     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #44     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #45     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #46     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #47     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #48     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #49     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #50     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #51     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #52     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #53     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #54     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #55     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #56     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #57     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #58     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #59     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #60     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #61     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #62     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #63     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #64     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #65     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #66     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #67     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #68     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #69     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #70     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #71     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #72     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #73     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #74     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #75     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #76     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #77     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #78     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #79     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
flutter: #80     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #81     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #82     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #83     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #84     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #85     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
flutter: #86     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
flutter: #87     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
flutter: #88     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)

Flutter doctor

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.3 20E232 darwin-x64, locale fr-FR)
    • Flutter version 2.2.3 at /Users/emri/fvm/versions/2.2.3
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/emri/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = /Users/emri/Library/Android/sdk
    • Java binary at: /Users/emri/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.2

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/emri/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (2 available)
    • Android SDK built for x86 64 (mobile) • emulator-5554                        • android-x64 • Android 5.0.2 (API 21) (emulator)
    • iPhone 8 (mobile)                     • 8B8431FD-913A-4194-9BF6-DF392A862789 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)

• No issues found!

@goderbauer Is this still relevant with the updated assert messages? Maybe this should assert in the constructor as well to make sure animationController != null || !enableDrag


Refactor open() to remove TOCTTOU

There seems to be a TOCTTOU in open() where we retrieve the inode a second time. We should only have to metawalk once and after that keep the inode open. Lets refactor the second one into the first.
I'll add some notes after discussing with @kuzeyardabulut

Fixed by me and @RusherRG


Test to pull request(DO NOT MERGE)

I have just changed the heading just to check the pull request....

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind new feature
/kind bug fix
/kind cleanup
/kind revert change
/kind design
/kind documentation
/kind enhancement

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Test Report Added?:

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind TESTED
/kind NOT-TESTED

Test Report:

Special notes for your reviewer:

I have tried pulled Request for the first time...