Account for workflows that increment the version prior to publication

Some common workflows increment the version in metadata.json
immediately after publication to represent that current work is towards
the next incremental version release candidate. To compare properly, we
should compare the released version with the version of the latest
tag. However, I'm not convinced that we can assume that latest tag
exists consistently. I think it's likely that we'd get far more false
positives than is worth.
Instead, we check to ensure that the Forge version isn't greater than
the repository version. This does leave us vulnerable to a small attack
scenario in which the attacker carefully reproduces the same version
recorded in the repository and pushes that to the Forge, but I'm not
sure we can do better than this. We'll have to find other ways to flag
that behaviour.
Fixes #1

@bastelfreak, could you give this a look over and let me know what you think? Compare the approaches in the two commits.

I think the code logic is fine.

To compare properly, we
should compare the released version with the version of the latest
tag. However, I'm not convinced that we can assume that latest tag
exists consistently.

Maybe we could verify this somehow?
If tags are missing, is that something we want to support, at least for public repos? I think forge releases should be reproducible with a git tag


Subscriptions renewed when the MacOS app was closed are not picked up by Storekit2

I'm seeing a really strange behavior in Xcode 14.3 (14E222a, Ventura 13.3) for a MacOS app with auto-renewable subscriptions.
Scenario:

Launch the app (local Xcode testing) and purchase a subscription -> works OK.
Let the app run and after a while the subscription renews and StoreHelper picks up the renewal alright.
Close the app and let the subscription renew a few times "in the background."
When reopening the app, the latest transaction retrieved by a call to storeHelper.subscriptionHelper.subscriptionInfo(for: "Monthly") is the last one seen when the app was running. All the transactions happening while the app was closed are not there.
The Storekit 1 call in AppStoreHelper is picking up the "ghost" transactions quite well, but it only passes down the stream the ProductID(s) associated with those transactions, which is quite useless without a proper subscriptionInfo object.

Am I the only one seeing this? Is this going to happen in production too, or is it just a bug in local testing?

Thanks for letting me know. I had a very quick look to see what happens using the demo project. With local StoreKit testing I can see that subscription renewals happening while the app's not running are indeed NOT sent to the app when it re-opens, as I would have expected. I won't be able to look into this properly for a few days I'm afraid.
In the meantime, are you able to try this using sandbox testing (i.e. with your products defined in App Store Connect). Nobody has reported this as a problem before, so I wonder if this is related only to local StoreKit testing?
What I would expect to see happen is renewal transactions that happen while an app's not running to be sent through the normal Storehelper.handleTransactions() method once the app re-opens.
I'm a bit confused when you talk about the Storekit 1 call in AppStoreHelper picking up "ghost" transactions. That's only meant to support direct App Store purchases made outside the app. Are you saying that the paymentQueue(_:updatedTransactions) method is receiving subscription renewals?

I've looked into this a bit more and you're quite right: subscription renewals (even if there are multiple renewals) that happen when the app's not running ARE being detected when the app re-opens, but they're being picked up by the paymentQueue(_:updatedTransactions) method. And the transactions are not being properly handled.
Now I can see what's happening I'll hopefully be able to put a fix together quickly!

Honestly, I had and still have the same issue, but I thought this is how it works in local env. Because on prod env (App Store) I don't have this issue, however it was frustrating 😀, good that I'm not the only one with this issue

@russell-archer Thank you for looking into this. I wasn't clear at all when speaking about 'ghost transactions' indeed :-) I meant the transactions happening while the app was closed.
It could be a Storekit cache problem though, if I delete the
~/Library/Group Containers/group.com.apple.storekit/Library/Caches folder the missed transactions are retrieved without problems by the Storehelper.handleTransactions().
Testing now with the Sandbox.

@chriswitko Glad it works in production though, I was afraid something is very wrong with the Subscriptions on MacOS and they're not really usable.

OK, tested in the sandbox environment too, and it's the same as with local testing. Deleting the caches helps here too.

I've made some minor changes and done a fair bit of testing. I think subscriptions are now correctly auto-renewing when the app isn't running (i.e. they're picked up correctly when the app restarts). This is for local StoreKit and Sandbox testing. I don't want to do anything too drastic as I don't want to break something that is working correctly in production!

@russell-archer now it works properly :) thank for the fix!


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1203 ms

Resolved: Bofrost.lu performance has improved in 87a9fd8 after 25 minutes.


org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property...no setter

using 2.0 snapshot
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set property.....
'eventlist' to'Complete' on org.asteriskjava.manager.event.QueueStatusCompleteEvent: no setter.
'listitems' to'1' on org.asteriskjava.manager.event.QueueStatusCompleteEvent: no setter.
'eventlist' to'Complete' on org.asteriskjava.manager.event.StatusCompleteEvent: no setter.
'listitems' to'0' on org.asteriskjava.manager.event.StatusCompleteEvent: no setter.
'eventlist' to'Complete' on org.asteriskjava.manager.event.QueueStatusCompleteEvent: no setter.
'listitems' to'1' on org.asteriskjava.manager.event.QueueStatusCompleteEvent: no setter.
'language' to'en' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0sourcessrc' to'0x21337ddc' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0dlsr' to'2.0960' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentntp' to'3522090500.17560498606080' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentpackets' to'604' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentrtp' to'96800' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'uniqueid' to'1436111389.0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'reportcount' to'1' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0cumulativelost' to'0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0sequencenumbercycles' to'0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'ssrc' to'0x35552983' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0highestsequence' to'50896' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0fractionlost' to'0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentoctets' to'96800' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0iajitter' to'49' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'to' to'[::1]:0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0lsr' to'3500631455' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'channel' to'SIP/2001-00000000' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'language' to'en' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0sourcessrc' to'0x21337ddc' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0dlsr' to'4.8920' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentntp' to'3522090503.17560498606080' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentpackets' to'744' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'sentrtp' to'119200' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'uniqueid' to'1436111389.0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'reportcount' to'1' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0cumulativelost' to'0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'report0sequencenumbercycles' to'0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.
'ssrc' to'0x35552983' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter.

