Only display Enterprise hint on CLI mode

This change moves the logic to detect and display the Enterprise
registration hint into the same logic check as that which decides if the
successful-connection message should be displayed.
Addresses comment https://github.com/influxdb/influxdb/pull/4514#issuecomment-151665728

@corylanou @pauldix

+1


Disable no-inferrable-types eslint rule

This should fix the create release-X.Y task.
This was a stylistic rule introduced when we switched to using ts-eslint's presets, but we explicitly annotate some stuff that's inferable on purpose. Since this is just style, it seems okay to just disable it.

Since users in #57475 got annoyed, I'll post it here.
@typescript-bot create release-5.5


Wrong IP Address given in documentation

Background of Issue: We are using Azure Devops Pipeline to deploy a series of files using Powershell Remote. For that we created a new Azure Windows VM , opened the inbound firewall rule : port 5986 for enable Powershell Remote and was able to connect successfully from Azure Devops Pipeline and successfully deployed.
However there is a requirement we on-premise VM, instead of using Azure VM. Our company has requirement to open only specific IP inbound rules, so to find the exact ip's from azure devops pipelines,  we came across this documentation.  Our Azure Devops region is West Europe, so according to this document the West Europe Pipelines IP is as given below
Releases service - West Europe	<IP_ADDRESS>, <IP_ADDRESS>
We opened a firewall for that ip and connected the powershell from Devops pipeline to our VM and found failed. When we netstat the earlier Azure VM we created we could see a different set o fIP from Azure Piplines which was accessing the VM . These were the IP's we found while net stat from Azure VM.
<IP_ADDRESS>:1987,<IP_ADDRESS>:1988,<IP_ADDRESS>:1989,<IP_ADDRESS>:1990.
Issue
The IP given in documentation for West Europe is entirely wrong. The actual IP we saw while using netstat in VM is <IP_ADDRESS>
Kindly give more clarity on this.

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

ID: 5a35b397-3fe8-122e-042e-280326f88a38
Version Independent ID: 3e0f0afc-abeb-01be-d767-813cd6ad78db
Content: Migration import from TFS to Azure DevOps Services - Azure DevOps
Content Source: docs/articles/migration-import.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Thanks for reaching out, @vishnuvg1984. I've created a user story for my backlog to address this and will follow up with you. Thanks again!

@vishnuvg1984 - The IP addresses on the page that you discovered are meant for the data migration tool for Azure DevOps only. They cover a small segment slice of the total product space that participate in bringing customer's data in from Azure DevOps Server (on-prem) to Azure DevOps (hosted). While we try to keep the IP addresses up to date, we sometimes fall behind. Therefore, our client tool has a catch to provide a missing IP address if any of them changes.
I recommend downloading the agent IP list on the following page: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
They cover the scenario that you're looking handle.

@vishnuvg1984, based on the information provided by @roofers, I'll be closing this issue. However, please do respond if you have any further questions. Thank you and have a great day!


Service invoked too many times in a short time

markets_region_orders(10000002,"all")
return
Error
Exception: Service invoked too many times in a short time: urlfetch. Try Utilities.sleep(1000) between calls. (line 43).

This is a limitation of Google Sheets in that you're limited to 25k requests per day across all of your sheets. Depending on your use case, I'd look into using an aggregated API like https://market.fuzzwork.co.uk/api/ to get your price information in a more efficient manner.
Otherwise you should also make sure you're not running that function on a schedule, and also limiting when it runs. I.e. so it doesnt do it every time you refresh the page.
In short, there's not really anything I can do about this, so it's on you to make your sheet more efficient, or switch to using an actual programming language to handle getting the data for you.


Proposal: a way to handle multi-DB ActiveRecord setups

Rails 6 provides connection switching to allow for applications with multiple databases. One of the supported behaviors is a primary/replica setup where the replica database is read-only. Devise users will run into some issues with the default Rails 6 connection switching, as it restricts writes to non-GET/HEAD/OPTIONS requests.
As a result, some requests will trigger ActiveRecord::ReadOnlyError as a result of hooks firing, etc. Some of the Devise methods can be worked around directly in models like this:
# app/models/user.rb
def forget_me!
  ActiveRecord::Base.connected_to(role: :writing) do
    super
  end
end

Unfortunately some of the cases where writes inside a GET request don't seem quite as straightforward to work around. Some of the Warden after_sign_in hooks call #save directly on the model. Since Warden hooks are additive, it's not easy to replace the hook with a monkey-patched one. We're currently experiencing some failures for lockable that we (believe we) are not able to code around without forking Devise. Example:
https://github.com/heartcombo/devise/blob/f39c6fd92774cb66f96f546d8d5e8281542b4e78/lib/devise/hooks/lockable.rb#L5-L12
I'd like to propose a pull request to make the Rails 6 primary/replica functionality work without requiring any changes for users who are on older versions of Rails or who aren't leveraging ActiveRecord's connected_to functionality. There are two ways I can see to approach this:

Require users to wrap their model methods in a connected_to clause around super as described above. hooks/lockable would need to be updated to push its call to #save to a model method which could then be wrapped. Then we would document that this is the recommended approach for users leveraging primary/replica setups. This would be the smallest change, but would be less convenient for multiple-database users in Rails 6.

Add a new configuration option, something named like devise_database_role. If that role is set, then all model saves in model modules or hooks would get wrapped in a connected_to block using that role. If the setting is not defined, then all saves happen directly as now. This approach would be more comprehensive and be a one-stop change for primary/replica setups vs. needing to patch each relevant method, but requires more invasive changes across several model modules.

I'm excited to tackle either of these changes, but looking for feedback on the preferred approach.
Related: #5133

I think the solution 2 makes sense.
But devise is ORM agnostic, so I think we should probably take care of those connection switching methods should be in the active record specific adapter.

I suppose we could make the configuration option a Proc or lambda that would wrap all the saves, then folks could do anything they needed to for any ORM inside the block.

@geoffharcourt have you made progress on this?

I suppose we could make the configuration option a Proc or lambda that would wrap all the saves, then folks could do anything they needed to for any ORM inside the block.

@geoffharcourt have you made progress on this? Happy to help as well...

I have a working change with a configurable proc (default is current behavior and existing tests pass), but I can't find any existing hooks tests and I'm not 100% sure how to build a test harness for those.

I only have bad ideas about that like inspecting Warder::Manager._after_set_user. Do you have a link to the branch?

Hi @trevorrjohn take a peek here: https://github.com/heartcombo/devise/issues/5264#issuecomment-723214069

This change has been accomplished via 5d5636f. Thanks @carlosantoniodasilva!

Hi, facing the same issue, I struggle to understand how this patch have solved the multi-db issue. Is there any example or doc I can refer?

That's right, at the moment Devise doesn't have a way to automatically switch to a write connection (I have some ideas for that), so you have to override these hooks in your model and switch it yourself to the connection you want, then call super, otherwise it's just gonna use the current connection which might be a readonly one.

So based on what I read, I end up doing in my user model :
  def update_tracked_fields!(request)
    User.connected_to(role: :writing) do
      super
    end
  end

  def update_tracked_fields(request)
    User.connected_to(role: :writing) do
      super
    end
  end

  def remember_me!
    User.connected_to(role: :writing) do
      super
    end
  end

  def forget_me!
    User.connected_to(role: :writing) do
      super
    end
  end

So, so far, there is no global hook to do that. Am I right?

Yes, this is what I have too. Unless devise has added something in the past
few months I don't believe there is another way.
On Thu, Aug 12, 2021, 7:51 AM GuillaumeGillet @.***>
wrote:

So based on what I read, I end up doing in my user model :
def update_tracked_fields!(request)
User.connected_to(role: :writing) do
super
end
end
def update_tracked_fields(request)
User.connected_to(role: :writing) do
super
end
end
def remember_me!
User.connected_to(role: :writing) do
super
end
end
def forget_me!
User.connected_to(role: :writing) do
super
end
end
So, so far, there is no global hook to do that. Am I right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/heartcombo/devise/issues/5264#issuecomment-897575689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFEQLVOOXLXEHIOHYMMMRLT4OYTXANCNFSM4OR5B63A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Ok, thx, I thought I was missing something.


[WIP] Feature/typed segues

Note: This PR supersedes PR #74.
I'm still in doubt if I shouldn't make an extension on the VC since performSegue(segues.toForgotPassword) seems so much nicer and less error prone to me than performSegue(R.segues.ThisViewController.toForgotPassword). Especially the .ThisViewController is something I don't like.
Maybe it should exist both and then you should be able to turn of the extension in case of a conflict for example.
Todo:

[ ] Handle view controllers that are in multiple storyboards with segues that may/may not have the same identifier/destination by warning about them as duplicate and not generating any code for them
[ ] Check what happens with a segue to a modally presented UINavigationController, should we type the root view controller in there? Is it logical the way it works right now?
[ ] Create overload of performSegue for ease of use without special stuff
[ ] Create overload/method that actually use type information
[ ] Cleanup code
[ ] Create tests

