As drag placeholder render, dom cannot trigger button click event which in grid item at v1.4.3

Describe the bug
I wanna add a button ( for example delete this item) in grid item.
And in latest version, its not work. Because its will trigger onDrag event and render a placeholder on click event trigger
Relation PR: https://github.com/react-grid-layout/react-grid-layout/pull/1923
Your Example Website or App
https://codesandbox.io/s/vigorous-cdn-ssnvts?file=/src/ShowcaseLayout.js
Steps to Reproduce the Bug or Issue

open sandbox
click "Click" button in grid item, its will not print log, onClick event is not work
switch package version from 'v1.4.3' to 'v1.4.2'
try again of step 2, every thing is work

Expected behavior
As a user, i wanna we can click button in grid item. not just drag
react-grid-layout library version
v1.4.3
Operating System Version
windows
Browser
Chrome
Additional context
No response
Screenshots or Videos
https://github.com/react-grid-layout/react-grid-layout/assets/6964737/4d53d272-91ad-4cbe-8bed-6f0442e6c311

我也遇到了同样的问题，尝试修改这段css代码
.react-grid-item.react-grid-placeholder {
  background: red;
  opacity: 0.2;
  transition-duration: 100ms;
  z-index: 2;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  pointer-events: none;
}

 pointer-events: none;

I think you should add the draggableCancel prop and put this className also on the button, I've modified your example to work.

I think you should add the draggableCancel prop and put this className also on the button, I've modified your example to work.

Its a good idea, can as be a workaround solution. but when click major block for grid item, its will show a red block, and when i move it, this will disappear. Its looks weird

Had a similar problem. In my case, I have a onClick in the grid item itself to set it as active, so I cannot use the draggableCancel prop on that

This can also be an issue if you want the top-level item to be draggable and clickable.
We have a case where the draggable item can be clicked on for some interaction, or also just dragged. In 1.4.2 this works fine, however in 1.4.3 the onClick handler fails to fire.

Same problem here, reverting to 1.4.2 fixes the issue for me.

@moonrailgun Just add onMouseDown={(event) => event.stopPropagation()} to the button and your problem is gone.

I had the same problem, if I add onMouseDown={(event) => event.stopPropagation()} it fixes the issue.

Same problem here.
Because we have lots of widgets, with different interactive components, to place onMouseDown={(event) => event.stopPropagation()} everywhere is rather cumbersome.
This worked ok in 1.4.2 ?
Is this change of behaviour to be expected? I don't see any release notes or changelog.

@leonbloy i already leave relation PR and codesandbox then you can check it by your self

I agree with @leonbloy that it is cumbersome. What if I have a bars chart that I need to click on any bar. Do I have to write onMouseDown=... on every bar? That does not make sense. Especially since it was working properly with v1.4.2, for me at least, it seems to be a bug needed to  be solved. If only I was skilled enough to help, I would fix it myself and share with the community. Unfortunately, I am not that skilled.

@leonbloy @ddrapeau-jmdnsolutions Add z-index: 10 to your direct child div of GridLayout.

some problem. mark

如果您希望顶级项目可拖动和可单击，这也可能是一个问题。
我们有一种情况，可以单击可拖动项目进行某些交互，或者也可以只是拖动。在1.4.2此工作正常，但是在1.4.3onClick 处理程序中无法触发。

Thank you for solving my problem

Based on @xams-creator and @magyarp suggestions, these two CSS only solutions work:
.react-grid-item.react-grid-placeholder {
  pointer-events: none;
}

.react-grid-item {
  z-index: 3;
}

However the end result is slightly different: with the first solution the placeholder will appear on mouse down but not with the second one.

@latourna Cheers a lot! Looks like it also fixes a bug I have where the placeholder get stuck in front of the div!


Types.isSameType check doesn't validate for structural typing.

Right now it validates only the same type.

@hasithaa ATM, isSameType methods validates structural types by checking whether both types are refer to same type reference ( Records, Objects) . Here we do not do any deep field checking as we do for when checking isAssignbale or checkingStamping methods.
So do we need to do deep field checking in isSameType methods as well? Can you provide some example for issue of structural isSameType check?

Fixed with e460cacb79bc8ad4dc7de5f6aacdca580e0c54bd


New BindPlane OP Management console on GKE SecOps blueprint

I applicable, I acknowledge that I have:

[x] Read the contributing guide
[x] Ran terraform fmt on all modified files
[x] Regenerated the relevant README.md files using tools/tfdoc.py
[x] Made sure all relevant tests pass

I have not deployed this yet, but left a couple comments related to some legacy configuration options that no longer apply to BindPlane.

Please let me know if you are able to deploy it and any feedback on this setup, happy to support in case you have any issues with deployment! :)


bug: open another page not working

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x ] 4.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
next page button does not do anything.
Expected behavior:
its suppose  to open page 2
Steps to reproduce:
Just create another page other than home page .
Related code:
Here's the code I used to create
html:

<button ion-button (click)="goAnOtherPage()">Go an Other Page