Speedy, would you be able to add the setters and submit a pull request?

bsutton,
I wish I knew how, as I'm not a dev, just an intergrator/generalist.  Can you provide me with some examples on the "how" and I'll be happy to give it a try.

closing as resolved as part of #112 fixes.


Paths should be settable outside of library import

Reference folder and screenshot folder should be settable outside library import, probably with their own keywords Set reference folder and Set screenshot folder

:+1:


db:migrate issue

When I run bundle exec rake db:migrate, it throws the following error:
NameError: undefined local variable or method `logger' for #ActionDispatch::Routing::Mapper:0x007fd2ccec7358

Hey, thanks for the feedback! Is there any chance you could give us the full stack trace so we can help figure out what's going on? Thanks!

@orenyk I get this error while deploying ti Heroku. (I did rake db:schema:load during my initial setting up my db so I probably missed it locally)
Anyway, here is the stack trace:
remote:        Running: rake assets:precompile
remote:        rake aborted!
remote:        NameError: undefined local variable or method `logger' for #<ActionDispatch::Routing::Mapper:0x007fec31d65978>
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/devise_cas_authenticatable-1.7.0/lib/devise_cas_authenticatable/routes.rb:24:in `raise_no_secret_key'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/devise-3.5.3/lib/devise/rails/routes.rb:223:in `devise_for'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/config/routes.rb:6:in `block (2 levels) in <top (required)>'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/devise-3.5.3/lib/devise/rails/routes.rb:365:in `block in devise_scope'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:941:in `block in constraints'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:817:in `scope'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:941:in `constraints'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/devise-3.5.3/lib/devise/rails/routes.rb:364:in `devise_scope'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/config/routes.rb:5:in `block in <top (required)>'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:434:in `instance_exec'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:434:in `eval_block'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:412:in `draw'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/config/routes.rb:1:in `<top (required)>'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `block in load'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:40:in `each'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:40:in `load_paths'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:16:in `reload!'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:26:in `block in updater'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/file_update_checker.rb:75:in `call'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/file_update_checker.rb:75:in `execute'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:27:in `updater'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/config/environment.rb:23:in `<top (required)>'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application.rb:328:in `require_environment!'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application.rb:457:in `block in run_tasks_blocks'
remote:        /tmp/build_547ef4ce8fa82266c8ceb2f3154e8d0f/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-3.0.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
remote:        Tasks: TOP => environment
remote:        (See full trace by running task with --trace)
remote:  !
remote:  !     Precompiling assets failed.
remote:  !
remote:
remote:  !     Push rejected, failed to compile Ruby app
remote:

Thanks for the update. If you're pushing to Heroku using the CLI, did you set the toolbelt to use our custom buildpack (see here)? Separately, this bug has been resolved in the related gem and we'll be updating our dependencies shortly. Let me know if changing the buildpack helps, thanks!

@loganfreeman @tochman any update?

CNR on release-v6.0, closing.


PLAT-111227 Prevent unnecessary renders

Checklist

[x] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[x] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Several HOCs seem to be causing unnecessary re-renders by permuting props or updating state.
Resolution
Avoid updating state or generating new props when not needed.
Additional Considerations
No regressions have been seen from this but if components were counting on the unnecessary re-renders, they could have problems.
Links
PLAT-111227
Comments

Oh, I've also found esline yesterday and fixed in my PR https://github.com/enactjs/enact/pull/2801.
:shame:

Good work, @webOS101! I shared a couple comments above but nothing blocking.


[Browser] Use modular imports

Also now uses the Realm.Private module instead of including a custom Realm_Private.h
\c @jpsim @GreatApe

@alazier addressed your comments

rebase

@alazier rebased

:+1:

Sorry I missed this until now, but always nice with some spring cleaning of headers!


Add user arg for docker driver

Allow 'user' to be specified when providing arguments to the docker
driver.

Thanks @logan2211! Can you rebase and get a CI run in for this change?

@logan2211 the intent looks great! And yet, it looks like some tests need to be adjusted. Please see errors in the CI: https://travis-ci.com/ansible/molecule/jobs/176204166#L1042.

@logan2211 Please fix conflicts so we can merge it.

I was unable to resolve conflicts on this due to lack of push rights, but I pushed them on https://github.com/ansible/molecule/pull/1889 -- please join the revived PR.


Spawn grave in specific coordinates

Hi, thank you for making this awesome mod!
I'm wondering if it's possible (now or maybe in the future) to configure the grave to only spawn in a specific location/coordinates?

You mean like in a radius from a specific block? I could implement a feature like this but I would need more context to how it would work

Hi,
Thank you for the quick reply! Sorry for not giving enough context previously.
I have an idea to build something like a bonfire in Dark Souls. This structure will most likely be placed near the spawn (0, 0).
So every time the user dies, they can retrieve their item from the bonfire.
In my opinion, this can make the game easier for new players that die in a place that is hard to reach without having their equipment back first. But still give some sort of punishment for advanced players since they at least need to go back to spawn to retrieve their items.

So you want to have a graveyard, that whenever someone die, their grave will generate there. No matter where. Is this correct?
I could implement a feature where you could add coordinates in the config that if empty, your grave will generate there, and otherwise try to generate where you died instead. Would this work or are you looking for anything else?

Yes, correct! It's pretty much like what you said,
If the users put a coordinate in the config files, the grave will always be generated around that area of the coordinate.

Ok I have the functionallity implemented I just need to push it to a new version. Will do this first thing in the morning hopefully (in like 8 hours). Just have to patch a little bug of sorts first.

Thank you so much for implementing the feature! @B1n-ry ! I'll test it once it's available

Ok I finally fixed all the issues (I hope) and updated the mod. Versions 1.1.9 and 1.2.3 will have this feature. You can have a list of blocks in a datapack. You add a file data/yigd/custom/graveyard.json. In there your structure should look something like:
{
  "coordinates": [
    {
      "x": 24,
      "y": 45,
      "z": 13
    },
    {
      "x": 64,
      "y": 70,
      "z": 11
    }
  ]
}

Thank you for your request! Seemed like a cool idea!

Understood! Will try this tomorrow!


graphiQL broken?

The html output of /graphiql Does not output any JavaScript code and shows an empty page:
https://github.com/calebmer/postgraphql/blob/939a91ed20fc183bcd0fc8367a7b6af891e6a2de/src/postgraphql/graphiql/public/index.html

That file is built with create-react-app which injects a script tag 😊
What environment are you currently working in? I don’t think that refactor has been published. You should be able to start a create-react-app server with ./scripts/dev in development mode.

As mentioned in #334 it seems like scripts/dev works at my computer now (don't have the logs of when it broke) so development works. Sorry for taking your time.


[ci:component:github.com/gardener/autoscaler:v1.22.1->v1.22.2]

How to categorize this PR?

/area TODO
/kind TODO
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

/close
in favour of https://github.com/gardener/gardener/pull/6295


Is there any plan to support v8 in phantomjs?

<EMAIL_ADDRESS>commented:

Current we use jscore as the core javascript engine in WebKit,
but I wonder is there any plan to backport Google v8 to phantomjs?

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #1074.
:star2:   1 people had starred this issue at the time of migration.

Is this still accurate as of August 2015?

Yes.  There has been some discussion of moving away from QtWebKit but nothing you should be holding your breath for.

Could someone please post the links to the original discussions? Or better - to summarize those here?


Issue with Localizable.string file

Hi guys, when will you be able to make a new release for this pod with the new name for you localisable strings file name ? It actually messes up with my whole project and I would be pleased to have this fixed before releasing our next version of our application.

You can always use a pod from master with the fix included. Instructions are in #16 (which this one is a duplicate of).

And, as a crazy coincidence - the next release is live. (1.8.1)


(feature) load the same file with different rule sets without inline loaders

Do you want to request a feature or report a bug?
feature

What is the current behavior?
you need to use import Styles from 'style-loader!css-loader?modules!./styles.css';
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
i would like to be able to load the same kind of file with different rule sets defined in the config
pseudo code exampe:
import Styles from './styles.css' as 'css-module'
and then you have the rules for css-module in webpack.config.js
If this is a feature request, what is motivation or use case for changing the behavior?
i don't like having loader configuration in the source code
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

https://webpack.js.org/configuration/module/#rule-resourcequery is what was looking for


Fix the path_filestat test on Linux

Only very recently in #700 did we actually start running wasi tests
again (they weren't running by accident). Just before that landed we
also landed #688 which had some refactorings. Unfortunately #688 had a
minor issue in it which wasn't caught because tests weren't run. This
means that the bug in #688 slipped in and is now being caught by #700
now that both are landed on master.
This commit fixes the small issue introduced and should get our CI green
again!

I think we need a corresponding change to crates/wasi-common/src/sys/unix/linux/filesystem.rs too.


docker SIGSEV by goroutine 10181 miekg/dns?

Hi,
since a few days my docker.io-19.03 on Debian unstable crashes with this messages ...
3 22:35:52 <myDockerHost> dockerd[2472708]: panic: runtime error: invalid memory address or nil pointer dereference Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x11 pc=0x55bbc9db237b] Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: goroutine 10181 [running]: Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: github.com/docker/libnetwork.(*resolver).ServeDNS(0xc000c95500, 0x55bbcb91cec0, 0xc001e752c0, 0xc001e92b40) Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: #011/build/docker.io-yDS88k/docker.io-19.03.6+dfsg1/.gopath/src/github.com/docker/libnetwork/resolver.go:487 +0x79b Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: github.com/miekg/dns.(*Server).serveDNS(0xc0009a8900, 0xc000e02200, 0x2f, 0x200, 0xc001e752c0) Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: #011/build/docker.io-yDS88k/docker.io-19.03.6+dfsg1/.gopath/src/github.com/miekg/dns/server.go:609 +0x2e2 Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: github.com/miekg/dns.(*Server).serveUDPPacket(0xc0009a8900, 0xc000a4a230, 0xc000e02200, 0x2f, 0x200, 0xc0000d6b90, 0xc001e95240) Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: #011/build/docker.io-yDS88k/docker.io-19.03.6+dfsg1/.gopath/src/github.com/miekg/dns/server.go:549 +0xb4 Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: created by github.com/miekg/dns.(*Server).serveUDP Mar 3 22:35:52 <myDockerHost> dockerd[2472708]: #011/build/docker.io-yDS88k/docker.io-19.03.6+dfsg1/.gopath/src/github.com/miekg/dns/server.go:479 +0x2ae Mar 3 22:35:52 <myDockerHost> matrix-synapse[2478824]: time="2020-03-03T22:35:52+01:00" level=error msg="error waiting for container: unexpected EOF" Mar 3 22:35:52 <myDockerHost> matrix-riot-web[2478803]: time="2020-03-03T22:35:52+01:00" level=error msg="error waiting for container: unexpected EOF" Mar 3 22:35:52 <myDockerHost> matrix-postgres[2478754]: time="2020-03-03T22:35:52+01:00" level=error msg="error waiting for container: unexpected EOF" Mar 3 22:35:52 <myDockerHost> matrix-mailer[2478764]: time="2020-03-03T22:35:52+01:00" level=error msg="error waiting for container: unexpected EOF"’
Could it be related to this library?
Thanks in advance and for any useful hints!

[ Quoting<EMAIL_ADDRESS>in "[miekg/dns] docker SIGSEV by gorout..." ]

Hi,
Could it be related to this library?

maybe. Can you provide a test case without the docker code and only our code and reproduce
the crash?
pcap with dns data would be needed as well (or would make this easier)

Hi miekg,
if you tell me how i will try it ...

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/dns] docker SIGSEV by go..." ]

Hi miekg,
if you tell me how i will try it ...

sorry, I can't make time for this. Looks docker problem to me, so they need to fix,
deep/dive it.
happy to jump in when we're doing something wrong
/close

Thats right, its related to docker 19.03. debian packages, switching to docker-ce from docker repos solve this issue ...


github,tests: Add Pyunit tests to CI GitHub Action Workflow

Due to an oversight, the PyUnit tests were not being run as part of the gem5 CI tests. This was because they are located in "tests/pyunit" instead of "tests/gem5", where the CI GitHub Action workflow searched for tests to run and where all other tests reside.
This adds the Pyunit tests as a seperate job in the CI GitHub Action's workflow.

@Harshil2107 : The Pyunit tests are failing with an error that looks like this:
(stdlib.resources.pyunit_client_wrapper_checks.ClientWrapperTestSuite) ... warn: Attempt 1 of Atlas HTTP Request failed.
Purpose of Request: Get Access Token with API key.

Failed with Exception:
mocked_requests_post() got an unexpected keyword argument 'context'

Retrying after 2 seconds...
warn: Attempt 2 of Atlas HTTP Request failed.
Purpose of Request: Get Access Token with API key.

Failed with Exception:
mocked_requests_post() got an unexpected keyword argument 'context'

Retrying after 4 seconds...
warn: Attempt 3 of Atlas HTTP Request failed.
Purpose of Request: Get Access Token with API key.

Failed with Exception:
mocked_requests_post() got an unexpected keyword argument 'context'

Retrying after 8 seconds...
Exception thrown while getting resource 'x86-ubuntu-18.04-img' from client 'gem5-resources'

ERROR
test_get_resource_json_obj_combine (stdlib.resources.pyunit_client_wrapper_checks.ClientWrapperTestSuite) ... warn: Attempt 1 of Atlas HTTP Request failed.
Purpose of Request: Get Access Token with API key.

Failed with Exception:
mocked_requests_post() got an unexpected keyword argument 'context'

Retrying after 2 seconds...
warn: Attempt 2 of Atlas HTTP Request failed.
Purpose of Request: Get Access Token with API key.

Failed with Exception:
mocked_requests_post() got an unexpected keyword argument 'context'

Retrying after 4 seconds...
warn: Attempt 3 of Atlas HTTP Request failed.
Purpose of Request: Get Access Token with API key.

Failed with Exception:
mocked_requests_post() got an unexpected keyword argument 'context'

