Relational field inside of collection, when queried, crashes UI if related collection has many characters

Link to reproduction
https://www.youtube.com/watch?v=DPB1PQ2sL3E
To Reproduce

Create two collections - First with a text field. Second with a relational text field (such as localization).
Make sure that the second collection (relational field such as localization) is related to the first text field.
Create around 10-20 collection entries for localization or any other relational collection.
When adding these collections, try to add lorem ipsum with character lengths of around 3500 per.
Create a new collection entry for the First collection that was created.
Inside of the input field, start typing a related collection field name (in this example we will use a name from the localization collection).
Observe how after about entering 4 characters, the UI will freeze and the user is unable to click on anything.
User is forced to manually refresh the page.

Describe the Bug
When querying a search term inside of a relational field when creating or editing a collection, the UI is unable to retrieve data and freezes the user out from being able to click on anything on the client.
Tested on versions:
1.10.0
1.11.5
References:
https://discord.com/channels/967097582721572934/1118385770147893248
https://discord.com/channels/967097582721572934/1129105246073929889
Payload Version
1.11.5

Hi @eddDev1,
I've narrowed this issue down to the way in which we handle filtering on the frontend. We have a regex that handles word boundaries and cyrillic characters which is very expensive to run on larger patterns.
The strange thing is that this function execution does not seem to scale linearly with the length of the label like I would expect.
I've made a code sandbox of JUST the function we use for this operation here:
https://codesandbox.io/s/thirsty-keller-jgdql3?file=/src/main.js
I attempted to improve the execution time by splitting the label being searched into smaller chunks. It did perform faster, but I ran into issues where the results weren't as accurate specifically. There may be other ways to optimize this further.

I was able to split the string up differently and this seems to have fixed the perf problem and still work as expected in my testing.

I was able to split the string up differently and this seems to have fixed the perf problem and still work as expected in my testing.

Hey Dan! Thank you so much for looking into this! Per your latest comment, does this mean you have found a workable solution?


Use of travis-ci for continuous integration

See https://travis-ci.org/tleeuwenburg/keras
Extending on from the work on the test refactor, I have created a configuration file for 'travis ci'. Think of it as free Jenkins for open source projects. It requires adding a .travis.yml file to the repository, then for Francois to go set up the account at travis-ci. I have proven it works by setting Travis up to look at my fork, so I can do a merge request if this is seen as beneficial.
This is useful to the package maintainers as they can see as soon as anyone breaks the build, plus it is also a statement to the public of greater reliability.
In order to make it really mean something, more work will need to be done on the test coverage, this is just mechanics.

I think this would be a really great addition. Just out of curiosity, does Travis also enable continuous monitoring of performance? Ie to see how changes affect the runtimes of tests?

Hi Thomas,
Great idea.
Travis doesn't include that by default. I am trying to work out how to get
travis to create test reports, such as coverage information. What you
suggest is definitely a plausible thing, but I am not sure if it's possible
in that environment.
I'll look into it.
Regards,
-Tennessee
On 22 June 2015 at 17:44, Thomas McColgan<EMAIL_ADDRESS>wrote:

I think this would be a really great addition. Just out of curiosity, does
Travis also enable continuous monitoring of performance? Ie to see how
changes affect the runtimes of tests?
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/260#issuecomment-114029624.

--
Tennessee Leeuwenburg
http://myownhat.blogspot.com/
"Don't believe everything you think"

Hi Thomas,
I've spent some time Googling. Short version: I'm happy to help develop
some timing tests, but travis isn't going to help with performance
monitoring. It's entirely possible to use the automated testing tools to
run performance and timing tests.
There are a variety of tools which will integrate with travis to provide
reporting on test compliance and coverage (code climate, coveralls.io,
probably others) but none which offer reporting on performance.
The only project I know of that routinely reports performance stats is
http://speed.pypy.org/. This tracks the performance of pypy, across a
number of performance tests, normalised to the CPython 2.7 performance.
This is a specific web app developed by the pypy team. I've run a copy at
work before for internal use. Setting up a public site for Keras is doable
but the effort involved is probably a lower priority for me at the moment.
It is entirely possible to use the test infrastructure to conduct
performance tests and print out the reported values, or log them to a file.
It's not obvious that travis has a way of displaying or rendering the
performance outputs.
Performance monitoring is also challenging due to the need to hold the
machine specs constant. Travis is hosted in an environment where the
available CPU, memory etc would most likely be varying often. It would be
better to use some kind of VM configuration The pypy folk, last I checked,
have a specific physical machine on which the tests are run, and nothing
else is run on that machine at the time. The results from the speed tests
are then uploaded into a database and presented through the web interface
seen at speed.pypy.org.
For Keras, a huge factor will of course be the choice of CPU and/or GPU
used. It would be useful to have tests run on a variety of hardware.
The simplest thing is probably to develop timing tests which are not run by
default, but which can be easily run using the test framework. It would be
simplest to simply report on those manually, perhaps within the Readme.Md
file. It would be quite reasonable to take some 'classic' examples like
MNIST digit recognition and run timing on it. It would also be possible to
do this compared to other packages to provide some comparisons.
I'm not sure to what extent Keras development concentrates on speed
optimization. To a large degree, I assume that comes from the performance
of Theano, but there will presumably be parts of Keras which could be
faster.
I'd suggest in the first instance setting up the testing from a
coverage/compliance/accuracy perspective is the appropriate first step, but
I'm more than happy to set up some timing tests and report back to the
group. I would actually go about this in a separate repository while
building up the tests. It would be very interesting to do. Let me know if
anyone wants to help with that! :)
Cheers,
-Tennessee
On 22 June 2015 at 17:44, Thomas McColgan<EMAIL_ADDRESS>wrote:

I think this would be a really great addition. Just out of curiosity, does
Travis also enable continuous monitoring of performance? Ie to see how
changes affect the runtimes of tests?
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/260#issuecomment-114029624.

--
Tennessee Leeuwenburg
http://myownhat.blogspot.com/
"Don't believe everything you think"

Thanks for your elaborate answer, Tennessee!
What I was thinking about is more of a performance test to make sure one does not accidentally introduce a huge computational overhead in a change to the code, not so much the exact profiling of the runtimes.
Maybe this could be achieved by simply building a couple of tests that measure their own runtime and fail if a certain threshold is exceeded, with the threshold being determined by some kind of 'reasonable' runtime based on the observed times in Travis...
Anyway, I think this can be addressed later, getting unit tests with decent coverage running is much more important.

On a related note, I would suggest adding continuous monitoring of test coverage via coveralls.io while we are at it.

Travis would be a great addition! But our focus for now should be on buffing up our suite of unit tests. The usefulness of continuous integration is limited without much tests to run...


dev-pt-2379 container orchestration

Describe your changes
Localize https://glossary.cncf.io/container-orchestration/.
Related issue number or link (ex: resolves #issue-number)
resolves #2379
Checklist before opening this PR (put x in the checkboxes)

[X] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[X] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Thank you @edsoncelio . Changed accordingly to your review.


When will API v3 be ready for production use of developers apps?

Following https://github.com/Yelp/yelp-api-v3/blob/master/docs/others/faq.md#is-api-v3-ready-for-production-use-of-my-app, when are you roughly planning to make API v3 ready for production use of developers app? It would be great if I could have an estimation, so that I can try to make my app's development schedule suit yours ;) Of course, no pressure though!

Any ETA, guys? We are a little bit worried about the reviews endpoint data changing in a future.

Totally understand the concern. We are in the middle of refining the API based on feedback and close a few loose ends. Hopefully we'll get to GA soon. Stay tuned!

Yelp Fusion is now released and generally available.
There will be more changes in the future, as with any API --- but we'll now communicate breaking changes at a production level.


Same model for different tables

Hi there,
I have an issue Bookshelf model and i hope you guys can give me some suggestions.
My issue is I have 2 tables with same schema (let call them as T1 and T2). Before i query the data, i need to check what table i need to work with.
As i understand, tableName is is required attribute of Bookshelf model. So my solution is create 1 model for T1 and 1 model for T2.
My code will look like this
const T1 = bookshelf.Model.extend({
  tableName: 'T1',
  methodA: () => {

 },
....
});

const T2 = bookshelf.Model.extend({
  tableName: 'T2',
  methodA: () => {

 },
....
});

const getModel: (tableName) => {
  if (tableName === 'T1') {
     return T1;
  };
  return T2;
}

module.exports = {
   getModel
}

But as you see, we have duplicated model definition, so i concern that if there is any better way to do that, like we can define 1 general model (define everything except table name) and T1 and T2 will extend this model. I'm not sure if it is possible, so can you give me your suggestion.
Thanks!!!

Yes, from the documentation about Model.extend:

subclasses created with extend can be further extended and subclassed as far as you like.

So, you can do something like:
const CommonModel = bookshelf.Model.extend({
  something: () => {
    // ...
  }
})
const T1 = CommonModel.extend({
  tableName: 'T1'
})
const T2 = CommonModel.extend({
  tableName: 'T2'
})

@ricardogama : it's good solution, thanks!


WIP Fix federation directive variables

Summary:
This is a work-in-progress PR to fix an issue with graphql-go-tools
federation and directive variables. When an entity query contains a
field with a directive that includes a variable, the variable isn't
added to constructed operation.
The first commit adds a failing test that demonstrates the issue. Note
that I had to tweak the testing infrastructure to see the diff in the
failing test with the objects being compared are deeply nested and the
testify assert.Equal function is hitting its configured depth limit.
I verified the test passed when the someSkipCondition isn't present in
the operation arguments or variables object. I think I've added the
variable in the places it'll show up, but it's possible I got it wrong.
Anyway, the exact format of the input doesn't matter as long as the
variable is present!
Test plan:

cc @MiguelCastillo and @csilvers. I've created this PR for visibility. It doesn't have the fix yet! (And once I've fixed the issue, I'll create a separate PR in the upstream repo.)

cc @MiguelCastillo and @csilvers. I've created this PR for visibility. It doesn't have the fix yet! (And once I've fixed the issue, I'll create a separate PR in the upstream repo.)

sounds great to me!

This is the upstream PR: https://github.com/jensneuse/graphql-go-tools/pull/317.


Code refactoring

It's time to apply some serious code refactoring on Harmonic.
The project has evolved and we discovered a lot of quirks in tools we're using and within our own code.
As a bleeding-edge project, this kind of thing can happen at any time, and this is awesome IMHO.
I'm labelling this issue with 'discussion' and 'p2' because we need to define some goals first, but after that, refactoring is absolutely one of ours priorities.
I'm starting to draft a model(kind of) of what we can do in our code structure, based on what we already have:

What we have in this first draft:

./bin folder cleanup
dedicated cli, config, resources folders. The idea here is to isolate specific code inside those folders
skeleton and client folders moved to resources folder
new folder core_modules*

core_modules folder:
All internal modules must to be placed inside the core_modules folder.
We can split the code in tiny modules, so we can re-use in CLI, API, etc.
Another benefit of the core_modules folder is that we can identify future node modules, so we can "promote" them to npm.
I definitely need some help and feedback here @UltCombo @leobalter @felipenmoura

Very nice start! :+1:
We could focus on the API, then the CLI would just have to call API functions behind the scenes. This way we don't duplicate code and it eases keeping feature parity betwen API and CLI.
Other things we should clean up:

Passing sitePath around: currently, most if not all functions in parser.js receives sitePath as argument (this is kind of a hack I implemented to fix tests/allow more flexibility). We could transform parser.js into a central harmonic.js which exposes a Harmonic class -- e.g. it could be the main API endpoint which takes sitePath as a constructor argument and stores it into a "private" property (undocumented, with a leading or trailing underscore). Of course, most of the current parser.js file can be broken down into smaller pieces and placed in the core_modules dir.

Globals: we should avoid globals in order to provide a good API. Once we have a Harmonic class, I believe we can just move the globals to properties of the Harmonic instances.

Misc:

Perhaps rename core_modules to lib? This is the convention I'm used to see, but I guess this doesn't matter much.

Really cool.
I believe it would also be cool to have some hooks, like "before building", or for each generated file.
For instance, I would want to get a list of videos from a feed(from my youtube channel) to bind onto a template.

Great insights here. Thanks both @UltCombo and @felipenmoura.
We can change the core_modules folder name, it was just an example.

@felipenmoura I believe that fits in https://github.com/es6rocks/harmonic/issues/6

@jaydson I think we should do this in small (but "complete") steps. E.g.:

[ ] Refactor directory structure
[ ] Break down parser.js into core modules
[ ] Develop API
[ ] Refactor CLI to use API calls

We can change the core_modules folder name, it was just an example.

I don't really care about the name either, it was just a random idea. :stuck_out_tongue:

Can we focus on this refactoring soon? I guess it would be nice to get this done as soon as we merge the currently open big PRs/branches (ESLint, external themes).
@jaydson can we schedule a hangout to work on this?


Adding just a Node component to an empty entity causes a panic

Bevy version
0.11
What you did
Spawned an entity with a SpatialBundle and added a Node component to it.
What went wrong
Since this can easily be done from an editor or a script, this shouldn't cause a crash, but it caused a panic inside bevy:
thread 'Compute Task Pool (8)' panicked at 'called `Option::unwrap()` on a `None` value', /home/sludge/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ui-0.11.0/src/layout/mod.rs:169:52

Can confirm this harness will reproduce this behaviour on the main branch:
use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_systems(Startup, setup)
        .run();
}

fn setup(mut commands: Commands) {
    commands.spawn((
        SpatialBundle::default(),
        Node::default(),
    ));
}

Looks like the ui_layout_system finds an Entity with the query root_node_query: Query<Entity, (With<Node>, Without<Parent>)> that breaks the assumptions made for this line.
This indicates that the Entity found in root_node_query was never added to the UiSurface. Scrolling up to here, it's clear that the Entity is only added to the surface if it has a Style component.
Modifying my test to add a default Style component removes the error and the app runs as expected:
use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_systems(Startup, setup)
        .run();
}

fn setup(mut commands: Commands) {
    commands.spawn((
        SpatialBundle::default(),
        Node::default(),
        Style::default(),
    ));
}

My question for someone more familiar with Bevy's UI system would then be: is it intended that a Node should exist on an Entity even if it does not have a Style component?

You are supposed to use NodeBunlde for UI. But I don't think a panic is an OK thing to do. In a loading scenario, it is expected that part of the UI might be ready while others are still loading. Panicking unconditionally makes bevy_ui pretty much unusable in such a common scenario.

My question for someone more familiar with Bevy's UI system would then be: is it intended that a Node should exist on an Entity even if it does not have a Style component?

Ideally yes. Users might want to write their own layout system but use Bevy UI's rendering.
There are quite a few problems like this. Removing and then immediately reinserting components can cause unpredictable panics sometimes too.
I worked on a lot of these issues before the 0.11 release. Some can be fixed just by changing the order in which ui_layout_system does its updates. The PRs I wrote weren't ready for 0.11 and since then they've been neglected. I've mostly been focusing on bug fixes and improvements for the text systems.
My sort-of-vision for Bevy UI (some of the PRs are out of date or might be a little half-baked):

Add another enum identical to Val but without an Auto variant for properties like Gap, Border and Padding where Val::Auto does nothing and is just converted to 0. (PR #8096)
Node should be renamed NodeSize or UiSize (PR #8665)
Store the taffy keys in components and use that as the primary component that we use to identify entities as Bevy UI node entities (PR #8297)
Make LayoutContext into a component and allow UI layout updates without a window (PR #8672).
Remove Zindex::Global, it's not that useful, quite expensive and is a pain when trying to determine z-order for rendering (Maybe implemented in #8780 I forget)
Multi-window UI (PR #8780) this PR works but the implementation is a bit messy and inefficient with resources full of hashmaps everywhere iirc. It has a render-to-texture implementation as well with interaction working. I wrote it very quickly without any real plan, the main thing was to get an idea of the requirements for a proper implementation and how it would look. Multi-window UI requires a lot of changes but should be our highest priority maybe as everything else has to work around it.
Removal detection bug fixes for ui_layout_system (PR #8654).
Skip UI updates when UI state unchanged (PR #8610). Also got a branch that skips rendering updates (retain ExtractedUiNodes etc between frames unless there are changes) which makes UI almost free when inactive. It would be tricky to get the rendering changes to work with user-created UI widgets though.
UiContentTransform (PR #9341) generalization of UI Image Rotation #6688. The UiContentTransform is a component that allows users to reorientate axis-aligned content to easily allow things like vertical or backwards text and images. The layout responds to the changes unlike rotations with Transform.
Replace Transform and GlobalTransform with NodeTransform (PR #8240) this works quite well and allowing interaction with rotated UI elements is quite nice but I think it's probably the wrong approach and rotation of UI nodes shouldn't be allowed. Allowing rotation makes rendering, clipping especially, more complicated than it needs to be. Taffy has no awareness of rotated nodes either. It would be better to allow multiple layered UI layouts instead, each of which would have its own transform so each layout's content would be aligned internally but the entire layout could be rendered anywhere with any orientation etc.

Structurally I reckon that ui_layout_system should probably only be responsible for updating the internal taffy layout tree in UiSurface. A second system would update the geometric components Node, Transform, etc. We shouldn't be querying for querying for Node at all in ui_layout_system.
That separation would allow users to use Bevy UI's layouting without the rendering, and the rendering without the layouting.

A panic also happens when spawning an entity without Node or Style as a child of a UI node. It seems to me that all UI systems probably need to have all of their .unwrap()s reviewed.

@SludgePhD should be fixed by #9621

My question for someone more familiar with Bevy's UI system would then be: is it intended that a Node should exist on an Entity even if it does not have a Style component?

This seems like it ought to be allowed to me. The UI system can set the entity's style to Style::default() in the Taffy tree if it doesn't have a Style component.


Add github actions CI

Took a few revisions, but CI is added and cleaned up as of 59d80fedcb4017ff9dbca28e03bfcad626f23e35


Allow disabling specific risks in xray_operational_risk_policy's rule.criteria.op_risk_custom block

I want to create an xray_operational_risk_policy that does not check the newer_versions_greater_than condition. Removing the condition from my rule.criteria.op_risk_custom block seems to just default the condition check to its default value rather than disable the condition check.
For example:
resource "xray_operational_risk_policy" "min_risk" {
  name        = "example"
  type        = "operational_risk"
  project_key = "test-project"

  rule {
    name     = "high-op-risk-alert"
    priority = 1

    criteria {
      op_risk_custom {
        use_and_condition                  = true
        is_eol                             = false
        #newer_versions_greater_than        = false
        committers_less_than               = 1
        risk                               = "medium"
      }
    }

    actions {
      mails                              =<EMAIL_ADDRESS>      block_release_bundle_distribution  = false
      notify_watch_recipients            = true
      notify_deployer                    = false
      create_ticket_enabled              = false // set to true only if Jira integration is enabled
      build_failure_grace_period_in_days = 5     // use only if fail_build is enabled
      fail_build                         = true

      block_download {
        unscanned = false
        active    = false
      }
    }
  }
}

Creates a policy with rules that look like this:

I want to be able to define this resource such that the box to the left of "Number of releases since greater than" is unchecked.

@eval-on-point This issue stems from the combination of:

The provider has a default value of 1 set for this attribute, and
shortcoming of Terraform SDK: https://discuss.hashicorp.com/t/is-it-possible-to-differentiate-between-a-zero-value-and-a-removed-property-in-the-terraform-provider-sdk/43131/2.

To fix this issue, this is what I'm changing for this resource:

remove default values from these 5 attributes: release_date_greater_than_months, newer_versions_greater_than, release_cadence_per_year_less_than, commits_less_than, and committers_less_than.
only include values for these attributes in the API request when there are values. Fortunately for us, 0 is not a valid values for these attributes.


Refactored & enhance tests

This contains a lot of changes, can you explain the rationale?

Sure.
All tests have the following code and keep repeated itself.
  var instance = aedes()
  var server = net.createServer(instance.handle)
  require('./stats')(instance)

  server.listen(port)
  var subscriber

  subscriber = mqtt.connect({
    port: port,
    host: '<IP_ADDRESS>',
    clean: true,
    clientId: 'subscriber',
    keepalive: 200
  })

I refactored it into connect() and setup() functions to make them reusable.
In the above code, it will be refactored into var subscriber = connect(setup())


able to set sanity interface, cause someone may still want to extract…

add DefaultExtractPathFunc can be set to self defined implement.
Main purpose is to support user defined behavior when meeting zip slip, or meeting situation that filename in zip not in utf8 encoding.

Thanks for the contribution, but this is going to be superseded by #99, which implements functions for walking an archive, so you can decide before extracting what you want to do with it. Would you please take a look and see if any of the Walk functions will meet your needs?

Great! I will take a look at #99


does not prompt for video permisons

I created a blazor WASM (.NET7) run it in debug mode and visit the app url both from the laptop (with webcam) and a phone.  The app stays with the "Loading video stream (make sure you have a camera enabled)" message.
Nothing else happens.

Hi, did you allow the app for camera permissions ?

did not get prompted

I can open other websites that demo QR reading via JS and it opens the video stream. Not in my blazor project.

If you mean setting something up in the Blazor project, no. I wasn't aware and changed no configuration.
Where can I find this ?

I created a .Net6 project and not it does work from google chrome on Windows. It still does not prompt for permissions on chrome on android

check on your browser the "lock" icon

that the cam is authorized

okay, I did not see such an icon but somehow removing all permisons in the phone and getting to it again worked. It asked for permision. Granted permission and it has video stream now.
The issue is that it does no read our QR (that are slightly larger than normal, with some extra alignment squares in between the QR itself)
But this issue can be closed, Thanks for your time !!
There are other open issues about the big QR not being readable.

The blazor lib relies on js lib to scan.  https://github.com/cozmo/jsQR
So if this one cannot scan your QR code, then the blazor one won't neither.
You are not the first one to tell me that this lib does have issues of some sort of QR code. I personnaly have no issue with the one I use, but I made them.

@javirs85
I have the same issue, it does work on my machine but when I publish it, it does not request camera permission...
PS: I am using docker.
Maybe it is because I am using http (not https)?


Add feature for automatic layouts

Automatic layouts would be very useful for programmatically created graphs. I've been looking into https://github.com/KeRNeLith/QuikGraph with https://github.com/KeRNeLith/GraphShape for my own implementation. Is there any plans to add this in the future?

Is there a preview of how that would "look like"? I skimmed through the provided links but I can't see a screenshot for it so I can understand what it does.

It all depends on the layout algorithm used. My personal use case involves a Directed Acyclic Graph and I used the Sugiyama Layout  to get something like this.


cassie/cassie_v2 sdf: remove first primatic joint, add color information

Don't worry about the CI.
If loading cassie is working for you, I think we can merge and continue with the release

I'm finished with the changes, you could merge it now.
Thanks for your help


Make FAB stay visible

I'd like to use this library, but I'd like to know if there is a way to make the fab not hide on scroll? is that possible?
Thanks

Simply do not call fab.AttachToListView(listView); and it wont hide on scroll.
However you should look into the official library from google.


Load all cities

[ ] Push script
[ ] Change name Santiago de Chile to Santiago
[ ] Run migrations
[ ] Add country for Buenos Aires and Santiago
[ ] Run script

See #24

Done.


Homebridge Switcher Platform stopped working

This worked well, I didn't change anything in the setup, I'm now getting the following in the debug log:
[1/24/2024, 9:20:07 PM] [Switcher Platform] trying to reconnect in 10 seconds...
[1/24/2024, 9:20:07 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...
[1/24/2024, 9:20:07 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -98,
  code: 'EADDRINUSE',
  syscall: 'bind',
  address: '<IP_ADDRESS>',
  port: 10003
}
[1/24/2024, 9:20:07 PM] [Switcher Platform] trying to reconnect in 10 seconds...
[1/24/2024, 9:20:07 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge F687) is running on port 51964.
[1/24/2024, 9:20:17 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:17 PM] Got SIGTERM, shutting down Homebridge...
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:538:9)
    at processTimers (node:internal/timers:512:7)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:538:9)
    at processTimers (node:internal/timers:512:7)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processTimers (node:internal/timers:509:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processTimers (node:internal/timers:509:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:20003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10002
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
[1/24/2024, 9:20:18 PM] Error: bind EADDRINUSE <IP_ADDRESS>:10003
    at node:dgram:364:20
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)

[1/24/2024, 9:20:29 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:20:29 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:29 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:29 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:20:29 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:51 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:20:51 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:20:51 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:20:52 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:20:52 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:20:52 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:21:14 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:14 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:14 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:21:14 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:21:36 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:36 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:36 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:21:36 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:21:58 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:21:58 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:21:58 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:21:58 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:22:20 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:20 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:20 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:22:20 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:22:42 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:22:42 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:22:42 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:22:42 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:23:04 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:04 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:04 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:23:04 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:26 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:23:26 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:23:26 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:27 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:27 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:23:27 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:23:49 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:23:49 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:23:49 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:23:49 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Initializing SwitcherPlatform platform...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Found Cached Accessory: Switcher Runner_285A (e568c6)

[1/24/2024, 9:24:11 PM] [Switcher Platform] Scanning for switcher devices...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20002

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:20003

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10002

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

[1/24/2024, 9:24:11 PM] [Switcher Platform] ERROR OCCURRED !! Connection Closed...

[1/24/2024, 9:24:11 PM] [Switcher Platform] Error: bind EADDRINUSE <IP_ADDRESS>:10003

[1/24/2024, 9:24:11 PM] [Switcher Platform] trying to reconnect in 10 seconds...

EADDRINUSE indicates that you have some other program listening on that port. Perhaps a similar plugin for HomeAssistant? Or some other program that is switcher related?
Try this command to see which process is listening on the port:
sudo lsof -i :10003


CB-8711 wait for all callbacks before evaluating expectations

Some of the android (multi) exec call tests were failing on windows ( but not osx )
Changed the tests so they wait for the correct number of callbacks before evaluating the 'expects' list.

Thanks for fixing this!


Work with GHE via HUBOT_GITHUB_URL

This allows it to work with GitHub Enterprise.

@msabramo My apologies, I had notifications turned off and never realized you have created this. I'm going to try do this myself now since the code has changed enough since you first prepared this.

@msabramo https://github.com/ndaversa/hubot-github-bot/commit/0bad9ba40fc41a31d2830e8311c179988e5ca668


Mainnet Besu v22.7.0 API Execution Engine and Lighthouse v2.5.1 TTD override values do not match

In order to get it to match needed:
--override-genesis-config="terminalTotalDifficulty=115792089237316195423570985008687907853269984665640564039457584007913129638912"
Currently:
Lighthouse value is:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129638912
Besu value is:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129638911
or
Lighthouse value:  0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
Besu value: 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbff
Besu Log:
Aug 04 19:50:18 server besu[475192]: 2022-08-04 19:50:18.298+00:00 | vert.x-worker-thread-0 | WARN  | EngineExchangeTransitionConfiguration | Configured terminal total difficulty 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbff does not match value of consensus client 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
Lighthouse Beacon Log:
38912, terminal_block_hash: 0x0000000000000000000000000000000000000000000000000000000000000000, terminal_block_number: 0 }, remote: TransitionConfigurationV1 { terminal_total_difficulty:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129638911, terminal_block_hash: 0x0000000000000000000000000000000000000000000000000000000000000000, terminal_block_number: 0 }, msg: ensure lighthouse and the execution client are up-to-date and configured consistently, service: exec

Hi @Summerside-sys,
Yes, it seems you are correct. Thank you for opening the issue! I've created a PR to fix that.


Resource Groups not being created by polaris_azure_subscription

Expected Behavior
When adding a subscription to Azure an RSC generated resource group is supposed to be crated in the subscription that is being added. New snapshots are then stored in this resource group.
Current Behavior
New snapshots are failing on Terraform added subscriptions stating that the resource group cannot be found for the snapshot.
Failure Information (for bugs)
This is a sample error that was received:
Error running task 8: unable to create virtual machine snapshot (Error RBK30100039: Unable to perform the operation as the resource group doesn't exist. Possible cause: (Azure reported an error: ResourceGroupNotFound - failed to create snapshot of disk '/subscriptions/<REDACTED>/resourceGroups/<REDACTED>/providers/Microsoft.Compute/disks/<REDACTED>-os-disk' with name 'Rubrik-Snapshot-VM-<REDACTED>' in resource group 'RubrikBackups-RG-DontDelete-<REDACTED>': PUT https://management.azure.com/subscriptions/<REDACTED>/resourceGroups/RubrikBackups-RG-DontDelete-<REDACTED>/providers/Microsoft.Compute/snapshots/Rubrik-Snapshot-VM-<REDACTED>

Steps to Reproduce

Add a subscription using the following resource definition:

resource "polaris_azure_subscription" "subscription" {
  subscription_id = var.azure_subscription_id
  subscription_name = var.subscription_name
  tenant_domain   = "<REDACTED>.onmicrosoft.com"  #polaris_azure_service_principal.default.tenant_domain

  delete_snapshots_on_destroy = true

  cloud_native_protection {
    regions = [
      "eastus2",
      "centralus"
    ]
  }
}

Try to take a backup of a VM in the newly added subscription.

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Version of project = v0.7.0
Version of dependencies = N/A
Version of operating system = N/A

Failure Logs
See above

Duplicate of https://github.com/rubrikinc/terraform-provider-polaris/issues/88

@johan3141592,  this is a different issue. #88 asks for custom resource groups to be created. This is issue is a bug where the resource groups are not created at all, even the default ones.

@DamaniN I see, thank you for clarifying. I think we need to raise a ticked for RSC to have this fixed, the TF provider doesn't do anything special to have resource groups created.

Has anyone created a Jira for ENG to look into this? This is an issue in the UI as well?

@pmilano1, not at this point. The thought was to get the granular permissions issues worked out with the provider first and see if that resolves the issue. If it doesn't, then we would pursue this with Engineering.

@DamaniN and @pmilano1, I have experimented with this today and can confirm that the resource group is not created when onboarding a subscription without specifying a resource group. According to engineering this is the expected behaviour. Fortunately the support for custom resource groups just landed in the latest beta release (v0.10.0-beta.1), specifying an existing resource group using resource_group_name and resource_group_region work around this problem. I've successfully taken snapshots of Azure VMs and have them stored in the custom resource group. Note, AZURE_SQL_DB_PROTECTION and AZURE_SQL_MI_PROTECTION does not support custom resource groups in RSC, we might need to investigate further if those features still are affected.

@DamaniN and @pmilano1 can we close this? I don't believe this is an issue with the TF provider. When manually onboarding a subscription using the UI and the Configure without OAuth workflow, the wizard explicitly prompts you to confirm that the resource groups you've entered already exist in Azure, i.e. they won't be created by RSC.

It's not possible to onboard a subscription without specifying a resource group using the UI.

@johan3141592, the provider wasn't giving us a way to configure RSC since it didn't provide a method to specify the Resource Group. Now that it does, this ticket can be closed. Please reference the commit that adds the specification of the resource groups to this ticket when you close it.

Commit 1f1b81752d30340b67811ef3faee8e603ed4b3d0 adds support for specifying resource groups to the TF provider. Commit d1242552a36a730289cde2255ba778a29fd04ecd improves the resource group documentation. It was first introduced in the v0.9.0-beta.1 release, however, using the latest beta probably makes more sense.


GoRouter and AppLinks uriLinkStream both attempt to handle the universal link route (iOS issue only)

Describe the bug
I am using AppLinks in conjunction with GoRouter in my flutter app. My current setup works as expected while testing on the Android version of my flutter app, however I'm getting some unexpected behavior while testing on the iOS flutter app.
In iOS when I click a link that is from one of my associated domains defined in the iOS app capabilities, the AppLinks uriLinkStream listener that I have set up DOES trigger in response to the url (as expected). However, at the same time, my GoRouter attempts to navigate to this route (which is not defined as a supported route in the GoRouter configuration) and throws an error on the screen saying
Exception: Match error found during build has Exception: no routes for location
Is there a way to prevent the GoRouter from handling the route so that only AppLinks handles it? Again, this is only a problem in iOS and does not behave this way on Android. Therefore, I'm wondering if I have my custom app delegate setup incorrectly in the iOS app configuration. Here's what I have currently for my custom app delegate:
import UIKit
import Flutter

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}

Does it related to
[ ] App Links (Android)
[ ] Deep Links (Android)
[X] Universal Links (iOS)
[ ] or Custom URL schemes? (iOS)
Does the example project work?
[X] Yes
[ ] No
[ ] Irrelevant here
Did you fully read the instructions for the targeted platform before submitting this issue?
Uploaded your files to webserver, HTTPS, direct connection, scheme pattern setup, ...
[X] Yes
[ ] No
[ ] Irrelevant here

Thanks for the report...
...but I don't understand, go_router won't do anything by itself. Somewhere in your source code, you should have a directive set to tell go_router where to go.

Hello, I'm encountering the same problem with the Go router and app link. After handling the link (deep link), the Go router navigation is not functioning properly and presents an issue like path not found
Console Logs as
[GoRouter] pushing /

@llfbandit
I found the root cause and have fixed this issue. In the class SwiftAppLinksPlugin.swift within the lib, there is a has function link. need return true value when call function handleLink(url: url)
// Universal Links
  public func application(
    _ application: UIApplication,
    continue userActivity: NSUserActivity,
    restorationHandler: @escaping ([Any]) -> Void
  ) -> Bool {

    switch userActivity.activityType {
    case NSUserActivityTypeBrowsingWeb:
      if let url = userActivity.webpageURL {
        handleLink(url: url)
        return true // true to indicate that your app handled the activity
      }
      return false
    default: return false
    }
  }

@llfbandit I found the root cause and have fixed this issue. In the class SwiftAppLinksPlugin.swift, there is a has function link. need return true value when call function handleLink(url: url)
// Universal Links
  public func application(
    _ application: UIApplication,
    continue userActivity: NSUserActivity,
    restorationHandler: @escaping ([Any]) -> Void
  ) -> Bool {

    switch userActivity.activityType {
    case NSUserActivityTypeBrowsingWeb:
      if let url = userActivity.webpageURL {
        handleLink(url: url)
        return true // true to indicate that your app handled the activity
      }
      return false
    default: return false
    }
  }

@vanvu08t2 I just tested out your proposed change and it did indeed fix my issue!! 💯 🙇
Thank you!!
@llfbandit do you have any concerns with me opening a PR containing this one liner change?

This change has been reverted.
Don't use go_router deep linking feature: https://docs.flutter.dev/cookbook/navigation/set-up-universal-links#add-support-for-go_router


Fix name input in dataprep (dataset/snapshot)

Describe the bug

When shift key and enter key is used, new line can be included in dataset/snapshot name

To Reproduce
Steps to reproduce the behavior:

Go to dataflow detail => click one dataset -> click edit dataset name in the right panel  -> press enter and shift key together -> see error

Expected behavior
1 . Change to input box that cannot use new line
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
METATRON-1581

1st integrated test passed.


Query multiple tables

Hello dear reviewer.
please find in this PR some advanced manipulation queries in Postgres on multiple tables.
In the screenshots below, please have a look at the accomplishment and at the misses that have been fixed. all the history log is listed below.
Best regards 🤝 .

Thanks for your great review, dear @Ghiftee. I just updated the file as suggested.
Thanks a lot.
Best regards 🤝


Roll Flutter Engine from feb476b7b991 to ab93d8017f12 (2 revisions)

https://github.com/flutter/engine/compare/feb476b7b991...ab93d8017f12
2023-04-15<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Y_tD90hDX_jiubGbC... to hacWN-gQSoWudziIS... (flutter/engine#41248)
2023-04-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from RFyPoDrXzIiy-E3wn... to gI2knJ4Rh0yoK4Syd... (flutter/engine#41249)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from Y_tD90hDX_ji to hacWN-gQSoWu
fuchsia/sdk/core/mac-amd64 from RFyPoDrXzIiy to gI2knJ4Rh0yo
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


⚠ Bofrost.fr has degraded performance

In fa60897, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1337 ms

Resolved: Bofrost.fr performance has improved in 61173f6.


Process: Better support on Jython 2.7 (termination, signals, pid)

Jython 2.7 beta 3 added initial support for Popen.terminate and Popen.send_signal. Due to JVM limitations they won't support everything normal Python supports, but we should get at least basic support for Terminate Process and Send Signal To Process. Hopefully we could also get support for Popen.pid.
This issue covers verifying the aforementioned enhancements by running acceptance tests with Jython 2.7b3+. Possible problems need to be reported to Jython project and patches provided when feasible, Process code adjusted where possible, and possible limitations documented.
Concrete tasks related to this issue:

[x] Workaround Popen.terminate closing PIPEs (http://bugs.jython.org/issue2218). Reported separately as #1870, fixed by 092e238 and included already in RF 2.8.7.
[x] Implement Popen.pid (http://bugs.jython.org/issue2221)
[x] Implement forceful kill outside Windows (http://bugs.jython.org/issue2220)
[x] Implement signal support (http://bugs.jython.org/issue2219)
[x] Document that child processes cannot be terminated or signals send to them.
[x] Document that graceful termination is not supported on Windows.
[x] Mark tests that cannot pass due to Jython/JVM limitations non-critical.

I implemented PID support to Jython (http://bugs.jython.org/issue2221). It will be part of Jython 2.7 beta 4 and requires no changes to Robot side. I'm now looking at Popen.send_signal and Popen.kill and both look doable.

This pull requests fixes Jython's Popen.kill and Popen.send_signal:
https://github.com/jythontools/jython/pull/14
No other changes are required to make related functionality work with Process library, so they will work also with earlier RF versions. Will keep this issue open until the PR is merged.

The aforementioned Jython pull request has been merged and related issues closed. Also this issue can now be considered done.


Custom song issue

I added a test song to 1.7 and when ever I try to play it the game crashes saying NULL: object reference I have already made the song name in the .JSON the name of the file holding the .Inst and that didn't help. I had the same issue with 1.6, and I don't know what is wrong.

fixed it, ended up misspelling the song name in the .JSON


JointJS/Rappid Added findModelsFromPoint definition to Graph, Handle interface and SelectionView class definitions.

Hi,
I'm working with JointJS/Rappid and I'm adding whatever I'm missing. Handle and SelectionView are from Rappid. If you prefer me to use a separate file for Rappid, please let me know (but as you can see they are within the same module).
Kind Regards,
DenEwout.

@DenEwout thanks mate!

No problem, it's ok to keep the jointjs and rappid API's in one file then?

@DenEwout I don't know about jointjs...
I think It should be separate if it is install separately.

It's a separate install, Rappid is a commercial product built on top of JointJS (by the creator of JointJS).
Is there a certain procedure to go through to add an extra library to DefinitelyTyped? (I believe only one tsd per library-folder is allowed, correct?). There are other libraries which are called "rappid" so perhaps jointjs-rappid would be a good name for it?

We can choose angularjs style or createjs style.
https://github.com/borisyankov/DefinitelyTyped/blob/master/createjs/createjs.d.ts
https://github.com/borisyankov/DefinitelyTyped/tree/master/angularjs
I think createjs is more better for tsd.

Alright. I'm currently busy with something else, but you can expect some more additions to come in during upcoming week. Thanks!


Chart errors on unset config.broker.basicAuth.readUser.{username,password}

Currently, if basic auth is enabled, and allowPublicRead is true, a username and password for the read user are required. If unset, the chart constructs a secretKeyRef with an empty key and name, that then errors out in a somewhat confusing manner on the non-existent key.
Steps to reproduce:
values.yaml:
broker:
  config:
    basicAuth:
      enabled: true
      allowPublicRead: true
      writeUser:
        username: admin
        password: hunter2

helm install --dry-run --debug pact-broker pact-broker/pact-broker --values values.yml --version 0.2.1
Result:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].env[26].valueFrom.secretKeyRef): missing required field "key" in io.k8s.api.core.v1.SecretKeySelector, ValidationError(Deployment.spec.template.spec.containers[0].env[27].valueFrom.secretKeyRef): missing required field "key" in io.k8s.api.core.v1.SecretKeySelector]
helm.go:84: [debug] error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].env[26].valueFrom.secretKeyRef): missing required field "key" in io.k8s.api.core.v1.SecretKeySelector, ValidationError(Deployment.spec.template.spec.containers[0].env[27].valueFrom.secretKeyRef): missing required field "key" in io.k8s.api.core.v1.SecretKeySelector]

I am not very proficient in helm, or the internal workings of the broker, but I think this could be resolved by changing the elses here and here to some kind of else if .Values.broker.config.basicAuth.readUser.existingSecret. Or maybe disabling the readUser if publicRead is true? But that might break things.
Thank you for making and maintaining this chart!

@rmartine-ias The default values where taken out in this PR to address the issue raised in https://github.com/ChrisJBurns/pact-broker-chart/issues/11
This repo will be transferred over to the pact-foundation soon just so things are under the same umbrella - I will still be maintaining it. So be aware that the repo location will change soon.
Thanks for raising this, I shall have a look in a bit more detail and let you know :+1:

Thank you for the reply, context, and heads up!

@rmartine-ias Apologies for the late fix - has been a busy end of year :) Give it a try now with version 0.2.3 when it has been built and made available.


[docs] update docs to use new __types directory

Some of the docs weren't referencing the new __types directory for generated types. Confused me for a minute so I updated it.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[X] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thank you!


feat(react-mui-hooks/use-data-grid): Added slots and slotProps optional props

Added

[useDataGrid] slots and slotProps optional props

Can you provide example on what this would be used for? I think this open up component API a bit too much and would allow for maybe non-standard implementations. Idea for this hook is to hide as much implementation detail as possible and hide it al behind custom props which are easier to use then standard mui daragrid.


Scm file command config

Maybe we can add a configuration date to let the user decide what command should be executed if he clicks on a checked out file.
And by that also add an entry in the scm/resource/context depending what the user configured. Either open resource or show the diff

I would prefer the "Open Resource" to be an entry on the right-click menu, similar to how the git scm behaves.

Ok. It’s the more easiest way

On a second thought an option to select the default behavior wouldn't hurt. However I don't want to lose the "embedded diff" feature. So both of them should be present in the right-click menu.
About the settings I'm not sure how we can have a "dropdown-styled" option in VSCode, are you?

The context menu is an entry in the package.json There also exists an open resource command which can be used there. I can do that, but have no time right now.

No pressure :)


Move a required dependency to the first require block, move indirect dependency to the 2nd require block

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
While reviewing https://github.com/gardener/gardener/pull/7568 I noticed that https://github.com/gardener/gardener/pull/7093 added the github.com/fluent/fluent-operator dependency to the 2nd require block. The 2nd require block should be used for indirect dependencies, while the 1st require block - for direct dependencies.
See https://stackoverflow.com/a/69433550
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Release note:

NONE

/cc @Kristian-ZH

/test pull-gardener-integration


Initial protoype for custom hooks

Sample explanation for custom hooks

Thanks for sharing the code with us and others, however this isn't something we're going to add to the core, it's too niche. It sounds like something you need, so please feel free to fork and add this and build your own version.


Update serialport_win.cpp (memory leak and infinite loop)

Fixed a memory leak in EIO_AfterWatchPort and infinite loop in EIO_Write in case of a disconnect (method never returns)

I see something similar was already committed 6 hours ago, sorry.


[Feature] Introducing CRUD Operations

Dune recently added endpoints and documentation for their Queries Editing Support via the API. This PR introduces new functionality

Create: create_query
Read (Get): get_query
Update update_query
Delete (Archive) archive_query

as well as make_private
Unfortunately these operations require Premium membership, so I can not add tests yet.
*the the model DuneQuery should really make use of a real json serialization library (as well as any model implementing to/from dict), but this is a separate refactoring task.

Note that the tests failing here are related to a previous PR.

Replace the sample query to any written on Trino and it'll be fine.

Awesome thanks!


Post by using REST API

I saw an outdated topic about it, however, it seemed that it is still impossible to post data by using REST API, even for tests.
Am i missing something? I am looking to migrate large website into Cockpit and i see no real way of doing it in batch mode.

Do you use Cockpit Next or Cockpit Legacy?

I am using master from archive. So i am assuming it's legacy

yepp, I'm working on an importer tool for collections in Cockpit Next. For the Legazy version you maybe should try https://github.com/piotr-cz/cockpit-import.

thank you. However, i am not sure it will work with the large number of entries.  Is this solution will workable http://getcockpit.com/blog/import-data-into-cockpit-collections#disqus_thread ?
Also this is not really clear to me what to do with _uid and _id fields.


[reshet] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

This is well covered by the generic extractor:
PS C:\Dev\youtube-dl\master> py -2.7 .\youtube_dl\__main__.py http://reshet.tv/item/entertainment/the-voice/branded/skittles/clips/jimmy-47659/
[generic] jimmy-47659: Requesting header
WARNING: Falling back on generic information extractor.
[generic] jimmy-47659: Downloading webpage
[generic] jimmy-47659: Extracting information
[download] Downloading playlist: The Voice ישראל - הכירו את ג'ימי החתול | רשת
[generic] playlist The Voice ישראל - הכירו את ג'ימי החתול | רשת: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[brightcove:new]<PHONE_NUMBER>001: Downloading webpage
[brightcove:new]<PHONE_NUMBER>001: Downloading JSON metadata
[brightcove:new]<PHONE_NUMBER>001: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 9
[download] Destination: entertainment-the-voice-season-04-clips-004-5235248235001.mp4
[download]  23.1% of ~16.85MiB at 216.34KiB/s ETA 00:45


Update simpleSelect to use ["object", "path", "as", "array"] syntax for tagKeyFilter

Currently can only really filter object single layer deep using simpleSelect(subState, tag, "data").
Similar to lodash get() and set(), we should be able to pass in an array which is a longer than one level path into the subState.tag
simpleSelect(subState, tag, ["data", "nested", "object"])
This would simplify data retrieval thoroughly and reduce the need for the currently not working tagKeyFunction alternate parameter.

Simplify simpleSelect and add tests


Delivered receipts still don't show sometimes

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #feedback.

This is a dupe of this: https://github.com/BlueBubblesApp/BlueBubbles-Android-App/issues/801
Closing


'encoding' cannot be specified in python 3

https://github.com/getsentry/raven-python/blob/1a0d697dd11459bfa8ce933b3b53264098dad60d/raven/utils/json.py#L50
The 'json.dumps' command no longer have an encoding argument in python 3 and causes this stacktrace:
File "/usr/local/lib/python3.6/site-packages/raven/handlers/logging.py", line 89, in emit
 return self.emit(record)
 File "/usr/local/lib/python3.6/site-packages/raven/handlers/logging.py", line 182, in _emit
 *kwargs)
 File "/usr/local/lib/python3.6/site-packages/raven/base.py", line 645, in capture
 self.send(*data)
 File "/usr/local/lib/python3.6/site-packages/raven/base.py", line 740, in send
 message = self.encode(data)
 File "/usr/local/lib/python3.6/site-packages/raven/base.py", line 782, in encode
 return zlib.compress(json.dumps(data).encode('utf8'))
 File "/usr/local/lib/python3.6/site-packages/raven/utils/json.py", line 51, in dumps
 return json.dumps(value, cls=BetterJSONEncoder, **kwargs)
 File "/usr/local/lib/python3.6/json/init.py", line 238, in dumps
 **kw).encode(obj)
TypeError: __init_() got an unexpected keyword argument 'encoding'

@jonapich I'm having problems trying to create a test case for this issue. Have an example of sentry data where this exception is raised?

No I don't. I'm not sure a sentry was even raised for this, it probably ended up in our logs instead. I guess there was some invalid UTF data in the exception/locals somewhere?

I don't think this should be closed.
I am seeing this still, and it's a bit confusing, but here is what is happening. We have this code in Sentry:
https://github.com/getsentry/raven-python/blob/1a0d697dd11459bfa8ce933b3b53264098dad60d/raven/utils/json.py#L46-L51
The logic here seems to be: Try to serialize everything to JSON, and if that fails for any reason, try it again, but this time use a special codec that ignores any errors. (Question: Why use a catch-all here, rather than just catching encoding-related exceptions?).
The problem, as stated above, is that on Python 3, the encoding argument is no longer supported. So if for any reason this fallback-branch triggers, we get an exception like this:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/raven/handlers/logbook.py", line 49, in emit
    return self._emit(record)
  File "/usr/local/lib/python3.6/site-packages/raven/handlers/logbook.py", line 100, in _emit
    **handler_kwargs
  File "/usr/local/lib/python3.6/site-packages/raven/base.py", line 651, in capture
    self.send(**data)
  File "/usr/local/lib/python3.6/site-packages/raven/base.py", line 746, in send
    message = self.encode(data)
  File "/usr/local/lib/python3.6/site-packages/raven/base.py", line 788, in encode
    return zlib.compress(json.dumps(data).encode('utf8'))
  File "/usr/local/lib/python3.6/site-packages/raven/utils/json.py", line 63, in dumps
    return json.dumps(value, cls=BetterJSONEncoder, **kwargs)
  File "/usr/local/lib/python3.6/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
TypeError: __init__() got an unexpected keyword argument 'encoding'

So the task here would probably to a) find a way to support the fallback-branch on Python 3, or disable the fallback branch on Py3 so the exception is less confusing.

This is a simple script to reproduce the issue:
In [2]: import raven.utils.json
In [3]: raven.utils.json.dumps({(): 'foo'})
...long stacktrace...
TypeError: __init__() got an unexpected keyword argument 'encoding'

I agree that the catchall is misleading and the utf-8 encoding hack should not be tried in Py3.

Any update on this issue? I am still getting the exam same error message on raven version 6.10.0.

Any update on this issue? I am still getting the exact same error message on raven version 6.10.0.

This is a simple script to reproduce the issue:
In [2]: import raven.utils.json
In [3]: raven.utils.json.dumps({(): 'foo'})
...long stacktrace...
TypeError: __init__() got an unexpected keyword argument 'encoding'

I agree that the catchall is misleading and the utf-8 encoding hack should not be tried in Py3.
In particular, in my application the un-jsonifiable object is in Raven's breadcrumbs and it looks like this:
{'type': 'default',
 'timestamp':<PHONE_NUMBER>.0162847,
 'level': '\x1b[0;37mdebug\x1b[1;',
 'message': "some message",
 'category': 'some category',
 'data': {('cn', 1002): 3}}

Note the tuple as key in the 'data' dictionary. Simply using json.dumps(skipkeys=True) would fix the issue, by ignoring invalid keys.

If you can have the raven fixed, could you make a PR for that?

@yangjiel I already did: https://github.com/getsentry/raven-python/pull/1350

@yangjiel I already did: #1350

Thank you for the information. I think Sentry stop continuing on this package as they didn't release new version on PYPI for about two years. I moved to the sentry_sdk package instead.


Update decomission key in the createstakepool command

There is an optional DECOMISSION_KEY parameter, that accepts a public key (for use with a cold wallet).
From @TheQuantumPhysicist:

It should be taken from the cold wallet… not provided by hand.

But I'm not sure what it can look like then.

I'm OK with this now but I would like to enforce using an address. Pasting a public key is basically playing with fire. It can be easily mistyped.


Combining multiple stopping conditions

At the moment (once #272 is merged) we support combinations of stopping conditions with an "or" operation. That is, given a list of conditions the loop will continue until one of them fires, and then the loop terminates.
It would be nice to have more flexible support here, so that users could combine conditions in various ways. Example use case: i'd like to run optimization until it converges, but make at least 10 steps, and to prevent it from running indefinitely i'd like to stop after 50 steps. Our API should allow for that:
(cond1 AND cond2) OR cond3

we can consider overloading python's and and or for that.

implemented


Put better makefiles ci

This pull request reparents the repo with the MT template, and imports the -02.xml file (with the document name updated).
This does all the work in github actions, or locally, as you wish.

The CI job has a step called Archieve Built Drafts. It claims to upload them somewhere. Do you know where? Is this a stable, long term storage?

I also agree that keeping multiple copies is confusing.Well, I obviously like it. Sometimes there’s a need to undo things done in a newer draft and also much easier to fine issues (especially xml related) when you can easily compare to a known “good” copy (i.e., submitted as draft). Tagging does work too but more easily forgotten.Also, if we submit xml version (which is what I’ve been doing), perhaps possible to pull that from datatracker?I understand that it likely messes up automation since file name changes over time as draft progresses.- Bernie (from iPad)On Jul 9, 2023, at 5:10 PM, Tomek Mrugalski @.***> wrote:
@tomaszmrugalski commented on this pull request.
In draft-dhcwg-dhc-rfc8415bis.xml:

@@ -1,6738 +0,0 @@
-

I think you missed my point. I'm OK with removing them, just not the way how you proposed by simply deleting them. This way you'd lose the history of changes, you wouldn't be able to use git blame to find out who committed specific line, etc.
I also agree that keeping multiple copies is confusing. I did apply my changes to wrong file...
I don't have a good answer how to handle this properly, just some vague idea that could possibly work. We could do interactive rebase to rewrite history. We could keep renaming a single file to match whatever filename the next commit wanted to update. At the end, we would have a single file with the changes applied by appropriate authors. It's a bit more work. I can do an experiment some time next week if you feel it's useful.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I think you missed my point. I'm OK with removing them, just not the way how you proposed by simply deleting them.

If you'd like I can go back and commit each of them as .xml and pile them up properly.
I tried to do this when we first started, but got told it wasn't important.

I also agree that keeping multiple copies is confusing.Well, I obviously like it. Sometimes there’s a need to undo things done in a newer draft and also much easier to fine issues (especially xml related) when you can easily compare to a known “good” copy

Well, 99% of the XML issues go away if you'd let us use kramdown as I originally proposed.  And the formatting of the XML is really really really poor, so no wonder there are problems with debugging xml2rfc issues.  I basically begged you to let me setup the repo properly when we started.

Clearly, git and revision control does not suit you.   It's just a complicated USB drive.

git cat-file HEAD^^^ foo.xml >oldfile.xml

@mcr, I tried to clean up this PR, but removing the commit that deleted extra files caused the job to fail. If you need the original commits, I've pushed all your changes to old-files-removal branch.

My email to Eric and Suresh about the Implementation Status section bounced for that email addres for Sheng. It does seem to be his IETF email but not sure what might be going on.- Bernie (from iPad)On Aug 17, 2023, at 5:37 PM, Michael Richardson @.***> wrote:
@mcr commented on this pull request.
In .github/CODEOWNERS:

@@ -0,0 +1,3 @@
+# Automatically generated CODEOWNERS
+# Regenerate with make update-codeowners
+draft-ietf-dhc-rfc8415bis.xml @.*** @.*** @.*** @.*** @.***

I don't know anything about this, but that address is what I expect to use for IETF work.
Sheng did leave Huawei, so I think his address is correct.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

My email to Eric and Suresh about the Implementation Status section bounced for that email addres for Sheng.

He replied to me at that address.


Error: Undefined property: stdClass::$3.8.4

I Cannot install box 3.8.4. Installer is giving this error.
Error: Undefined property: stdClass::$3.8.4

@neradp
A happy new year and thank you for reporting!
I updated the manifest (checksum) files at a24788885d5d298ccf334713bb27c6130bf6c8e9.

Tested on: PHP 7.1.32 (Mac) and nightly build (Docker)

Will you check if it works for you?
If so, please close the issue. If not, please give us more of your env info. Such as PHP version and OS. Again, thanks for reporting!

It is now ok, thanks


ConvertBuffer trait is private

The issue is an inconsistency and/or missing feature. As per the documentation an implementation of the ConvertBuffer trait exists for ImageBuffer (see bottom of docs page). However, attempting to use the convert() method fails due to the trait being marked private.

src/lib.rs:3:5: 3:33 error: trait ConvertBuffer is private
src/lib.rs:3 use image::buffer::ConvertBuffer;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:6:2: 6:19 error: source trait is private
src/lib.rs:6 	old_img.convert()

Either the documentation should omit mentioning the existence of the convert() method (as it cannot be used), or the ConvertBuffer trait should be made public.
If this method is not meant be used, then I cannot currently see a way to convert between ImageBuffers (e.g. Rgb<u8> -> Rgba<u8>), which would seem like a missing feature.

Tanks for reporting tis issue.
Its a combination of a bug in rustdoc (for displaying te private trait) and an ommited export. Te trait sould of course be public.
(seems like my keyboard lost some letters :( )

I've submitted a one-line fix PR for this. rustc still provides incorrect help information if you attempt to use the method without useing the trait. Specifically, rustc recommends useing the trait from its private location (rather than publicly re-exported location). However, I believe this to be a rustc deficiency.

Fixed by #453.


Permissionsex permissions-default": 0 give all OP permission

Hi i just tried to configure pex and grief prevention, but as in tutorial you suggest to use "permissions-default": 0" for the default group, well all players are able to use tp and all op commands, gamemode and more, i solved the issue by using permissions-default": -1, but it break griefpreventions...
Minecraft 1.8.9/forge 1890
Mods used: EssentialCmds-1.8.9-8.1.14-universal, griefprevention-1.8.9-<IP_ADDRESS>, pex-api4, pixelmon-4.3.0-beta5, spongeforge-1.8.9-1890-4.2.0-BETA-165, worldedit-sponge-mc1.8.9-6.1.4-SNAPSHOT-dist
My permission yml file: http://hastebin.com/hugopumovu.apache

@xion87 to fix your file have you tried removing that line completely?

Already fixed by puting "permissions-default": 0 on griefprevention flag, thank you :)

@bloodmc might take a look into this -- I'm not exactly sure what's going on here (and the permissions file link expired or something), but it seems to be dealt with for now.


enhance: expose desc frontmatter property for variable substitution

enhance: expose desc frontmatter property for variable substitution
This PR:

exposes frontmatter property desc to the fm object for variable substition.
this was a simple omission from the latest changes to variable substition.

Pull Request Checklist
You can go to dendron pull requests to see full details for items in this checklist.
General
Quality Assurance

[ ] Add a test for the new feature
[x] Make sure all the existing tests pass
[x] Do a spot check by running your feature with our test workspace
[x] If your tests involve running [[manual Testing|dendron://dendron.dendron-site/dendron.dev.qa.test#manual-testing]], make sure to update [[Test Workspace|dendron://dendron.dendron-site/dendron.dev.ref.test-workspace]] with any necessary notes/additions to perform manual test ^9jtWc6ov340p
[ ] After you submit your pull request, check the output of our integration test and make sure all tests pass

NOTE: If you running MacOS or Linux, pay special attention to the Windows output and vice versa if you are developing on Windows

Special Cases

[~] If your tests changes an existing snapshot, make sure that snapshots are updated
[x] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), make sure that it is included in test-workspace. We use this to manually inspect new changes and for auto regression testing

Docs

[x] Make sure that the PR title follows our commit style
[x] Please summarize the feature or impact in 1-2 lines in the PR description
[ ] If your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Special Cases
Git

[x] Make sure your branch names adhere to our commit style [[#^6zdCscSXs1MM]]

All PRs should start with [feat|fix|enhance|]/[{description-of-pr-in-kebab-case}]

eg. feat/add-thisthing

Analytics

[~] If you are adding analytics related changes, make sure the Telemetry docs are updated

Github Issue

[ ] If this pull request is addressing an existing issue, make sure to link this PR to the issue that it is resolving.
[ ] If the resolution comes with a document update, link the docs PR to the issue as well.

DOCS: https://github.com/dendronhq/dendron-site/pull/284

RELATED: https://github.com/dendronhq/dendron/issues/1322


fix(Materials): switch to mobile particle shader

There is an issue with certain headsets like the quest using the Oculus Integration CameraRig where the standard particle shader does not render correctly, causing the rest of the screen to render black.
This just switches the default particle shader to the mobile shader. It doesn't look as good, but its hardly noticable and will fix this issue for anyone else and anyone who wants the better looking shader can just provide custom materials.

:tada: This PR is included in version 2.0.12 :tada:
The release is available on:

npm package (@latest dist-tag)
v2.0.12
GitHub release

Your semantic-release bot :package::rocket:


Redundancy with GSMA API General Federated Call Flows document

Problem description
The document https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-API-access-and-user-consent.md is very helpful but it contains a lot of redundant information with GSMA document: https://github.com/GSMA-Open-Gateway/Open-Gateway-Documents/blob/045689e0c42478cb2e10f2829c0cbdeac8a9a184/Chapters/Chapter 06 proposal 1.md#api-general-federated-call-flows
It's probably not a good idea to have 2 technical document on same topic. It will be inconsistency-prone & bring confusion.
Possible evolution
Have one document covering the API flows and it will be the reference.
Perhaps the CAMARA document should be expunge from the detailed flow description and refer the GSMA document and only focus around purpose & consent stuff?
Alternative solution

Additional context
Same comment raised in GSMA: https://github.com/GSMA-Open-Gateway/Open-Gateway-Documents/pull/86

Hi @bigludo7,
I agree on the problem description of duplication and likely inconsistency. However, I would prefer much of the Identity and Consent Management documentation & discussions happening in CAMARA (public) than in GSMA (restricted access).
Would it be possible for GSMA to refer CAMARA docs to avoid duplication (or) could some of those GSMA document directories be made public for wider discussion?
Similar issue was raised here by @chrishowell and   I am not sure we have a conclusion on that topic.

+1 to making GSMA docs public for wider discussion and to allow cross-references. I've added some thoughts to https://github.com/GSMA-Open-Gateway/Open-Gateway-Documents/pull/86.

Issue Open-Gateway-Documents/issues/101 has been created in the GSMA repository and a new pull request will be created to avoid the existing overlap, basically simplify the GSMA doc by referencing the CAMARA doc for the NBI CAMARA API interface.
Created new PR #114. Add some response errors to CIBA documentation as per specification. This does not add anything "new", it is just to make sure that there is no information documented in GSMA that is missing in CAMARA.
we can keep open this issue in CAMARA until all documents in GSMA are updated. Just in case some other information needs to be added to CAMARA in the process.

PR #123 created to move the GSMA Opengateway Chapter 04 Offline Access.md to CAMARA as a last step to fix this issue, taking into account PR https://github.com/camaraproject/IdentityAndConsentManagement/pull/114 as well.

GSMA doc would be adapted to point to the CAMARA OIDC profile as soon as the first version is ready and merged. GSMA Opengateway will simply adopt what is defined in CAMARA OIDC profile as mentioned by them. Issue #82 will be fixed by #121. Changing label to "get fixed by PR #121"


Account missing/invalid field?

I'm quite new at using GDAX API, but I've found some fields in your files that I couldn't find in the GET /Accounts. And the field profile_id is missing in this project.
To be precise, these are the fields that I couldn't find/retrieve from the GET /accounts
https://github.com/dougdellolio/gdax-csharp/blob/d8ec9065b1e09ddd74f55a4c607151cd51e0561b/GDAXSharp/Services/Accounts/Models/Account.cs#L21-L25

@Sotam nice catch. it definitely is missing.... might be a new field.
i have added it in https://github.com/dougdellolio/gdax-csharp/pull/95. will merge if no objection

yeah - add missing fields - the JSON deserialization works with/without fields including errors typos etc.
can't go wrong....

@dougdellolio awesome, still one question left, these fields:
https://github.com/dougdellolio/gdax-csharp/blob/d8ec9065b1e09ddd74f55a4c607151cd51e0561b/GDAXSharp/Services/Accounts/Models/Account.cs#L21-L25 are not in the retrieved JSON, are those fields still used?
@chrisw000 isn't it safer to add the JsonProperty like [JsonProperty("profile_id")] for the Profile Id field? If Newtonsoft is really that smart, then this line: https://github.com/dougdellolio/gdax-csharp/blob/d8ec9065b1e09ddd74f55a4c607151cd51e0561b/GDAXSharp/Services/Accounts/Models/Account.cs#L12 isn't needed either (according to some testing) :)

Re [JsonProperty("profile_id")] --> the serialiser is using some settings that allow it to know about snake case namings... so it can automatically work out the something called ProfileId is profile_id on the json.

@Sotam those fields may not be used. if you can confirm feel free to open a PR with those changes


Add Create Item Button to Navigation Bar in Desktop view

As a User I want to be able to add Items easily. Therefore the create item button shown on the search page should be replaced by a similar button with the same functionality in the navigation bar.

Dependencies
None.
Acceptance Criteria

[ ]  The Navigation bar contains a new nav-item "Create Item" / "Item erstellen" with a dropdown menu including (Book, Movie, Game, Other)
[ ]  Clicking an item type opens the create page for that item type.
[ ] The obsolete create item button on the item search page is removed.

Is the Create Item Button also desired for mobile? Dropdown on mobile navbar seems kinda odd.
Note: ignore the spacing, that will be fixed

I'm no PO but I think that's not necessary, since we already have that yellow circle button in the bottom right corner on mobile

Whats your opinion @MaxSpeer?

I agree with @MatthiasCr. The floating button on mobile is sufficient. Therefore the this button should only be visible in the desktop nav bar.

Aye Sir 🫡


Who is the audience that this is written for?

For the command line solution it is completely unclear what actual commands should be used, is there a reason why an actual example is not provided?  The statement "usually it's recommended to import the Microsoft.Common.targets" is a suggestion, certainly not a solution without further instructions as to what should be done to import the Microsoft.Common.targets".
In the section for Visual Studio the same problem exists, explanations of what might be a cause, but no concrete solution.  Additionally "In Visual Studio the error could mean that targets are not import similar to the command line scenario."  Without proper punctuation and grammar (e.g. "targets are not import") doesn't help understanding what the solution for the issue is.

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

ID: e7a0653a-ec3b-3b60-ae77-a51fedf1966e
Version Independent ID: 90a503d7-6d0f-7b9e-4c2c-45f9a9705ac7
Content: NuGet Error NU1105
Content Source: docs/reference/errors-and-warnings/NU1105.md
Product: nuget
GitHub Login: @zhili1208
Microsoft Alias: lzhi

I think the best error message comes from the IDE. Maybe we should match the docs?
Unable to find project information for '{0}'. Inside Visual Studio, this may be because the project is unloaded or not part of current solution. Otherwise the project file may be invalid or missing targets required for restore.

The command line parts would refer to the sentence: Otherwise the project file may be invalid or missing targets required for restore.
So perhaps we can improve this by saying your project file is not referencing the appropriate targets required for restore?
For example sdk-style projects will have this type of node:
<Project Sdk="Microsoft.NET.Sdk">

and legacy style projects will have this type of node:
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />


Other TTL format support

Hey guys,
thanks for your really cool package!
I found an issue today: the library expects the TTL only in an integer format (like $TTL 12345) but doesn't expect a still valid TTL like $TTL 1d.
Do you mind supporting these as well?

Hey m-terlinde --
We'd happily review a PR for supporting these kinds of TTLs.