@tomlokhorst What is you idea about VCs that are in multiple storyboards with different or overlapping segues? Should we add an extra namespace layer? Like R.segue.mainStoryboard.SomeViewController.ThisSegue or do you see another solution?
Also; What is your opinion on what R.swift should provide to make use of this new typed segues?

Re: multiple storyboards with overlapping segues.
What is the current behaviour when you do self.performSegue("segueName")?
If it has undefined behaviour or an error, I think R.swift should just generate a warning en no segue, similarly to other duplicate identifiers.
For usage, R.swift should generate something like:
func isSegue(segue: UIStoryboardSegue) -> Bool {
  return segue.identifier == self.identifier
}

func destinationViewController(segue: UIStoryboardSegue) -> Destination? {
  return isSegue(segue) ? segue.destinationViewController as? Destination : nil
}

As part of this;
If the segue is actually configured to be a custom subclass of UIStoryboardSegue, perhaps R.swift should also generate something of that specific subclass?
I haven't thought about this a lot, so maybe this doesn't make sense in this context.

Only two more checkboxes to tick!

[ ] Rewrite R.segue.myVC.mySegue.typeSegue(segue) to segue.typedForIdentifier(R.segue.myVC.mySegue)

I feel like this is good enough now to merge into develop and give it a try on some projects.


The answer is given to SLAM as input during training, wouldn't that make the model cheat?

System Info
PyTorch version: 2.4.0+cu121
Information

[X] The official example scripts
[ ] My own modified scripts