(full output here: https://github.com/gem5/gem5/actions/runs/8684132633/artifacts/1413382447)
Could you try to fix this and push a patch this PR test?


Auth0.OidcClient.UWP v3.1.0 is broken

Issue Report
If you are reporting a bug, please fill the sections below (if they are applicable), otherwise feel free to delete those that don't apply. Thank you! 🙏🏼
Description
"Forbidden" error when trying to display login screen in UWP sample app
Expected behaviour
Login screen to be displayed
Actual behaviour
The screen does not show and forbidden error is returned
Steps to reproduce the problem
Download sample app, update to Auth0.OidcClient.UWP v3.1.0, run it.
Note that populating the app ms-app uri causes the login screen to display, but it does not return to the app afterwards. When I downgraded to version 2.4.3 returnUri is pre-populated and everything works as expected.
Language / Framework Versions

Language used: C#
Framework used: Microsoft.NETCore.UniversalWindowsPlatform v6.2.9

Testing environment

Operating system: Win10
Browser version: N/A

Screenshots
Feel free to insert here any screenshots that you consider helpful in solving your issue.
Filling this, you're helping yourself and repo maintainers in solving your issues quicker! Teamwork makes the dreamwork 🤜🏼🤛🏻

I got this to work adding https://{Domain}/mobile to the callback and logout URIs

I believe this is fixed now with the latest changes, if this issue still persists respond to this issue and we'll reopen it.

Hi
I'm getting a similar issue right now Auth0.OidcClient.UWP v3.1.2
To not get the "Forbidden" answer, I include my App callback URI (ms-app://...) as RedirectUri and PostLogoutRedirectUri.
When doing this, I have a succesful login message in Auth0 logs.
However, instead of going back to my app and retrieving the succesful connection data, I reach a "you'll need a new app..." page from which I can't do anything except cancelling - then I go back to my application with a "UserCancel" error.

Hi
I'm getting a similar issue right now Auth0.OidcClient.UWP v3.1.2
To not get the "Forbidden" answer, I include my App callback URI (ms-app://...) as RedirectUri and PostLogoutRedirectUri.
When doing this, I have a succesful login message in Auth0 logs.
However, instead of going back to my app and retrieving the succesful connection data, I reach a "you'll need a new app..." page from which I can't do anything except cancelling - then I go back to my application with a "UserCancel" error.

Any luck on fixing this? I am having the same issue

Sorry for the delayed reply. My guess it this is due to a misconfiguration on the Callback URL in Auth0. Apparantly our quickstart was not updated to align with Auth0.OidcClient.UWP v3.1.2.
Could you try and use the following callback URL in your Auth0 dashboard: https://{AUTH0_DOMAIN}/mobile (replace {AUTH0_DOMAIN} with your tenant's domain).
Another solution that might work is setting the Browser to new WebAuthenticationBrokerBrowser(), in that case you also need to provide the RedirectUri:
client = new Auth0Client(new Auth0ClientOptions
{
    Domain = domain,
    ClientId = clientId,
    Browser = new WebAuthenticationBrokerBrowser(),
    RedirectUri = Windows.Security.Authentication.Web.WebAuthenticationBroker.GetCurrentApplicationCallbackUri().AbsoluteUri
});

Let me know if that does or does not help.

The quickstart has been updated.


[RMQ-387]Standardize the startup class structure

Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
Standardize the structure of the XxxStartup classes.
Brief changelog
Divide current code into multiple methods so that NamesrvStartup has the same batch of methods as BrokerStartup
Verifying this change
Nothing breaks after applying this changes
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x ] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[x ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

This is a pretty minor change. Guys please move quickly.


Ecto latency issue

Environment

Elixir version (elixir -v): 1.7.1
Database and version : 9.6 postgres
Ecto version : 3.0.4 (same problem with 2.2)
Database adapter and version: postgrex 0.14.1
Operating system: alpine

Current behavior
I’m having some issues with ecto when running our app in production where around 1/5 of the queries that ecto processes take around 10x (fast: 5-10ms, slow: 75-100ms) as long as the quickest ones even if it’s the exact same query running. The only place I’m seeing the spike in the ecto query_time is on the the first database call that the server must make when it is flowing through all the code required to respond to a request. After the first db query is made wether it was slow or fast all of the following db queries are very fast around 1-3 ms. If I hit a different route that runs a different first query upon request I can see the exact same random latency of about 1/5 requests.
Context of environment: I’m running this on an AWS instance and also using an Aurora Postgres instance from AWS. The server is running inside of a kubernetes cluster and we have two pods running, each with one container running our service. In the AWS database dashboard I can see there are 20 active connections at almost all times unless we take something down, which makes sense because our pool size is set to 10 and we have two pods. When I look at the postgres logs for how long it spends processing the queries on the actual db itself every single query is under 1ms because I’m not doing anything to complex basically just selecting based on a column on a relatively small table of under 100 rows.
My only thought is that something around the connection pool is not working properly which is causing the random lag time on some of the requests. I also have the ecto.logentry record broken down into little sections and have found that the queue_time is almost instant (under 1 ms), the decode_time is also almost instant (about 1 ms), but the query_time is 75ms+. I am absolutely shocked that it is the query_time that is taking so long for us because on the actual DB the query is handled basically instantly (1 ms). My only thought is that there is some sort of random overhead that ecto adds to the query when it is the first query run for any given network request.
This seems to be a bug in how the connections are handled in the connection pool or something related to that.
Does anybody have any ideas on what could be causing this or have any ideas on a little experiment that I could write that could possibly help me debug this?
Expected behavior
I expect my ecto queries to the DB to have a more predictable and stable outcome

It is worth noting that the "query_time" is not the time reported by the database but the time Ecto takes making the query. Therefore, if the system is overloaded and the VM needs to schedule out the current process doing the query for something else to run, then that will be reported as a very high time.
So my suggestion is to start tracking memory usage, run queue, load and other information of the current node. If all values are low and without spikes and you still see spikes in the query time, then something else is the root cause.

So if I do somehow discover that our process is getting preempted and its just taking a little bit of time to get switched back to (around 70ms) is there anything I can do about this to make it not happen? Is there any way to give phoenix and elixir a higher priority for the OS scheduler so that they dont get preempted? Or is this something I maybe just have to just accept?

If the OS process is the one preempting it, then you need to run less things on that particular node. If the preempting is coming from Erlang, then your machine is overloaded, and you need to bump resources. In other words, if your system is overloaded, I don't think you can escape from adding more resources.

I dug down a little lower level and found the +sbt option we can pass to the erlang vm, do you have a good idea of any settings I could maybe give to +sbt that would reduce the worst case latency from context switching If I dont need to do insane amounts of conccurent traffic and just want reduced latency on all requests across the board?

Maybe if you tie it to some schedulers and configure the OS to rely on the other ones, it could work, but it is hard to know without figuring out the root cause and the type of payloads.

ok gotcha, If we boot our server with mix phx.server in our dockerfile is there a way I can pass erlang vm options to it? Locally i got 'iex --erl "options_here" -S mix phx.server' to start up fine and when i replace iex with 'elixir' it fails due to some error in redis. Is there a way I can set a flag for the --erl options or is there a line I can add to my mix.exs? I looked around and found something called exrm, but it looked like quiet a bit of changes I would need to do in order to test one small thing.

Yea I would've expected it to work as well when i run it with elixir at the front I get a stacktrace
** (Mix) Could not start application aaa_service: exited in: AaaService.Application.start(:normal, [])     ** (EXIT) an exception was raised:         ** (FunctionClauseError) no function clause matching in Redix.Utils.sanitize_starting_opts/2             (redix) lib/redix/utils.ex:35: Redix.Utils.sanitize_starting_opts(nil, [name: :redix])             (redix) lib/redix/connection.ex:34: Redix.Connection.start_link/2             (aaa_service) lib/aaa_service/application.ex:26: AaaService.Application.start/2             (kernel) application_master.erl:277: :application_master.start_it_old/4
However when i run with iex it works just fine. Not really sure how to proceed from here. I can go post this in a different forum now that it's getting into the weeds. Thanks for everything you are very helpful

Maybe you are forgetting to set some environment variables that are actually set when the iex command is running?

So we looks at our CPU usage over time and we don't go above 5%. So I would think we are on a relatively low load. I tried deploying with the various flags that we can pass to +sbt in order to try to change the way the erlang vm is scheduling things, but none of the settings seemed to affect anything in the way we needed it to. Is it worth trying to manually set the process_priority level when we are about to make an ecto call so that the current thread might not get switched out and have to context switch back? I don't mean setting the priority to max because that will of course bog down the scheduler for erlang to do the things it needs to do, but what about setting it to something like 'high'? any thoughts on whether this might do anything for us?

At this point we can only speculate. The next would be to make this reproducible somehow so we can take a further look at it. :)

Hi @kattawar! Please let us know if we can reproduce this issue. Otherwise, our hands are tied. In case you have a reproduction case, we will gladly reopen this. Thank you.


Trying to understand automatic gamepad detection

First of all thanks for all the hard work on Batocera!
This is not an issue per se, hopefully this is the right place to ask this!
I noticed than your version of ES has a feature that I Would like to implement on the ES version I use (The one from Retropie)
Automatic gamepad detection when you already have another setup.
if I set my 1st gamepad in Retropie (lets say P1) and I connect another one, I have to go into the menu with P1 and manually go into the setup input screen so I can set up another gamepad, if for any reason I don't have the P1 gamepad connected there is no way to enter the menu until I connect the P1 gamepad and go request the input setup manually, or reboot without the P1 gamepad connected.
In Batocera as soon as I connect a new gamepad I get a nice pop-up asking me if I want to set it up, even if I have P1 disconnected.
Could you point me in the right direction as to where this happens in the code? or the commit where this was implemented?
Been trying to do it for a while, but my knowledge of C++ is very limited.
Thanks!

https://github.com/batocera-linux/batocera-emulationstation/blob/master/es-app/src/views/ViewController.cpp#L374

Thank you so much! don't know how I missed that part!


Peers menu rendering problems

Describe the bug
This is three bugs reported as one. I’m assuming they’re related, though.

The peer, bookmark, and info pop-out dialogs don’t paint fully, or are very slow to paint. Only shows the top border of the window. (First screenshot below).

Buttons that open pop-out dialogs get stuck in pressed state even though the dialog is closed. (Second screenshot.) I believe this has to do with switching tabs while a pop-out attached to another tab is open.

The pop-out dialogs sometimes blink in and out repeatedly. Have to restart Beaker to fix it. Video (you’ll need to download and play it locally): hyper://0c3fdb310329ffad53aa70549d04f7b9c5b09e3f6d92d01f61943579e62bac2a/screenrecording.mp4

To Reproduce
Unknown. Happens frequently but can’t pinpoint the steps.
Screenshots

Desktop (please complete the following information):

OS: macOS
Browser: Beaker
Version: 1.0-pr2

Thanks for filing, I'll check into it

I just pushed an update which I think should solve this. If you still see this after tomorrow's release, please let me know.


[Bug] --empty flag generates invalid SQL when running adapter.get_columns_in_relation

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When running the --empty flag introduced in DBT 1.8 adapter.get_columns_in_relation generates and runs an invalid DESCRIBE TABLE statement, halting the run. The statement looks roughly like:
describe table (select * from TABLE_NAME_HERE where false limit 0)
Which generates the error:
  001003 (42000): SQL compilation error:
  syntax error line 1 at position 15 unexpected '('.

Expected Behavior
adapter.get_columns_in_relation should fallback to some reasonable default when running with the --empty flag, or alternatively throws a more intelligible error message.
For our usages, I'm working around it by guarding calls to adapter.get_columns_in_relation behind a check on whether we're running in empty mode. However, this is cumbersome and a bit error prone.
Steps To Reproduce

In DBT 1.8 on Snowflake
Run ./dbt run --empty on a model that uses adapter.get_columns_in_relation
The error will be thrown

Relevant log output
No response
Environment
- OS: Linux
- Python: 3.11
- dbt-adapter: dbt-snowflake

Additional Context
No response

May be related to https://github.com/dbt-labs/dbt-core/issues/10139

@jlucas91 Thanks for opening - I think it's actually the same as:

https://github.com/dbt-labs/dbt-snowflake/issues/1033

This isn't Snowflake-specific, it would be relevant anywhere we're:

templating out {{ relation }}, as a string
as the resolved form of a ref/source call
in a metadata query (show/describe/etc) where we don't want to access the actual underlying data

I don't think that happens everywhere:

e.g. redshift__get_columns_in_relation doesn't template out {{ relation }} as a string, it decomposes it into database/schema/identifier
most metadata in BigQuery is via Python SDK
create / drop / alter statements don't tend to be used for the direct result of a ref/source call

So while on first read I was worried this was going to be an issue everywhere — I think we just need to do the work of combing through those call sites in our adapters. A reasonable lift, but it feels doable. In the meantime we can document this as a limitation.

Scope of this fix should also include adding tests to cover some of these edge cases, resolving https://github.com/dbt-labs/dbt-snowflake/issues/1033 and updating maintainer docs

Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/5734


Rename clearDirtyFlags to less ambiguous hasDirtyFlags.

Thanks, I've renamed to clearRenderDirty which should be a little clearer. clearDirtyFlags suggests it might clear other dirty flags, such as transformDirty, which it does not :smile:


Undo - Fail Upload Images and Meta

Hello i uploaded 600 Images and 600 Metadata.
Then i realized that my NamePrefix for the NFT is wrong.
Now i want to clean the uploaded data and uploade the right images with right metadata for mint.
I dont minted the first 600 NFTs.
When i now upload again 600 Images and metadata and then mint will there only be minted the secound 600 NFTs or all 1200 wich was uploaded before.
Is there a way to clean bevore i uploade and mint?

If you haven't minted them then there will only be 600 after you upload the corrected metadata. No need to upload the images again.


add tokens for cl_amd_device_attribute_query

fix #89

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


How about Windows?

Requirements:

Java - cannot be newer than 8
NodeJS - cannot be newer than version 9
Gradle
Python
Yarn

Then I get this error from yarn
"error C:\git\theia-xtext\node_modules\nsfw: Command failed."
This is described in a Theia issue - Which basically requires the Ubuntu "build-essential"
https://github.com/theia-ide/theia/issues/2174
How do I go about getting this to work on my Windows PC ?

This issue is not about Theia but NodeJS on Windows.
You'll find the way to install build tools by googling npm install --global --production windows-build-tools

A little late answer, but it is correct ! Please update the instructions.


Point Cloud, Mesh export

Thank you for sharing the good code.
Existing NeRF Studio is using the export sector the most, can the Gaussian splatting model be used in NeRF Studio as well?

Hi, only RGB image is supported currently.


EventsDailyFromArtifact and EventsDailyFromProject continuous aggregate

What is it?
In the future, we might represent a person as a Project. This will be useful when tracking how active a user is

Done here
https://github.com/opensource-observer/oso/pull/460


scheduler: not panic in the case of unexepected dropped channel when shutting dowm

What is changed and how it works?

Issue Number: Ref #15202
What's Changed:

not panic in the case of unexepected dropped channel when shutting dowm

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)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

/merge


Implement a client package for CRUD access for machine object.

It's implemented by wrapping around RESTFul API by following the
standard k8s object pattern.

This change is

/assign ajitak

/assign pipejakob


Jenkins artifact build is broken due to a docker issue on Linux workers

We have been unable to run artifact builds on Jenkins to make a release since last evening.
https://grpc-testing.appspot.com/view/Artifacts/job/gRPC_build_artifacts/1784/platform=linux/console

https://grpc-testing.appspot.com/job/gRPC_build_artifacts/platform=linux/1997/console
@matt-kwong the issue has reappeared on Jenkins

Removing the RELEASE BLOCKER and downgrading to P1 because I am able to fetch the remaining Python packages off of Kokoro but it is a pain. Although if Jenkins is going away soon, further investment may not be justified.

I'd like to do use Kokoro exclusively for the next release. Let me know if you're planning on doing the next release or who, so I know who to sync up with to switch to Kokoro.
Also, the way to fix this is to remove the Docker image cache on the Jenkins VM worker, but this breaks the artifacts building process, because our manylinux Dockerfile cannot be built. It currently does a git clone, which GitHub blocks because of its outdated TLS. There's a few workarounds I have in mind to fix this, but I think we should try using Kokoro to avoid the problem :)

Ok, let's not touch Jenkins for this release and wait for Kokoro to come up.


Add option for ignoring no-extraneous-dependencies by package name

I think there should be an option in import/no-extraneous-dependencies to exclude by package name for such as non-explicitly in package.json sub dependency.
For example @storybook/addon-actions that normally and should be added as sub dependency of @storybook/addon-essentials. In this situation, adding ignore comment for every stories file is unrealistic I think.
Sorry if this can already be set, or if this is an Issue that already exists.

My case is that I'm importing types from, for example @types/aws-lambda, like this:
// this is a type import, it'll dissapear in the built code
// eslint-disable-next-line import/no-extraneous-dependencies
import { SQSEvent } from 'aws-lambda';

It'd make my life easier to be able to ignore import/no-extraneous-dependencies errors for package @types/aws-lambda (or aws-lambda, not sure how that part works)

@mutantcornholio use import type

Hmm, somehow I thought that import type is something from Flow and doesn't work in TS, but... thanks :)

+1 for this feature request. In my case, we have a specific dependency (charcodes) that is always inlined at compile (through babel-plugin-transform-charcodes time and thus it should not be in dependencies. For all other imports, I need this rule to make sure that I am including them in dependencies and I'm not just accidentally relying on them due to them being present in my transitive dependencies.
Ideally, I'd like something like the following:
    rules: {
      "import/no-extraneous-dependencies": [
        "error",
        { devDependencies: false, ignore: ["charcodes"] },
      ],
    },

I'm happy to open a PR if it's something that would be acccepted.

@nicolo-ribaudo by not including that in dependencies, you've deprived consumers of being able to construct an accurate SBOM or detect when charcodes has a CVE or a license conflict. "dependencies" is for all conceptual runtime deps, not just the things that end up used directly from node_modules.


Promote Learner need not panic on failure condition.

Currently promote_leader can panic on a failure case.
https://github.com/pingcap/raft-rs/blob/1e0741a9aea3b242d33dadc46245ad611e7e7aa4/src/progress.rs#L129-L136
This issue would be solved if promote_leader() instead returned a value such as Result<()> so the calling code can handle the situation.

This is resolved in #102


Bandwidth and traffic showback support

one.vm.allocate hooks needs to be made to put zero traffic record

one.vm.allocate hooks needs to be made to put zero traffic record

[ ] one.vm.allocate hook
[ ] traffic_record model
[ ] traffic biller class
[ ] traffic records source class
[ ] add to showback

[ ] one.vm.allocate hook
[ ] traffic_record model
[ ] traffic biller class
[ ] traffic records source class
[ ] add to showback


Luarocks pyupdater followup

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 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

[ ] Fits CONTRIBUTING.md.

I've checked all updaters keep working. The lua updater is much much faster with the proc mechanism (the old bash script relied on parallel but it never worked for me). The luarocks update doesn't rewrite_input as vim does but I hope it can some day.

This broke the script for me:
❯ ./maintainers/scripts/update-luarocks-packages
Traceback (most recent call last):
  File "/home/bemeurer/src/nixpkgs/./maintainers/scripts/update-luarocks-packages", line 193, in <module>
    main()
  File "/home/bemeurer/src/nixpkgs/./maintainers/scripts/update-luarocks-packages", line 188, in main
    update_plugins(editor, args)
  File "/home/bemeurer/src/nixpkgs/maintainers/scripts/pluginupdate.py", line 553, in update_plugins
    update = editor.get_update(args.input_file, args.outfile, args.proc)
  File "/home/bemeurer/src/nixpkgs/./maintainers/scripts/update-luarocks-packages", line 113, in get_update
    cache: Cache = Cache(self.cache_file)
TypeError: __init__() missing 1 required positional argument: 'cache_file_name'

If I revert this change it works again (git revert -m 1 4de33380ef1)

arf thanks for catching it https://github.com/NixOS/nixpkgs/pull/133685

pretty sure this broke pkgs/misc/vim-plugins/update.py for me
❯ GITHUB_API_TOKEN=~/gh ./update.py --add allendang/nvim-expand-expr@main
warning: unknown setting 'experimental-features'
847 plugins were checked
updated /home/figsoda/.nixpkgs/pkgs/misc/vim-plugins/generated.nix
committing to nixpkgs "vimPlugins: update"
848 plugins were checked
updated /home/figsoda/.nixpkgs/pkgs/misc/vim-plugins/generated.nix
Traceback (most recent call last):
  File "/home/figsoda/.nixpkgs/pkgs/misc/vim-plugins/./update.py", line 94, in <module>
    main()
  File "/home/figsoda/.nixpkgs/pkgs/misc/vim-plugins/./update.py", line 90, in main
    pluginupdate.update_plugins(editor, args)
  File "/home/figsoda/.nixpkgs/maintainers/scripts/pluginupdate.py", line 575, in update_plugins
    plugin = fetch_plugin_from_pluginline(plugin_line)
  File "/home/figsoda/.nixpkgs/maintainers/scripts/pluginupdate.py", line 350, in fetch_plugin_from_pluginline
    plugin, _ = prefetch_plugin(*parse_plugin_line(plugin_line))
TypeError: pluginupdate.prefetch_plugin() argument after * must be an iterable, not PluginDesc

Indeed, I had not tested --add, here https://github.com/NixOS/nixpkgs/pull/133832 is a fix (hopefully)

I think there is still a regression that inserts a bunch of spaces in the generated file
https://github.com/NixOS/nixpkgs/pull/133844

thanks for taking care of this.


Use Proper Locations for Golden IDs

This change swaps the UUID for golden tensors from only a monotonically increasing id to a filename and line number as well.
Closes #1300

extremely clean and great change
std::string getOpLocInfo(OpContext opContextHandle) {
  auto const &opContext =
      opContextHandle.as<::tt::target::ttnn::Operation>(DeviceRuntime::TTNN);
  return std::string(opContext.loc_info()->c_str());
}

Thanks @ctodTT :)


arm64 compilation warning (Win11)

Dear @jw1912 ,
just wanted to let you know about the following compilation warning und Windows on ARM64:

The resulting executable is fine however and working  (although generated in root instead of target/release): 😉

@ArminiusTux this is an irrelevant warning.
Additionally the makefile is intended to generate the executable in the root rather than target/release, you will notice the same behaviour from every single engine with an OB-compliant makefile.


Fix the new Connection.get_cursor method

I messed up in #73 and I forgot to update the method when I added support for subtransactions in #78. This branch fixes both of those mistakes.

The remaining issue is that with conn.cursor() as cursor and with conn.get_cursor() as cursor are now both valid but behave differently: the latter commits or rolls back at the end whereas the former only closes the cursor.


[feature] Implement AntiCaptcha or FlareSolverr support

Is your feature request related to a problem? Please describe.
There are a few sites that ident my browser as a bot, I have tried using residential ip's but it will still get flagged most of the time.
Describe the solution you'd like
I currently run my own Captcha solver, XEvil 6.0 which can handle pretty much all types of captchas and currently set to emulate AntiCaptcha's API.
If possible would love to see it get implemented, Implement AntiCaptcha's Plugin w/ Selenium
I even modified their plugin to use my server, would even be willing to provide an api key and plugin to help the devs with implementing.  XEvil supports AntiCaptcha, 2Captcha, De-Captcher, iMarcos, RipCaptcha, RuCaptcha, and DeathByCaptcha so others can also be implemented, not to mention quite a few of the others will either use the same API setup as AntiCaptcha or 2Captcha.
There is also another project I use, mostly for Jackett to auto search torrent sites called FlareSolverr.  It will attempt to bypass the hCaptcha's from Cloudflare (Captcha plugin solves them as well, but not currently supported by FlareSolverr) and output the site in a json response.
Would also love to see options to auto save cookies, for a more persistent experience. One of the current ways I am getting around the captchas is by solving it via a private browser and copy/pasting the cookies into changedetection however at some point I will most likely have to replace/update them manually.
Describe the use-case and give concrete real-world examples
Think I outlined it pretty well in the previous section but would like to see

Captcha solver plugin implemented when a captcha is detected
Ability for it to self update/store cookies

Additional context
If you wish to try my captcha plugin or need a api key to test, let me know (devs only).

That's pretty interesting, I never knew such technologies exist
One thing tho is that I see selenium as essentially deprecated when compared to Playwright+Browserless, Browserless has significantly more work added to it around evading bot detecting, and is just in general a better system to use (for example, selenium cant even take full page screenshots)
it seems that anti-captcha is a paid service tho right? https://anti-captcha.com/clients/entrance/login

Yes, most captcha solvers are paid but there are software you can purchase to do the work for you.
The current best being XEvil 6.0 (beta), followed by CapMonster.  I currently have a license for XEvil 6 that can potentially solve all text, math, google, and hcaptcha.  More then happy to provide access so there will be no out of pocket captcha solving costs on the dev teams part and I can adjust XEvils API to emulate the other paid services.
There are also other captcha solutions that emulate the larger services but are much cheaper like https://capmonster.cloud/en/ which can support most of the ones my software can.
Eitehr way if your interested, more then happy to send you my servers url and api key


[RJSF] Add title and some styling changes to rjsf components

Signed-off-by: Abhishek-kumar09<EMAIL_ADDRESS>Description
Some styling changes to rjsf forms
This PR fixes #

Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Thank you, @Abhishek-kumar09

The golang unit test failures... unrelated.


fade in and out menu

how would i make the menu fade in and out while opening and/or closing it?
can be seen in cheats such as skeet

ImGuiStyle* style = &ImGui::GetStyle();
style->Alpha = (0.f - 1.0f);
You should be able to figure out the rest yourself


Wrap Miscellaneous Functions

@isuruf Can you review this?

Ping @isuruf.

Can you add more tests?

Updated @isuruf.

Ping @isuruf.

Ping @isuruf.


two virtual batteries with two custom CCL

Hello,
Is it possible to have two independant custom CCL, when two virtual batteries installed?
"virtualBatteries": {
"com.victronenergy.battery.better_pylon":
["class:hooks.CustomChargingHook", "com.victronenergy.battery.origional_pylontech _battery"],
"com.victronenergy.battery.better_liontron":
["class:hooks.CustomChargingHook",com.victronenergy.battery.origional_liontron_battery"]
},
"classes": {
"hooks.CustomChargingHook": {
"ccls": {
"50": 100,
"51": 70,
"52": 30,
"52.5": 0
}
}
}
Best regards

Now, you can. You just need to append a "hashtag" to differentiate, eg "class:hooks.CustomChargingHook#batt1" and then "hooks.CustomChargingHook#batt1" for the ccl config.