in TS:
import { NavController } from 'ionic-angular';
import { AnOtherPage } from '/anOtherPage';
anOtherPage: AnOtherPage;
constructor(public navCtrl: NavController) {}
goAnOtherPage() {
this.navCtrl.setRoot(anOtherPage);
}
Other information:
none
Ionic info:
Ionic:
Ionic CLI                     : 5.0.0 (C:\Users\sac23\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework               : @ionic/angular 4.4.2
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics    : 7.3.9
@angular/cli                  : 7.3.9
@ionic/angular-toolkit        : 1.5.1
Utility:
cordova-res : not installed
native-run  : not installed
System:
NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
npm    : 6.4.1
OS     : Windows 10
Misc:
none

Thanks for your issue! You do not use the navcontroller correctly. NavController does not have a setRoot in Ionic 4. Instead you can use navigateRoot or navigateForward like so:
goAnOtherPage() {
this.navCtrl.navigateRoot(this.anOtherPage);
}

Please take a look at https://ionicframework.com/docs/navigation/angular for more information about routing


Comprehensive backup delete test

#3913 showed a gap in testing for backup delete. However, simple tests that use mocks to check that the snapshot is deleted seems like they'd continue passing even if the backup model is updated again
A more comprehensive test would be to

run a backup
ask kopia for all manifests that it has (or some set of manifests matching a set of tags)
delete the backup from 1.
ask kopia for all manifests
check that all manifests for the backup in question have been deleted

Right now we're not tagging the details snapshot with anything denoting the backup it belongs to. If we start tagging all snapshots in a backup with the backup ID then that would give us something to search by in the test

Related to #3217


az apic metadata create ... --schema throws a validation error even if JSON is correctly formatted

Describe the bug
I'm trying to create metadata, and even after correctly formatting the JSON for my --schema, I keep getting the same validation error.
Steps
I have a resource group called - contoso
I created a new apic instance called contoso-apis-new

I try using the command below to create metadata, but I'm stuck on this error.
az apic metadata create -g contoso -n contoso-apis-new --metadata-name apiApprover --schema '{"type":"string","title":"APIApprover"}' --assignments '[{entity:api,required:true,deprecated:false},{entity:environment,required:true,deprecated:false}]'
Related command
az apic metadata create -g contoso -n contoso-apis-new --metadata-name apiApprover --schema '{"type":"string","title":"APIApprover"}' --assignments '[{entity:api,required:true,deprecated:false},{entity:environment,required:true,deprecated:false}]'
Errors

(ValidationError) Invalid metadata schema: invalid JSON detected. Please check for any syntax errors or missing brackets, commas, or quotes.
Code: ValidationError
Message: Invalid metadata schema: invalid JSON detected. Please check for any syntax errors or missing brackets, commas, or quotes.
Issue script & Debug output
cli.azure.cli.core.azclierror: (ValidationError) Invalid metadata schema: invalid JSON detected. Please check for any syntax errors or missing brackets, commas, or quotes.
Code: ValidationError
Message: Invalid metadata schema: invalid JSON detected. Please check for any syntax errors or missing brackets, commas, or quotes.
az_command_data_logger: (ValidationError) Invalid metadata schema: invalid JSON detected. Please check for any syntax errors or missing brackets, commas, or quotes.
Code: ValidationError
Message: Invalid metadata schema: invalid JSON detected. Please check for any syntax errors or missing brackets, commas, or quotes.

Expected behavior
No error
Environment Summary
azure-cli                         2.62.0
core                              2.62.0
telemetry                          1.1.0
Extensions:
apic-extension             1.0.0+d26e680
Dependencies:
msal                              1.28.1
azure-mgmt-resource               23.1.1
Additional context
No response

@pierceboggan - Just to bring this to your attention.

@pierceboggan - Just bringing this to your attention.

@juliamuiruri4 When using Azure CLI, you need to be aware of how your scripting language uses quotation marks and escapes characters. You can refer Quoting differences between scripting languages for more details.
Here're some suggestions for your scenario:

Try to use Azure CLI's @<file> convention to read JSON content from a file and bypass the shell's interpretation mechanisms.
Append --debug parameter to your command to inspect the actual parameter value received by Azure CLI. Then update the JSON parameter value to ensure Azure CLI gets the correct value. The document shared above provides some tips for you to fix the parameter value.

Thanks @blackchoey - I got it to work on bash.

Cool! I will close this issue as you can run the command successfully. Feel free to contact me if you have further questions.


Disabling auto-play

A small feature request here.
Maybe you can add the ability to permanently disable auto-play in videos?

so, you don't want a video to start playing after you click on it?

@mikken Firefox and Chrome already provide an option to deactivate autoplay for videos, doesn't that suit your needs?

Nope, I mean this:

@selurvedu OK, you mean the autoplay for Youtube's playlist - an option to keep that switch always "off" would be a very useful addition indeed.

Sorry for late response, you can get that with Enhancer for YouTube extension.


Add isNotMemberOf searches for Groups and EPersons (for improved performance on Edit Group pages)

References
Add references/links to any related issues or PRs. These may include:

Required to fix https://github.com/DSpace/dspace-angular/issues/2512
Related to Contract https://github.com/DSpace/RestContract/pull/241
Corresponding Angular PR: https://github.com/DSpace/dspace-angular/issues/2545

NOTE: This PR includes #9078.  The only unique commits are the final 4 commits:

https://github.com/DSpace/DSpace/pull/9125/commits/d31073fb4a7ad656340d5163b87292a1e5e43879
https://github.com/DSpace/DSpace/pull/9125/commits/c53f2eb3147c390562b8b96d73e0d96ff28f9ae6
https://github.com/DSpace/DSpace/pull/9125/commits/49bab831bb884c33873fb7116a5db81cced6f125
https://github.com/DSpace/DSpace/pull/9125/commits/af4c748c38f989b25df5148e615eae1016eed42e

Description
Implements new isNotMemberOfGroup search endpoints for Groups and EPersons per the contract at https://github.com/DSpace/RestContract/pull/241

GET /api/eperson/groups/search/isNotMemberOf?group=<:uuid>&query=<:string>
GET /api/eperson/epersons/search/isNotMemberOf?group=<:uuid>&query=<:string>

Instructions for Reviewers
List of changes in this PR:

Updates GroupService and GroupDAO to support searching across non-members of a specified Group.  Unit tests of this non-member search functionality included in GroupTest
Adds new /api/eperson/groups/search/isNotMemberOf endpoint to GroupRestRepository.  Integration Tests in GroupRestRepositoryIT
Updates EPersonService and EPersonDAO to support searching across non-members of a specified Group.  Unit tests of this non-member search functionality included in EPersonTest

Because of how EPerson searching works in EPersonDAO, this required minor bug fixes to AbstractHibernateDSODAO to support appending additional search clauses.
Included missing Unit Tests for existing search() methods. This was added to prove the changes to AbstractHibernateDSODAO and shared search methods (like EPersonDAOImpl.getSearchQuery()) do not modify existing behavior.

Adds new /api/eperson/epersons/search/isNotMemberOf endpoint to EPersonRestRepository.  Integration Tests in EPersonRestRepositoryIT

NOTE FOR TESTERS:

This can be tested using the HAL Browser, based on the REST Contract: https://github.com/DSpace/RestContract/pull/241
However, it is easier to test via the corresponding Angular UI PR: https://github.com/DSpace/dspace-angular/issues/2545

#9078 was just merged. So, I've rebased this on main, so that it's easier to review (removes all the commits that belonged to the other PR).


Cannot search using regular expressions with (?!) in side panel

VSCode Version: 1.23.1
OS Version: Windows 10

Steps to Reproduce:

Open “search” from side panel
Enable “Use Regular Expressions”
Type (?!a).

Does this issue occur when all extensions are disabled?: Yes/No

This issue has nothing to do with the above linked one, thanks.

vscode's builtin search is based on ripgrep, which doesn't support some regex features like lookaround.

But the Ctrl + F find in document does support this feature.


Execution of Task.AliasOrder failed on file with quoted alias within macro

I'm getting the error Execution of the Recode.Task.AliasOrder task failed. when defining alias from quoted macro inputs. For example
defmodule RepoTestCase do
  defmacro __using__(opts) do
    repo = Keyword.fetch!(opts, :repo)

    quote do
      alias unquote(repo), as: Repo
    end
  end
end

Thanks for reporting this.

I can not reproduce it. I will take another look later. Which recode version your are using? I have made a new release some hours ago.

The issue is present for me in v0.4.4. I'm also having quite a bit of trouble reproducing the issue.
Here is the actual exception and stack trace being raised within Recode
12:45:18.593 [error] ** (FunctionClauseError) no function clause matching in Recode.AST.alias_info/1
    lib/recode/ast.ex:446: Recode.AST.alias_info({:alias, [trailing_comments: [], leading_comments: [], end_of_expression: [newlines: 2, line: 17, column: 36], line: 17, column: 7], [{:unquote, [trailing_comments: [], leading_comments: [], closing: [line: 17, column: 25], line: 17, column: 13], [{:repo, [trailing_comments: [], leading_comments: [], line: 17, column: 21], nil}]}, [{{:__block__, [trailing_comments: [], leading_comments: [], format: :keyword, line: 17, column: 28], [:as]}, {:__aliases__, [trailing_comments: [], leading_comments: [], last: [line: 17, column: 32], line: 17, column: 32], [:Repo]}}]]})
    lib/recode/task/alias_order.ex:192: Recode.Task.AliasOrder.sort/2
    (stdlib 4.0.1) lists.erl:1022: :lists.sort/2
    lib/recode/task/alias_order.ex:161: Recode.Task.AliasOrder.update/2
    lib/recode/task/alias_order.ex:144: Recode.Task.AliasOrder.alias_order/2
    lib/sourceror/zipper.ex:420: Sourceror.Zipper.do_traverse_while/3
    lib/recode/task/alias_order.ex:37: Recode.Task.AliasOrder.do_run/2
    lib/recode/runner/impl.ex:70: Recode.Runner.Impl.run_task/5

There is a fix in the main branch. If you like you can give it a try.


Expose a public API way of determining the Operating System that a build is running on

OperatingSystem is currently in an internal package. However, for any build that works with building native libraries or native applications plugin developers need a way of determining what OS they are building for.
The best API available currently is the OperatingSystem interface, but there is no documented way of instantiating an instance of this interface.
The best answer on stack overflow is to use org.apache.tools.ant.taskdefs.condition.Os, but it seems strange to use an ant API in Gradle. Os.isFamily(Os.FAMILY_WINDOWS) is a very strange way of trying to determine the current OS.
https://stackoverflow.com/a/12784930/3708426
The Gradle internal logic doesn't even use org.apache.tools.ant.taskdefs.condition.Os because it's API isn't that friendly to work with. Instead, internally, org.gradle.internal.os.OperatingSystem is used.
A cursory search of GitHub for org.gradle.internal.os.OperatingSystem demonstrates that it's a fairly commonly used internal API because no public alternative is offered.
The Minimizing the use of external libraries section of the docs says:

As application developers we have become quite accustomed to the use of external libraries to avoid having to write fundamental functionality. You likely do not want to go without your beloved Guava or HttpClient library anymore.

So plugins are discouraged from using API's or kr.motd.maven:os-maven-plugin:1.6.0.
The Google OS detector plugin pulls in kr.motd.maven:os-maven-plugin:1.6.0 to figure out what OS the build is running on.
Ask
It would be really nice if there were a public API for determining the current OS as well as having a common object that plugins can use in their API's for conveying a specific OS (eg. for creating cross compilation configurations).

As indicated in #16598, the solution could provide architecture information as well.

Hi @ljacomet, would #16609 be sufficient to resolve this issue?


[FD] Pathing Changes

Separate array of entities in SquadNav_Thread into single entity for SquadNav_SingleThread as this allows easier managing on separate entities.
All Titans (human AIs might opt to use SquadNav instead) will use CommonAIThink which tries to path them towards the Harvester using unchanged singleNav_thread.
AI will attempt to path towards the Harvester using FD nodes included in the map's .bsp
A 30 seconds countdown is activated upon starting to path.
If the countdown ends and the AI is still not at the Harvester, trigger OnFailedToPathFallback which uses navmesh points to path towards the Harvester instead of .bsp FD nodes.

Put as draft as per @RoyalBlue1 request.

i dont think this is needed anymore

:nyooooo:


delay for mouseouts

This mostly fixes #160 BUT I can't figure out how to rework the showButtons function to include the scenario when you mouseout of some category and then immediately back onto the currently selected one. In this scenario, the timeout is cleared out but then on the mouseover the previous and current categories are the same so it skips changing the buttons back.
Here is the before:

Here is where I'm at:

I might have a way to do it if I don't clear the timer when the previous mouseover is the same as the current...not sure but can look into it later.

I don't have a strong opinion here, but if I had to choose between no mouseover "previews" (onclick only) and the delay, I think I'd choose the onclick. Am I in the minority?

I think if it went to only onclick....we'd need to add more text around that really advertised that the user needs to click around. I'd vote we keep it on the table and see if any other strategies come up to allow both.

#215 fixes this issue in a much cleaner way.


docs: Add parameter store migration info

I recently needed to migrate aws cloud from version 2.x to 3.x. I learned some thing about the migration steps and how to use the new spring.config.import property, so adding a section to the migration guide in case others need this too.
:loudspeaker: Type of change

[x] Enhancement

:scroll: Description
I recently needed to migrate aws cloud from version 2.x to 3.x. I learned some thing about the migration steps and how to use the new spring.config.import property, so adding a section to the migration guide in case others need this too.
:bulb: Motivation and Context
I recently needed to migrate aws cloud from version 2.x to 3.x. I learned some thing about the migration steps and how to use the new spring.config.import property, so adding a section to the migration guide in case others need this too.
:green_heart: How did you test it?
Migrated a service from aws cloud 2.x to 3.x.
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[x] I updated reference documentation to reflect the change
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Thanks @rratliff!


Enable scaled FP8 (e4m3fn) KV cache on ROCm (AMD GPU)

As part of a series of FP8 development in vLLM, we address an OCP format (nVIDIA compatible) FP8 KV cache in this pull request. We elaborated upon previous #227, but made following change, enhancement and extensions:

Using OCP FP8 data type, E4M3 recommended for inference (as Float8E4M3FN in MLIR, float8_e4m3fn in PyTorch)
Using scaled FP8 KV cache, to mitigate quantization loss (scaling factors are aquired from AMD quantizer, AMMO, etc.)
Enabled on AMD MI3xx GPUs, MI300x (192GB HBM) in particular (less performant on older silicons without FP8 HW)

Design reference:

RFC: FP8 Quantization Schema in vLLM #3218
RFC: FP8 in vLLM #2461

Scope:

Used in conjunction with Quantizer's output: KV cache scaling factors. For this phase, not include the activation and weights sections from the JSON schema proposed in #2461. Quantizer's output may need to be formatted to that schema based JSON file for vLLM code to consider, an utility script (3rdparty/quantizer/extract_scales.py) is provided for JSON generation from AMMO's output.
Quantizer supported: AMD Quantizer, nVIDIA AMMO. an utility script (3rdparty/quantizer/quantize.py) is provided for using AMMO to quantize HF model to FP8 with FP8 KV cache s.t. KV cache scaling factors will be generated (over a calibartion dataset, which you can change to your domain of interests), details in 3rdparty/README.md.
Only the common OCP format used for FP8 inference and model forward/eval e4m3fn is enabled, this comes with HW support (so performant) on AMD MI3xx GPUs. Same design is still functional but less performant on earlier AMD GPUs, current design does not cover CUDA device.
Model: Llama first, others will be added later after approval.
FP8 KV cache only, with scaling, FP8 compute coming next.

Scaling semantics:

In concept and this design, we have following definition:scaling_factor = AbsMax(input_tensor_fp16_or_bfloat16_or_fp32) / (OCP_E4M3_MAXNORM = 448.0)

This semantics is used by AMD quantizer, and AMMO upon observation.
scaled_to_fp8_quant:   fp8_tensor = fp8_quant(higher_precision_tensor / scaling_factor)
scaled_fr_fp8_dequant: higher_precision_tensor = fp8_dequant(fp8_tensor) * scaling factor
per tensor scaling as current; per channel, etc. scaling in the future

Usage:
To start, please refer to:
./tests/fp8_kv/README.md
./3rdparty/README.md

Two example JSON files are provided under:
./tests/fp8_kv/

If you run vLLM with kv_cache_dtype="fp8" but not provide JSON file containing scaling factors, then no scaling will be applied towards FP8 (e4m3fn) quantization, which may lead to less accurate results.
manual execution:
from vllm import LLM, SamplingParams
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
llm = LLM(model="/data/models/llama-2-70b-chat-hf", kv_cache_dtype="fp8", scales_path="./tests/fp8_kv/llama2-70b-fp8-kv/kv_cache_scales.json")
prompt = "London is the capital of"
out = llm.generate(prompt, sampling_params)[0].outputs[0].text
print(out)

Performance:
We observed 20~30% performance increases from FP16 baseline by just turning KV cache to FP8 (e4m3fn), even on the 70B model served by a single MI300X.
WizardCoder-34b score, dataset: HumanEval-Python-EN on 1-GPU MI300X

KV cache type and config
pass@1
pass@10
pass@100

FP16       (T=0.8)
30.63%
79.82%
95.73%

FP8_scaled (T=0.8)
30.55%
78.76%
94.51%

FP16       (BEAM, T=0.0)
40.76%
55.04%
58.54%

FP8_scaled (BEAM, T=0.0)
43.38%
56.63%
58.54%

Contributors:
@HaiShaw, @AdrianAbeyta, @gshtras, @mawong-amd, @Alexei-V-Ivanov-AMD

@AdrianAbeyta maybe it would be nicer UX if the kv_cache_scales.json were packaged with the model and the path to it was referenced in the model's config.json? Then it could be automatically used if needed

@AdrianAbeyta maybe it would be nicer UX if the kv_cache_scales.json were packaged with the model and the path to it was referenced in the model's config.json? Then it could be automatically used if needed

@michael,
It is beyond UX, current model and its config.json are all from HF, we don't intend to intervene or alter those (HF hasn't shown FP8 quantization and it's use for inference today). We decide to provide a self contained, HF independent and vendor friendly design (working with both AMD and nVIDIA quantizers), and to bring much needed FP8 features onto the latest HW.

@zhaoyang-star hi! do you think you could help review this PR?

@zhaoyang-star hi! do you think you could help review this PR?

Sorry for the late reply. Thanks for your greate work! I will try my best to review it, through I don't have much bandwidth these days.

Concerns about the API naming (I would like to hear @zhuohan123 and @WoosukKwon's thought on this):

--quantization-param-path: should it be named more narrowly, something like --scaling-factor-per-layer-json? Even with this I find it difficult for users without understanding the JSON format.
Naming of kv_scale in the paged attention kernel. Should it be called scaling_factor or fp8_scaling?

Overall I think once the remaining comments are settled and these two API design questions resolved, this PR is in good shape to merge.
For the future, it would be a lot easier to review if the renaming part is isolated out to a separate PR.

--quantization-param-path was called scales-path before, we modified to such in last round review to address comment and also a bit forward looking (that we expect it cover more than kv cache relevant scaling only). --scaling-factor-per-layer-json is accurate to current stand of this PR, or --layered-scaling-factor-path seems good too.
If we all agreed on a name, we can go ahead make a change.

Seems like this PR fails the main branch now .

Can the files hip_float8.h and hip_float8_impl.h be part of some AMD SDK going forward? They shouldn't be part of vLLM :)

Can the files hip_float8.h and hip_float8_impl.h be part of some AMD SDK going forward? They shouldn't be part of vLLM :)

That was the plan, once we have common fp8 header released.


Passing runtime properties to a destination plugin.

I'd like to be able to pass some arbitrary parameter to the destination runtime which is not part of the static destination options.  In my case, the Kubernetes destination would like to know the secret name to which insert the private key and the certificate which is specific to the service but not the destination.  I can 'derive' the secret name but the API caller needs to know the name in order to mount that secret into the service pod so I'd prefer a more tight coupling when thr secret is passed-in from the caller.
What's the best way to do this if there is one?

Hmmm, that's a good question. Essentially what I think you're asking for (correct me if I am wrong) is a way to pass arbitrary arguments when selecting a destination? So in essence a user would be able to select the 'kubernetes' destination and provide a keyId to use.
There is not current way to pass this dynamically, depending one how many keyId's you might need you could simply have one destination per keyId.
Unfortunately I am not super familiar with how secrets work in Kubernetes based on:
http://blog.kubernetes.io/2015/07/strong-simple-ssl-for-kubernetes.html
It looks like you are trying to generate something like:
apiVersion: "v1"
  kind: "Secret"
  metadata:
    name: "ssl-proxy-secret"
    namespace: "default"
  data:
    proxycert: "LS0tLS1CRUd..."
    proxykey: "LS0tLS1CR..."
    htpasswd: "ZXZhb..."

And you would like the name to be passed by the destination. Does that sound about right?
If that's the case I think you might be able to use the "name" field that to correctly map the certificate to the service and be able to fetch it later. What do the pods know about themselves? Do they have a server name that could be mapped to a certificate?

In your example:

name: "ssl-proxy-secret"

Will actually be

certs--

for us in order to avoid collisions between certs for different services being deployed into the same namespace.  The PaaS we are working on will create a service and deployment(which includes the path mount to the service secret by secret name) so the certificates are available inside the docker container's file system for the service code to use.  The trick is Kubernetes waits for the secret to be created before the pod is started which is our "join" between calling Lemur and defining the pod.
Yes, I can take some property of a certificate and use it such as common name actually being a service id if I don't consider the random component but ideally, I want the PaaS to control the specifics of how the secrets name is created.  If I want to keep the random component of the name that PaaS would generate, there is really no way to do this now.
Another possible solution is to have an option for destination called format:  cert-<common_name> so at least PaaS has a way to specify that format in the created destination it's about to use.  Again, no random name component possible.
Even crazier idea, is to create a destination per service which is what I wanted to avoid since we deploy the same service into multiple Kubernetes clusters which means the number of destinations will be number of services times number of clusters - :-(

It's unfortunate you're running into this problem right now; the next phase of Lemur's evolution is right down this alley. We want to get to the point where Lemur can manage certificate deployment as well as creation and tracking.
The first step is to define something more granular that our current destination plugin ability. Destinations were really meant for bulk upload or management into another system (aka AWS IAM/S3 etc.). It doesn't really have enough context to deploy a certificate to a given endpoint. For this we really need more information.
In 0.4.x the plan is to add an Endpoints API. This would be a generic-ish model that could store information that could uniquely identify an endpoint. In our case this would most likely be and ELB listener so we would create an endpoint that would contain information like the type of endpoint (elb, instance, docker, etc.) port, possibly cipher policies and would be linked to a pre-existing destination like the aws-destination. It would make sense that these endpoints could be extended to containers or pods.
Once we have all that information, we can then work on the actual deployment of a given certificate to an endpoint. Current ideas are to enable things like partial deployments and the ability to roll-forward/back any given certificate change. These kinds of feature likely wouldn't hit until 0.5.x.
I can't promise much around the timing over everything but we are actively working down this path.

Feel free to follow along on #336.


use apiClient for various things

engine-api has has the prune/noprune option. The matching behavior is to prune. Not sure if we want or need to make that option available with the pass through.
Not sure if the array of pointers vs array of objects needs to be looked at or if it's fine how it is.

Adding reference to #1879, this is part of implementing that proposal.

Yup, I should have marked that. I wanted to give a shot at starting. I might combine some more stuff into this as individual commits. I would like to get some basic eyes-on to start.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "apiClient-rmi" git@github.com:MHBauer/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

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

@MHBauer thanks for helping out with moving to the new client. I'm thinking that it would be a good idea to add some unit tests so that we can monitor these changes over time to ensure stability.

I'll have to think about how best to do that. I was mainly making sure the integration tests still ran, as I assume those are using the actual clients, vs what would probably be a mock here.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "apiClient-rmi" git@github.com:MHBauer/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~5
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

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

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "apiClient-rmi" git@github.com:MHBauer/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~5
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

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

@GordonTheTurtle what are you talking about. They're all signed....

@MHBauer that's correct, but unit tests are valuable to catch certain issues integration tests won't. Your changes seem to be isolated enough so it may not be a problem, but in general it would be nice to have unit tests in all packages that use the new client.

@nishanttotla test added for RemoveImage. I'm not terribly convinced of it's worth considering the work involved. I suppose it does make sure we're calling the one client vs the other.

I think this is enough for one PR. @docker/core-swarm-maintainers for review, please.

@MHBauer sorry for the inconvenience, but could you add wait to rebase until #1996 is merged? Since we're now moving many function calls to engine-api, we should keep up to date with changes in method signatures.

rebased. I think some lines got moved around incorrectly. I am checking that. The end result does build, and the context that the commits provide to each other is all self-contained within this PR.

@MHBauer any updates on this? I think we should try to merge it before the final 1.2 release. engine-master tests are failing due to #2002, but can you check if the engine-1.10 failure is related or not?

I highly doubt it. I don't want to keep punching the build machine til it works. Integration-tests work locally. Can you reproduce the failure? I'll run them again here.

@MHBauer if they work locally then it's fine, I just wanted to be sure :)

I need to rebase this.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "apiClient-rmi" git@github.com:MHBauer/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~6
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

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

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "apiClient-rmi" git@github.com:MHBauer/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~6
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

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

@MHBauer what's the status of this PR?
I'm slightly surprised that there are no merge conflicts, so can you make sure that everything's alright? :)
We'd like to merge this for 1.2.

@MHBauer please rebase :)

LGTM

reproduces locally as well.

hmn, it's failing on master as well. Now I'm confused.

@MHBauer it's unrelated.
@nishanttotla let's merge

@MHBauer it looks good overall, just some minor fixes :)

LGTM

Same two flaky tests, nothing more, so I'll merge it.

LGTM. Test failures unrelated, as confirmed by @abronan.

@MHBauer :tada:


Add Math.pow  not equal to **

Does it makes sense to include a bug, and one specific to chrome no less, rather than something that exists in javascript innately and likely won't be changed?

Does it makes sense to include a bug, and one specific to chrome no less, rather than something that exists in javascript innately and likely won't be changed?

@wparad
you're right, at the beginning, my thought is for helping someone who never heard this problem.
I'll close this pr, thx for reply.


Question: Using remark/rehype plugins on a per-page basis?

Hi, I want to use a rehype plugin, rehype-external-links, for a few specific mdx files. Is it possible to do this without creating separate bundleMDX({...}) functions?

Is it possible in your use case to create different options and pass them to the bundleMDX method? In the ideal situation you'll just need to slightly modify your existing code.

Yes, it's totally possible. I wrote this post before I understood mdx-bundler. Since you're bundling mdx files on a per-file basis, then you can easily have a general function that bundles an mdx file with generic plugins, but allow it to accept an array of additional plugins that you may want for specific files.


no-delete option for servers mode

Add a flag to set servers in no-delete mode, allowing pushes and inspections but not removals.

being worked on and almost done.

done and committed


Feature-request: standardize hash-placeholder in options

In our project, we just discovered, that the plugin does not update the hash of our css ressources when changing the content. We found out that this is because we used  filename: '[name].[chunkhash:8].css' instead of   filename: '[name].[contenthash:8].css'. To me, this appears kind of unpredictable because the placeholders are almost the same.
Wouldn't it be a good idea to make [chunkhash] work in the config instead? Shouldn't the hash change anyways, even if we used the other placeholder?
For reference: https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/49 https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/153 these users seem to find it confusing aswell.

ETWP entered maintenance mode and won't receive any feature updates, please open an issue in mini-css-extract-plugin instead
webpack will likely move to contenthash as the default in the future due to issues with chunkhash being unreliable ('side-effects' e.g when sorting modules in the graph can incorrectly change the hash even if the content didn't actually change)


name and author is default needed in meat.js?

Version
2.9.3
Reproduction link
https://github.com/bmxklYzj/vue-template-test
Steps to reproduce
background: I an using vue-cli to make my own template.But name and author in prompts is default in meta.js, how can i remove it ?

exec vue init bmxklyzj/vue-template-test my-test

which  bmxklyzj/vue-template-test contains a simple empty meta.js like this:
module.exports = {
    prompts: {
    },
    complete(data, {chalk}) {
        console.log('done');
    }
};

and then it prompts me to input name and author. But i didn't set name and author in prompts. Are these two key automatically added? How can i remove it?

What is expected?
it only prompt what I have set in prompts in meta.js
What is actually happening?
name and author is set automatically and I can't change it's default value.

I explain why i don't need name and author:
In general, I will keep the destDirName and name the same value, so i use destDirName and name is unnecessary. And sometimes i want to add author as the default value and don't prompt the user to confirm.
for example:
metalsmith: function (metalsmith, opts, helpers) {
        metalsmith._metadata.date = formatDate(new Date());
        metalsmith._metadata.author = 'my-git-author';
 },

in this way, date and author is default value and will not prompt user to confirm.
If the vue-cli not add name and author to the prompts field, which i don't need, i can enter as less as enter to create my template.

Sorry but 2.x is in maintenance mode and we won't be making feature changes for that version anymore.


Wi-Fi BT Gatt request on Pixel 5(?) Erroring out

A customer has had the Wi-Fi BT GATT Request issue on a Pixel 5.
I believe this was fixed however requires some more investigation as it's happening again.
It did work for the customer on a Pixel 4.

@posterzh think we solved this in hm-config but not sure?

@shawaj @ryanteck Can you give me more information about the issues, such as screenshot, error message, etc?


[1847] Editing age range

Context
Course basic detail editing
Changes proposed in this pull request
Editing age range (in years)
Guidance to review
🚢
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

P.S. Thanks for kicking this off @fofr 😍

 Edit 'Age Range' - (MCBE)


XTypeRecoveryPass: Replace Global Table by Writing to CPG

Write to CPG each iteration of the type recovery pass to get rid of global table. This should save some memory.
Fix some bugs where <var> placeholder keys would get in the final output for type hints
Created a wrapper pass XTypeRecoveryPass that can run multiple propagation passes internally
Holding member nodes until the end to make sure the updates don't overwrite one another
Fixed issue in pysrc2cpg where Member nodes would have Seq("") under dynamicTypeHintFullName

Next up is to optimize the cost per iteration given some heuristics and early stopping.

NB: Breaking change for third-party users is that XTypeRecovery needs to be replaced with XTypeRecoveryPass, e.g. PythonTypeRecovery[Pass].


Better loading experience

We can change text under the loader like "Loading your experience... Looking for realms" (addresses) "Loading your experience... Meeting everybody" (population) 😄 at least it will make it easier to debug on production and I think it may calm down users.
Originally posted by @jagodarybacka in https://github.com/tahowallet/dapp/pull/342#pullrequestreview-1679925598

Closing this issue, reference here: #877


Component Rating get new value as null in onChange method, together with Editing and onChangeActive

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
In this example, I tried to use Editing feature with Rating component with hover feedback updating.

Choose one row and double click the rating part to enter the edit mode
move the mouse around the stars, we can see the text and stars' colors updated according hovered star
open the console
click one star to set the value

Current behavior 😯
The rating value is null and the console print the value null as well
Expected behavior 🤔
The clicked star should return the related value
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Browser: Chrome
  System:
    OS: macOS 13.3
  Binaries:
    Node: 18.12.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 112.0.5615.49
    Edge: 110.0.1587.50
    Firefox: 109.0.1
    Safari: 16.4

I found the reason, it's caused by call multiple set methods of useState. Have updated the codesandbox.


Broadlink rm2 rf

All the RF code was already functional, it was the usage that was incorrect.
Additionally, I wraped all the required methods into one async LearnRfCommand which makes it much easier to use. Similiar method has been added for IR Learning.

Thanks saoszjant!
I can not afford to read it now,
Please give me some time.

Thanks AdamoT, saoszjant!!!
I got the RF-Signal for the curtains in my room!


Unable to read attribute value from matter esp controller (CON-1358)

I have an ESP32-C6 Thread end device which is reading temperature and voltages and updating attributes.
I have attached my app_main source code file which shows how the attributes are getting updated etc.
When I issue the following matter controller command to read the temperature from the device, this works fine and the temperature value gets displayed :
matter esp controller read-attr 1666 1 1026 0
However, when trying to read my voltage values as follows :
matter esp controller read-attr 144 1 1026 4
matter esp controller read-attr 144 1 1026 11
I get the following error back on the Matter controller stating that it doesn't know how to log the attribute value :
I (4681896) chip[DIS]: Found an existing secure session to [1:0000000000000682]!
I (4681896) chip[EM]: <<< [E:21637i S:20710 M:69950749] (S) Msg TX to 1:0000000000000682 [8014] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- Type 0001:02 (IM:ReadRequest)
Done
> I (4682006) chip[EM]: >>> [E:21637i S:20710 M:16836634 (Ack:69950749)] (S) Msg RX from 1:0000000000000682 [8014] --- Type 0001:05 (IM:ReportData)
I (4682006) chip[TOO]: Endpoint: 1 Cluster: 0x0000_0090 Attribute 0x0000_000B DataVersion: 876342339
I (4682006) chip[TOO]:   Don't know how to log atribute value
I (4682006) read_command: read done
I (4682006) chip[EM]: <<< [E:21637i S:20710 M:69950750 (Ack:16836634)] (S) Msg TX to 1:0000000000000682 [8014] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- Type 0000:10 (SecureChannel:StandaloneAck)

Here is what happens on my end device wen the command is issued :
I (2571704) chip[EM]: >>> [E:21638r S:15999 M:69950751] (S) Msg RX from 1:000000000001B669 [8014] --- Type 0001:02 (IM:ReadRequest)
I (2571704) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000090's Attribute 0x0000000B is 1 **********
I (2571724) chip[EM]: <<< [E:21638r S:15999 M:16836635 (Ack:69950751)] (S) Msg TX to 1:000000000001B669 [8014] [UDP:[FD26:4944:1C37:1:35C9:E685:E766:D812]:5580] --- Type 0001:05 (IM:ReportData)
I (2571804) chip[EM]: >>> [E:21638r S:15999 M:69950752 (Ack:16836635)] (S) Msg RX from 1:000000000001B669 [8014] --- Type 0000:10 (SecureChannel:StandaloneAck)

app_main.txt

@pavel808
I am able to fetch voltage correctly using matter esp controller read-attr 0x7283 1 144 11 0x7283 being the node-id.
> matter esp controller read-attr 0x7283 1 144 11

I (309954) chip[DIS]: Found an existing secure session to [1:0000000000007283]!
I (309964) chip[DMG]: 0 data version filters provided, 0 not relevant, 0 encoded, 0 skipped due to lack of space
I (309974) chip[EM]: <<< [E:5458i S:25178 M:117799969] (S) Msg TX to 1:0000000000007283 [A3EB] [UDP:<IP_ADDRESS>:5540] --- Type 0001:02 (IM:ReadRequest) (B:51)
Done
> I (310134) chip[EM]: >>> [E:5458i S:25178 M:72517627 (Ack:117799969)] (S) Msg RX from 1:0000000000007283 [A3EB] --- Type 0001:05 (IM:ReportData) (B:70)
I (310154) chip[TOO]: Endpoint: 1 Cluster: 0x0000_0090 Attribute 0x0000_000B DataVersion:<PHONE_NUMBER>
I (310154) chip[TOO]:   RMSVoltage: 0
I (310164) read_command: read done
I (310164) chip[EM]: <<< [E:5458i S:25178 M:117799970 (Ack:72517627)] (S) Msg TX to 1:0000000000007283 [A3EB] [UDP:<IP_ADDRESS>:5540] --- Type 0000:10 (SecureChannel:StandaloneAck) (B:34)

> matter esp controller read-attr 0x7283 1 144 4

I (394884) chip[DIS]: Found an existing secure session to [1:0000000000007283]!
I (394884) chip[DMG]: 0 data version filters provided, 0 not relevant, 0 encoded, 0 skipped due to lack of space
I (394894) chip[EM]: <<< [E:5459i S:25178 M:117799971] (S) Msg TX to 1:0000000000007283 [A3EB] [UDP:<IP_ADDRESS>:5540] --- Type 0001:02 (IM:ReadRequest) (B:51)
Done
> I (395024) chip[EM]: >>> [E:5459i S:25178 M:72517628 (Ack:117799971)] (S) Msg RX from 1:0000000000007283 [A3EB] --- Type 0001:05 (IM:ReportData) (B:70)
I (395044) chip[TOO]: Endpoint: 1 Cluster: 0x0000_0090 Attribute 0x0000_0004 DataVersion:<PHONE_NUMBER>
I (395044) chip[TOO]:   Voltage: 0
I (395054) read_command: read done
I (395054) chip[EM]: <<< [E:5459i S:25178 M:117799972 (Ack:72517628)] (S) Msg TX to 1:0000000000007283 [A3EB] [UDP:<IP_ADDRESS>:5540] --- Type 0000:10 (SecureChannel:StandaloneAck) (B:34)

@sayondeep ok that's strange.
I tried it again now and I get this :
matter esp controller read-attr 1666 1 144 11

I (55496) chip[DIS]: Resolving F55262D93AE58014:0000000000000682 ...
Done
> I (55696) chip[DIS]: Checking node lookup status after 201 ms
I (58526) chip[DIS]: Node ID resolved for F55262D93AE58014:0000000000000682
I (58526) chip[DIS]: UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A%st1]:5540: new be                                                 st score: 5
I (58526) chip[DIS]: Checking node lookup status after 3039 ms
I (58536) chip[SC]: Initiating session on local FabricIndex 1 from 0x00000000000                                                 1B669 -> 0x0000000000000682
I (58596) chip[EM]: <<< [E:49294i S:0 M:40479249] (U) Msg TX to 0:00000000000000                                                 00 [0000] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- Type 0000:30 (Se                                                 cureChannel:CASE_Sigma1)
I (58606) chip[SC]: Sent Sigma1 msg
I (58776) chip[EM]: >>> [E:49294i S:0 M:27123418 (Ack:40479249)] (U) Msg RX from                                                  0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (58926) chip[EM]: >>> [E:49294i S:0 M:27123419 (Ack:40479249)] (U) Msg RX from                                                  0:0000000000000000 [0000] --- Type 0000:31 (SecureChannel:CASE_Sigma2)
I (58936) chip[EM]: <<< [E:49294i S:0 M:40479250 (Ack:27123419)] (U) Msg TX to 0                                                 :0000000000000000 [0000] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- T                                                 ype 0000:10 (SecureChannel:StandaloneAck)
I (58936) chip[SC]: Received Sigma2 msg
E (59106) chip[SC]: The device does not support GetClock_RealTimeMS() API: 6c.                                                   Falling back to Last Known Good UTC Time
I (59876) chip[EM]: <<< [E:49294i S:0 M:40479251 (Ack:27123419)] (U) Msg TX to 0                                                 :0000000000000000 [0000] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- T                                                 ype 0000:32 (SecureChannel:CASE_Sigma3)
I (59876) chip[SC]: Sent Sigma3 msg
E (59886) chip[DL]: Long dispatch time: 953 ms, for event type 3
I (60096) chip[EM]: >>> [E:49294i S:0 M:27123420 (Ack:40479251)] (U) Msg RX from                                                  0:0000000000000000 [0000] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (60246) chip[EM]: >>> [E:49294i S:0 M:27123421 (Ack:40479251)] (U) Msg RX from                                                  0:0000000000000000 [0000] --- Type 0000:40 (SecureChannel:StatusReport)
I (60246) chip[SC]: Success status report received. Session was established
I (60256) chip[SC]: SecureSession[0x3c2113a8, LSID:13864]: State change 'kEstabl                                                 ishing' --> 'kActive'
I (60266) chip[EM]: <<< [E:49295i S:13864 M:65343025] (S) Msg TX to 1:0000000000                                                 000682 [8014] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- Type 0001:02                                                  (IM:ReadRequest)
I (60266) chip[EM]: <<< [E:49294i S:0 M:40479252 (Ack:27123421)] (U) Msg TX to 0                                                 :0000000000000000 [0000] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540] --- T                                                 ype 0000:10 (SecureChannel:StandaloneAck)
I (60366) chip[EM]: >>> [E:49295i S:13864 M:206507511 (Ack:65343025)] (S) Msg RX                                                  from 1:0000000000000682 [8014] --- Type 0001:05 (IM:ReportData)
I (60366) chip[TOO]: Endpoint: 1 Cluster: 0x0000_0090 Attribute 0x0000_000B Data                                                 Version:<PHONE_NUMBER>
I (60366) chip[TOO]:   Don't know how to log atribute value
I (60366) read_command: read done
I (60376) chip[EM]: <<< [E:49295i S:13864 M:65343026 (Ack:206507511)] (S) Msg TX                                                  to 1:0000000000000682 [8014] [UDP:[FD26:4944:1C37:1:E0BD:E60E:A609:C60A]:5540]                                                  --- Type 0000:10 (SecureChannel:StandaloneAck)

@pavel808 The above shared result were from esp-matter commit-id: commit 9350d9d5f948d3b7c61c8659c4d6990d0ff00ea4
Can you please pull the latest changes of esp-matter if you are on older commit.

@pavel808 The above shared result were from esp-matter commit-id: commit 9350d9d5f948d3b7c61c8659c4d6990d0ff00ea4  Can you please pull the latest changes of esp-matter if you are on older commit.

That's a good point. I pulled the latest changes for esp-matter and all is good now:) Thanks for your help.


⚠ Bofrost.at has degraded performance

In c64a19b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 4446 ms

Resolved: Bofrost.at performance has improved in 12421ba after 8 minutes.


Errors Running the example script from the documentation

Hi,
Im trying to run the first script found here:
http://robobrowser.readthedocs.io/en/latest/readme.html
(The one that scrapes Genius.com)
And I'm getting the following error + warning:
/Users/saulfuhrmann/Computers/VirtualEnviroments/TinderHack/lib/python2.7/site-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 9 of the file test_robo.py. To get rid of this warning, change code that looks like this:

 BeautifulSoup([your markup])

to this:

 BeautifulSoup([your markup], "html.parser")

  markup_type=markup_type))
Traceback (most recent call last):
  File "test_robo.py", line 11, in <module>
    form['q'].value = 'queen'
TypeError: 'NoneType' object has no attribute '__getitem__'

Im using Python 2.7.10 and my OS is OS X El Capitan (10.11.4)
Am I doing something wrong?
Or did Genius.com just changed their interface and the script is not updated?
-- Saul

I am having the same issue. I don't think it is an issue specifically with genius.com because I am encountering it with other websites too.

You can pass the parser to beautifulsoup like this:
browser = RoboBrowser(parser='html5lib')


把截图固定到屏幕上

Description of the new feature / enhancement
截图后有固定到屏幕上的选项方便实时查看截图
Scenario when this would be used?
记笔记等等
Supporting information
No response

Thank you for your feedback! Your idea is considered but currently is not planned for integration into the PowerToys.


Support specifying API endpoins via java props

Add support fo specifying runelite.api.url java prop to be used
instead of RuneLite api base url
Add support fo specifying runelite.ws.url java prop to be used
instead of RuneLite websocket url

Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

nothing for getApiRoot()? Or the srn base?

srn base is not important at all, and API root is just for session counter, and also is not very flexible (because its not possible to change the session suffix) and I do not wanted to refactor that.

Updated with configurable s.r.n url


[Test] Re-disable some Reflection tests on ARM64e.

These tests are still broken on ARM64e:
Reflection/conformance_descriptors.swift
Reflection/typeref_decoding_imported.swift
Reflection/typeref_decoding_objc.swift
Reflection/typeref_lowering.swift
rdar://100558042

@swift-ci please test and merge


Over 50+ Luxrays at the luxray tree bug.

So XxNipleTxX was going to the luxray tree to train his pokemans, When he tp'd there, There was atleast over 50 Luxrays spawned in already and it was absolute mayhem, I tp'd my FPS dropped to about 20fps in a second :( I've got some photos of the countless luxrays!

After visiting each server's Luxray Tree, I am guessing this was either a one-off bug or something fixed it since this report was made.  Closing!


November Issue Grooming - review, categorization, assignment

During November we want to improve our issue management. As a first step we will review the assigned issues. During the review pass please make sure to:

close obsolete/fixed issues
each issue needs a type label, that is one of: Bug, Feature-Request, Debt, Needs more Info, Question, Under-Discussion, upstream:

Bug - the implementation of a feature is not correct
Feature-Request - request to change the proper implementation of a feature or a request for a new feature that needs to be implemented.
Under Discussion - not decided whether the issue is a bug or feature
Debt - improve the implementation/architecture
Needs more info - not possible to assing a type label due to missing information
Question - we should direct questions to SO
upstream - an issue used to track an issue in an upstream component
Note: All type labels are grey (Bugs grey with a touch of red).

assign the important label to issues that

result in data loss
a breakage of extension
critical security, performance issues
UI issue that makes a feature unusable

each issue needs to be assigned to a feature area
assign bugs that you plan to fix during November to the November milestone
issues that the community can take up should be labeled as help-wanted
feature requests that should be implemented as extensions should be labeled extensions-candidate and be closed

Tracking:
Please make sure that you also do this grooming in our satellite repositories:

[ ] @alexandrudima
[ ] @weinand
[ ] @chrmarti
[ ] @tyriar
[ ] @dbaeumer
[x] @bpasero
[ ] @egamma
[ ] @isidorn
[ ] @joaomoreno
[ ] @jrieken
[ ] @kieferrm
[ ] @aeschli
[ ] @rebornix
[ ] @ramya-rao-a
[ ] @roblourens
[ ] @sandy081
[ ] @mjbvz
[ ] @octref

Here is my template for closing issues that are out of scope:

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!

November is done.


500 error occurs during google login authentication

When performing google login authentication
500 Error: "Unchecked exception not caught inside the plugin."
Is displayed and fails

Released v1.0.2


docs: executor crate

I am opening up this draft PR to track progress on the docs for the executor crate.

Codecov Report

Merging #971 (fd6aa5a) into main (009d205) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #971   +/-   ##
=======================================
  Coverage   73.81%   73.81%
=======================================
  Files         293      293
  Lines       32320    32320
=======================================
  Hits        23857    23857
  Misses       8463     8463

Flag
Coverage Δ

unit-tests
73.81% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/net/eth-wire/src/types/version.rs
77.77% <0.00%> (-2.23%)
:arrow_down:

crates/net/network/src/manager.rs
49.38% <0.00%> (+0.20%)
:arrow_up:

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

https://github.com/paradigmxyz/reth/pull/1096
As a newbie, I'm working on executor even though it's just a draft. I'm afraid that my works impacts on this work because it contains too detail flow.

closing as this is unfortunately outdated per the last refactor. @0xKitsune I think any future docs let's try to keep them on the structs vs in separate markdown files

I think any future docs let's try to keep them on the structs vs in separate markdown files.

Sounds good I will keep this in mind for the next section of docs that I work on.

Thanks boss and appreciate the understanding


Is this code active?

I'm not getting a response using the example code.  Help please?

I think some of the example code isn't accurate. Which code are you trying to run?


Misreference under step 3.2

Step 3.2 meant to mention the CAcertificate.cer download on Step 2, not Step 1.

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

ID: 79eb45a2-0b0c-6449-5acc-504fb16583e6
Version Independent ID: fa9be175-df4d-a165-144f-8abe62ecb7ea
Content: Set up Azure IoT Central to work with Azure Sphere
Content Source: AzureSphere/articles/app-development/setup-iot-central.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

@Auticons1 Thanks for your comment. We are actively investigating and will get back to you shortly.

@Auticons1 Thanks for reporting this issue. PR has been created to address this and changes will go live by EOD.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Chinese text sometimes become out of shape under HiDPI monitor

Describe the bug

The font size of first line is 12 and the second line is 10. In the second line, some horizontal strokes in the character 香 becomes thicker.

The four screenshots are captured under the system scaling setting of 100%, 150%, 200 and 225% respectively, and the font size is 12. When scaling factor >= 200%, the overall height of 计算  is smaller than normal, and the part 厶 in 法 is out of shape (normally the right side should be higher, but it gets lower now).
I guess the problem is caused by font hinting.
To Reproduce
Steps to reproduce the behavior:

Create TextBlocks that contains the text 由于目标计算机积极拒绝，无法连接
Run the program on a monitor where scaling > 200%

Expected behavior
Text rendered by wordpad.exe (GDI+):

Text rendered by OneNote (UWP, DirectWrite):

Both screenshots are captured when scaling factor = 225%, and the font size is 9.5pt (≈ 12.667 px).
Desktop (please complete the following information):

OS: Windows 10 (20H2, 19042.685)
Version: 0.10.0-rc1

Avalonia's text rendering isn't DPI aware

Avalonia's text rendering isn't DPI aware


MAINT: decide minimum numpy dependency

Latest numpy and oldest astropy is not compatible (the reason for #86), but rather than bumping the minimum required astropy version, I would suggest to define a  minimum numpy instead, and it to be 1.18, which is the minimum numpy corresponding to the minimum astropy we have.
We can then always require a newer one if/when we run into compatibility issues.

I'm confused.  If the latest numpy is incompatible with the specified astropy, why would setting a minimum version help?  I'm missing something.  (And I'd like to understand it so I can fix my environment.)

We can support multiple user setups, e.g. one stating on LTS astropy is likely will have older numpy, too. And if nothing in the notebooks are using features  or fixes from a newer astropy/numpy then we can say we support these users. But, my very strong opinion, if we say we support them, then we should test for these scenarios.
OTOH, these old versions may very well be not compatible with the latest and greatest, e.g. astropy 5.0 is incompatible with numpy 1.23. But that is fine, as I said above it's not expected that anyone would go with mixed versions like that (IMO I would like to see e.g. timestamped dependency checks, e.g. latest dependency version combination at a given date, but this approach is not exactly wide spread).
So, back to this issue: we have stated that we need astropy >=5.0, but didn't say anything for numpy. And that's wrong, as most often there are no upper limits set in configuration files for the libraries (a few tried that and it led to a huge mess), so we better also set a minimum numpy version, too and my suggestion of it to correspond to the minimum astropy version if possible (side note, I tried and it's not exactly possible if we also stay with requiring python 3.9, as there are no wheels available for that old numpy, and then we end up in a build nightmare situation, so I'll come up with a version that will also makes sense for CI and install convenience both for numpy and scipy).


Added missing quote to registerSounds docstring

Fixes a minor docstring issue I noticed here:
http://createjs.com/docs/soundjs/classes/Sound.html#method_registerSounds

nice find, thanks!


Problems with DAP support

Hello,
While using the "ncdump" command I get the following error message:
marcos@marcosVB:~$ ncdump -h http://oceandata.sci.gsfc.nasa.gov/MODIS-Terra/L3SMI/2013/001/T2013001.L3m_DAY_SST_sst_4km.nc
curl error details:
ncdump: http://oceandata.sci.gsfc.nasa.gov/MODIS-Terra/L3SMI/2013/001/T2013001.L3m_DAY_SST_sst_4km.nc: NetCDF: I/O failure
Additionally, curl spawns the following message:
marcos@marcosVB:~$ curl --verbose http://oceandata.sci.gsfc.nasa.gov/MODIS-Terra/L3SMI/2013/001/T2013001.L3m_DAY_SST_sst_4km.nc

Trying <IP_ADDRESS>...
TCP_NODELAY set
connect to <IP_ADDRESS> port 80 failed: Connection timed out
Failed to connect to oceandata.sci.gsfc.nasa.gov port 80: Connection timed out
Closing connection 0
curl: (7) Failed to connect to oceandata.sci.gsfc.nasa.gov port 80: Connection timed out

Anyone has any idea on how to solve this issue? By the way, I'm using NetCDF-4.5.0 and curl-7.56.0
Thanks,
Marcos Gonçalves

It looks like the server http://oceandata.sci.gsfc.nasa.gov is down.
I think you will have to talk to them.

Do you know what kind of server oceandata.sci.gsfc.nasa.gov is?
It does not appear to be a thredds server; is it hyrax?

I used my browser to walk to the file T2013001.L3m_DAY_SST_sst_4km.nc.
It is in fact a real netcdf-4 file and can be downloaded as such. Why did you think
you were accessing it using DAP?

My initial ideal was to retrieve data from this file without downloading it manually. To be clear, I'm actually using R-interface's packages (RNetCDF, especifically) to retrieve data from this database in order to model a 5-years time series. So I had this idea of accessing them using cURL, inside RNetCDF. I don't really know if it is possible, to be honest, but I see cURL is having a hard time accessing this server.
I'm not familiar with server types, so I'm afraid I can't provide you with this info. But I know it is indeed a real file, I just don't want to download all of them files, lol. Do you have any idea why this is happening?

@marcosgsilva1995
You are having a NetCDF: I/O failure because the server it's not supporting DAP access.
For DAP access the URL
antonio@xps:~$ ncdump -h "https://oceandata.sci.gsfc.nasa.gov/opendap/MODIST/L3SMI/2003/001/T2003001.L3m_DAY_SST_sst_4km.nc"netcdf T2003001.L3m_DAY_SST_sst_4km {
dimensions:
	eightbitcolor = 256 ;
	lat = 4320 ;
	lon = 8640 ;
	rgb = 3 ;
variables:
	float lat(lat) ;
.... [TRUNCATED]

I've tried different commands and the best I could get is the following message. As for the https issue, my cURL version says it's not supported or it's disabled in libcurl. What NetCDF and cURL built version are you using?
marcos@marcosVB:~$ ncdump -h "http://oceandata.sci.gsfc.nasa.gov:443/opendap/MODIST/L3SMI/2003/001/T2003001.L3m_DAY_SST_sst_4km.nc"
syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or SCAN_ERROR

ncdump: http://oceandata.sci.gsfc.nasa.gov:443/opendap/MODIST/L3SMI/2003/001/T2003001.L3m_DAY_SST_sst_4km.nc: NetCDF: Access failure

marcos@marcosVB:~$ curl --verbose "http://oceandata.sci.gsfc.nasa.gov:443/opendap/MODIST/L3SMI/2003/001/T2003001.L3m_DAY_SST_sst_4km.nc"
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to oceandata.sci.gsfc.nasa.gov (<IP_ADDRESS>) port 443 (#0)
> GET /opendap/MODIST/L3SMI/2003/001/T2003001.L3m_DAY_SST_sst_4km.nc HTTP/1.1
> Host: oceandata.sci.gsfc.nasa.gov:443
> User-Agent: curl/7.56.0
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Server: nginx
< Date: Tue, 31 Oct 2017 18:28:23 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 665
< Connection: close
< ETag: "585d4968-299"
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
<
* Closing connection 0

Plug this url into your browser and see if you get back something readable.
https://oceandata.sci.gsfc.nasa.gov/opendap/MODIST/L3SMI/2003/001/T2003001.L3m_DAY_SST_sst_4km.nc.dds

You can find out what protocols your version of curl supports by doing this command:
curl --version
See if https is included.

In my browser I got something readable, but in my curl version https is not included. How do I proceed?

Either you or your system administrator will have to rebuild libcurl
with https support.
The flags I use for building libcurl are as follows.
./configure --enable-http --enable-file --enable-proxy --enable-ipv6 --enable-cookies --with-zlib --with-ssl
You can see all the available flags using the command
./configure --help
The tricky part is seeing what ssl package you have installed. You might try building
with my flags and see if it complains about the --with-ssl flag.

Yes, you were right. I rebuilt libcurl and now it works just fine. For future reference I used the following commands.
Thanks for the valuable help, @DennisHeimbigner
Commands
Download openssl-1.10f (at least for me other versions didn't work)
Untar it and enter the directory

$  ./confi -fPIC shared --prefix=/usr/local
$  make && make test
$  sudo make install

Download cURL
Untar it and enter the directory

$  ./configure --with-ssl=/usr/local
$  make check && make install


License

Hi Simon,
Thank you so much for creating this code, I tried it for the TTN workshops and it worked great with the Pysense and Cayennne.
Would you mind if we (Pycom) share it with the community? You can email me at<EMAIL_ADDRESS>if you prefer.
Thank you.

Glad you found it useful :)  I've addded a license (not really sure why I didn't do it before, but got better things to do than dealing with legal stuff ;)) so you can use it as you please.


Polish the zq command doc

In a recent community Slack thread, a new user began learning zq by reading the docs and asked:

is there a list of output formats? similar to this table of input formats?
https://zed.brimdata.io/docs/commands/zq/#input-formats

Indeed, I saw such a table did not exist. I then started reading the whole doc through the eyes of a new user and found several other things that also use some polish, including:

A few more hyperlinks
Improved formatting
Coverage of some recently-added features

etc.
I'll include in-line comments in spots where I feel it would help to explain my motivation.

Cool! Thx for this. :)


access denied after creation of first repository

I followed the instructions and I can see a running server and can access it via svn and web (i.e. http://serverip/svn). A valid user is set via htpasswd and the credentials work well.
I used a fresh docker volume, mounted to /home/svn.
As soon as I create a repository via "docker exec -it svn-server svnadmin create /home/svn/testrepo" I won't get the repository page anymore, but the network connection is reset. I can't access the repository via svn:// eigther. When I use "docker exec -it svn-server ls -al /home/svn/testrepo" I get a valid listing for the newly created repository structure. I can see it in the volume directly as well.
If I delete the testrepo, the empty overview page at http:/serverip/svn becomes available again.
I could verify this behaviour on 2 different servers and also on a brandnew ubuntu 18.04 installation with docker and a rightful user that is part of the docker group.
Did I miss any access rights settings or do I have to alter any web_dav.conf settings to enable apache to access the repository properly?
Can anyone else confirm this behaviour?
Thank you very much in advance.

Hi @grubec,
It seams related to the problem reported in issue #12. Have a look at it and let me know what do you think! 😉

I can confirm that this is the same with issue#12.

Thank you @zabetak,
then I can close this since it is the same issue as the other one.


DOCK_PLUGINS is deprecated, use ATOMIC_REACTOR_PLUGINS

Recent atomic-reactor warns that DOCK_PLUGINS is deprecated:
2016-03-16 16:46:37,312 - atomic_reactor.plugins.osv3 - WARNING - DOCK_PLUGINS is deprecated - please update your osbs-client!

LGTM & I've checked that our prod buildroot knows about ATOMIC_REACTOR_PLUGINS. Thanks!


Update programming guide: New python expansion service target

Found something out of date in the programming guide, this should fix it.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @chamikaramj @robertwb (Whoever gets to it first)

LGTM
Thanks Daniel.


Core: curve: importing curve while rebuild hierarchy will fail if the parent object don't have unique name

now create_curve_from_data and create_curve_from_data_by_name support and optional argument to pass the top node or the hierarchy ("model"  yep that is how mGear refers to the guide and rig top nodes. Softimage legacy  naming ;) )


Fix PowMiningTest

This PR investigates the removal of the code that changes the static flags in the  Dispose method. This has been done due to the unpredictability of when the method is called.
NOT READY FOR PROMOTION YET
Due to the intermittent nature of the issue the PR will include some dummy commits to ensure that the problem is not re-occurring.

The approach used by this PR failed to resolve the issue. Closing the pull request.


cannot access 'faitagram'

when i enter the command "chmod +x faitagram && chmod +x setup.py" i am returned with "chmod: cannot access 'faitagram': No such file or directory"
I feel like am i missing something?

Try to change directory to Faitagram using "cd Faitagram"

im still returned with
bash: cd: faitagram: No such file or directory

im still returned with
bash: cd: faitagram: No such file or directory

i got it by changing the correctly changing the directory as memreaksan described. thanks so much


[iOS] Setup type safe access to L10n

What to do

No localization settings for this iOS app now. Please setup localization settings and setup module that can access localization strings with type safe way. (e.g. L10n.Timetable.title )

Maybe Xcode 15 way is useful. If this way isn't good, SwiftGen might be better.

## Design

🙋♂

Thank you, assigned!

I have started implementation but I'm not doing well 🙏  (I'm thinking of using SwiftGen)
It will take a little more time, sorry 🙏

@ry-itto
Sorry, I've been working on this issue for the last few days but n't know what the solution...
I chose XcodeGen to access strings with type safe but could not achieve multilingual support.
I'm so sorry, could you please remove the assignment?

🤚

@woxtu
Thanks! Assigned👍


Upgrading to version 2.40.2 breaks SCSS compilation

Project hawtio-core currently depends on @patternfly/patternfly version 2.31.4 and builds fine.
When @patternfly/patternfly is upgraded to version 2.40.2, the Gulp task that compiles the SCSS fails.
Error message:
$ npx gulp sass
[hawtio-backend] Adding startup task
[hawtio-backend] Adding startup task
[hawtio-backend] Adding startup task
[09:17:48] Using gulpfile ~/dev/projects/hawtio/hawtio-core/gulpfile.js
[09:17:48] Starting 'clean'...
[09:17:48] Finished 'clean' after 3.16 ms
[09:17:48] Starting 'sass'...
[09:17:48] Finished 'sass' after 3.83 ms

events.js:174
      throw er; // Unhandled 'error' event
      ^
Error<EMAIL_ADDRESS>Error: File to import not found or unreadable: ./components/all.
        on line 5 of<EMAIL_ADDRESS>        from line 5 of src/patternfly.scss
>> @import "./components/all";

   ^

    at options.error (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/node-sass/lib/index.js:291:26)
Emitted 'error' event at:
    at DestroyableTransform.onerror (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/readable-stream/lib/_stream_readable.js:640:52)
    at DestroyableTransform.emit (events.js:198:13)
    at onwriteError (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/readable-stream/lib/_stream_writable.js:439:12)
    at onwrite (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/readable-stream/lib/_stream_writable.js:460:11)
    at WritableState.onwrite (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/readable-stream/lib/_stream_writable.js:180:5)
    at DestroyableTransform.afterTransform (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/readable-stream/lib/_stream_transform.js:93:3)
    at errorM (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/gulp-sass/index.js:118:12)
    at Object.callback (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/gulp-sass/index.js:127:16)
    at options.error (/home/akieling/dev/projects/hawtio/hawtio-core/node_modules/node-sass/lib/index.js:294:32)

Project references:

https://github.com/hawtio/hawtio-core/blob/127284eb8826dbf2eb929e9143c3c5d2a0681969/gulpfile.js#L61-L67
https://github.com/hawtio/hawtio-core/blob/master/src/patternfly.scss

We just need to add src('./src/patternfly/**/_all.scss').pipe(dest('./dist')); to https://github.com/patternfly/patternfly-next/blob/master/gulpfile.js#L114 and verify it gets copied to the dist. We should also add some docs for how to compile our patternfly.scss yourself (and the experimental build toggling), and the shortcomings of our magical build-time comments for individual components.
From a project perspective, we want to put all the config for experimental components in a file other than that components/_all.scss, so that's why we aren't exporting it now. I'm happy to export it in the interim, but please be aware our build process might change in the future because of this and you'll end up with a broken build again.

:tada: This issue has been resolved in version 2.40.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Inconsistent "wrong password" errors in identity UI

The error message for a bad password in https://localhost:XYZ/Identity/Account/Manage/ChangePassword is Incorrect password.

But the error message for a bad password in https://localhost:XYZ/Identity/Account/Manage/DeletePersonalData is Password not correct.

These should at least be consistent, because they're the same error. And the first one (Incorrect password) sounds better, so let's use that.

Merged thanks wenz!


Heatmap xticks customisation doesn't work

ALL software version info
hvplot==0.7.0
panel==0.10.3
Python 3.8
Description of expected behavior and the observed behavior
xticks (default=None): int or list
Ticks along x specified as an integer, list of
ticks positions, or list of tuples of the tick positions and labels
Tick positions work as the description says, but labels do not. This issue is present with all three options described above. If default it does work, in all other cases the plot will always display the tick position as labels.
I've tried this in Jupyter Classic notebook and in PyCharm too. The symptoms are the same.
Complete, minimal, self-contained example code that reproduces the issue
The code below is from the examples page from the official website. I've just added the .opts part and using panel to display it.
import hvplot.pandas
from bokeh.sampledata.unemployment1948 import data
import panel as pn

data = data.set_index('Year').drop('Annual', axis=1).transpose()
x = data.hvplot.heatmap(
    x='columns',
    y='index',
    title='US Unemployment 1948—2016',
    cmap=["#75968f", "#a5bab7", "#c9d9d3", "#e2e2e2", "#dfccce", "#ddb7b1", "#cc7878", "#933b41", "#550b1d"],
    xaxis='top',
    rot=70,
    width=800, height=300).opts(
    toolbar=None,
    fontsize={'title': 10, 'xticks': 12, 'yticks': 5}
)
x.opts(xticks=[(10, 'foo'), (20, 'bar'), (30, 'lol')])
pn.panel(x).show()

Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action

I actually cannot reproduce this issue exactly as described as x.opts(xticks=[(10, 'foo'), (20, 'bar'), (30, 'lol')]) doesn't render anything at all.
Note that the values entered in the tuples are wrong, as the x-axis is composed of years (e.g. 1953).
This pure HoloViews code works:
import holoviews as hv
from bokeh.sampledata.unemployment1948 import data

hv.extension('bokeh')

data = data.set_index('Year').drop('Annual', axis=1).transpose()
cont = (data.columns, data.index, data.values)

hm = hv.HeatMap(cont)
hm.opts(xticks=[(1980, 'test')], clone=True)

However this doesn't work:
import holoviews as hv
from bokeh.sampledata.unemployment1948 import data

hv.extension('bokeh')

data = data.set_index('Year').drop('Annual', axis=1).transpose()
# The columns are converted to strings
cont = ([str(c) for c in data.columns], data.index, data.values)

hm = hv.HeatMap(cont)
# Raises a Python error
hm.opts(xticks=[('1980', 'test')], clone=True)
# Raises a JS error, same as hvPlot
hm.opts(xticks=[(1980, 'test')], clone=True)

It seems that internally hvPlot converts the columns index to an array that contains the string representation of the index values.

Other xticks issues in https://github.com/holoviz/hvplot/issues/320 and https://github.com/holoviz/hvplot/issues/975


Old version if install with npm

Hey Alex,
when I run npm install  gatsby-plugin-firebase (as mentioned in the dos), I get some old version that doesn't work at all.
I copyed the files from this repo manualy and this seems to work!

All the best K

@UK090483 Hey, this is actually my bad. I'm experimenting with some new version and messed up the package. If you can run npm install<EMAIL_ADDRESS>everything should work.
Sorry for the late response too.

See #6 and report any issues over there if you can. Thank you!


go test ./... failures on linux 386/i686

What did you do?
Build prometheus for linux-i686 then run tests.
What did you expect to see?
Tests passing as they pass for all other architectures.
What did you see instead? Under which circumstances?
Tests failing, looks like it may be related to 64-bit vs 32-bit types. Logs
System information
Linux 6.6.63_1 i686
Prometheus version
No response
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

Relevant dev-summit topic: https://docs.google.com/document/d/1uurQCi5iVufhYHGlBZ8mJMK_freDFKPG0iYBQqJ9fvA/edit?pli=1&tab=t.0#bookmark=id.5ds2naruydu0


11.0 port from 10 again

Replacement of https://github.com/it-projects-llc/website-addons/pull/445

I approve to merge it now


Support for rounded path corners

From what I can see, #4858 only addresses support for DashPathEffect (Using dashPath() in the path_drawing package). What is the equivalent to CornerPathEffect?
If this does indeed not exist, would it be possible to add support for this?

Closing for similar reasons as https://github.com/flutter/flutter/issues/4858. fyi @dnfield


Transaction Extension

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

Showing the history of transactions to the user is a nice additional feature, which we very much appreciate. However, the implementation is based on creating a new active contract storing the transaction details for each user transaction. These contracts are never archived, which results in infinite growth of active contract set, which is against the best practices for Daml apps. Since this app is a learning tool for new Daml developers, it aims to demonstrate best practices in Daml modeling and coding. We very much appreciate the contribution, but I'm afraid we cannot merge this PR, as the implementation deviates from best practices.


Hide decorations for selections that are larger than the viewport

Just work around so that crown file don't flash entire screen. Large functions that cover most of the viewport will have a similar effect but now at least we can get rid of those cases when the entire viewport would flash.

You still get the visual feedback of the window actually scrolling. I think that decorating the entire viewport gives us no extra information. The point of the decoration is for the user to get a feedback on which part of the text was actually affected/referenced. This is useful because you might not always know the bounds of a statement. If we just highlight the entire viewport you have no information about the exact range of the selection/reference and I then would argue that flashing the entire viewport is just irritating and gives the user no relevant feedback.

That's fair. I'll pull it to get a feel for it

It only excludes selections that are larger than the viewport. The reason for this is that if you have a small file that maybe only contains a single function it still might be a good idea to be able to highlight the entire document. You need to have a file with more rows than you can fit in the viewport/editor for this fix to take effect.

It only excludes selections that are larger than the viewport. The reason for this is that if you have a small file that maybe only contains a single function it still might be a good idea to be able to highlight the entire document. You need to have a file with more rows than you can fit in the viewport/editor for this fix to take effect.

I tested it on a file that had more rows than fit in my viewport, and it still highlighted it

Where you scrolled down? If your selection are matching the start or the end of the viewport it will still show.
Opening a large file and scrolling down will not highlight for me.

But you check if the start matches after you've already scrolled, so you will always be at the start.  I'm surprised it works for you

Worked for me. I will have another look at it tomorrow.

Have another look at it now


display removed control results stats in ui

User Story
there's been a bunch of work going on to reduce the size of large reports.
as part of this, a field called removed control results has been added to compliance reports; see #3769 (comment)
we'd like to add this field/stats to the ui to help the user know what's going on if they do end up hitting this logic.
@chef/ux-team - any ideas?
a couple important things:

we only expect this field to be on less than ~5% of reports
it is found at the report level, which means the data could be shown in the compliance scan results slide outs (on both nodes list and profiles list pages) and the compliance node detail page
the field looks like this: removed_results_counts: {failed: 10, passed: 3, skipped 4}

Definition of Done
removed control results stats are included in ui whenever needed

a few questions..

what should a user do next if controls are removed? what are steps they can take so their controls are not causing large reports?
do we have the list of specific controls that were removed?
is this a big enough thing that we want to leverage the top notification to communicate this (same space as the license expiration one)?

next step: user should go execute that control locally on the node in question to see all the results. after that, they should evaluate if they want to remove the control from the profile or manually rewrite it.
the things that are removed are results of a control: so basically a control can have multiple tests in it, each test results in one of many results. here we remove results after..i think 50 or 100 i can’t remember.
notification- maybe?
i know @trickyearlobe has customers hitting this and has tested it with them - he may have opinions about it

oh and everything is configurable https://github.com/chef/automate/pull/3780

My customers were mainly hitting the "large diffs" problem but I think the natural response when investigating any results which have been squished in some way would be to re-run the report manually on a failing node to get the full detail.
BUT.. our design philosophy for curated content should be to try and avoid situations that need truncation. Its perfectly possible to summarise/pre-process failures at the node to make the information explicit, but concise before transmitting a report.

Note: We are starting to see pure compliance customers that don't have Hab or Chef Infra. We won't be able to continue to rely on Hab or Audit cookbook to do the truncation work.

first/shotty attempt: https://github.com/chef/automate/compare/vj/trunc-res-ui


Adding node-problem-detector stable chart

I would like to add a chart for the node-problem-detector:
https://github.com/kubernetes/node-problem-detector
This tool is already in the cluster addons repo for some time now.

/assign @unguiculus

Any update @unguiculus ?
Or perhaps someone else? @scottrigby or @mgoodness or @davidkarlsen or @prydonius

Please compare with what you get from helm create using latest Helm and update accordingly. Make sure you follow our review guidelines and please apply our RBAC best practices.
https://github.com/helm/charts/blob/master/REVIEW_GUIDELINES.md
https://github.com/helm/helm/blob/master/docs/chart_best_practices/rbac.md

Hi @unguiculus!
helm create is not listed anywhere in the Contributing Guidelines. Nevertheless, I've run this command and compared it to what I have already. As such, I've added:

Added affinity option
Added .helmignore file
nameOverride and fullnameOverride options
Changed all labels

Would be cool if helm create produced the RBAC files.
It also seems to remove the app and chart labels and replaced it with app.kubernetes.io/name and helm.sh/chart which kind of breaks backwards compatibility? I've included both. Is that OK? This is confusing TBH.

Make sure you follow our review guidelines

✅

please apply our RBAC best practices.

OK I added a conditional around the service account and the serviceAccountName helper. I've compared it to 2 other popular charts, I think it's in line now.

@unguiculus

There is a new convention for standard labels in Kubernetes land which Helm now follows. Please remove the old labels.

OK understood. I was copying older charts. Now all fixed.

Any update @unguiculus ?

@unguiculus all done! Please re-review.

/ok-to-test

/lgtm


load attributes on relationships

hello, i'm new comer on ruby. I am still learning some things about ruby.
I have response JSON data like this.
{
    "data": [
        {
            "id": "1",
            "type": "creators",
            "attributes": {
                "name": "foo",
                "phone": "123456789"
            },
            "relationships": {
                "items": {
                    "data": [
                        {
                            "id": "1",
                            "type": "item"
                        }
                    ]
                }
            }
        },
        {
            "id": "2",
            "type": "creators",
            "attributes": {
                "name": "bar",
                "phone": "1234567890"
            },
            "relationships": {
                "items": {
                    "data": [
                        {
                            "id": "2",
                            "type": "item"
                        },
                        {
                            "id": "4",
                            "type": "item"
                        }
                    ]
                }
            }
        },
        {
            "id": "3",
            "type": "creators",
            "attributes": {
                "name": "foobar",
                "phone": "0123456789"
            },
            "relationships": {
                "items": {
                    "data": [
                        {
                            "id": "3",
                            "type": "item"
                        }
                    ]
                }
            }
        }
    ]
}

is it possible the data in "relationship" to be like this?
            "relationships": {
                "items": {
                    "data": [
                        {
                            "id": "3",
                            "type": "item",
                            "attributes": {
                                   "name": "abc books",
                                   "price": "123456789"
                           }
                        }
                    ]
                }
            }

if that's possible. what should i do in serializer?

@1m-Arthur the above serialization is not jsonapi.org schema compliant. This gem only supports jsonapi.org json schema. The above serialization is not compliant with jsonapi.org json schema.
If you want other attributes of a relationship try to sideload them using includes

@shishirmk can you expound on this a little bit. For instance, I'd like to make one request and relationship data in one request vs making multiple requests.

@shishirmk Please disregard my last comment. The "includes" options is by far the way to go, I just didn't see it in the documentation. Thanks!

Can you show how you accomplished this to sideload your relationship data? Is it in a non jsonapi compliant way? Is it using the belongs_to/has_one/has_many syntax or something else? I'm still struggling to get this working with includes.


[feature request] rim start

It would be nice to be able to start specific versions of R, instead of switching from one to the other with default.
For example, instead of
rim default 4.2.0
R
# [... try the new version...]
q()
rim default 4.1.2
R
# [... get back to where I was at...]

It would be cool to be able to do:
rim start 4.1.2
# [... try the new version...]
q()
# [... still have the default version...]

rim makes links, so you can call R-4.1, R-4.1-arm64, etc.
#29 might be a duplicate?

Btw. the good thing with the R-4.1 etc. links, is that they never change the default version, and they can run in parallel. (This is if you install all R versions with rim, or call rim system make-orthogonal.)


add docker files to repo

Addresses https://github.com/denoland/saaskit/issues/227

I made the changes based on my original suggestions. PTAL.


Visual Studio 2019

Is the visual summary of the differences between the files still relevant in Visual Studio 2019

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

ID: d8bb12a7-a20c-1dd5-bca0-4873f7ab9e36
Version Independent ID: 360739fd-e98a-535f-9872-ed58ece28194
Content: Get your code reviewed with Visual Studio - Azure Repos
Content Source: docs/repos/tfvc/get-code-reviewed-vs.md
Product: devops
Technology: devops-code-tfvc
GitHub Login: @apawast
Microsoft Alias: sdanie

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot


[Feature request] Add exports-first rule (opposite of exports-last)

Is there an opposite to https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/exports-last.md to ensure that every export is actually at the beginning?
If not, I would like to provide a PR which bring this possibility, if you don't see any reason to do not this.

There's no technical reason not to do it.
The non-technical reasons include that it's not a common style in the ecosystem, because it requires relying on hoisting, and this is widely considered a bad pattern. I personally would never use this style, and would consider code that does to be hard to understand - just like if return was at the top of a function.
Can you help me understand why this is something you want?

Context:
Basically, we have in a company project some rules to order in classes the properties per visibility: putting public on top and private at the bottom.
The only reason behind this is to have a “faster” access to the public code and to avoid scrolling to less important code.
A question was raised regarding the “strange” reversed logic regarding the export being at the bottom and the none-exported stuff at the top (could be considered like private first, then public).
So, only sugar and cool for scroll haters ;)
But I found the point good enough to wonder: why not if it works? Hence, my question.

module exports are like function returns - most people expect to find them at the bottom.
JS doesn't really have "private" and "public" - it only has "reachable" or "non-reachable", so i think it's a mindset issue more than anything else.

OK, then thank you for the advices, I will spread the word and close this one ;)
Thank you for the swift response, BTW!