🐛 Describe the bug
I was fine-tuning SLAM on my own dataset using by modify one of the example bash scripts provided: finetune_wavlm_large_linear_vicuna_7b.sh. I got good evaluation results but were struggling to reproduce those evaluation results using the inference script: decode_hubert_xtralarge_linear_vicuna_7b.sh.
After some digging I noticed that during training and evaluation the expected answer, the ground truth transcription in the asr case, is concatenated with the prompt and passed as input: example = prompt + answer -> "input_ids": example_ids.
https://github.com/X-LANCE/SLAM-LLM/blob/main/src/slam_llm/datasets/speech_dataset.py
        answer = self.answer_template.format(target)
        example = prompt + answer  # FIX(MZY): avoid putting a bos token before answer.
        example_ids = self.tokenizer.encode(example)  # [prompt,answer]
        example_ids.append(self.tokenizer.eos_token_id)  # [prompt,answer,eos]
        example_ids = torch.tensor(
            example_ids, dtype=torch.int64
        )
        example_ids = torch.cat((audio_pseudo, example_ids))  # [audio,prompt,answer,eos]

        labels_ids = copy.deepcopy(example_ids)  # [audio,prompt,answer,eos]
        labels_ids[:audio_length + prompt_length] = -1  # [-1,-1,answer,eos];
        example_mask = example_ids.ge(-1)  # FIX(GZF): [True,True,True,True]

        label_mask = labels_ids.ge(0)  # [False,False,True,True]
        example_ids[~example_mask] = 0  # [audio,prompt,answer,eos]
        labels_ids[~label_mask] = self.IGNORE_INDEX  # [-100,-100,answer,eos]

        return {
            "input_ids": example_ids,
            "labels": labels_ids,
            "attention_mask": example_mask,
            "audio": audio_raw if self.input_type == "raw" else None,
            "audio_mel": audio_mel if self.input_type == "mel" else None,
            "audio_length": audio_length,
            "prompt_length": prompt_length,
        }
     ```

     If the answer is passed as input, wouldn't that get the model to learn to repeat the last part of the input instead of performing asr?

     Thank you in advance for the help!

### Error logs

there was no error, just unexpected behavior, where the evaluation and inference results differ.

### Expected behavior

I would expect the input during training would only be the prompt without the answer to the prompt.

https://github.com/X-LANCE/SLAM-LLM/blob/d599ce4c91e84e9ce0300280f3c35bff713a9304/src/slam_llm/datasets/speech_dataset.py#L120-L140
As you can see from the above code, it is only necessary to use answer as a supervised signal when training, and no answer is given during evaluation(inference_mode=True) .


Wiki Links for Ultimate Books also Enderpack Skin

The wiki page for ultimate enchants should now be on all ultimate enchant books, while before they were only on some.
Also, while you are looking at this, I need feedback. Do you guys think that pet skins from the same fire sale (eg. Pink, Blue, Orange Elephant skins) should be Parented If so, should it be by fire sale, or by type of pet (eg, Red and Pink elephants would be under the same parent even though from different fire sales.  In this case the neon varients would be under separate parents. What do you guys think?

Also added the enderpack skin


kafka stream binidings not receiving the topics sent from the actual code when running integration test

Hi @raj550k ,
Can you please clarify which article/module you're referring to?

Closing due to lack of answer.


Directory changes

Change directory structure for clarity of available samples and accelerators.

Keeping this on hold as it affects external links.


Document pad segment as last segment caveat

either document that something like objcopy with --pad-to will be needed or find some other solution
Bonus: make splat not even allow a final pad segment and instead link to docs with the info

done in #400


ValueError: Cannot feed value of shape (1, 1, 802) for Tensor 'features:0', which has shape '(?, ?, 830)' ]

I fired the following command to train from scratch...
python -m deeppavlov.deep train deeppavlov/configs/go_bot/gobot_dstc2_all.json
I get the following error.
[Traceback (most recent call last):
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/deep.py", line 62, in <module>
    main()
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/deep.py", line 49, in main
    train_model_from_config(pipeline_config_path)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/core/commands/train.py", line 127, in train_model_from_config
    _train_batches(model, iterator, train_config, metrics_functions)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/core/commands/train.py", line 229, in _train_batches
    y_predicted = list(model(list(x)))
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/core/common/chainer.py", line 88, in __call__
    res = component(*[mem[k] for k in in_params])
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 251, in __call__
    return [self._infer_dialog(x) for x in batch]
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 251, in <listcomp>
    return [self._infer_dialog(x) for x in batch]
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 245, in _infer_dialog
    res.append(self._infer(context['text'], context.get('db_result')))
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 220, in _infer
    prob=True
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/network.py", line 62, in __call__
    self._action_mask: action_mask
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1096, in _run
    % (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1, 1, 802) for Tensor 'features:0', which has shape '(?, ?, 830)'
]

Can you update code and re-download models?
git pull
python -m deeppavlov.download

really appreciate you can share how to train the go_bot model from scratch. I got similar error:
ValueError: Cannot feed value of shape (1, 1, 493) for Tensor 'features:0', which has shape '(1, ?, 530)'

You should find "obs_size" parameter in "network" section  of your config file and set it to "to number of "bow_embedder" features, "embedder" features, "intent_classifier" features, context features(=2) plus "tracker" state size plus action size" as it is said in the deeppavlov/skills/go_bot/README.md.
You can skip the calculation of the sum and just set "obs_size": "493", because according to your ValueError a feature (observation) vector with the dimension of "493" is being fed to network (while dimension size equal to 530 is expected).

@vikmary : I did as you said, but I get the following error next.
Traceback (most recent call last):
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/deep.py", line 62, in <module>
    main()
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/deep.py", line 49, in main
    train_model_from_config(pipeline_config_path)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/core/commands/train.py", line 127, in train_model_from_config
    _train_batches(model, iterator, train_config, metrics_functions)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/core/commands/train.py", line 229, in _train_batches
    y_predicted = list(model(list(x)))
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/core/common/chainer.py", line 88, in __call__
    res = component(*[mem[k] for k in in_params])
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 251, in __call__
    return [self._infer_dialog(x) for x in batch]
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 251, in <listcomp>
    return [self._infer_dialog(x) for x in batch]
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 245, in _infer_dialog
    res.append(self._infer(context['text'], context.get('db_result')))
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 218, in _infer
    [[self._encode_context(context, db_result)]],
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/skills/go_bot/bot.py", line 123, in _encode_context
    self.tracker.update_state(self.slot_filler([tokenized])[0])
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/models/ner/slotfill.py", line 105, in __call__
    tags_batch = self._ner_network.predict_for_token_batch(batch)
  File "/n/w1-mdixie/Others_Models/DeepPavlov_Train/DeepPavlov/deeppavlov/models/ner/network.py", line 397, in predict_for_token_batch
    viterbi_seq, viterbi_score = tf.contrib.crf.viterbi_decode(logit, trans_params)
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/site-packages/tensorflow/contrib/crf/python/ops/crf.py", line 317, in viterbi_decode
    trellis[t] = score[t] + np.max(v, 0)
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 2320, in amax
    out=out, **kwargs)
  File "/home/mdixie/.conda/envs/dl/lib/python3.6/site-packages/numpy/core/_methods.py", line 26, in _amax
    return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity

The problem is that when we start train_model_from_config, the initial model needs to be loaded. There are five files: checkpoint, model.data-00000-of-00001, model.index, model.json, and model.meta. Though I modified obs_size from 530 to 493 in both gobot_dstc2.json and model.json, I still got errors below. Now the question is how to train the model from config and which initial model meta data can be deleted. Thank you.
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [493,64] rhs shape= [530,64]

In case you want to train your model from scratch, change load_path and save_path to a new name. It will not load the pretrained model then.
Be ware that in order to train your model from configs/go_bot/gobot_dstc2.json you need firstly to train correspoding

slot_filler model configs/ner/slotfill_dstc2.json
intent_classifier model configs/intents/intents_dstc2.json

If you want a minimal model without slot filling and intent classification, use configs/go_bot/gobot_dstc2_minimal.json -- it doesn't require any pretrained models.


Broken doc links in kubectl explain

Repro
kubectl explain service
Click https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
Actual
Leads to a 404
Expected
Leads to https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#resources

@prashcr What version of kubectl are you using?

@prashcr What version of kubectl are you using?

I can repro this in kubectl Version 1.13.0. The link mentioned aobve appears under the apiVersion field, but I'm also having issues with the links under kind, metadata, spec and status.
Each link seems to point to the same base URL and markdown file, but a different section of the doc.

This is fixed in recent versions.
/close

@soltysh is this fixed? I can still see the broken links in kubectl built from master:
_output/bin/kubectl version
Client Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.0-beta.0.201+882266f67ad75f", GitCommit:"882266f67ad75f70e4688235f60e569a4d913fd6", GitTreeState:"clean", BuildDate:"2020-05-27T00:56:09Z", GoVersion:"go1.14.3", Compiler:"gc", Platform:"linux/amd64"}

_output/bin/kubectl explain pod.metadata.creationTimestamp
KIND:     Pod
VERSION:  v1

FIELD:    creationTimestamp <string>

DESCRIPTION:
     CreationTimestamp is a timestamp representing the server time when this
     object was created. It is not guaranteed to be set in happens-before order
     across separate operations. Clients may not set this value. It is
     represented in RFC3339 form and is in UTC. Populated by the system.
     Read-only. Null for lists. More info:
     https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

     Time is a wrapper around time.Time which supports correct marshaling to
     YAML and JSON. Wrappers are provided for many of the factory methods that
     the time package offers.

@soltysh If no one is working on this, I can take this to fix.

@soltysh please ignore my above replies, my context was configured wrong. It looks fixed.


building v20230125

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/__init__.py", line 823, in lint_file
    recipe = _recipe.Recipe.from_file(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 243, in from_file
    raise exc from exc
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 234, in from_file
    recipe._load_from_string(text.read())
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 170, in _load_from_string
    self.render()
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 290, in render
    self.meta = renderer_utils.render(self.recipe_dir, self.dump(), self.selector_dict, self.renderer)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/_renderer.py", line 272, in render
    raise YAMLRenderFailure(recipe_dir, line=exc.problem_mark.line) from exc
percy.render.exceptions.YAMLRenderFailure: /tmp/abs_2d5nbnl0o7/clone/recipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/run.py", line 208, in main
return_code, report = execute_linter(
^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/run.py", line 180, in execute_linter
result = linter.lint(recipes, subdir, variant_config_files, exclusive_config_files, fix_flag)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/init.py", line 725, in lint
msgs = self.lint_file(
^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/init.py", line 840, in lint_file
recipe = _recipe.Recipe(recipe_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 107, in init
self.recipe_dir = recipe_file.parent
^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'parent'
ERROR conda.cli.main_run:execute(125): conda run conda-lint /tmp/abs_2d5nbnl0o7/clone failed. (See above for error)

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_63i62teew1/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:646: host_section_needs_exact_pinnings: output "libabseil-tests": Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:1: patch_must_be_in_build: patch must be in build when source/patches is set.
===== Final Report: =====
1 Error and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_ba_ng5vb3n/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:646: host_section_needs_exact_pinnings: output "libabseil-tests": Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:1: patch_must_be_in_build: patch must be in build when source/patches is set.
===== Final Report: =====
1 Error and 1 Warning were found


Issue with k8s.io/docs/tasks/configure-pod-container/configure-pod-configmap/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
The example given for "Configure all key-value pairs in a ConfigMap as Pod environment variables" is not working.
Proposed Solution:
Page to Update:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-pod-environment-variables

I have created first the configmap as it is in your example. Then I'm getting this error when I'm creating the pod:
error: error converting YAML to JSON: yaml: line 12: did not find expected key

@lbudai74 Are you still experiencing this? If so, please feel free to reopen this issue. Also, I encourage you to bring your experience to the #kubernetes-users channel in Kubernetes slack.


Suggestion: Use the golang.org/dl API for version info

Now that https://golang.org/dl?mode=json&include=all works, we can use this to fetch a complete list of go archives and installers.

`golang-versions.py`
#!/usr/bin/env python3

"""
Use this to pipe the JSON from 'https://golang.org/dl/?mode=json&include=all' to generate
shell compatable data for 'go-build'.

Example:

    $ { echo 'declare -a versions=()'; curl "https://golang.org/dl/?mode=json&include=all" | python3 this-script.py | grep '#arch:amd64#.*#kind:archive#.*#os:darwin#.*#stable#' | grep '^versions' | uniq; echo 'for v in "${versions[@]}"; do echo $v; done' } | /bin/bash
"""

import json
import sys
from shlex import quote

def emit_one_file(out, file, tags):
    for k, v in file.items():
        if k in ("filename", "size", "sha256", "version"):
            continue
        tags.append("{}:{}".format(k, v))
    tags.sort()
    for k in ("filename", "size", "sha256", "version"):
        out.write("{:80} ".format("{}={}".format(k, quote(str(file[k])))))
        out.write(" ".join(["#{}#".format(tag) for tag in tags]))
        out.write("\n")

    out.write("{:80} ".format("versions+=({})".format(quote(str(file["version"])))))
    out.write(" ".join(["#{}#".format(tag) for tag in tags]))
    out.write("\n")

def emit_one_version(out, one_version):
    tags = [
        "version:{}".format(one_version["version"]),
        "stable" if one_version["stable"] else "unstable",
    ]

    for file in one_version["files"]:
        emit_one_file(out, file, [t for t in tags])
    out.write("\n")

def emit_lookup_data(writer, versions):
    for one_version in versions:
        emit_one_version(writer, one_version)

if __name__ == "__main__":
    data = json.load(sys.stdin)
    emit_lookup_data(sys.stdout, data)

The generated file output can be used to find versions with grep.
# Note: grep terms need to be alphabetically sorted.
$ cat dbfile | grep '#arch:amd64#.*#kind:archive#.*#os:darwin#.*#stable#.*#version:go1\.12\.5#'
filename=go1.12.5.darwin-amd64.tar.gz                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.12.5#
size=127612395                                                                   #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.12.5#
sha256=566d0b407f7d4aa5a1315988b562bbe4e9422a93ce2fbf27a664cddcb9a3e617          #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.12.5#
version=go1.12.5                                                                 #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.12.5#
versions+=(go1.12.5)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.12.5#

And you can find available versions by using the versions variable:
$ { echo 'declare -a versions=()'; curl "https://golang.org/dl/?mode=json&include=all" | python3 this-script.py | grep '#arch:amd64#.*#kind:archive#.*#os:darwin#.*#stable#' | grep '^versions' | uniq; echo 'for v in "${versions[@]}"; do echo $v; done' } | /bin/bash | head -n 20
declare -a versions=()
versions+=(go1.16.7)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.7#
versions+=(go1.15.15)                                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.15#
versions+=(go1.16.6)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.6#
versions+=(go1.16.5)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.5#
versions+=(go1.16.4)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.4#
versions+=(go1.16.3)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.3#
versions+=(go1.16.2)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.2#
versions+=(go1.16.1)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16.1#
versions+=(go1.16)                                                               #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.16#
versions+=(go1.15.14)                                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.14#
versions+=(go1.15.13)                                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.13#
versions+=(go1.15.12)                                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.12#
versions+=(go1.15.11)                                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.11#
versions+=(go1.15.10)                                                            #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.10#
versions+=(go1.15.9)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.9#
versions+=(go1.15.8)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.8#
versions+=(go1.15.7)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.7#
versions+=(go1.15.6)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.6#
versions+=(go1.15.5)                                                             #arch:amd64# #kind:archive# #os:darwin# #stable# #version:go1.15.5#

The python code would be run periodically by a CI job.  Though I guess we could include it as python3 is pretty common now... and fall back to the pre-generated version.
The DB is about 2.2Mb but compresses really well to about 183kb; we can just use zcat on it.

It would be an awesome contribution.

@syndbg Would it be okay to have a run-time dependency on python3?  I can use any language or tool you want; it just needs to be able to translate JSON to text.
I could even download something like hairyhenderson/gomplate or docwhat/temple instead of depending on python3.
Or I could even build a tiny GoLang program to do the translation from JSON to the DB file format.

Re: "Would it be okay to have a run-time dependency on python3?" This 'should just work' on many modern OSes, but I would prefer to avoid it since it adds extra complexity.

this would be an excellent feature - our CI uses goenv, but we have to rebuild the whole image just to refresh the list of supported golang version! Seems silly
consider: instead of throwing a definition not found error, first see if it exists remotely?

Hey, sorry for the delayed reply, on a vacation 'till the end of the year.
So, answering the questions.

Would it be okay to have a run-time dependency on python3? I can use any language or tool you want; it just needs to be able to translate JSON to text.

I'd prefer not to depend on anything Python. If you're looking for a specific language to do it, I'd prefer Golang.
Just to be clear, this is only a feature for the CI.
My opinion on what goenv should solve is still the same - reliable, secure (as much as checksums are secure) and predictable golang version manager and installer.
I still prefer for this "version golang releases/versions discovery feature" to run in CI, create PR (if needed) and still require manual approval.

this would be an excellent feature - our CI uses goenv, but we have to rebuild the whole image just to refresh the list of supported golang version! Seems silly
consider: instead of throwing a definition not found error, first see if it exists remotely?

Being able to install versions fetched dynamically from remote might be amazing as a user experience, but I prefer it the other way - a specific version of Goenv can install only N versions of Golang from well-determined sources and expected checksums.
The reason why I prefer this is rather "lame". It's easier from a security perspective (InfoSec) to review and sign-off that this software is "secure". Enterprise/Grown-up friendly... in a way.

The reason why I prefer this is rather "lame". It's easier from a security perspective (InfoSec) to review and sign-off that this software is "secure". Enterprise/Grown-up friendly... in a way.

Unless someone is reviewing each release, the only security benefit is that the window of attack is smaller (golang.org would have be compromised during a CI build vs. any time someone installs Go) and that a bad release can be removed (tho not revoked since goenv lacks a revoke system).
💡idea: Since we have to trust golang.org anyway, how about we pin the SSL certificate in the curl request?  Whether we do it only in CI or in run-time.
Is there something we could do to increase the security of gathering the available go versions at run-time?

See #261..waiting on being able to add a PAT to the repo 😄

@docwhat  @syndbg @drichelson  kindly try this out if it fits your requirement: https://github.com/ankitcharolia/goenv
I used https://golang.org/dl?mode=json&include=all to fetch all latest versions.

@ankitcharolia we use the go dev API for automation of daily version checks. I don't mind that you have your own version of goenv that depends on go. Our implementation doesn't depend on any external dependency and uses native shell to achieve the same outcomes.


SEO Improvements

TAGS:
Href lang should not have extra trailing / in home page
Href lang for default language should not include /en

Scripts:
Do not add SiteImprove scripts to test datasets

@padms wrote you a comment

Done..


GOSA2 - UI for login with email and password

Description
GeeksforGeeks Andriod App login the user with email and password. Create text fields to take email and password and authenticate the user using firebase.

I can work on it

can work on it

I can work on it

assign me

@ShrutiJ-01 You can start working on this issue!
If you have any doubts or queries you can comment here or ask us on the WhatsApp group.

@singhtaran1005 You can see other issues also if it fits your skillset

@ShrutiJ-01 thank you for the contribution. We have success merged your request. Nice ui. You have recieved 5 points for the contribution


Do not use "negative" boolean prop names

Objective
I suggest to always use "affirmative" name for boolean props, because it looks more clear and shorter, than "negative" names.
Solution Proposal
Deprecate negative prop names in favor of affirmative names
Example

Before
After

disableBodyScrollLock
hasBodyScrollLock = true

disableFocusTrap
focusTrap = true

Definition of done
Components use affirmative names for props.

@amje @korvin89 what do you think?

@ogonkov what about all disabled properties? :)

@korvin89 what about them?
disabled is shorten version of isDisabled

@korvin89 what about them?
disabled is shorten version of isDisabled

Yep. And it is a negative as well

@ogonkov It should be considered for every component individually, we cannot just rename all disable* props. And also it's a personal preference. For instance, I prefer <Component disableSomeFeature /> instead if <Component hasSomeFeature={false}.


Fix divergent bar track

Description

What was changed in this pull request?

The Divergent Bar track was broken in the sense that actually a Bar track was rendered. This PR fixes this and improves the corresponding test.

Why is it necessary?

Divergent bar track is not rendered.
Fixes #___
Checklist

[x] Set proper GitHub labels (e.g. v1.6+, ignore if you don't know)
[x] Unit tests added or updated
[ ] Documentation added or updated
[ ] Example(s) added or updated
[ ] Update schema.json if there are changes to the viewconf JSON structure format
[ ] Screenshot for visual changes (e.g. new tracks or UI changes)
[ ] Updated CHANGELOG.md

And thanks for cleaning up the test viewconf!


Fix group table order criteria

Sorting groups criteria

Points
GoalsDifference
GoalsFor

Before

After

Not sure if this will still matter for this year's world cup, but technically speaking there's also a forth tie breaker, if points, goal difference, and goals-for are all equal: the direct comparison.
The fifth and sixth tie breakers are probably out of scope for such a project: fair play record and draw of lots :laughing:

Not sure if this will still matter for this year's world cup, but technically speaking there's also a forth tie breaker, if points, goal difference, and goals-for are all equal: the direct comparison.

This is a great point.
I'll go ahead and merge this PR that will fix the group C standings but a PR to support direct comparison would be very appreciated.


Failed to start in linux

npm install runs with no error, but when running npm start I get the following:
><EMAIL_ADDRESS>start /home/yfful/documents/black-screen
> gulp

[22:21:59] Requiring external module babel-core/register
[22:22:00] Using gulpfile ~/documents/black-screen/gulpfile.babel.js
[22:22:00] Starting 'default'...
[22:22:00] Starting 'watch'...
[22:22:00] Starting 'clean'...
[22:22:00] Finished 'clean' after 55 ms
[22:22:00] Starting 'typescript'...
[22:22:00] Starting 'sass'...
[22:22:01] Starting 'copy-html'...
[22:22:01] Finished 'default' after 185 ms
[22:22:01] Finished 'copy-html' after 64 ms
[22:22:01] gulp-notify: [Black Screen Watcher] SCSS has been compiled.
[22:22:01] Finished 'sass' after 367 ms
[22:22:06] gulp-notify: [Black Screen Watcher] TypeScript has been compiled.
[22:22:06] Finished 'typescript' after 5.13 s
[22:22:06] Starting 'build'...
[22:22:06] Finished 'build' after 12 μs
[22:22:06] Finished 'watch' after 5.23 s
App threw an error when running [TypeError: Cannot read property 'setIcon' of undefined]
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'setIcon' of undefined
    at Object.<anonymous> (/home/yfful/documents/black-screen/compiled/src/main/Main.js:41:9)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Object.<anonymous> (/home/yfful/documents/black-screen/node_modules/electron-prebuilt/dist/resources/default_app/main.js:258:23)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)

Some system information. I don't know what node version should be used though.
❯ npm -v
2.14.15
❯ node -v
v4.2.4

Sorry, Linux is not supported at the moment.

This issue is fixed now.


Error Connecting to Websocket

Rancher Versions:
Server: 1.2.2
healthcheck: v0.1.0
ipsec: v0.7.5
network-services: metadata:v0.6.8 network-manager:v0.2.19
scheduler: v0.4.0
kubernetes (if applicable):
Docker Version:
1.11.2 and 1.12.6
OS and where are the hosts located? (cloud, bare metal, etc):
AWS Amazon Linux 2016.09
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node, external DB in AWS RDS
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create new AWS ALB Rancher server behind AWS ALB with HTTP 80 and HTTPs 443 going to the same Target Group (ARN removed from screenshot)

Target Group going to Rancher server on port 8080

Create A record with ALIAS=ALB_Name in Route53

Setup Github OAuth and use callback URL of the Route53 record, in this case https://rancher.demandbase.com

Go to URL and the Authenticate Gitbub dialog comes up, but then redirects and it comes up again. After doing this twice you can access Rancher.

Results:
Rancher is accessible from both http and https, however the UI acts strangely and gives odd URLs with arguments like:
https://rancher.demandbase.com/env/1a2557/apps/stacks?error_description=The%20redirect_uri%20MUST%20match%20the%20registered%20callback%20URL%20for%20this%20application.&state=0.3028898913894047
Errors occasionally appear in the UI with Error Connecting to Websocket

The UI overall is sluggish, not updating quickly, and occasionally the entire page refreshes itself. This happens with multiple accounts and is easily reproducible.
Expected:
No callback errors, no websocket errors, no UI sluggishness. This did not happen with Rancher 1.1.4 with behind a ELB with websocket support and only started when we upgraded to Rancher 1.2 and put it behind a ALB

Nothing has changed in Rancher and there's nothing we can do about this.  You must be using a different certificate, missing an intermediate cert, don't have it installed on your Mac anymore, or similar.
As the message says, Safari does not allow wss:// connections with a certificate it doesn't consider valid.  And without websockets you get no stats, logs, shell, or auto-updating of the UI.

@vincent99 thank you for responding, and the certificate should be valid from GoDaddy and is not self-signed. We use it on all of our *.demandbase.com domains with AWS ELBs and ALBs and it doesn't have issues elsewhere.
Stats, logs, shell, and auto-updating does still work about 97% of the time, it's intermittent when it doesn't work and that message shows up.
I'm wondering if it has to do with how the ALB is setup, with port 80 and 443 both going to the target group. Is there a recommended AWS ALB configuration for how to setup target groups for http and https?
Before when we were using AWS ELB with websockets and tcp-proxy, we had a nginx container running on the Rancher server that would just do a 301 redirect to https for any http requests. I removed it when we upgraded since it appears the ALB was suppose to handle these redirects so https is always used.
The other message about The%20redirect_uri%20MUST%20match%20the%20registered%20callback%20URL%20for%20this%20application almost makes me wonder if this is a http -> https redirect issue.

There's no special config needed for ALB like there was for ELB..
GoDaddy certs do require an intermediate cert (and the right one, Starfield vs GD) to validate correctly.  Easy way to check is curl -v https://domain, you should get back 401 and a JSON error (since github auth is apparently on).
The redirect_uri message comes from GitHub auth and means that the URL configured in the github application doesn't match the domain your trying to login from.  When we send you to github from a domain not matching the configured client ID they redirect back to the URL that is configured for that ID and it adds that to the query string. (This is the redirect you mentioned that I didn't notice reading the first time)
So so I suspect your problem is related to that redirect from $expected_url -> $configured_in_github_that_happens_to_resolve_to_same_IP.  And the times it randomly works you're actually on non-SSL.  The safari issue is very deterministic, if the cert is not valid it throws an error trying to establish a wss://connection, even if you say to ignore the cert error at some point.

We use a TCP listener in ELB instead of HTTP, using that config websockets works perfectly.

A german IT News Site published an article about 6000 revoked Certs because of an Bug:
https://www.heise.de/newsticker/meldung/Einige-SSL-TLS-Zertifikate-von-GoDaddy-wegen-Software-Bug-ungueltig-3594320.html
Are you affected maybe?

Tried turning off the HTTP listener on the ALB last night and it fixed the Github redirect issue, but some co-workers still mentioned they were getting websocket error messages like in the screenshot.
I did a curl against the domain and things look good, the one thing that jumps out at me is server certificate status verification SKIPPED in the output. For comparison this message also appears when doing a curl against https://www.rancher.com.
As mentioned before, this certificate is used on almost all of our domains and we haven't had any issues with it so I doubt it's revoked or invalid, otherwise we'd hear about it from other engineers or customers.
Here's the full output of the curl -v from my MacBook which is giving the expected 401,
🐳  curl -v https://rancher.demandbase.com
* Rebuilt URL to: https://rancher.demandbase.com/
*   Trying <IP_ADDRESS>...
* Connected to rancher.demandbase.com (<IP_ADDRESS>) port 443 (#0)
* found 1 certificates in /usr/local/MacGPG2/share/sks-keyservers.netCA.pem
* found 172 CA certificate(s) in system trust store
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: *.demandbase.com (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: OU=Domain Control Validated,CN=*.demandbase.com
*        start date: Tue, 20 Sep 2016 16:07:38 GMT
*        expire date: Mon, 19 Nov 2018 15:23:43 GMT
*        issuer: C=US,ST=Arizona,L=Scottsdale,O=GoDaddy.com\, Inc.,OU=http://certs.godaddy.com/repository/,CN=Go Daddy Secure Certificate Authority - G2
*        compression: NULL
* ALPN, server accepted to use http/1.1
> GET / HTTP/1.1
> Host: rancher.demandbase.com
> User-Agent: curl/7.49.1
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Date: Thu, 12 Jan 2017 17:12:29 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 177
< Connection: keep-alive
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Server: Jetty(9.2.11.v20150529)
< Set-Cookie: PL=rancher;Path=/
< Www-Authenticate: Basic realm="Enter API access key and secret key as username and password"
< X-Api-Schemas: https://rancher.demandbase.com/v1/schemas
<
* Connection #0 to host rancher.demandbase.com left intact
{"id":"535fe306-b8bd-4d7b-ba21-a694f9c7e7ce","type":"error","links":{},"actions":{},"status":401,"code":"Unauthorized","message":"Unauthorized","detail":null,"baseType":"error"}

Same here.  I am using a wildcard cert from namecheap for my domain on a Sophos XG firewall. It works on all of my subdomains except rancher websockets.

After upgrading to Rancher 1.5.2 and putting the master behind a AWS ELB, and not an ALB, this appears to have resolved.

Spoke too soon, this appears to still be happening even behind an ELB.

This error appears even if connection was corrupted by bad cellular conectivity, by Mac sleep or by proxy without support for websockets.

It's strange, I'm facing exactly the same problem ...
I'm using a Bare-metal server with RancherOS and Rancher Server Management.
Rancher GUI is accessible by a Nginx proxy with configuration specified in Rancher docs.
And is under SSL (provided by Let's Encrypt).
Gui is working 97% of the time, and sometimes websocket errors appears.
I'm accessing GUI with a Mac (Sierra) and Safari.

It seems like the error appears and hot close always when network is offline. On macOS it is common state after wake up or when switching WiFi.
If GUI will close error when network is online again, most of this false alarms will me solved I think.
Jan Pobořil
http://honza.poboril.cz/

2017 v 9:59, JigSaw<EMAIL_ADDRESS>

It's strange, I'm facing exactly the same problem ...
I'm using a Bare-metal server with RancherOS and Rancher Server Management.
Rancher GUI is accessible by a Nginx proxy with configuration specified in Rancher docs.
And is under SSL (provided by Let's Encrypt).
Gui is working 97% of the time, and sometimes websocket errors appears.
I'm accessing GUI with a Mac (Sierra) and Safari.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Still seeing this message in the Rancher 2.0 Preview on Safari 11.
The instance is behind a AWS ALB forwarding port 443 -> 8080.
I'll keep an eye on it and see if it happens whenever the laptop/network goes to sleep or changes wifi, etc to see if it's just a network connection like @iBobik mentioned.

@loganhz Can you change:

Move the safari message to a translation key so it can be localized.
Only show the safari error case if window.navigator.onLine === true.
Automatically show & hide a (different) growl when the subscribe socket is disconnected, or doesn't successfully connect after the page loads. (#7389)
If the subscribe socket is disconnected for too long (add a constant for it, say 30 sec), reload the page.  If window.navigator.onLine === false, wait for it to become true before reloading (window.ononline)

Sending to Vincent.  Looked at it and it seems like it might be incomplete, he's going to check.

Im having same issue in rancher 2.4

@deniseschannon: nevermind, after a few refreshes of browser it renewed the certs on its own i think, problem went away.


JSON file for Dogs API tests added

File contains the following test case:

Perform a GET request to get a random dog image.

Hi @muilipato
Your Pull request looks good to me :+1: . You can go ahead and merge it


[WIP] Team Members

I've created this pull request so all of us can easily track how this is going.

Thanks!

Thanks!

:+1: Love this idea

:+1: Love this idea

This will need rebasing at some point too.

This will need rebasing at some point too.

Yup, will be doing this shortly.

Yup, will be doing this shortly.

 Merge commits are bad. :(

Rebasing this one now...

@GrahamCampbell more rebase?

WIll do soon.

Rebased.

Someone has pushed hetre and deleded all my changes?

?

I had force pushed here after rebasing this. There should only be 1 commit here, but someone has deleted it and pushed the old stuff.

Must've been me, but I don't remember doing it.
Sent from my iPhone

On 3 Jan 2015, at 13:30, Graham Campbell<EMAIL_ADDRESS>wrote:
I had force pushed here after rebasing this. There should only be 1 commit here, but someone has deleted it and pushed the old stuff.
—
Reply to this email directly or view it on GitHub.

Sure. It was only about 5 mins work. I'll do it again at some point, but
please don't delete it again, lol.
On 3 Jan 2015 13:37, "James Brooks"<EMAIL_ADDRESS>wrote:

Must've been me, but I don't remember doing it.
Sent from my iPhone

On 3 Jan 2015, at 13:30, Graham Campbell<EMAIL_ADDRESS>wrote:
I had force pushed here after rebasing this. There should only be 1
commit here, but someone has deleted it and pushed the old stuff.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/cachethq/Cachet/pull/196#issuecomment-68595167.

Sorry about that :( I don't know how I'd have managed it.
Sent from my iPhone

On 3 Jan 2015, at 14:13, Graham Campbell<EMAIL_ADDRESS>wrote:
Sure. It was only about 5 mins work. I'll do it again at some point, but
please don't delete it again, lol.
On 3 Jan 2015 13:37, "James Brooks"<EMAIL_ADDRESS>wrote:

Must've been me, but I don't remember doing it.
Sent from my iPhone

On 3 Jan 2015, at 13:30, Graham Campbell<EMAIL_ADDRESS>wrote:
I had force pushed here after rebasing this. There should only be 1
commit here, but someone has deleted it and pushed the old stuff.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/cachethq/Cachet/pull/196#issuecomment-68595167.

—
Reply to this email directly or view it on GitHub.

Just rebased everything, but now I'll squash and continue work.

There we go :smile:
I'm hoping to get this done today - but I've got to go out shortly, and I'm not sure for how long.

Just editing left to do.

Just force pushed here. Please don't delete the changes.

@GrahamCampbell if I rebase this, I do need to force push?

Also @GrahamCampbell I think I know why I kept overwriting branches. I didn't have push.default set...

I need to rebase this, but I'm confused because I did a merge rather than a rebase originally.

You should do git pull --rebase origin master than git push --force.

You seem to have pushed your old commits back up again. You need to hard reset to my changes first.

Huh? When did I manage that?

If I follow your instructions now, I should be ok?

Just don't try to start working while your local branch doesn't actually match the remote changes. That's what causing the issues.

Ah I see. I'm pretty sure I always do a git pull?

Git pull doesn't actually cut it here because the commits have changed. You need to do this:
git fetch --all
git reset --hard origin/master

Or, rather, use the correct branch.

origin/team-members

If it's a pain, just delete the repo, and clone it again...

Ok, that makes sense. So in the event of you (or someone) pushing to a branch I'm working on, I need to fetch and reset.
I know git pull does a fetch and merge right? So we're just saying "no, use the latest checkout".

Git pull doesn't cut it because it will leave your old commits there, even when they don't exist anymore on the remote.

Ok, so what do I need to do here to rebase?

No, you've already overwritten this branch again... too late

Balls.

Do I need to redo this whole branch?

Nah, I'll sort it...

Ok, sorted this.

Phew! Thanks!
Happy to merge?

Wait for scrutinizer to complete...

Merged.


KEP-2170: Add the TrainJob state transition design

What this PR does / why we need it:
I added the TrainJob state machine design.
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Part-of #2207
Relates to: #2170
Checklist:

[ ] Docs included if any changes are user facing

/hold
/assign @kubeflow/wg-training-leads

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

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 100.0%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
73

Relevant Lines:
73

💛  - Coveralls

@andreyvelich I addressed all your comments. PTAL, thanks.

@andreyvelich I addressed all your feedback. PTAL, thanks.

Thanks for the update @tenzen-y!
/lgtm
/approve

All green, thanks!
/hold cancel


what does this mean? "Attach local standard output and error streams to a container in a container group."

Not clear what exactly happens with that command. Just one sentence. So, does it mean that I can see the logs and errors of the container in the local command line where it is executed from?

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

ID: 2e5d1da7-7c4f-c9e6-e4b9-a30407675acf
Version Independent ID: ba32e12d-8283-f980-e1d0-1ca2a75a5152
Content: az container
Content Source: latest/docs-ref-autogen/container.yml
Service: container-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to CXP team

@sijucm Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@sijucm The az container attach command provides diagnostic information during container startup. Once the container has started, it streams STDOUT and STDERR to your local console.
Refer to the description and example here if that helps. I will also be creating a PR to update the documentation and include the above details to make it more description. Hope this helps.


Translucent Flutter Screen glitches on Application Resume

https://user-images.githubusercontent.com/10841769/117787685-44ccee00-b279-11eb-91db-878c4ddc1856.mp4
When the app goes back to the background and back again, the transparency of the background color is lost！
Here is jump code with translucent！

code snippet
currentActivity.startActivity(
                        FlutterActivity
                                .withNewEngine()
                                .initialRoute(url)
                                .backgroundMode(FlutterActivityLaunchConfigs.BackgroundMode.transparent)
                                .build(currentActivity)
                );

Here is widget
class SecondPage extends StatefulWidget {
  SecondPage({Map params}) {
    print("second page params:$params");
  }

  @override
  SecondState createState() {
    return new SecondState();
  }
}

class SecondState extends State<SecondPage> {

  @override
  Widget build(BuildContext context) {
    final size = MediaQuery.of(context).size;
    return Scaffold(
      backgroundColor: Colors.red.withAlpha(127),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: <Widget>[
            Container(
              width: size.width - 40,
              height: 300,
              color: Colors.amber,
              alignment: Alignment.center,
              child: const Text(
                '这是透明容器内的Flutter内容,包括：\n\n1.半透明背景\n2.黄色内容展示区\n3.下方按钮',
                style: TextStyle(
                  fontSize: 16,
                  decoration: TextDecoration.none,
                ),
              ),
            ),
            const SizedBox(height: 30),
            Container(
              width: 150,
              height: 44,
              color: Colors.blue,
              alignment: Alignment.center,
              child: FlatButton(
                onPressed: () => Vdn.close(),
                child: const Text(
                  '关闭透明容器',
                  style: TextStyle(
                      fontSize: 16,
                      decoration: TextDecoration.none,
                      color: Colors.white),
                ),
              ),
            ),
            const SizedBox(height: 30),
            Container(
              width: 180,
              height: 44,
              color: Colors.blue,
              alignment: Alignment.center,
              child: FlatButton(
                onPressed: () => Vdn.goToPage('/third').then((value) => print(value)),
                child: const Text(
                  '透明容器内跳转页面',
                  style: TextStyle(
                      fontSize: 16,
                      decoration: TextDecoration.none,
                      color: Colors.white),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Here is flutter doctor

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.0.6, on macOS 11.2.3 20D91 darwin-x64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[!] Xcode - develop for iOS and macOS
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with
        is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      To re-install see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)

Hi @TahaTesser
Thank you for your reply, This is my min code and the screenshot of my phone system.
vdn.zip

Hi @coderloveryan
Thanks for the code, I can reproduce the issue.
Preview

preview

I noticed your code has lot of unrelated code, so I simplied in a new project, the issue is reproducible
Steps to reproduce

Lauch example app
Navigate to transparent activity
Minimize the app and launch again from recent menu

Result

First time
On repeating above steps

Reproduced the issue using the following minimal code sample
https://github.com/tesserx/plugin-flutteractivity-example
Reproduced on the following channels

stable
master

✅
✅

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.6, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.0.6 at C:\Users\Taha\Code\flutter_stable
    • Framework revision 1d9032c7e1 (12 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.56.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • IN2011 (mobile)   • c9d8ee0c • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.19042.928]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 90.0.4430.212
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 90.0.818.56

• No issues found!

[✓] Flutter (Channel master, 2.3.0-2.0.pre.143, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.3.0-2.0.pre.143 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0566b03c75 (3 hours ago), 2021-05-12 04:34:02 -0400
    • Engine revision 9a0aff0667
    • Dart version 2.14.0 (build 2.14.0-108.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.56.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • IN2011 (mobile)   • c9d8ee0c • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.19042.928]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 90.0.4430.212
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 90.0.818.56

• No issues found!

cc @blasten

any updates?


[Device Support Request] Nimly doorlock (Touch, Touch Pro etc)

Problem description
Add support for Nimly doorlocks.
According to support this should be possible from ZHA/z2m.

Add remove user
Open/Lock
Change sound volume
Activate autolock
Se who unlocked and what method (code, finger, nfc etc)

In ZHA today only lock/unlock works. z2m seems to have more and user report they can do all except see who unlocked today.
Would be nice to get more features and at least battery level.
Here is link to z2m support for Nimly: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/onesti.ts
Solution description
At least be able to see battery status but support for all the listed features would be great!
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.MainsPowered|RxOnWhenIdle|AllocateAddress: 140>, manufacturer_code=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=127, server_mask=11264, maximum_outgoing_transfer_size=127, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "11": {
      "profile_id": "0x0104",
      "device_type": "0x000a",
      "input_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0101",
        "0xfea2"
      ],
      "output_clusters": [
        "0x0019"
      ]
    }
  },
  "manufacturer": "Onesti Products AS",
  "model": "NimlyPRO",
  "class": "zigpy.device.Device"
}

Diagnostic information
Diagnostic information

Logs
Logs
[Paste the logs here]

Custom quirk
Custom quirk
Related to: #2376
```python
[Paste your custom quirk here]
```

Additional information
No response

Yes, this is needed!
Is there any way to issue Zigbee commands for the features that are not supported by ZHA?

This would be fantastic if someone could fix it. Unfortunately I don't have the ability today but would like to learn.


fix friendbot sequence number issues

I've tested this locally and it refreshes the friendbot sequence number correctly now. One of the issues we had was that it was not correctly checking for the tx_bad_seq, which is fixed.
On another note, I’m seeing a lot of 504 gateway timeouts (error decoding horizon.Problem: EOF) and "400 Bad Request" as responses from horizon when I’m testing locally. I don't think this can be fixed since we naturally want to push multiple txns per ledger with friendbot and cannot preempt these responses (at least not in a way that I'm currently aware). We are seeing this now as opposed to earlier because this is the first time friendbot is hitting the horizon server directly as opposed to going through the txSub sub-system.
@nullstyle

I'm going to go ahead and merge this.  While these changes don't solve the root issues around friendbot (it still breaks pretty trivially under lots of concurrent requests) this PR should improve things somewhat while I do a round of improvements in transaction submission and testing.


Invalid BoxConstraints

Steps to Reproduce
Please tell us what you were doing and what went wrong. If you are running flutter tools from the command line, please try adding the -v or --verbose option to gather more information.
If the problem is with your application's rendering, please attach a screenshot and any relevant source code.
If you are getting an exception in the logs, and your code is implicated in the first few frames, then please include the source code for the functions involved.
I'm consistently getting the following error when I tap on my TextField. I've tried several combinations of layouts, stripping everything down as much as possible and it still happens
The layout code is a page within a TabView and returns a scaffold like:
return new Scaffold(
      key: _scaffoldKey,
      body: new Form(
        key: _formKey,
          child: new ListView(
            children: [
              new TextField(
                labelText: "Add comment",
                onSaved: (InputValue val) { _comment = val.text; },
              )
            ]
          )
      )
    );

What i really want is to have an input anchored to the bottom of the screen, so I was using a Stack layout where my first non-positioned element was a ListView and then I positioned a Row containing my input. I didn't know if that was the problem so I stripped things down to the code above.
Logs
Run your application with flutter run and attach all the log output.
I/flutter (13963): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (13963): The following assertion was thrown during performLayout():
I/flutter (13963): The _ScaffoldLayout custom multichild layout delegate provided invalid box constraints for the child
I/flutter (13963): with id "_ScaffoldSlot.body".
I/flutter (13963): BoxConstraints has non-normalized height constraints.
I/flutter (13963): The offending constraints were:
I/flutter (13963):   BoxConstraints(0.0<=w<=411.4, 0.0<=h<=-134.1; NOT NORMALIZED)
I/flutter (13963): The minimum width and height must be greater than or equal to zero.
I/flutter (13963): The maximum width must be greater than or equal to the minimum width.
I/flutter (13963): The maximum height must be greater than or equal to the minimum height.
I/flutter (13963):
I/flutter (13963): When the exception was thrown, this was the stack:
I/flutter (13963): #0      MultiChildLayoutDelegate.layoutChild.<anonymous closure> (package:flutter/src/rendering/custom_layout.dart:114:9)
I/flutter (13963): #2      MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:98:12)
I/flutter (13963): #3      _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:86:7)
I/flutter (13963): #4      MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:194:7)
I/flutter (13963): #5      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:338:14)
I/flutter (13963): #6      RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #7      RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #8      RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #9      RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #10     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #11     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #12     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #13     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #14     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #15     RenderSliverFixedExtentBoxAdaptor.performLayout (package:flutter/src/rendering/sliver_fixed_extent_list.dart:71:18)
I/flutter (13963): #16     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #17     RenderViewportBase.layoutOneSide (package:flutter/src/rendering/viewport.dart:139:13)
I/flutter (13963): #18     RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:688:12)
I/flutter (13963): #19     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:617:20)
I/flutter (13963): #20     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #21     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #22     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #23     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #24     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #25     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #26     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #27     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #28     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #29     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #30     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #31     RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:100:13)
I/flutter (13963): #32     RenderObject.layout (package:flutter/src/rendering/object.dart:1741:7)
I/flutter (13963): #33     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:124:11)
I/flutter (13963): #34     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:86:7)
I/flutter (13963): #35     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:194:7)
I/flutter (13963): #36     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:338:14)
I/flutter (13963): #37     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1617:7)
I/flutter (13963): #38     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:952:18)
I/flutter (13963): #39     BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.beginFrame (package:flutter/src/rendering/binding.dart:225:19)
I/flutter (13963): #40     BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.beginFrame (package:flutter/src/widgets/binding.dart:333:23)
I/flutter (13963): #41     BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:170:5)
I/flutter (13963): #42     BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:676:15)
I/flutter (13963): #43     BindingBase&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:611:9)
I/flutter (13963): #44     _beginFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:83)
I/flutter (13963): (elided one frame from class _AssertionError)
I/flutter (13963):
I/flutter (13963): The following RenderObject was being processed when the exception was fired:
I/flutter (13963):   RenderCustomMultiChildLayoutBox#14098452 NEEDS-LAYOUT
I/flutter (13963):   creator: CustomMultiChildLayout ← DefaultTextStyle ← AnimatedDefaultTextStyle ←
I/flutter (13963):   _InkFeatures-[GlobalKey ink renderer] ← NotificationListener<LayoutChangedNotification> ←
I/flutter (13963):   DecoratedBox ← Container ← DecoratedBox ← Container ← AnimatedContainer ← Material ←
I/flutter (13963):   PrimaryScrollController ← ⋯
I/flutter (13963):   parentData: <none>
I/flutter (13963):   constraints: BoxConstraints(w=411.4, h=210.7)
I/flutter (13963):   size: Size(411.4, 210.7)
I/flutter (13963): This RenderObject had the following descendants (showing up to depth 5):
I/flutter (13963):   RenderConstrainedBox#346250651 relayoutBoundary=up1
I/flutter (13963):     RenderRepaintBoundary#769642433 relayoutBoundary=up2
I/flutter (13963):       RenderCustomPaint#701376685 relayoutBoundary=up3
I/flutter (13963):         RenderRepaintBoundary#720595033 relayoutBoundary=up4
I/flutter (13963):           RenderSemanticsGestureHandler#244020802 relayoutBoundary=up5
I/flutter (13963):   RenderStack#99136739 relayoutBoundary=up1
I/flutter (13963): ════════════════════════════════════════════════════════════════════════════════════════════════════

Run flutter analyze and attach any output of that command also.
Flutter Doctor
Paste the output of running flutter doctor here.
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/enjalot/code/oss/flutter
    • Framework revision a002e72022 (26 hours ago), 2017-02-23 15:08:25
    • Engine revision ab09530927
    • Tools Dart version 1.23.0-dev.0.0

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /Users/enjalot/Library/Android/sdk
    • Platform android-25, build-tools 25.0.0
    • Java Development Kit (JDK) found: javac 1.8.0_111

[-] iOS toolchain - develop for iOS devices (Xcode 7.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 7.3.1, Build version 7D1014
    ✗ ios-deploy not installed: 1.9.0 is required.
      Install via 'brew install ios-deploy'.

[✓] Android Studio (version 2.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Gradle version 2.14.1

[✓] IntelliJ IDEA Community Edition (version 2016.3.2)
    • Dart plugin version 163.11306
    • Flutter plugin version <IP_ADDRESS>

[✓] Connected devices
    • Nexus 5X • 00fb6af11580afd0 • android-arm • Android 7.1.1 (API 25)

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

Thanks for the report.  Fix in https://github.com/flutter/flutter/pull/8415


Cannot install packages using Magento 2.1 Setup Wizard

The source directory is exported with uid:gid 501:20, but it should probably be 1000:1000 to match the vagrant user in the VM, correct?

Actually this is how Vagrant mounts NFS folders by default, there are no custom permissions specified in https://github.com/paliarush/magento2-vagrant-for-developers/blob/2.0/Vagrantfile#L56 .
I have not noticed any issues with permissions, have you? Basically everything in this box configured to be run by vagrant user and all Magento files are owned by this user.

I was trying to run the web setup wizard, and when it runs its Readiness Check the Check Cron Scripts set fails, which I thought might be related.
If the updater needs to write anything in the NFS folder it will not be able to.

Actually it should be able because all cron jobs and all php scripts are executed from vagrant user.
It is possible that cron jobs for updater were changed/added recently and thus should be added to the box.
Does this happens for you with updater only or during initial Magento installation as well?

I'm running 2.1 and just trying to install extensions from the market place.

I have also the same issue here with 2.1.5. Cron scripts check fails.


[chore] add release github action

This action is following https://github.com/aws-observability/aws-otel-lambda/blob/main/.github/workflows/release.yml, minus the integration tests.

Is this a draft because you plan to add the tests before making it ready to review?


Malformed string in theme.toml causes problem with Hugo Themes site

https://github.com/Bonzdev/alexa-portfolio/blob/886d97a260c2cd0083b1e580e0749c7f9a9884c2/theme.toml#L3
Missing start double quote.

Sorry, duplicate.


Multiple mask with one as alias datetime

Hi,
I'm trying to create à mask with three options mask
Option1 :        HH:MM - HH:MM
Option2 :        HH:MM - HH:MM / HH:MM - HH:MM
Option3 :        x
I've tried something like this, but is not working
$('#test').inputmask({
mask : [ {alias: "datetime",  inputFormat: "HH:MM - HH:MM[ / HH:MM - HH:MM]"} , 'x']
});
Somebody can help?

Any help please?

Same here, did you make it to work?


checkstyle.xml import order should be in sync with eclipse.importorders

Using eclipse.importorders in IntelliJ leads to conflicts with checkstyle.

Thanks Jisha! Is this an easy fix, @joaoandremartins?

It works fine for me. What usually happens is IntelliJ auto-arranges imports with its own rules and I need to manually Optimize Imports (Ctrl + Alt + O). Does that help in your case @jabubake ?

Not really, I do have it set to use the Eclipse importer to auto arrange the imports, on IntelliJ Ultimate. If it does work for you without any changes, I'll take a look later today at my end.

I wonder if you have this problem: https://github.com/spring-cloud/spring-cloud-gcp/pull/55#discussion_r121004223

@artembilan : yes that seems like it. The Eclipse formatter when used within the IntelliJ has reversed the order as stated : I had to manually organize the imports to match the checkstyle settings.

Interesting.
My idea with this ticket that we have to add a not into CONTRIBUTION about exactly turning that off: https://github.com/spring-cloud/spring-cloud-gcp/pull/55#discussion_r121155979

This information is already in CONTRIBUTING.adoc. Refer to the last bullet.
Let me know if I'm missing anything.


Skip failing tests

Skip 2 currently failing tests - see #956. Will see if there is a server-side fix or test on a different service.

coverage: 60.093% (-0.06%) from 60.156%
when pulling 42a5f0f17f461358e2e0362da31094ad367ea8e5 on geographika:test-skip
into ae98c2039819724b306b575d2ea850795955e22b on geopython:master.


Can't seem to have any RSSI

Hardware
ESP32-C3
Firmware version
2.4.7
Application version
2.4.7
What happened? What did you expect to happen?
So, I have ordered those two cards and proceeded to connect everything:

https://fr.aliexpress.com/item/1005006391993583.html?spm=a2g0o.order_list.order_list_main.10.21ef5e5bSitY9x&gatewayAdapt=glo2fra
https://fr.aliexpress.com/item/1005006427924521.html?spm=a2g0o.order_list.order_list_main.5.231a5e5b9wErPR&gatewayAdapt=glo2fra

I successfully configured the radio (the banner has disappeared) but can't seem to have any RSSI shown.
Is that normal? I'm not sure what to test, I have verified 30 times the PIN on the board.

Would I see any error if I had connected wrongly the cables?
Here is the board details:

Which remote do you have, are you sure it is RTS?
If you have an RTS (not IO) remote then this is most likely incorrect wiring.  Which esp32 pin is connected to pin 3 GDO0 of the transceiver?

So I don't have any remote yet, not even a blind (I'm preparing the ESP device at the moment).
I have ordered a remote though to test, that has the same characteristics as the final site where it will be installed (I don't have access to the physical place yet).
I don't think it is an RTS one, but I suspect it is an RTV-L at 433.92 MHz.
Is that normal that no RSSI is shown if I no signal has been sent/received? It doesn't mean my wiring is wrong?
GPIO 3 of my ESP32-C3 module is connected to PIN 4 of the transceiver.

Oh so you are not sending any traffic because you do not have a remote.  You will not see an RSSI if there is no signal to capture.  When you get the remote you should be able to see an RSSI whenever a button is pressed on the remote.

I have received the remote today, I'm not receiving any traffic. The logs and RSSI seem to stay blank.
I'm guessing the protocol is not RTS/RTL-RTV.
The frequency (written on the back of the remote) is 433.92 and it seems to use "52 bit FLOR + rolling code" protocol, whatever that means.
The model is the following: Nice Era MW1.
I have set the base frequency on the firmware to 433.922 (can't seem to be able to set it precisely to 433.92 with the slider).
Is there any way to confirm the protocol is not supported?

Many thanks!

Unfortunately that protocol is not supported.  I looked to see if there is some documentation on the timings but I didn’t find anything.


CI: K8sServicesTest Checks service across nodes Tests NodePort BPF Tests with MetalLB Connectivity to endpoint via LB

CI failure
6ded1fae_K8sServicesTest_Checks_service_across_nodes_Tests_NodePort_BPF_Tests_with_MetalLB_Connectivity_to_endpoint_via_LB.zip
/home/jenkins/workspace/Ginkgo-CI-Tests-Pipeline/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:430
Can not connect to service "http://<IP_ADDRESS>" from outside cluster
Expected command: docker exec -i  client-from-outside curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 8 http://<IP_ADDRESS> -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To succeed, but it failed:
Exitcode: 28
Stdout:
 	 time-> DNS: '0.000017()', Connect: '0.000000',Transfer '0.000000', total '5.003482'
Stderr:

/home/jenkins/workspace/Ginkgo-CI-Tests-Pipeline/k8s-1.11-gopath/src/github.com/cilium/cilium/test/k8sT/Services.go:463

https://jenkins.cilium.io/job/Ginkgo-CI-Tests-Pipeline/9980/testReport/junit/Suite-k8s-1/11/K8sServicesTest_Checks_service_across_nodes_Tests_NodePort_BPF_Tests_with_MetalLB_Connectivity_to_endpoint_via_LB/

https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/18120/testReport/junit/Suite-k8s-1/11/K8sServicesTest_Checks_service_across_nodes_Tests_NodePort_BPF_Tests_with_direct_routing_Tests_with_MetalLB_Connectivity_to_endpoint_via_LB/
/home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:430
Can not connect to service "http://<IP_ADDRESS>" from outside cluster
Expected command: kubectl exec -n kube-system log-gatherer-w4gq7 -- curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 8 http://<IP_ADDRESS> -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To succeed, but it failed:
Exitcode: 28
Stdout:
 	 time-> DNS: '0.000025()', Connect: '0.000000',Transfer '0.000000', total '5.000174'
Stderr:
 	 command terminated with exit code 28

/home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/k8sT/Services.go:430

d7681bc0_K8sServicesTest_Checks_service_across_nodes_Tests_NodePort_BPF_Tests_with_direct_routing_Tests_with_MetalLB_Connectivity_to_endpoint_via_LB.zip
From https://github.com/cilium/cilium/pull/10661

From weekly meeting:

Can we get virtualbox logs for this case?

Closing this issue, as it duplicates #10763.


Switching or Pushing a state should be delayed

The problem is that when you call ScreenManager.switch or ScreenManager.push in a callback of a state, the other callbacks are delivered to the state you switched to, so for example if you were in a menu and in the mousepressed callback you switch to the game, the keypressed and textinput callbacks will be from the game state and not actually from the menu which is the state you were actually updating this frame.
This may be good for some use cases but is bad for others. HUMP handles this by halting the state which works like this: you are in the menu, in the mousepressed callback you switch to the game, the rest of the callbacks will be ignored until the update callback is called and the game gets updated, then the next frame you get the callbacks normally. I consider this bad behaviour since there are callbacks you are not handling correctly and it may lead to a black frame.
My alternative would be the following, delay the state switch until after the draw callback. In this way you guarantee that the current state will be active until the next frame, and only the last switching/pushing/popping operation will be valid
Different use cases probably demands different behaviours, so I wanted to start the discussion.
I use a delayed switch in my code, but I also have a public function that allows me to change the states immediately called performChange and should be used after a push, pop or switch to get an immediate switch

I already had problems with this myself in an earlier game so I'd like to implement this as well.
As with #1 I'm not sure when I'll get to it though.

You can check the code I wrote here. And if you want then I can create a PR

Feel free to open a PR for this one too. I'll try to review and test it this weekend 👍

@Positive07 I wanted to publish the new release just now, but I think there is a problem with our current approach of using the change variable.
What if the user wants to pop() two screens from the current screen? Imagine something like this: You have a game screen, the player opens an inventory screen and in that screen he opens an compare items screen. For the player it would be convenient to just press 'i' to close the inventory screen.
This wouldn't be possible with https://github.com/rm-code/screenmanager/commit/c27ea3d3ccbe68f8c36e07045ecf22d7de386443. But it's not a hard issue to fix. We could simply use a "queue" for the actions.
I'm thinking about something like this:
local changes = {};

...
function ScreenManager.switch( screen, ... )
    validateScreen( screen );
    changes[#changes + 1] = { action = 'switch', screen = screen, args = { ... } };
end
...

function ScreenManager.performChange()
    if #changes == 0 then
        return
    end

    for _, change in ipairs( changes ) do
        if change.action == 'pop' then
            pop();
        elseif change.action == 'switch' then
            clear();
            push( change.screen, change.args );
        elseif change.action == 'push' then
            push( change.screen, change.args );
        end
    end

    changes = {};
end

Would this make sense? Are you seeing problems with this approach?

The problem with that is that if you switch and then pop we have no way to know that we popped the last state and that an error should be raised.
So what about keeping a separate stack and switching it on draw or something like that?


Write a test that simulates failure in worker.py and mesos/executor.py

Failures in worker.py should now be covered by random kill  added in caching PR #453.


Fix OIDC response code when authorization header is missing

The OIDC dependency currently returns a 403 response if an Authorization header is missing.
Using a 401 instead of 403 aligns with the HTTP standard when authentication is missing and with the existing OAuth2 dependency.

Thanks for the suggestion @YuriiMotov

Hello! Any idea when this will get merged?

This seems still an issue in mainline as of today... cc @YuriiMotov


eslint_d needs this flag to work correctly

my eslint_d works perfectly, but the one from this config is not.
by double checking and comparing them I found out that this flag is important, I'm not sure what it does but works.

Didn't look like I had an issue with this on my Linux machine, but made no difference with the change. LGTM


One Light UI:Black boxes the sidebar scroll bar Bug

Today I updated the ATOM to 0.156, after the installation when I found my ATOM interface is already in an open folder, appear as shown in Figure 'Next', the way I used the code from github repository git clone 'One Light UI', in via git prior to updating to 0.156 synchronize to the latest code. Normal picture as 'Pre'
Next

Pre

When I code regression 'One-Light-UI' commit Id:91df526b44f6ecfafd4fa0efbd78c3a68acb8fd8, no error was found.
git checkout 91df526b44f6ecfafd4fa0efbd78c3a68acb8fd8
Ubuntu 14.10 Theme Like Yosemite

I'm seeing some weird rendering for the tree-view's scrollbar as well.

Here's another weird state.

@nathansobo The scrollbar-corner still had transparency. It's now opaque too and same color as the background. So you shouldn't see the "black box" anymore.

:+1: