"Unable to autoload constant Journal" fail when code files are changed

I'm using Redmine 3.1.0 and Redmine Git Hosting Plugin 1.1.1 and it is working normally. However, when the application is started in development mode (rais s -e development) and any file is changed (Ex.: adding empty spaces at end of /app/controllers/account_controller.rb) this error occurs:
I, [2015-08-13T13:50:03.926875 #16568]  INFO -- : Started GET "/" for <IP_ADDRESS> at 2015-08-13 13:50:03 -0300
F, [2015-08-13T13:50:04.130938 #16568] FATAL -- :
LoadError (Unable to autoload constant Journal, expected /home/eduardo/redmine/app/models/journal.rb to define it):
  activesupport (4.2.3) lib/active_support/dependencies.rb:495:in `load_missing_constant'
  activesupport (4.2.3) lib/active_support/dependencies.rb:184:in `const_missing'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/patches/journal_patch.rb:19:in `<top (required)>'
  activesupport (4.2.3) lib/active_support/dependencies.rb:457:in `load'
  activesupport (4.2.3) lib/active_support/dependencies.rb:457:in `block in load_file'
  activesupport (4.2.3) lib/active_support/dependencies.rb:647:in `new_constants_in'
  activesupport (4.2.3) lib/active_support/dependencies.rb:456:in `load_file'
  activesupport (4.2.3) lib/active_support/dependencies.rb:354:in `require_or_load'
  activesupport (4.2.3) lib/active_support/dependencies.rb:317:in `depend_on'
  activesupport (4.2.3) lib/active_support/dependencies.rb:233:in `require_dependency'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/redmine_plugin_loader.rb:70:in `block in autoload_libs!'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/redmine_plugin_loader.rb:68:in `each'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/redmine_plugin_loader.rb:68:in `autoload_libs!'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/redmine_plugin_loader.rb:61:in `load_plugin!'
  plugins/redmine_git_hosting/lib/redmine_git_hosting.rb:57:in `block in <top (required)>'
  activesupport (4.2.3) lib/active_support/callbacks.rb:444:in `instance_exec'
  activesupport (4.2.3) lib/active_support/callbacks.rb:444:in `block in make_lambda'
  activesupport (4.2.3) lib/active_support/callbacks.rb:190:in `call'
  activesupport (4.2.3) lib/active_support/callbacks.rb:190:in `block in simple'
  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `call'
  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `block in call'
  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `each'
  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `call'
  activesupport (4.2.3) lib/active_support/callbacks.rb:88:in `run_callbacks'
  actionpack (4.2.3) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
  actionpack (4.2.3) lib/action_dispatch/middleware/reloader.rb:71:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.2.3) lib/rails/rack/logger.rb:22:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.4) lib/rack/runtime.rb:18:in `call'
  activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  rack (1.6.4) lib/rack/lock.rb:17:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
  rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.3) lib/rails/engine.rb:518:in `call'
  railties (4.2.3) lib/rails/application.rb:165:in `call'
  rack (1.6.4) lib/rack/lock.rb:17:in `call'
  rack (1.6.4) lib/rack/content_length.rb:15:in `call'
  rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
  /home/eduardo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
  /home/eduardo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
  /home/eduardo/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'

This error does not occur if redmine_git_hosting is not in plugins directory.
If the server is restarted the error message is vanished (Until tne next code file change).

Hi! Yes. I know this bug. Need to investigate.

Actually it seems that it's a Rails bug : http://www.redmine.org/issues/20513 https://github.com/rails/rails/issues/21198

I close it since I can't do anything at this level. This must be fixed in Rails or at least in Redmine.


[text analytics] analyze changes

fixes #16120

/check-enforcer override

Can you also make sure that string_index_type is added as a parameter for the action types corresponding to the sync endpoints that also support it?

yep @abhahn it's there. thanks!


Sidebar polish

These changes should help @lukeac123

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.557%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1240

Relevant Lines:
1724

💛  - Coveralls


WMS/WCS GetCapabilities cache

The GetCapabilities calls in WCS and WMS can take a very long time.  It would be nice to create some sort of autoupdating cache that would periodically update to make those request much faster.
The same might be implemented for the DescribeCoverage calls
I noticed when doing a WCS request from QGIS, the 1st thing it does each time it's getting new data it to do a GetCapabilities followed by a DescribeCoverage.  These each take multiple seconds to complete.

This is probably related but I can no longer use WMS with Qgis. The GetCapabilities request appears to run for a while and then qgis errors with:
Failed to download capabilities:
Download of capabilities failed: Error downloading http://localhost:9444/mrgeo/wms?SERVICE=WMS&REQUEST=GetCapabilities - server replied: Bad Request

More detail, could this be a bad layer?
`

<![CDATA[
org.mrgeo.data.DataProviderNotFound: Unable to find a MrsImage data provider for 19:01 at org.mrgeo.data.DataProviderFactory$MrsImageLoader.call(DataProviderFactory.java:393) at org.mrgeo.data.DataProviderFactory$MrsImageLoader.call(DataProviderFactory.java:348) at com.google.common.cache.LocalCa
...
`

My post is due to colon characters in the s3 object name. Replacing this character fixes the issue I was seeing.

This issue is no longer valid.  There is now a geoserver plugin that better manages WMS/WCS


Use “↔” instead of “<=>”

“<=>” looks like some weird math operator. There’s an actual character for that.
Meta question: should Markdown automatically transform “<=>” too?

Thanks.

Meta question: should Markdown automatically transform “<=>” too?

Might be a great idea. Not sure if there's a parser/converter that does it right now.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #489 (382b006) into main (af86a2e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #489   +/-   ##
=======================================
  Coverage   95.69%   95.69%
=======================================
  Files           1        1
  Lines         395      395
  Branches       53       53
=======================================
  Hits          378      378
  Misses         17       17

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Multiple FAB buttons showing

I am getting multiple FAB buttons in my BottomNavigationBar. For reference please check my question:
Refer

I have same issue on Rotate Device


One security requirement satisfied, and another hard-failing

@niallmccullagh and I were having a discussion over here which I've had more than once with a few people, and everyone has a different opinion about how this scenario should work.  Let's suppose you have a security requirement that looks like:
security:
  - session: []
  - basicAuth: []

So to access this operation, you either need a valid session key, or a valid basic auth header.
Now, let's suppose a client sends a valid session key, but also sends a basic auth header with a username but the incorrect password.  The question is:

Should the server reject this request, because according to the principal of least privilege, we have a user with a bad password who shouldn't be allowed to access anything?
Should the server allow this request, because according to the spec "When a list of Security Requirement Objects is defined on the Open API object or Operation Object, only one of Security Requirement Objects in the list needs to be satisfied to authorize the request," and therefore the request should be satisfied?

Possibly related #971

"Security Requirement Objects that contain multiple schemes require that all schemes MUST be satisfied for a request to be authorized."
Security elements are arrays of Security Requirement Objects.  Only one of the requirements in an array needs to be satisfied to grant access.  All of the schemes within a requirement must be satisfied to satisfy that requirement.  This gives us a nice way to construct AND / OR relationships.

@cmheazel If your Security Requirement Object says "A or B", and A is present and B is not, then clearly the requirement is satisfied.  I understand that part.  If A and B are both present, it's similarly obvious the requirement is satisfied.
But if the requirement is "A or B" and A and B are both present, and A is incorrect, is the requirement satisfied?  By the letter of the spec, it is, because B is present and correct.  I would argue this is incorrect, however.  The client is trying to authenticate as A and is failing, so something is not right here.

Let's start with Example 1:
openapi: 3.0.1  security:     - securityRqmt1:        - scheme1     - securityRqmt2:         - scheme2
There are two security requirements, each with one scheme.  Access is allowed if either scheme1 or scheme2 is valid.
Next we look at example 2:
openapi: 3.0.1  security:     - securityRqmt3:         - scheme3         - scheme4
In this case we have one security requirement which contains two schemes. Access is allowed only if both scheme3 and scheme4 are valid.
Finally we bring it all together in example 3:
openapi: 3.0.1  security:     - securityRqmt1:        - scheme1     - securityRqmt2:         - scheme2     - securityRqmt3:         - scheme3         - scheme4
Access is governed by the following Boolean expression:
scheme1 OR scheme2 OR (scheme3 AND scheme4)
Does that help?

Maybe a table will help.
Let's say we're in example 1.  Access is allowed if scheme1 is valid or scheme2 is valid.
A given security requirement can be in one of three states; valid, missing, or invalid.  For example, if you need a basic auth header, the auth header can not be there at all (missing), it can be there with a valid username and password (valid), or it can be there, but have an invalid username, or valid username but the wrong password (invalid).

s1 valid
s1 missing
s1 invalid

s2 valid
allow
allow
???

s2 missing
allow
reject
reject

s2 invalid
???
reject
reject

These "???"s are the bit I'm concerned with.  You assertion is that, in the upper right corner here, even though the user has provided invalid credentials for scheme1, we should still allow the request through, because they provided valid credentials for scheme2, and since this satisfies the boolean logic "s1 || s2", we're good.
My assertion is that an invalid credential should be treated less like a false and more like a throw new Error("Wat?").  I think we should reject in this case; because the client is clearly providing you with nonsense and doesn't know what it's doing.
My implementation does exactly this second one, but I've had this same discussion many times, and I always come to a different conclusion about how it should be handled.  :)

"When a list of Security Requirement Objects is defined on the Open API object or Operation Object, only one of Security Requirement Objects in the list needs to be satisfied to authorize the request."
The way I would address this requirement is:
IF securityRqmt1 is present and scheme1 is valid THEN allow access
ELSE
IF securityRqmt2 is present and scheme2 is valid THEN allow access
ELSE disallow access
So the value for ???? should be "allow" since one of the security requirements was satisfied.
Note that this does not prevent a security scheme from implementing the throw new Error("what?") response.  But that level of detail resides in the authentication protocol, not is the OAS document.

Ah, but, in your implementation our truth table ends up looking like:

s1 valid
s1 missing
s1 invalid

s2 valid
allow
allow
reject

s2 missing
allow
reject
reject

s2 invalid
allow
reject
reject

One of the ??? becomes allow (because we check s1 first), but the second becomes a reject (because we catch the error from s2).  This gives us a truth table that is weirdly not symmetric.  It also implies that the ordering of security requirements is significant, which I'm not sure the spec implies.

closing this one as not so munch activity ,
will be managed in this most recent
https://github.com/OAI/OpenAPI-Specification/issues/4119


Project still active

Hello, I want to ask if this project is still active. It looks like an interesting project for us.

It indeed is. But I think the commit history speaks for itself. I personally don't have any more time for this project, unfortunately. I can definitely merge some PRs, it that's what you're looking for. Or, help by answering questions.


Botty is not working with set equipment

The not is not working at all while using full Talrasha's set.
Its just moving the mouse at the spawn spot over the end of the stairs and its got stuck with no progress at all.
If I help him to move it continue to do the pindle run normally

has nothing to do with talset. Please fill the template properly, otherwise it is impossible to determine if this is a setup issue or a bug. You can repone or create a new issue when you provide the required information.


Missing --template argument option list in documentation when create a new react native project

Description
In documentation to create a new project using CLI, is mentioned that is possible create a new project with --template flag. See the example that i got from documentation:
npx<EMAIL_ADDRESS>init AwesomeProject --version X.XX.X --template
Now a replace X.XX.XX for the that i want to create
npx<EMAIL_ADDRESS>init AwesomeProject --version 0.70.13 --template ???
Which arguments is possible to use in --template, is not mentioned in docs.
What is the problem?
I can't see the option list to use as argument option for --template when create a new CLI react native project
How can we address it?
Put a list of valid arguments that is possible to use when create a
Why is it important?
It's important know the available templates and options to use
Who needs this?
All developers that want create a new react native project using CLI

In documentation to create a new project using CLI, is mentioned

Which page specifically are you referring to?

Hello @cortinico sorry for your answer, the page of "Setting up the environment" both Android and iOS
https://reactnative.dev/docs/environment-setup?guide=native&platform=android

I see. The documentation for teh --template flag is here https://github.com/react-native-community/cli/blob/main/docs/init.md
I don't think we should add more examples here frankly and the current content is probably sufficient.


Split too short

When you split you dont get too far.


Tool: Execute Python Script

Our agent is capable of reading/writing  python scripts but it lacks the capability to execute them on the server. So create a function execute_python_file (filepath,requried_data):
   return output

Please assign this issue to me.

Sure Go for it 👍

Hello @programmingninjas I'm interested in this issue. Please assign me this issue.

@royGarima1518 sure you can! Kindly set up the project locally and make sure you understand it thoroughly. I will assign this issue to you after 1st Jan as SWOC contributions will start from then. Good Luck!

@programmingninjas  okay, Thanku

@royGarima1518 Assigned you the issue! Start working on them

Can you assign this to me for SWOC. I wish to work on it.

@programmingninjas I have successfully set up the project in my system. Now I'm working on the issue.

Can I work on this issue

@Priyanshu2631 Already assigned to @royGarima1518

@royGarima1518 updates?


configure: put the "advanced mode" in a new tab instead of a link

Suggestion from Lance. On the patch selection page, instead of having just the list of languages with a small and scary "advanced mode..." link, have two tabs: the default tab would be "Languages", with the current default UI, and the other tab could be "Other patches", "Gameplay patches", "All patches", or something else that tells right away that non-language patches exist, and that could invite a curious user to try some of them. Inside this tab, we would have the same advanced UI, just with a more enticing name.
The aim of this change is to improve discoverability of non-translation patches.
Because, with this change, switching between the two tabs feels more natural, the simple view (with only the languages) should reflect better any change that the advanced view would have done. For example, below the radio buttons, write the list of patches added from advanced mode, and have no radio button checked if the user removed the language from the advanced view.
If we want to try it, we need to implement it in a branch and to do some user testing before merging it:

How does a casual user tasked with installing a translation patch react? Ideally, they should either ignore the new tab, or go to the new tab and quickly go back to the original one (if they go to the new tab and use the advanced mode successfully and without struggle, they're probably too advanced for this test).
How does an user without any set goal act? Do they want to explore that part? Do they ignore it? Should probably be tested on several users of various skill level.
We tell the test user "you can install the patch xxx by xxx using thcrap" (that's the kind of scenario that a Touhou fan seeing a patch creator advertising their patch on Twitter would encounter), and let them try to install it without any further help.

Scenario 3 can be done right after scenario 1 by the same user - they did something simple, we ask for a more advanced task, their prior knowledge won't help. Scenario 2 should be done by a different user / group of users, because both 1 and 2 need a user who never saw the new UI with tabs (or even someone who never used thcrap configure v3 at all).
The part about making sure the simple tab shows the changes in the advanced tab don't need to exist for the user testing, I'm mostly concerned on how they will react to the tabbed UI.

See https://github.com/tudi20/thcrap/tree/page2-tabbed


Add overflow_closures and overflow_match_arms opts

cc https://github.com/rust-lang-nursery/rustfmt/issues/1791
overflow_closures
Allow overflow on closures

Default value: true
Possible values: true, false

true:
result.and_then(|maybe_value| match maybe_value {
    None => ...,
    Some(value) => ...,
})

false:
result.and_then(|maybe_value| {
    match maybe_value {
        None => ...,
        Some(value) => ...,
    }
})

overflow_match_arms
Allow overflow on match arms

Default value: true
Possible values: true, false

true:
match lorem {
    None => if ipsum {
        println!("Hello World");
    },
    Some(dolor) => ...,
}

false:
match lorem {
    None => {
        if ipsum {
            println!("Hello World");
        }
    }
    Some(dolor) => ...,
}

Thank you for you PR! Could you please add tests for overflow_closures as well?

Oops, I thought I'd done that. Will add.

Bikeshedding, I would prefer closures_force_block rather than overflow_closures (and likewise for match arms). "Overflow" suggests something being too full, which is not the case here, we're just using a block (you'd need to flip the true/false too).

@nrc That would seem to imply always forcing a block for closures and match arms, whereas this option only forces a block when the respective constructs "overflow" a single line.

Perhaps multline_closure_forces_block or something similar? The issues with the current names are that they don't indicate what happens on overflow, and "overflow" is not a term we use in Rustfmt at the moment.

I like multiline_closure_forces_block. My original choice of overflow did in fact come from the rustfmt code, though; see https://github.com/rust-lang-nursery/rustfmt/pull/1898/files#diff-180bb3ad456cc10517d878fb7795341cR1708 for example (can_be_overflowed).

Thanks for making the changes!


Images to float above tHead

Hi Misha
Hope you can help with this.
I have some "thumbnail" images in my table.
When you hover over the image it expands to show more detail.
But the image still shows behind the tHead.
How can I pull the image in front of tHead?
zIndex seems to have no effect.
Example in jsFiddle:
https://jsfiddle.net/3a35b94w/17/

You are dealing with "css stacking context". Google it if you don't know
about it.
There is not much you can do about it unless you move your images out of
that container on hover
On Thu, Apr 19, 2018, 6:30 AM SiGroves<EMAIL_ADDRESS>wrote:

Hi Misha
Hope you can help with this.
I have some "thumbnail" images in my table.
When you hover over the image it expands to show more detail.
But the image still shows behind the tHead.
How can I pull the image in front of tHead?
zIndex seems to have no effect.
Example in jsFiddle:
https://jsfiddle.net/3a35b94w/17/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mkoryak/floatThead/issues/415, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXbSbVLfNZlULKRMx9Lg3ePAUvWSMORks5tqGdigaJpZM4Tbiwc
.

Turned out to be simple solution.
No need to worry about zIndex on tHead.
Just added position:relative to my .transition style:
.img-zoom {
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
width: 40px;
max-width:100%;
}
.transition {
-webkit-transform: scale(5);
-moz-transform: scale(5);
-o-transform: scale(5);
transform: scale(5);
border: 0.5px  solid silver;
position:relative;

}


az webapp --help failure

This is an autogenerated template. Please review and update as needed.
Describe the bug
Command Name
az webapp
Errors:
:open_mouth:

cannot import name 'SnapshotRecoveryRequest'Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 273, in execute
    parsed_args = self.parser.parse_args(args)
  File "/opt/az/lib/python3.6/site-packages/knack/parser.py", line 256, in parse_args
    return super(CLICommandParser, self).parse_args(args)
  File "/opt/az/lib/python3.6/argparse.py", line 1730, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/opt/az/lib/python3.6/argparse.py", line 1762, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/opt/az/lib/python3.6/argparse.py", line 1950, in _parse_known_args
    positionals_end_index = consume_positionals(start_index)
  File "/opt/az/lib/python3.6/argparse.py", line 1927, in consume_positionals
    take_action(action, args)
  File "/opt/az/lib/python3.6/argparse.py", line 1836, in take_action
    action(self, namespace, argument_values, option_string)
  File "/opt/az/lib/python3.6/argparse.py", line 1133, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/opt/az/lib/python3.6/argparse.py", line 1762, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/opt/az/lib/python3.6/argparse.py", line 1968, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/opt/az/lib/python3.6/argparse.py", line 1908, in consume_optional
    take_action(action, args, option_string)
  File "/opt/az/lib/python3.6/argparse.py", line 1836, in take_action
    action(self, namespace, argument_values, option_string)
  File "/opt/az/lib/python3.6/argparse.py", line 1020, in __call__
    parser.print_help()
  File "/opt/az/lib/python3.6/argparse.py", line 2362, in print_help
    self._print_message(self.format_help(), file)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/parser.py", line 156, in format_help
    super(AzCliCommandParser, self).format_help()
  File "/opt/az/lib/python3.6/site-packages/knack/parser.py", line 246, in format_help
    is_group)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_help.py", line 148, in show_help
    super(AzCliHelp, self).show_help(cli_name, nouns, parser, is_group)
  File "/opt/az/lib/python3.6/site-packages/knack/help.py", line 664, in show_help
    else self.group_help_cls(self, delimiters, parser)
  File "/opt/az/lib/python3.6/site-packages/knack/help.py", line 219, in __init__
    child.load(options)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_help.py", line 242, in load
    loader.versioned_load(self, options)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_help_loaders.py", line 153, in versioned_load
    super(CliHelpFile, help_obj).load(parser)  # pylint:disable=bad-super-call
  File "/opt/az/lib/python3.6/site-packages/knack/help.py", line 163, in load
    description = getattr(options, 'description', None)
  File "/opt/az/lib/python3.6/site-packages/knack/parser.py", line 237, in __getattribute__
    if callable(self._description) else self._description
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 460, in default_description_loader
    op = handler or self.get_op_handler(operation, operation_group=kwargs.get('operation_group'))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 494, in get_op_handler
    op = import_module(mod_to_import)
  File "/opt/az/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/ernani/.azure/cliextensions/webapp/azext_webapp/custom.py", line 10, in <module>
    from azure.mgmt.web.models import (AppServicePlan, SkuDescription, SnapshotRecoveryRequest, SnapshotRecoveryTarget)
ImportError: cannot import name 'SnapshotRecoveryRequest'

To Reproduce:
Steps to reproduce the behavior. Note: Command arguments have been redacted.

Fill in additional info here
Run: az webapp --help

Expected Behavior
A clear and concise description of what you expected to happen.
Environment Summary
Linux-4.4.0-17763-Microsoft-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli                         2.0.62

Extensions:
aks-preview                        0.3.0
front-door                         0.1.1
storage-preview                    0.1.6
webapp                             0.2.6

Python location '/opt/az/bin/python3'
Extensions directory '/home/ernani/.azure/cliextensions'

Python (Linux) 3.6.5 (default, Apr  4 2019, 22:51:52)
[GCC 5.4.0 20160609]

Additional Context
Add any other context about the problem here.

CC: @Nking92
@ernani looks like you have an older version of a web app extension can you delete this & re-try
run

az extension list to confirm you have extensions installed
az extension remove -n webapp

& then re-try.

Sure thing, on it, will report back when done!

the error here is you had an older version of webapp extension installed, & the core cli had some SDK updates that caused the error you are seeing. Is there a specific command from extension you are trying to use? Some of the extension commands did get moved to core.
this command however is still an extension command If you need this one please install the latest extension az extension add -n webapp. Thank you.


InnerBlock div requires flex-grow

InnerBlocks top-level div needs a flex-grow of 1 added to it so that the children display full width.

.extra-fields__block-extra > div {     flex-grow: 1; }

Just for some context, this component has a structure like:

    <slot />

It does this because it may have an action on the right hand side of the card. I think the first div within this component should have flex-grow.

Done in #332


Change some struct members from private to public

To add some unit tests for Antrea, expected flow string will be generated from FlowMod
struct, however, some structs used by FlowMod whose members are private and cannot be
accessed from Antrea code, this PR is to change the struct members from private to public,
then they can be accessed from Antrea code.
Signed-off-by: Hongliang Liu<EMAIL_ADDRESS>

Code change looks good to me, please add commit message to explain the purpoes of this change.

Done.

The change doesn't need to be specific to Antrea. It works for all projects that use the library when they want to have unit test but the structs provided no way to inspect the constructed instances.


Support: Use logstash prune high cardinality fields

I haven't tested this at all, it is a PoC to start a discussion
What
We have guids in some of our field names
As of the time of writing we have over 4k fields in our index in
elasticsearch, which makes kibana hard to use
How to review
Code review
Test in the dev stack in logit
Who can review
Not @tlwr

Having received a verbal thumbs up from 👑 in Slack, I will apply this to Dev

This is not necessary if we clear out the fields in Kibana (when old things expire the GUIDs will go away), logging stacks with low retention do not have the GUID fields.


add securityContext to deployment.

moved security context to values.yaml
capabilities drop need to be all caps for ALL
added seccompProfile
Error from kyverno:

k describe rs aivenator-5fbbbb4d74

disallow-capabilities-strict:
  require-drop-all: 'validation failure: Containers must drop `ALL` capabilities.'
restrict-seccomp-strict:
  check-seccomp-strict: 'validation error: Use of custom Seccomp profiles is disallowed.
    The fields spec.securityContext.seccompProfile.type, spec.containers[*].securityContext.seccompProfile.type,
    spec.initContainers[*].securityContext.seccompProfile.type, and spec.ephemeralContainers[*].securityContext.seccompProfile.type
    must be set to `RuntimeDefault` or `Localhost`. Rule check-seccomp-strict[0] failed
    at path /spec/securityContext/seccompProfile/. Rule check-seccomp-strict[1] failed

See https://github.com/nais/kafkarator/pull/51#issuecomment-1233839192


Forbidden error in graphiQL tool

Hi,
Facing one issue when I am querying through graphiql tool.Same error when I am hitting rest endpoint in postman:
{
“timestamp”: “2021-03-23T21:06:41.333+00:00”,
“status”: 403,
“error”: “Forbidden”,
“message”: “”,
“path”: “/graphql”
}
dependencies:
compile "com.graphql-java:graphql-spring-boot-starter:5.0.2"
compile "com.graphql-java:graphql-java-tools:5.2.4"
compile "com.graphql-java:graphiql-spring-boot-starter:5.0.2"
compile 'com.googlecode.json-simple:json-simple:1.1.1'
compile "org.springframework.cloud:spring-cloud-config-client:1.2.2.RELEASE"
compile "com.oracle.jdbc:ojdbc8:<IP_ADDRESS>"

Hi @ddash357,
It seems like you upgraded the dependencies and the code is not compatible with the new versions. Some changes may be required to make it work, but I haven't updated the project and the tutorial, I'm sorry, it's not on my list of priorities right now.


Fix: App crash when whitespace only string to trimWhiteSpace

This patch also checks to see if the summary of a course section is
empty HTML parsing and trimming instead of before. This prevents course
sections with no string from being visible.
Close #242

Lint error is NewerVersionAvailable, specifically for okhttp3's logging-interceptor. Doesn't concern this PR, hence merging this in.


Upgrade the webrtc version

Is it possible to upgrade the necessary version of webrtc. It was found that the webrtc 0.6.8 version will cause the speaker switch under ios to be invalid during use. So I was wondering if I can upgrade to version 0.6.9 or higher

@ zi6xuan you can specify this in your project in the pubspec file and the dart sip ua plugin will use your specified version. Note that this will only work with minor versions, so you cannot specify the 0.7.0 version of the webrtc plugin.
Example:
dependencies:
 ...
  flutter_webrtc: 0.6.10+hotfix.1


feat(hypercall): introduce chdir and integrate it in UhyveFileMap

This should allow the VM to change the guest "current working directory" stored in UhyveFileMap. This is an early concept, but this is what I'm going for:

During UhyveFileMap::new (with /root or UHYVE_MOUNTPATH or another interface to be decided) by default, file.txt (user input) gets added to the file map as /root/file.txt.
Hermit will be able to create /root/test_folder, chdir into it, then open a file called /root/test_folder/file.txt. In that case, OpenParams will contain file.txt, but we'll have stored /root/test_folder internally.
By opening file.txt, a mapping with the guest path /root/test_folder/file.txt should be added.

The current design assumes that open in Hermit will continue to work as-is, and tries to prepend the chdir with every given opportunity. This has not been tested extensively yet.
Partially fixes https://github.com/hermit-os/uhyve/issues/815.


Features request for devilbox: Password protect the devilbox control panel page

I love devilbox so much and thank you for putting this project together. I used to be a XAMPP user, but now I am using devilbox only for testing and development purposes. I think the following features might improve the project.
Features that might improve usability:

Password protect the devilbox control panel page.

edited by @cytopia
@kanglinyao I have split each of your feature requests into a separate ticket for better tractability.
Your other feature requests have gone here:

#125
#126

@kanglinyao can you check out branch DVL-012-password-protection and see if this is sufficient.
Note, you must edit .env (check env-example for new changes) and enable password protection.

Ok. Thank you.

On Sep 9, 2017, at 9:16 PM, cytopia<EMAIL_ADDRESS>wrote:
@kanglinyao https://github.com/kanglinyao can you check out branch DVL-012-password-protection and see if this is sufficient.
Note, you must edit .env (check env-example for new changes) and enable password protection.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/cytopia/devilbox/issues/121#issuecomment-328265296, or mute the thread https://github.com/notifications/unsubscribe-auth/AUWWhTjiWJypJzcYLBd7LM9UmhEu8tA_ks5sgleEgaJpZM4PH-tr.

Code is merged.


elm-oracle: init at 1.1.1

Motivation for this change
A number of elm ide plugins use elm-oracle.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

My bad, fixed.


Change reference of IdentityServer3 to 4

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/multitenant-identity/web-api.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


rviz displays in only a quarter of the display area

I compiled rviz on OS X 10.13.3 with the latest commit, and it can be launched, however rviz displays only in the left bottom quarter of the display area:

When I resize the display area, the part that showing the image remains always a quarter of it. The message in terminal is listed below"
rosrun rviz rviz
[ INFO] [1520065250.430320000]: rviz version 1.12.15
[ INFO] [1520065250.430372000]: compiled against Qt version 5.10.0
[ INFO] [1520065250.430381000]: compiled against OGRE version 1.7.4 (Cthugha)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[ INFO] [1520065250.733799000]: Stereo is NOT SUPPORTED
[ INFO] [1520065250.733862000]: OpenGl version: 2.1 (GLSL 1.2).
libpng warning: iCCP: known incorrect sRGB profile
Could anyone give me some hint about how to fix this? Thanks a lot in advance!

i think this is related to #1069

Fixed via #1263, released in 1.13.4.


Sign in with Apple external provider

Hi,
Is there an intention to implement "Sign in with Apple" or an "Apple" external provider on this project?
Reference:
https://developer.apple.com/documentation/signinwithapplerestapi
There is a new implementation for Asp.Net Core (https://www.nuget.org/packages/AspNet.Security.OAuth.Apple/)
I would like to port it to OWIN, but I don't know If I can alone. I can contribute with tests or other tasks.
Thanks,

There is no plan, but I'm happy to help you get code in the repo. Also sorry for leaving this unanswered.


Error property-will-be-overwritten-by-spread for non-enumerable properties

TypeScript Version:  3.9.2, 4.0.0-dev.20200514, latest master (7fc456f2d70348725bbef92732b98a33c07f85ad)

Search Terms:

This spread always overwrites this property
Error spread
strictNullChecks

Code
const err = new Error("Error reason");
console.log({
    message: err.message,
    ...err
});

Expected behavior:
Compiles sucessfully using strictNullChecks compiler option. Works correctly with typescript 3.8.3.
Actual behavior:
Compilation fails even though the spread does not overwrite anything since message is a non-enumarable property on Error. Without setting strictNullChecks it works correctly in typescript 3.9.2.
test.ts:3:5 - error TS2783: 'message' is specified more than once, so this usage will be overwritten.

3     message: err.message,
      ~~~~~~~~~~~~~~~~~~~~

  test.ts:4:5
    4     ...err
          ~~~~~~
    This spread always overwrites this property.

Playground Link:
Related Issues: #38577 seems to be a fix for a similar problem

TS doesn't track enumerability, so has no way to know that this isn't a misordered spread. See #9726


Change apk version code from 1 to 1.1 or similar

Hi Audrius, thanks for creating the apk to fast. Please change the version code from 1 to 1.1 or 2 for example. I'm not sure how to mark the version. Uploading your apk gives this error:

Committed new apk 1.1.
Please try it.
Thanks.

Excellent, app is live.


Web Application

Epic
Web app development. Making user interfacing and designing how the web app will look. Will be wizard style application.

Option for Download or Upload
If Download:

Will have a text box to allow user to input text.
After text is inputted, app will give user a list of objects that they can choose from.

User can relabel object chosen.

After object is chosen, app will give user a list of attributes based on object.

User can relabel attribute(s) chosen.

After attribute(s) are chosen, app will display a summary confirming details:

Text entered is correct.
Object chosen is correct (as well as label if applicable).
Attribute(s) chosen are correct (as well as label(s) if applicable).

There will be a Download button at the bottom of the page.

When download button is pressed, a CSV file is downloaded.

If Upload:

Will have an Upload button.

When pressed, user should be able to select a CSV file to upload.

After CSV file is uploaded, user will confirm if detected object is correct.

If object does not have the right name, a text box will be available for user to add the right name.

After detected object is correct or fixed, user will confirm if detected attribute(s) are correct.

If attribute(s) do not have the right name, text boxes will be available for user to add the right names.

After detected attribute(s) are correct or fixed, a text box will appear to allow user to input text.
After text is inputted, app will display a summary confirming details:

Correct CSV file was uploaded.
Correct object name.
Correct attribute(s) names.
Text entered is correct.

There will be a Update button at the bottom of the page.

When update button is pressed, program will end.

User Stories

[ ] story #4
[ ] story #5
[ ] story #6
[ ] story #7
[ ] story #8
[ ] story #9

Updated the implementation requirements after some design changes were implemented.

Done.


[BUG]Re-Pair does not work for IKEA tradfri E1810 and E1744 Symfonisk

Describe the bug
Sorry if I'm at the wrong topic.
I'm using 114.4 HASSIO with Tasmotized Sonoff Zigbee Bridge with ncp-uart-sw_6.7.6_115200.ota on it.
First I paired it successfully, but the dimmer somehow controlled my Xiaomi Lumi plugs with the power button, without any configuration. So I went ahead and tried to re-pair it, but with no luck.
Pairing log
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>] [0xa151:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=124 command_id=Command.Read_Attributes> [0xa151:1:0x000a] ZCL request 0x0000: [[0]] [0x67df:1:0x0b04]: async_update [0x0d4b:1:0x0b04]: async_update Device 0xd3ab (68:0a:e2:ff:fe:d2:54:b0) joined the network [0xd3ab] Requesting 'Node Descriptor' Tries remaining: 2 [0xd3ab] Extending timeout for 0xb2 request Device 0xd3ab (68:0a:e2:ff:fe:d2:54:b0) joined the network Skip initialization for existing device 68:0a:e2:ff:fe:d2:54:b0 [0x2650:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=112 command_id=Command.Read_Attributes> [0x2650:1:0x000a] ZCL request 0x0000: [[0]] Device 0xd3ab (68:0a:e2:ff:fe:d2:54:b0) joined the network Skip initialization for existing device 68:0a:e2:ff:fe:d2:54:b0 [0x6c0f:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=58 command_id=Command.Report_Attributes> [0x6c0f:1:0x0405] ZCL request 0x000a: [[<Attribute attrid=0 value=<TypeValue type=uint16_t, value=5805>>]] [0x6c0f:1:0x0405] Attribute report received: measured_value=5805 [0x67df:1:0x0b04]: async_update [0x0d4b:1:0x0b04]: async_update [0xd3ab] Delivery error for seq # 0xb2, on endpoint id 0 cluster 0x0002: message send failure Tries remaining: 1 [0xd3ab] Extending timeout for 0xb5 request [0x67df:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=206 command_id=Command.Read_Attributes> [0x67df:1:0x000a] ZCL request 0x0000: [[0]] [0xf830:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=113 command_id=Command.Read_Attributes> [0xf830:1:0x000a] ZCL request 0x0000: [[0]] Device 0xd3ab (68:0a:e2:ff:fe:d2:54:b0) joined the network Skip initialization for existing device 68:0a:e2:ff:fe:d2:54:b0 Device 0xd3ab (68:0a:e2:ff:fe:d2:54:b0) joined the network Skip initialization for existing device 68:0a:e2:ff:fe:d2:54:b0 Device 0xd3ab (68:0a:e2:ff:fe:d2:54:b0) joined the network Skip initialization for existing device 68:0a:e2:ff:fe:d2:54:b0 [0xa151:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=125 command_id=Command.Read_Attributes> [0xa151:1:0x000a] ZCL request 0x0000: [[0]] [0x67df:1:0x0b04]: async_update [0x0d4b:1:0x0b04]: async_update [0xd3ab] Delivery error for seq # 0xb5, on endpoint id 0 cluster 0x0002: message send failure [0xd3ab] Requesting Node Descriptor failed [0xd3ab] Discovering endpoints Tries remaining: 3 [0xd3ab] Extending timeout for 0xba request [0x6c0f:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=59 command_id=Command.Report_Attributes> [0x6c0f:1:0x0405] ZCL request 0x000a: [[<Attribute attrid=0 value=<TypeValue type=uint16_t, value=5865>>]] [0x6c0f:1:0x0405] Attribute report received: measured_value=5865 [0x2650:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=113 command_id=Command.Read_Attributes> [0x2650:1:0x000a] ZCL request 0x0000: [[0]] [0x67df:1:0x0b04]: async_update [0x0d4b:1:0x0b04]: async_update [0xd3ab] Delivery error for seq # 0xba, on endpoint id 0 cluster 0x0005: message send failure [0x67df:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=7 command_id=Command.Read_Attributes> [0x67df:1:0x000a] ZCL request 0x0000: [[0]] Tries remaining: 2 [0xd3ab] Extending timeout for 0xbe request [0xf830:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=114 command_id=Command.Read_Attributes> [0xf830:1:0x000a] ZCL request 0x0000: [[0]]
To Reproduce

Pair the above mentionet devices.
Delete the devices under ZHA integration
Try to Re-Pair it.

Try the latest try the latest ha dev tree and/or new beta once it is released today

Sadly I can not join beta in Supervisor, I press join and for the popup also but nothing happens,I'm still on the stable channel.
So I need to do it manually and I found another issue with similar devices where you told the guy to download ZHA and put it in custom_components folder then edit the manifest Json inside it, with a Git link.
The problem is that this link<EMAIL_ADDRESS>is not working anymore.
Could you please provide a new one, this is the only missing piece from my puzzle.
Thanks.

Yes, I've deleted that branch since it was merged. New link
<EMAIL_ADDRESS>the part after @ is the branch name

Okay, so I did put zha folder into custom components. I edited the manifest.json at config/custom_components/zha
Now it looks like this:
{   "domain": "zha",   "name": "Zigbee Home Automation",   "config_flow": true,   "documentation": "https://www.home-assistant.io/integrations/zha",   "requirements": [<EMAIL_ADDRESS>    "pyserial==3.4",     "zha-quirks==0.0.44",     "zigpy-cc==0.5.2",     "zigpy-deconz==0.9.2",     "zigpy==0.23.1",     "zigpy-xbee==0.13.0",     "zigpy-zigate==0.6.2",     "zigpy-znp==0.1.1"   ],   "codeowners": ["@dmulcahey", "@adminiuga"] }
I tried including it in config.yaml as zha:
When HA starts it says unable the load zha component.
Do I need to remove the original component from integrations before?
Error log: Setup failed for zha: Unable to import component: cannot import name 'PERCENTAGE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

The dev must have incompatible changes with master. Just wait till beta is released.

Updated tasmota to <IP_ADDRESS>, now it worked on first try, but I'm facing the same issue as before.
The freshly paired dimmer controls my Lumi zigbee plugs without any configuration. (When I press the on/off button on the 5 button dimmer the plugs turn on and when I press it again they turn off.)
What can cause this issue?

Dimmer could be sending a multicast on group 0x0000 on broadcast endpoint.
I think opple switch behaves the same way until you bind it to a group. Hard to say without debug logs and/or traffic capture

These are the button presses:
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=88 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=0, 61440=121787981
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=78 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=93 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=1, 61440=121787982
[0xba97:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=14 command_id=Command.Report_Attributes>
[0xba97:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>]]
[0xba97:1:0x0006] Attribute report received: on_off=1
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=79 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=106 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=0, 61440=121787983
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=80 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=109 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=1, 61440=121787984
[0x67df:1:0x0b04]: async_update
[0x0d4b:1:0x0b04]: async_update
[0xe7c2:1:0x0b04]: async_update
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=81 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=115 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=0, 61440=121787985
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=82 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=118 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=1, 61440=121787986
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=83 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=121 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=0, 61440=121787987
[0x4256:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=84 command_id=2>
[0x4256:1:0x0006] ZCL request 0x0002: []
[0x4256:1:0x0006] No handler for cluster command 2
[0xe7c2:1:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=123 command_id=Command.Report_Attributes>
[0xe7c2:1:0x0006] ZCL request 0x000a: [[<Attribute attrid=0 value=>, <Attribute attrid=61440 value=>]]
[0xe7c2:1:0x0006] Attribute report received: on_off=1, 61440=121787988


Make the JS runtime pass the WPT suite

Fixed by #81. (Or rather, that PR includes the demonstration that we pass a sizable chunk of the relevant parts of the WPT suite, and is the start of ratcheting that up higher.)


Agones controller does not remove deleted pod from game server list

I had a fleet of 2 game servers running, one of the game server was allocated, I deleted allocated server by running kubectl delete pod pod-name-xyz this deleted the pod but when retrieving fleet information it still showed that fleet had two game servers running and kept returning allocated server IP and PORT to which we couldn't connect because game server pod has been deleted. Is there any reason why agones does not detect deleted pods?

Deleting the Pod should delete the backing GameServer:
Logic is here:
https://github.com/GoogleCloudPlatform/agones/blob/master/pkg/gameservers/controller.go#L167
Sounds like we should add a e2e test here:
https://github.com/GoogleCloudPlatform/agones/blob/master/test/e2e/gameserver_test.go
Make sure it always works.

Oh - I assume this was on 0.9.0-rc?

No, it was on 0.8.1.
0.9.0-rc was crashing our matchamker so we had to revert it for QA, we are not sure why it was crashing our matchmaker, so I have not created an issue for that yet. Once I have time for investigation I will look into it, but approaching release, it might not be soon.

Digging into this some more - deleting a standalone gameserver's pod will make the GameServer move to Unhealthy (it's essentially the same as a crash).
If the GameServer belongs to a Fleet, then the GameServer should be recreated.
Got some more e2e tests working on this.

So I wrote e2e tests in #684, and they all passed - does that match up to the context you were describing?

I forgot to mention that the deleted pod had an allocated game server instance running on it.

Cool - I'll make sure I test that as well!

So you'll be pleased to know, that now that we have an e2e test, we can see this happens... sometimes.
Trying to work out why it only happens sometimes though. Somehow managed to hit it just now manually).
:grimacing: inconsistent bugs are the best.

I think I see where this is... and it was... never really implemented? (or if it was, it was lost). Fixing it!

I've had this happen to me a couple times in v1.0.0

@djsell - thanks for reporting!
Please open a new issue with repro steps, so we can look into it :+1:


Docs for json type

Docs for #214

awesome thanks. I might tweak the English and make the example a little less verbose but this is good for now.


Dense vae pmm

Apply black. Double check you are using the dev instructions and have pre-commit hooks set up in your repo.
Made static VAE methods static.
Build a call method to super the Model call. This is pretty experimental on my end, but should work and provide a bit of convenience with turning things like Training (backprop) on and off elegantly. When we do things like validation, or deployment, we want a way to call vae.encode(x, training=False)
First pass at a training protocol for the VAE.
Lastly some docs and adjustment to data classes. It looks like the design here depends on a sigmoid output and crossentropy loss instead of MSE loss. That means our input data needs to be on [0,1]. This should be fine; however, the default preprocessing was to cast the data on [-1,1]. The tfrecords and datasets are stored as [0,1] though, so no sweat.

Let me know if you have any questions, or want to walk through some of the code. Try and give it a run in the morning with the BTO tfrecords we have previously made/saved.


Kill the spawned ssh-agent on job completion

Currently we leak ssh-agent processes every time these jobs are run.
Running ssh-agent -k at job EXIT will terminate the
agent that exported SSH_AGENT_PID into the current environment.


[hive] Support syncing partition into Hive metastore when using Hive catalog

Purpose
Currently we cannot create partitioned Paimon table in Hive catalog. In Hive, all fields are considered as normal fields and there is no partition key. It brings us at least two downsides:

Users cannot list all partitions through the SHOW PARTITIONS command.
Hive's native partition pushdown cannot be performed. Although currently we approach partition pushdown through Hive's filter pushdown, some Hive compatible system may only support partition pushdown and not filter pushdown, making Paimon nearly unusable in those systems.

This PR introduces a feature to synchronize partitions into Hive metastore when using Hive catalog. In this PR, users can create partitioned Hive table through Flink and Spark using Hive catalog. Creating partitioned table directly in Hive is currently not supported and will be introduced in the next PR.
Tests

TableCommitTest
HiveCatalogITCaseBase#testAddPartitionsToMetastore

API and Format
No.
Documentation
Yes. Document will also be introduced in the next PR.

Very useful pr, yesterday I was discussing with colleagues, how to synchronize partition information to hms

nice done , I also have thought about the solution of inferring the reduce quantity ，this may fix  #864

We need a catalog to register for callbacks here, but we also have a requirement to add separate callbacks to the table. We need to reconsider all these requirements and summarize the modifications that should be made to the paimon-core in the end.

Some ideas about callback:

Callback should belong to the table, and it should be parsed from options
Callbacks can be parsed from options and can have a mode that includes some built-in callbacks, as well as custom class methods. Additionally, we can provide parameter configurations for custom classes.
The catalog should provide a metastore API abstraction for tables, which can complete the adding partition from the corresponding callback.

I'm going to split this PR into two: introduce (custom) callback and introduce metastore client for table. Closing this PR.


Depending on the network speed, requests to the license server are sent or not (race condition?)

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest version
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Demo app
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
OS : Linux Ubuntu 22.04
Browsers : Firefox 112.0.1 (64-bit) & Chrome 112.0.5615.165 (Official Build) (64-bit)
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
Manifest URI : https://dpk3dq0d69joz.cloudfront.net/origin/HLS_140672_0-VO-cenc.ism/stream.mpd
License server URI : https://widevine-dash.ezdrm.com/proxy?pX=BA5EDC&username=artevodpreprod_s-oualid%40artefrance.fr&contentId=HLS_140672_0-VO&playerName=artevod-web-player&playerVersion=3.0.3&deviceId=02988f87bdf02813242192d49ff3646e&requestUuid=c91783f8-d1ba-4eab-993c-4fccc948e34a
Demo app link : https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://dpk3dq0d69joz.cloudfront.net/origin/HLS_140672_0-VO-cenc.ism/stream.mpd;license=https://widevine-dash.ezdrm.com/proxy?pX=BA5EDC&username=artevodpreprod_s-oualid%40artefrance.fr&contentId=HLS_140672_0-VO&playerName=artevod-web-player&playerVersion=3.0.3&deviceId=02988f87bdf02813242192d49ff3646e&requestUuid=c91783f8-d1ba-4eab-993c-4fccc948e34a;panel=CUSTOM CONTENT;build=uncompiled
What configuration are you using?  What is the output of player.getConfiguration()?
{
  "drm": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "servers": {
      "com.widevine.alpha": "https://widevine-dash.ezdrm.com/proxy?pX=BA5EDC&username=artevodpreprod_s-oualid%40artefrance.fr&contentId=HLS_140672_0-VO&playerName=artevod-web-player&playerVersion=3.0.3&deviceId=02988f87bdf02813242192d49ff3646e&requestUuid=c91783f8-d1ba-4eab-993c-4fccc948e34a"
    },
    "clearKeys": {},
    "advanced": {
      "com.widevine.alpha": {
        "distinctiveIdentifierRequired": false,
        "persistentStateRequired": false,
        "videoRobustness": "",
        "audioRobustness": "",
        "sessionType": "",
        "serverCertificate": {},
        "serverCertificateUri": "",
        "individualizationServer": ""
      }
    },
    "delayLicenseRequestUntilPlayed": false,
    "logLicenseExchange": false,
    "updateExpirationTime": 1,
    "preferredKeySystems": [],
    "keySystemsMapping": {},
    "parseInbandPsshEnabled": false
  },
  "manifest": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "availabilityWindowOverride": null,
    "disableAudio": false,
    "disableVideo": false,
    "disableText": false,
    "disableThumbnails": false,
    "defaultPresentationDelay": 0,
    "segmentRelativeVttTiming": false,
    "dash": {
      "clockSyncUri": "https://shaka-player-demo.appspot.com/time.txt",
      "ignoreDrmInfo": false,
      "disableXlinkProcessing": false,
      "xlinkFailGracefully": false,
      "ignoreMinBufferTime": false,
      "autoCorrectDrift": true,
      "initialSegmentLimit": 1000,
      "ignoreSuggestedPresentationDelay": false,
      "ignoreEmptyAdaptationSet": false,
      "ignoreMaxSegmentDuration": false,
      "keySystemsByURI": {
        "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed": "com.widevine.alpha",
      },
      "sequenceMode": false
    },
  },
  "streaming": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "rebufferingGoal": 2,
    "bufferingGoal": 10,
    "bufferBehind": 30,
    "ignoreTextStreamFailures": false,
    "alwaysStreamText": false,
    "startAtSegmentBoundary": false,
    "gapDetectionThreshold": 0.5,
    "durationBackoff": 1,
    "forceTransmux": false,
    "safeSeekOffset": 5,
    "stallEnabled": true,
    "stallThreshold": 1,
    "stallSkip": 0.1,
    "useNativeHlsOnSafari": true,
    "inaccurateManifestTolerance": 2,
    "lowLatencyMode": false,
    "autoLowLatencyMode": false,
    "forceHTTPS": false,
    "preferNativeHls": false,
    "updateIntervalSeconds": 1,
    "dispatchAllEmsgBoxes": false,
    "observeQualityChanges": false,
    "maxDisabledTime": 30,
    "parsePrftBox": false
  },
  "mediaSource": {
    "sourceBufferExtraFeatures": ""
  },
  "offline": {
    "usePersistentLicense": true,
    "numberOfParallelDownloads": 5
  },
  "abr": {
    "enabled": true,
    "useNetworkInformation": true,
    "defaultBandwidthEstimate": 1000000,
    "switchInterval": 8,
    "bandwidthUpgradeTarget": 0.85,
    "bandwidthDowngradeTarget": 0.95,
    "restrictions": {
      "minWidth": 0,
      "maxWidth": null,
      "minHeight": 0,
      "maxHeight": null,
      "minPixels": 0,
      "maxPixels": null,
      "minFrameRate": 0,
      "maxFrameRate": null,
      "minBandwidth": 0,
      "maxBandwidth": null
    },
    "advanced": {
      "minTotalBytes": 128000,
      "minBytes": 16000,
      "fastHalfLife": 2,
      "slowHalfLife": 5
    },
    "restrictToElementSize": false,
    "restrictToScreenSize": false,
    "ignoreDevicePixelRatio": false
  },
  "autoShowText": 3,
  "preferredAudioLanguage": "en-US",
  "preferredTextLanguage": "en-US",
  "preferredVariantRole": "",
  "preferredTextRole": "",
  "preferredAudioChannelCount": 2,
  "preferredVideoCodecs": [],
  "preferredAudioCodecs": [],
  "preferForcedSubs": false,
  "preferredDecodingAttributes": [],
  "restrictions": {
    "minWidth": 0,
    "maxWidth": null,
    "minHeight": 0,
    "maxHeight": null,
    "minPixels": 0,
    "maxPixels": null,
    "minFrameRate": 0,
    "maxFrameRate": null,
    "minBandwidth": 0,
    "maxBandwidth": null
  },
  "playRangeStart": 0,
  "playRangeEnd": null,
  "cmcd": {
    "enabled": false,
    "sessionId": "",
    "contentId": "",
    "useHeaders": false
  },
  "lcevc": {
    "enabled": false,
    "dynamicPerformanceScaling": true,
    "logLevel": 0,
    "drawLogo": false
  }
}

DASH manifest file contents
<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Unified Streaming Platform (version=1.10.12-18737) -->
<MPD
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="urn:mpeg:dash:schema:mpd:2011"
  xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
  xmlns:cenc="urn:mpeg:cenc:2013"
  type="static"
  mediaPresentationDuration="PT56M0.085333S"
  maxSegmentDuration="PT3S"
  minBufferTime="PT10S"
  profiles="urn:mpeg:dash:profile:isoff-live:2011">
  <Period
    id="1"
    duration="PT56M0.085333S">
    <BaseURL>dash/</BaseURL>
    <AdaptationSet
      id="1"
      group="1"
      contentType="audio"
      minBandwidth="64001"
      maxBandwidth="192000"
      segmentAlignment="true"
      audioSamplingRate="48000"
      mimeType="audio/mp4"
      codecs="mp4a.40.2"
      startWithSAP="1">
      <AudioChannelConfiguration
        schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011"
        value="2">
      </AudioChannelConfiguration>
      <!-- Common Encryption -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        xmlns:cenc="urn:mpeg:cenc:2013"
        schemeIdUri="urn:mpeg:dash:mp4protection:2011"
        value="cenc"
        cenc:default_KID="81CC8C2D-CA57-452C-A3A4-DD35BF2430D7">
      </ContentProtection>
      <!-- Widevine -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        schemeIdUri="urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED">
      </ContentProtection>
      <!-- PlayReady -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        schemeIdUri="urn:uuid:9A04F079-9840-4286-AB92-E65BE0885F95"
        value="MSPR 2.0">
      </ContentProtection>
      <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
      <SegmentTemplate
        timescale="48000"
        initialization="HLS_140672_0-VO-cenc-$RepresentationID$.dash"
        media="HLS_140672_0-VO-cenc-$RepresentationID$-$Time$.dash">
        <SegmentTimeline>
          <!-- Some long data -->
        </SegmentTimeline>
      </SegmentTemplate>
      <Representation
        id="audio=64001"
        bandwidth="64001">
      </Representation>
      <Representation
        id="audio=128000"
        bandwidth="128000">
      </Representation>
      <Representation
        id="audio=192000"
        bandwidth="192000">
      </Representation>
    </AdaptationSet>
    <AdaptationSet
      id="2"
      group="2"
      contentType="video"
      par="16:9"
      minBandwidth="292000"
      maxBandwidth="1173000"
      maxWidth="854"
      maxHeight="480"
      segmentAlignment="true"
      mimeType="video/mp4"
      startWithSAP="1">
      <!-- Common Encryption -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        xmlns:cenc="urn:mpeg:cenc:2013"
        schemeIdUri="urn:mpeg:dash:mp4protection:2011"
        value="cenc"
        cenc:default_KID="F5C0B65F-2C0C-4963-85CE-3A417481EEF0">
      </ContentProtection>
      <!-- Widevine -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        schemeIdUri="urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED">
      </ContentProtection>
      <!-- PlayReady -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        schemeIdUri="urn:uuid:9A04F079-9840-4286-AB92-E65BE0885F95"
        value="MSPR 2.0">
      </ContentProtection>
      <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
      <SegmentTemplate
        timescale="12800"
        initialization="HLS_140672_0-VO-cenc-$RepresentationID$.dash"
        media="HLS_140672_0-VO-cenc-$RepresentationID$-$Time$.dash">
        <SegmentTimeline>
          <S t="0" d="38400" r="1119" />
        </SegmentTimeline>
      </SegmentTemplate>
      <Representation
        id="video=292000"
        bandwidth="292000"
        width="426"
        height="240"
        sar="640:639"
        codecs="avc1.42C01E"
        scanType="progressive">
      </Representation>
      <Representation
        id="video=586000"
        bandwidth="586000"
        width="640"
        height="360"
        sar="1:1"
        codecs="avc1.42C01E"
        scanType="progressive">
      </Representation>
      <Representation
        id="video=1173000"
        bandwidth="1173000"
        width="854"
        height="480"
        sar="1280:1281"
        codecs="avc1.640028"
        scanType="progressive">
      </Representation>
    </AdaptationSet>
    <AdaptationSet
      id="3"
      group="2"
      contentType="video"
      par="16:9"
      segmentAlignment="true"
      width="1280"
      height="720"
      sar="1:1"
      mimeType="video/mp4"
      codecs="avc1.640028"
      startWithSAP="1">
      <!-- Common Encryption -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        xmlns:cenc="urn:mpeg:cenc:2013"
        schemeIdUri="urn:mpeg:dash:mp4protection:2011"
        value="cenc"
        cenc:default_KID="9F0F8E01-2ED6-4451-AD3F-39E04AF463B1">
      </ContentProtection>
      <!-- Widevine -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        schemeIdUri="urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED">
      </ContentProtection>
      <!-- PlayReady -->
      <ContentProtection
        xmlns="urn:mpeg:dash:schema:mpd:2011"
        schemeIdUri="urn:uuid:9A04F079-9840-4286-AB92-E65BE0885F95"
        value="MSPR 2.0">
      </ContentProtection>
      <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
      <SegmentTemplate
        timescale="12800"
        initialization="HLS_140672_0-VO-cenc-$RepresentationID$.dash"
        media="HLS_140672_0-VO-cenc-$RepresentationID$-$Time$.dash">
        <SegmentTimeline>
          <S t="0" d="38400" r="1119" />
        </SegmentTimeline>
      </SegmentTemplate>
      <Representation
        id="video=2350000"
        bandwidth="2350000"
        scanType="progressive">
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>

What did you do?
Play the video in the shaka player demo app, and open the settings menu to list the available resolutions.
What did you expect to happen?
The available resolutions (apart from auto) should be :

720p
480p
360p
240p

This is what I correctly observe in Firefox:

What actually happened?
In Chrome, only the "HD" resolution (720p) is displayed:

In both browsers, the com.widevine.alpha key system is used.
It looks like in Chrome, only one AdaptationSet is loaded, this one :
    <AdaptationSet
      id="3"
      group="2"
      contentType="video"
      par="16:9"
      segmentAlignment="true"
      width="1280"
      height="720"
      sar="1:1"
      mimeType="video/mp4"
      codecs="avc1.640028"
      startWithSAP="1">

... and the other one containing the lower 480p, 360p & 240p resolutions simply gets discarded 🤔 ...
It looks like a bug in shaka player to me, so your help is welcome!
Thanks!

The player reports that some DRM keys are missing which it believes are required for those other variants.

If you run the demo app and open the JS debugger, you can get a handle to the player with:
player = video.ui.getControls().getLocalPlayer()

Here's a nasty list expression that gives you a nice readable version of what keys the player thinks is required for each resolution:
Array.from(new Set(player.getManifest().variants.map(
    v => v.video.height + ': ' + Array.from(v.drmInfos[0].keyIds).sort().join(", ")))).sort()

On Chrome, I get this:
240: 81cc8c2dca57452ca3a4dd35bf2430d7, f5c0b65f2c0c496385ce3a417481eef0
360: 81cc8c2dca57452ca3a4dd35bf2430d7, f5c0b65f2c0c496385ce3a417481eef0
480: 81cc8c2dca57452ca3a4dd35bf2430d7, f5c0b65f2c0c496385ce3a417481eef0
720: 81cc8c2dca57452ca3a4dd35bf2430d7, 9f0f8e012ed64451ad3f39e04af463b1

Here's an expression for map of the keys we actually have:
player.drmEngine_.keyStatusByKeyId_

Which in Chrome are:
Map(2) {'9f0f8e012ed64451ad3f39e04af463b1' => 'usable', '81cc8c2dca57452ca3a4dd35bf2430d7' => 'usable'}

This explains why some variants are not used in Chrome.  We don't have the necessary keys to decrypt them.
One of two things must be happening:

On Firefox, we get different keys
On Firefox, we see different key requirements for those variants

Can you please try those snippets in the debugger on Firefox and let us know which is the case?

If you're getting different keys in Chrome vs Firefox, then you need to fix your license server or license proxy.  If a third party provides that service, please contact them.
If you get the same keys on both browsers, but the player determines that the requirements for the variants are different, we have two more possibilities:

The server serves a different manifest to each browser
The player reads the same manifest differently on two different browsers

If the server is serving different manifests, then that would be resolved in your server.  This seems very unlikely, though.
If the player reads the same manifest differently in the two browsers, that would be a player bug.  This also seems a little unlikely to me, but it's possible.

Thanks for the detailed debugging tips @joeyparrish !
On Firefox, I get the following :
Map of required keys for each variant (this is the same as in Chrome) :
240: 81cc8c2dca57452ca3a4dd35bf2430d7, f5c0b65f2c0c496385ce3a417481eef0
360: 81cc8c2dca57452ca3a4dd35bf2430d7, f5c0b65f2c0c496385ce3a417481eef0
480: 81cc8c2dca57452ca3a4dd35bf2430d7, f5c0b65f2c0c496385ce3a417481eef0
720: 81cc8c2dca57452ca3a4dd35bf2430d7, 9f0f8e012ed64451ad3f39e04af463b1

=> We get the same keys on both browsers.
The map of usable keys (player.drmEngine_.keyStatusByKeyId_) :
Map(3) { f5c0b65f2c0c496385ce3a417481eef0 → "usable", 81cc8c2dca57452ca3a4dd35bf2430d7 → "usable", 9f0f8e012ed64451ad3f39e04af463b1 → "usable" }

As we can see, the f5c0b65f2c0c496385ce3a417481eef0 key for lower resolutions video streams is considered usable on Firefox. So somehow the player determines that the requirements for the variants are different...
I've compared the manifest files served to Chrome and Firefox, they are strictly the same.

I just observed something very interesting :
If I turn on network throttling in Chrome DevTools (set to 'Fast 3G'), ... I get all the resolutions in Chrome :

I can still reproduce the problem in Chrome today with the latest version of Shaka Player, can someone please take a look? Thanks !

Hi !
I've reproduced both issues with the original demo app link given in this issue description :

In Chrome only the 720p resolution is listed, whereas in Firefox (both are using Widevine), all the resolutions 720p, 480p, 360p & 240p are listed

If I turn on Network Throttling in Chrome DevTools (set to Slow or Fast 3G), then all the resolutions are listed in Chrome.

Idk if both issues are indeed the same...

It definitely sounds like a race to me.  I'm not sure where it could be, but I'll take a look.

Can you check if the error still occurs in version 4.7.4? Thank you!

Can you check if the error still occurs in version 4.7.4? Thank you!

I just reproduced the issue using latest version of shaka player 4.7.6 in the shaka player demo page :
Manifest URL is : https://dpk3dq0d69joz.cloudfront.net/origin/HLS_140672_0-VO-cenc.ism/stream.mpd
Custom License Server URL is :
https://widevine-dash.ezdrm.com/proxy?username=artevodpreprod_v-chagny%40artefrance.fr&contentId=HLS_140672_0-VO&playerName=artevod-web-player&playerVersion=4.2.1&deviceId=0041be4e0d87a5db3a734634ba9b9586&requestUuid=ea3016d2-17f8-4105-a93a-ec89839f9cf3&pX=BA5EDC
What did you do?
Play the video in the shaka player demo app, and open the settings menu to list the available resolutions.
What did you expect to happen?
The available resolutions (apart from auto) should be :
720p
480p
360p
240p
What actually happened?

In Firefox, it works OK.
In Chrome, only the "HD" resolution (720p) is displayed. If I switch to Slow 3G in Network Throtlling mode in Chrome DevTools, then all the resolutions are correctly shown in Chrome.

@shaka-bot reopen

@loicraux  I can reproduce the error in version 4.7.6 and in nightly, but not in my local using the main branch, it is strange, I will investigate the problem further.

I have found the error, the problem is that its manifest does not include pssh information, so we have to wait for the browser's encrypted event. This means that if we have no restrictions, the highest quality is chosen, then we only have the initialization segment (pssh info) of the audio and the 720p quality in Chrome. In Firefox we do not have the Network Information API so we start at a lower quality but quickly jump to 720p, which causes 3 sessions to be created in the DRM and we obtain the 3 keys, but in Chrome we only obtain 2.

A possible solution is to identify that the manifest does not have pssh information and in that case always wait to obtain a key before indicating that a quality is not compatible. See https://github.com/shaka-project/shaka-player/blob/main/lib/player.js#L6541

A possible solution is to identify that the manifest does not have pssh information and in that case always wait to obtain a key before indicating that a quality is not compatible. See https://github.com/shaka-project/shaka-player/blob/main/lib/player.js#L6541

Thanks for analyzing the problem and determining its cause!
So, to be clear, this is a fix to be applied to Shaka Player?

I have to create a PR to fix it, but yes.


[release-2.0] cherry-pick upgrading circle ci config to v2

What have you changed? (mandatory)
This PR cherry-picks https://github.com/tikv/tikv/commit/393fbf492717f7e810a46143ffcbb00acac98265 (PR #2993) to branch release-2.0 . Hopefully it can fix that circle-ci is failing on release-2.0 branch.
DNM. At first please see whether this PR does fixed the CI.
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
By CI
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

It seems things goes well. @breeswish @zhangjinpeng1987 PTAL


fix indent for caBundle Volume in machine-controller.yaml

Fixes bad indent for ca bundle Volume which leads to an invalid yaml when using CA bundle.
NONE

/test pull-kubeone-test


Move to golangci-lint-full

This patch moves the pre-commit-config to golangci-lint-full and clean up most of the code leftovers.
In particular:

unused func params are removed
better use of ctx context.Context
fix leftovers from previous PRs (e.g., ineff assignments)
fix revive error for envTests

/test glance-operator-build-deploy-kuttl


Delete a trick.

Creating a method to delete a trick.

Creating a method to delete a trick is terminated.


Getting this error everytime I start the game

Here's a pic of th console output.

AbenOG, I think you should first launch the game normally (i.e., the regular online version) this will start the actual game download (5-7 gigs of data). Afterwards, you can close the game and start the YgoMaster client. I think then things will work.  Your error seems to hint at missing game data. Just downloading the game initially via Steam is not enough (because the game downloads an additional 5-7 gigs of data).

Hey Yusuf,
Thank you for your response.
The game data is confirmed downloaded from my side of things, works normally when I lunch the game from Steam.
Thank you in advance.

https://github.com/pixeltris/YgoMaster/blob/master/Docs/FileLoadError.md
I have no intention of letting the user provide the folder path to use as it's unlikely the user will know which folder is updated as the folder names are based on the hash of the steam user id.


Question: Does NRF52840-DK support both OpenThread and BLE at the same time

Hi,
I'm planing to use the zephyr BLE  as one link interface of OpenThread, so that OpenThread needs to support 802.15.4 and BLE radio at the same time. However, NRF52840 only has one hardware radio module on it. Nordic enabled multiprotocol function in nRF5 SDK to resolve this issue.
I want to know if the zephyr supports both OpenThread and BLE at the same time on nRF52840?
Thank you

No, it does not. If you want multiprotocol support please use nRF Connect SDK, which is based on Zephyr.


Disable access control

We are not using github and use our own authentication in front of Rancher. The docs state something about disabling access control. Is this only possible after linking to github? And if so, does this also disable the "Access Control is not configured" bar? I would like to be able to disable it.

Yes, it only refers to disabling after linking to github.
You can remove the "Access Control is not configured" bar by clicking on the "X" that is on the right hand side of the bar.
We are adding LDAP authentication as well as local authentication in the near future in case that interests you. https://github.com/rancher/rancher/issues/688  and https://github.com/rancher/rancher/issues/1687

How are you putting auth in front of Rancher?  You'll want to make sure the API is locked down, but that the host agents can still talk to it.

You can remove the "Access Control is not configured" bar by clicking on the "X" that is on the right hand side of the bar.

Yes this works until you refresh the page, then the bar is there again. As a temporary solution I remove the bar using an ad blocker.

We are adding LDAP authentication as well as local authentication in the near future in case that interests you. #688 and #1687

We already have authentication for all our internal services.

 You'll want to make sure the API is locked down, but that the host agents can still talk to it.

Rancher, and the hosts added to Rancher, are all in the same network. So the agents connect via a local network. External access to Rancher is via nginx. And nginx configured with oauth2-proxy. Does this answer your question?

This is ancient, but at some point long ago a user preference was added to hide the message, and if auth is off there is only one "user" as far as we're concerned so that would hide it for everyone.


update closed refs to os refs

Work done

telicent-io chagned to telicent-oss
(optimistic) tweaks to Readme

yep


Create information architecture diagram for Reporting

Describe the task
Create an preliminary information architecture diagram on the basis of existing service design work
Acceptance Criteria

[x] identify a format for IA most suitable for the team
[ ] comb through existing Miro boards to create a draft IA
[ ] review with Patricia
[ ] Iterate
[ ] share with devs
[ ] Iterate

Additional context

Add any other context about the task here.
Or here

Might be dependent on the user story mapping - also might need to be refined/changed. ( @suhafa )

Created draft IA and shared with the team for a review. Please see the 'Reporting IA' board in the 'BCIERS IA & Workflows' Miro board for the artifact.


How did u get acc and gyro bias params for ur imu ????

If the IMU datasheet does not provide them, you can follow the instuction of this package https://github.com/ori-drs/allan_variance_ros

Thanks for ur reply
@Cristian-wp
I will check it out


[REG] Issue 14779 - incorrect addressing of arguments in require/in-contract

https://issues.dlang.org/show_bug.cgi?id=14779
In VarDeclaration::checkNestedReference(), although fdthis is '__require'
or '__ensure', and hat will get called directly and won't make outer functions
closure, the variable has to be appended to fdv->closureVars[] to make
fdv->hasNestedFrameRefs() returning true.

Please target stable.
If you use the nice git-hub tool, it's as easy as git hub pull new -b stable.

Ah, forget about my comment. The issue doesn't affect the stable branch.

Yes, recent wrong-code bug fixes around contracts are only in master branch.

Sure this works well with https://github.com/D-Programming-Language/dmd/blob/4e5a31ec6be106ef6c30f7cb3f36de0c1447c8fb/src/func.c#L4377?

Sure this works well with https://github.com/D-Programming-Language/dmd/blob/4e5a31ec6be106ef6c30f7cb3f36de0c1447c8fb/src/func.c#L4377?

No, the property function is final, so isVirtualMethod() returns false.

@MartinNowak The line would be the correct location I should fix. When Walter had fixed issue 7335 in ff560efacfe87778a6e753626a9ade965a361a00, he added isVirtualMethod(), but it wrongly excluded final functions.

@MartinNowak All green.

Auto-merge toggled on

Thanks!


Plugin with id 'kotlin-android' not found

Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'kotlin-android' not found.

Hi @InutsukaKiba,
Please provide more information about your project. Do you have kotlin configured for this Android project or is it a Java only project?


bug: CairoLS tends to invoke Scarb unnecessarily too frequently when editing Scarb.toml

Bug Report
Cairo version:
43afafdcc947202a918fe872288e8f601c772554
Current behavior:
https://github.com/starkware-libs/cairo/assets/3450050/4b733e8d-bd7f-4a52-b2b7-e1b17bf8dd21
Expected behavior:
The notifications' abomination should not happen.
The solution for this is to cache Scarb state. To be done during the grand rewrite.
Steps to reproduce:
See video.
Other information:
Thanks, @milancermak, for the video!

Just to clarify, this happens not just with Scarb.toml, but when editing and saving any file in the workspace.
IDK if it makes a difference, but I often have multiple Code instances of .code-workspaces open, each workspace can/does contain more than 1 project folders.

Scarb seems to be invoked excessively for extremely simple code changes (even within the same line)

I am aware of the fact that CairoLS is invoking Scarb too much, and resolving that problem should fix this particular issue.
As for multiple workspaces support, this is a thing that I believe nobody has been thinking about yet and the codebases of both the LS and VSC extensions are not writing with supporting this in mind. If this works in any way -- it does rather coincidentally than intention.

Superseding this bug task with #6124 that describes a bigger feature that will fix this bug.


Rewrite [codacy] badges; rm unused svg helpers

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS

This pull request introduces 5 alerts when merging c6763c5f460105e1770d12b71ff2139a01a5f735 into c8ce4fabb4812f0e56d7e6e1ca00d479b062c449 - view on LGTM.com
new alerts:

4 for Wrong use of 'this' for static method
1 for Incomplete string escaping or encoding

Comment posted by LGTM.com

This pull request introduces 1 alert when merging e92cb2278dc4637cdd9063e8501a83ca2ef15ee2 into 88402dd7a8ed64953937157de866d9a62dab8c48 - view on LGTM.com
new alerts:

1 for Incomplete string escaping or encoding

Comment posted by LGTM.com


More testing

Maybe we could start looking into adding Playwright tests as well at some point.

Right. Although there might be some issues related to the in-browser kernel not being able to start correctly when running in an actual browser, which could be caught by the end-to-end checks.


FreeformShape, Composites, and Modifiers on macOS

Hi all
I am new to pybinding and using macOS. Going through the tutorial everything is going smooth as long as polygns are being used. Problems show up when using  rings , circles, or composite shapes and/or modifiers. Basically, the job does not terminate. I systematically downgraded both python to 3.5 and pybinding down to 0.8, but still facing the same issue. I do not have any similar issues by installing pybinding on windows or linux
Any suggestion?!

Fixed, I had to downgrade miniconda3!

I messed up my Mac and can't remember what I exactly did to make it work. Can you give in a bit more details ?
What exactly was the problem and which version of the Miniconda did you downgrade to ?


Data source doesn't refresh a source static file

Hi,
I started to use this plugin to parse a static JSON file from the server. It works well. But I recently modified the content of that JSON file and the modified version is available through the same URL, same filename. However the plugin didn't pick up the changes and still provides the old JSON content. Any refresh or setting cache time to 0 doesn't help. Any ideas?

Have you ever found a fix or workaround for this issue?


Add __add__(), __iadd__() and similar to Dataset class

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
I would like to be able to concatenate datasets as follows:
>>> dataset["train"] += dataset["validation"]

... instead of using concatenate_datasets():
>>> raw_datasets["train"] = concatenate_datasets([raw_datasets["train"], raw_datasets["validation"]])
>>> del raw_datasets["dev"]

Describe alternatives you've considered
Well, I have considered concatenate_datasets() 😀
Additional context
N.a.

I was going through the code, and I believe the implementation of add() and iadd() will be similar to concatenate_datasets() after the elimination of code for arguments other than the list of datasets (info, split, axis).
(Assuming elimination of axis means concatenating over axis 1.)


Bun compatibility/bypass

As mentioned here https://github.com/oven-sh/bun/issues/4071#issuecomment-1670533797, the main branch of bun now works with jiti, but in a very inefficient way due to double-work. It'll be part of the next release, and can already be used now with the canary release (bun upgrade --canary).


Enable codecov.io

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "coverage1" git@github.com:gliptak/containerd.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Current coverage is 65.63% (diff: 100%)

No coverage report found for master at f0e1216.

Powered by Codecov. Last update f0e1216...87af179

LGTM

LGTM


Feature Request: Unread messages & mentions

It would be cool to have channels with mentions to be highlighted red, and with unread messages to be bold or italic or something similar.

a number in brackets before the name of the user or channel could show how many unread messages there are. Like this:   [2]UserName

Anyone working on this? This would greatly improve the program, and the original post is from 2 years ago...

Yes, this would allow me to use the program as I can’t manually check every channel of every server I am in to see if there are new messages.


We should be using the logging module

Passing the verbose flag everywhere in the code base is not maintainable. We can avoid this by setting the verbosity level globally in the code base and use logging to output messages.
Useful links / resources:

https://stackoverflow.com/questions/14097061/easier-way-to-enable-verbose-logging
https://stackoverflow.com/questions/5980042/how-to-implement-the-verbose-or-v-option-into-a-script
For testing logging with pytest https://docs.pytest.org/en/7.1.x/how-to/logging.html

The other way to do this is with a Singleton logging object that gets instantiated once at entry point.
I'll look into it.

Hey team! Please add your planning poker estimate with Zenhub @ccarouge @SeanBryan51

@SeanBryan51, this is basically done, however I had to back out several changes as many of the tests rely on assertions against stdout.
Do you have a plan going forward for doing tests against stdout? I don't think it is maintainable to for specific log messages when each log entry is timestamped.
Did you ever look into subprocess mock?

I have to admit the assertions against stdout might not be the best approach as I've found maintaining those to be a pain. It could be worth rethinking how or if we should test stdout.
On time stamped log entries, can we have time stamps disabled by default and enabled for a special 'debug' mode?


Unable to retrieve child resources

Storage Explorer Version: 1.7.0
Platform/OS: Windows 10
Architecture: x64
Regression From: 1.6.*
Bug description
Cannot expand any storage accounts without getting the error shown in the subject line
Steps to Reproduce

Log into an account with fill read/list/delete access to a storage account.
Click "Load more" on any storage accounts

Expected Experience
I expect to view the blobs and files in the storage account
Actual Experience
As above
Additional Context

Do you have any custom connections (local and attached, or resources you've attached to via connection string or SAS URI)? If so, there's a posibility one got corrupted somewhere, which would block retrieving sources. We're working on a fix that prevents corrupted attachements from preventing subscription resources from working properly.
An easy way to check is to open the developer tools (hit F12), select the Application tab, expand Local Storage > file:// and look for StorageExplorer_CustomConnections_* keys. If anything in there is nonempty, you have a custom connection saved.
If you want to go further, you can debug the custom connection loading process:

Open the Sources tab in the developer tools.
Open CustomConnectionStore.js.
Drop a breakpoint on line 54:return [2 /*return*/, { id: connectionNames_1[index], data: data }];

Reload Storage Explorer.

The breakpoint should pause the app soon after reloading. Step through each iteration and check the value for data each time. If you have a corrupted connection, the breakpoint will be hit fewer times than you have connections.

Closing due to lack of response.


implement a network switch between test and mainnet

There should be a testnet/mainnet switch on the orders page
Its functionality is already implemented at switcheo/network

#8 merged