fix(copy): 修复刷选复制行列头时, 数值单元格未格式化 & 存在省略号时未复制原始值

👀 PR includes

🐛 Bugfix

[x] Solve the issue and close #0

📝 Description

修复行列头单元格存在 ... 省略号时, 未复制原始值的问题 (回滚 https://github.com/antvis/S2/pull/2254, 换一种方式实现)
修复行列头的数值单元格复制时, 未格式化的问题 (数值置于行头/置于列头)
修复开启 copyWithHeader 后, 复制的行列头数值未格式化的问题

🖼 Screenshot

Before
After

🔗 Related issue link

ref https://github.com/antvis/S2/issues/2252
close #1657
🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.53.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.44.3-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-v1.52.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.44.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pdist/cdist with missing values

At the moment pdist returns a distance matrix with a nan-entry whenever a vector with any nan-element is part of the respective pair. This is consistent with, for example, the R dist function, as well as MATLAB, I believe.
In my case, and I should think a few others' as well, there are very few nans in a high-dimensional space. I would thus only ignore the corresponding pairs of elements of the vectors. I have solutions for this problem both in Cython and directly in C, which mirrors the current scipy code. Is there a general interest in having this in scipy?
If the answer is yes, I will submit a pull request and then we just have to discuss the use of Cython or C or a mix of both.

Is there any update on this issue? I have a dataset that contains NaN's in each row. Calculating the distances via pdist ends up all NaNs. Also, what is the advantage of using pdist to other explicit distance calculation functions under scipy.distance. Is pdist providing any auto-paralellization?

I have some code lying around where I implemented Euclidean norm with missing values in C/Cython/Python. The thread on the mailing list died so I never bothered to make a PR but if you're interested I can put what I have on github.

That would be great. Dealing with NAN's seems always be a problem in scipy.distance. I encounter a similar issue in KDTree: http://stackoverflow.com/questions/36585998/kdtree-with-masked-arrays

To your question about pdist, it is simply a convenient entry point for all of the distance measures.
So I have a notebook where I played with a few different versions here. I also found an old package structure which I can make available tomorrow or later tonight. That uses actual C code and takes the bottleneck approach to identify nans. I also remember thinking about using numpy's ufunc system. I didn't make any progress on that end, though.

@gsever: Sorry for the delay. I have put everything I had into a semi-sensible library package. I still need to set up some configuration for it (Travis, etc.) but you can start looking at the code. The functions can still be further optimized but I think it makes more sense to think about how the ufunc system can be leveraged such that all the different metrics can be implemented with ease.

Using _chk_weights with nan_screen=True from https://github.com/scipy/scipy/pull/6931, and then passing weight vectors (which would be 0 for each nan) to the underlying functions would fix this.

@quantology , could you please be more specific about using _chk_weights with nan_screen=True. For instance, I have searched scipy.spatial.distance.pdist and guess they might be in **kwargs? But I cannot go a step further as I only found w kwarg like in scipy.spatial.distance.correlation.
Anyway, I suppose defining a lambda function can also solve the missing data problem of some distance calculation metric, say the following.
from scipy.spatial import distance
import numpy as np
coords = [(35.0456, np.nan),
          (35.1174, -89.9711),
          (35.9728, -83.9422),
          (36.1667, -86.7833)]
distance.cdist(coords, coords, lambda u, v: np.sqrt(np.nansum((u-v)**2)))


Change text from Login to Log in

Call me a grammar Nazi, but the default texts should be "Log in", not "Login".

Login, spelled as one word, is only a noun or an adjective. For example, the information you use to sign into your email is your login (noun), and the page where you sign in is the login page (adjective). Log in is two words when it functions as a verb. For example, you log in with your login information.

-- https://grammarist.com/spelling/log-in-login/

This should be resolved in version 3.1.4, thank you!


Add no_std support to bevy_ecs

Objective

Contributes to #15460

Solution

Added the following features:

std (default)
async_executor (default)
edge_executor
critical-section
portable-atomic

Gated tracing in bevy_utils to allow compilation on certain platforms
Switched from tracing to log for simple message logging within bevy_ecs. Note that tracing supports capturing from log so this should be an uncontroversial change.
Fixed imports and added feature gates as required

Testing

Added to compile-check-no-std CI command
cargo check -p bevy_ecs --no-default-features --features edge_executor,critical-section,portable-atomic --target thumbv6m-none-eabi
cargo check -p bevy_ecs --no-default-features --features edge_executor,critical-section

Draft Release Notes
Bevy's core ECS now supports no_std platforms.
In prior versions of Bevy, it was not possible to work with embedded or niche platforms due to our reliance on the standard library, std. This has blocked a number of novel use-cases for Bevy, such as an embedded database for IoT devices, or for creating games on retro consoles.
With this release, bevy_ecs no longer requires std. To use Bevy on a no_std platform, you must disable default features and enable the new edge_executor and critical-section features. You may also need to enable portable-atomic if your platform does not natively support all atomic types and operations used by Bevy.
[dependencies]
bevy_ecs = { version = "0.16", default-features = false, features = [
  # Required
  "edge_executor",
  "critical-section",

  # Required for platforms with incomplete atomics (e.g., Raspberry Pi Pico)
  "portable-atomic",

  # Optional
  "bevy_reflect",
  "serialize",
  "bevy_debug_stepping"
] }

Currently, this has been tested on bare-metal x86 and the Raspberry Pi Pico. If you have trouble using bevy_ecs on a particular platform, please reach out either through a GitHub issue or in the no_std working group on the Bevy Discord server.
Keep an eye out for future no_std updates as we continue to improve the parity between std and no_std. We look forward to seeing what kinds of applications are now possible with Bevy!
Notes

Creating PR in draft to ensure CI is passing before requesting reviews.
This implementation has no support for multithreading in no_std, especially due to NonSend being unsound if allowed in multithreading. The reason is we cannot check the ThreadId in no_std, so we have no mechanism to at-runtime determine if access is sound.

CI is passing, so I consider this PR ready for review!

That CI issue around building bevy_ecs without default features will need to be fixed! I'll try and get that resolved shortly...

Another question, I just realized that HashSet/HashMap are neither in core nor alloc. Yet EntityHashSet/EntityHashMap doesn't come up in the diff with a feature flag here, has that just not come up yet?

Another question, I just realized that HashSet/HashMap are neither in core nor alloc. Yet EntityHashSet/EntityHashMap doesn't come up in the diff with a feature flag here, has that just not come up yet?

Thankfully, hashbrown is no_std compatible, and bevy_utils has provided hashbrown as an alternative to the std HashMap and HashSet for a while now!

Ok I've made bevy_ecs work without default features. As a nice bonus, the fix involved making bevy_tasks optional, which was shockingly simple (only needed for things that were already gated behind multi_threaded). This reduces the number of dependencies required to build bevy_ecs to 40 on my machine.

Excellent! That definitely feels like the right design, and something we would have wanted to do anyways.


Hi I am using API Resource and it working great, until I have tried add another resource into it. like

Hi I am using API Resource and it working great, until I have tried add another resource into it. like
return [ 			'id' => $this->id, 	        'name' => $this->name, 'users' => UserResource::collection($this->whenLoaded('getusers')),
when I loaded getusers then it's not using the UserResoure, it's just return me back the resource from database!!
 "users": {                 "collects": "App\\Http\\Resources\\V1\\UserResource",                 "collection": [                     {                         "resource": {                             "id": "141",                             "email"<EMAIL_ADDRESS>                            "permissions": [],                             "last_login": "2019-10-14 16:50:23",                             "first_name": "Test",
where as I expected id, userName, etc.
Is it supported? or I am doing wrong?
Originally posted by @shamsuljewel in https://github.com/yajra/laravel-datatables/pull/1702#issuecomment-542288810

I confirm. There is a problem.

@shamsuljewel
Try use this.
`
$builder = User::with(['payment']);
    return DataTables::eloquent($builder)
        ->setTransformer(function ($item) {
            return UserResource::make($item)->resolve();
        })
        ->make();

`
Note package https://github.com/yajra/laravel-datatables-fractal required

@benderoki I found the solutions, yes I am now using what you have referred.
I confirm that it is working fine.
One problem might come if you use transformers like In my App I also expects the column fields returned with the same fields that I send using Resource. I am using a Bag class to convert back my db fields before using Datatables:.eloquent.


Add POI categories in App

The LocationInformationRequest contains the POI with categories and subcategories).We can already find the POI in the LIR with autocomplete. Fetching the POI with a bounding box will soon be available.
We want to show the POIs on the map as well and display them according to the subcategories

Everything is documented in SKI-464
The search for POI's using BoundingBox works on the test system. The request "POI_BoundinxBox_MainCategory.xml" returns all POI's of the main category service
The request "POI_BoundinxBox_SubCategory.xml" returns all POIs of the service subcategory


Development towards 4.0.0

#50
#56
#53

Breaking change, max_cartesian_speed property is removed

#58
#59
#62
#67
#66

#68

FYI @amalnanavati, I just did a quick test on a couple of old demos, and everything seems to be functional. Perhaps it is a good time to merge it in and make the release. But I wanted to ask you first as you have worked the most with the codebase. What do you think?

Thanks for checking in! Yeah I’m happy to merge it in; I have no other changes planned at the moment. Of course, more features may arise as I keep using the library, but that could be another release :)

Okay, thanks a lot for all your effort!


fix(client): json null filtering

fixes https://github.com/prisma/prisma/issues/8399
BREAKING CHANGE

New engine is ready https://github.com/prisma/prisma/pull/9134

Merged main in with latest engine

Added sorting on the data to keep snapshots consistent (reason why tests failed).
Added some documentation hints on the TypeScript level.


Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory

Operating system
Windows 11
Description
running the command: docker compose up returns the following error:
Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory
P.S.: if it's a stupid mistake sorry I'm still a docker noob
Docker compose
services:
  macos:
    image: dockurr/macos
    container_name: macos
    environment:
      VERSION: "15"
      RAM_SIZE: "8G"
      CPU_CORES: "4"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 5900:5900/tcp
      - 5900:5900/udp
    stop_grace_period: 2m

Docker log
✔ Network osx_default  Created                                                                                0.0s
✔ Container macos      Created                                                                                0.1s
Attaching to macos
Gracefully stopping... (press Ctrl+C again to force)
Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory
Screenshots (optional)
No response

Fixed removing:
      - /dev/kvm```
U only need that in Linux or in WLS for HA, if u use Hyper-V HA Is enable by default


sandboxDarkClass is not toggled

Describe the bug
Setting
{
  defaultColorScheme: 'light',
  storeColorScheme: false,
}

results in sandboxDarkClass not being set when toggling dark mode.
Reproduction
I think I provided enough information.
System Info
System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 2.16 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.2 - ~/.volta/tools/image/node/16.14.2/bin/node
    Yarn: 1.22.18 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
    npm: 8.5.0 - ~/.volta/tools/image/node/16.14.2/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Firefox: 107.0.1
    Safari: 16.2
  npmPackages:
    @histoire/plugin-vue: ^0.13.2 => 0.13.2
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    histoire: ^0.13.2 => 0.13.2
    vite: ^4.0.4 => 4.0.4

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think it's caused by storeColorScheme: false


API Deprecate Member::create_new_password()

Issue https://github.com/silverstripe/silverstripe-framework/issues/8577
I did a string search in silverstripe/recipe-kitchen-sink for "create_new_password" and "word_list" - neither of these were used at all

The prefer-lowest build failure is unrelated to this PR


docs: missing BaseModel class property protectFields

Documentation for BaseModel class property protectFields.
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

@codeigniter4/core-team Do we really need protectFields?
Why don't we deprecate it (I mean always true)?

I don't think $protectFields should be documented.
It seems @internal, and devs should not touch it.
There is no use case to set it false in a model.
That's why it is not documented.
But thank you for trying to improve the documentation.


support multiple inverters for live data sync - fix #9

Loop over the additional inverters of a GoodWe plant to sum-up power and energy

I'll implement the summation of all online inverters, but I need a sample of what the call GetMonitorDetailByPowerstationId returns (use --log debug to get it). Most importantly, is eday and etotal per inverter?

I close this PR as I propose a slightly different approach. Please check out #19.

#19 is actually a different request. In #9 I propose a code change which supports multiple inverters.


ButtonSpecs should also take KryptonContextMenu's

It's already there, just hidden when in Alphabetical list..


[Device Support Request] TS0601 _TZE204_9mjy74mp (Moes TRV)

Problem description
I've just bought a Moes ZigBee TRV (see here), However, when I try to add it to my ZHA ZigBee network, although it's discovered and added to the network as other ZigBee devices, the only entity that's available for it is update.name_firmware. I then discovered custom quirks and copied the file ts0601_trv.py and edited it to add this line for my TRV to the MoesHY368_Type1 thermostat class:
    ("_TZE204_9mjy74mp", "TS0601"),

This allowed me to see the current and set to temperatures of my TRV (which also update) and has an on/off switch. However, although it’s recognised as a thermostat, I can’t change the set to temperature, can’t switch it on or off and can’t change the mode.
Note I tried every other thermostat class in the file and they gave worse results.
Clearly the quirk needs updating for this thermostat. There's some support for it in zigbee2mqtt (see here} but I've no idea how to update the quirk (happy to try if someone can point me to a detailed guide).
Solution description
New or updated quirk for the valve.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
{
  "node_descriptor": {
    "logical_type": 2,
    "complex_descriptor_available": 0,
    "user_descriptor_available": 0,
    "reserved": 0,
    "aps_flags": 0,
    "frequency_band": 8,
    "mac_capability_flags": 128,
    "manufacturer_code": 4417,
    "maximum_buffer_size": 66,
    "maximum_incoming_transfer_size": 66,
    "server_mask": 10752,
    "maximum_outgoing_transfer_size": 66,
    "descriptor_capability_field": 0
  },
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0301",
      "input_clusters": [
        "0x0000",
        "0x0001",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0201",
        "0x0204",
        "0xef00"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE204_9mjy74mp",
  "model": "TS0601",
  "class": "ts0601_trv.MoesHY368_Type1"
}```

</details>

### Diagnostic information

<details><summary>Diagnostic information</summary>

```json
Unfortunately it's too long to paste here

Logs
Logs
[Paste the logs here]

Custom quirk
Custom quirk
[Paste your custom quirk here]

Additional information
No response

By completel luck I have found a quirk that provides some support for this valve. It allows me to change the temperature setting (which is really all I need) although it doesn't seem a perfect fit. I may try and have a look to see how to improve it (although the learning curve is Matterhorn steep!).
You can find it here and just add a row for this device to the MODELS_INFO section.


Broken link to OTHER_EDITORS.md in README.md

I believe this link:
https://github.com/untitled-ai/jupyter_ascending/blob/ab7ecec2654872726be1ebfa94900dc6745a7224/README.md?plain=1#L65
Should be
- [Other editors](docs/OTHER_EDITORS.md)

Fixed, thanks!


Encoding unit tests

So more unit tests uncovered some more problems. In #11 we get back strings() in bmpString and universalString which don't need further decoding. Weirdly enough it still worked because i think characters_to_list lets you mix unicode code points and binaries and if you are passing in a list of code points then it is a noop.


fix: Unable to add dataset

SUMMARY
Fixes https://github.com/apache/superset/issues/16864
@hughhhh
AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/70410625/135501743-c3369f2c-3750-43bb-8929-1e53b0288607.mov
TESTING INSTRUCTIONS
See the original issue for instructions.
ADDITIONAL INFORMATION

[x] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@michael-s-molina Thanks for the fix!! curious to know what was the cause? how can we prevent going forward? do we have test case added? @jinghua-qa

@michael-s-molina Thanks for the fix!! curious to know what was the cause? how can we prevent going forward? do we have test case added? @jinghua-qa

The cause was depending on the execution order of setState which is not guaranteed. We don't have any tests for this component. We can do it in a follow-up.


Add note about why we cannot list specific page rules disabled on Wor…

Customer service is still getting a lot of questions on which page rules run before or after Workers. I spoke with them and we thought maybe adding this note with a few snippets of internal documentation would clear things up.

@deadlypants1973 @lukeed what if we just simplify it like this?

I am going to close this with the intention of adding actual documentation on the list of disabled page rules.


[DOC] add s3ObjectNoRecordsFound metric to S3 source docs

What do you want to do?

[x] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
We added a new metric to S3 source plugin to record the number of S3 objects which resulted in 0 events being written to the buffer.
This section should include the new metric.
* `s3ObjectNoRecordsFound` - The number of S3 objects that resulted in 0 records added to the buffer.

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
I updated the DataPrepper readme with these details as well: https://github.com/opensearch-project/data-prepper/pull/2812

@Naarcha-AWS - Looks like this has been addressed: https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/sources/s3/#counters. Can we close this issue? Thanks!


ScriptEditor shortcuts only work when focused on code editor

Godot version
Godot 4.0 beta 3
System information
Windows 10 OpenGL ES 3.0
Issue description
In Godot 4 beta 3 it's become impossible to use ScriptEditor shortcuts without having to focus on the code editor first.
In Godot 3 we're able to use the find shortcut while focused on the code editor, and even when focused on the find input we're still able to use the find and replace shortcut; as well as when focused on the filter methods input we're able to use ScriptEditor shortcuts, as seen below:
https://user-images.githubusercontent.com/17155529/197325485-0fc23954-a10d-46b2-b7fb-b9424fe6381b.mp4
However, now in Godot 4 beta 3, we can still use the find shortcut while focused on the code editor, however once focused on the find input I'm not able to use anymore ScriptEditor shortcuts, nor when focused on any other thing other than the code editor. This means if I want to switch between find and find and replace with shortcuts I'd have to focus on the code editor again to be able to use them, as seen below:
https://user-images.githubusercontent.com/17155529/197325476-cb8b4034-0221-4aa2-b318-c10d6183a4c6.mp4
Steps to reproduce

Open Godot Engine
Open any editable file with the ScriptEditor
Focus on text editor
Use any ScriptEditor shortcut
Shortcut works
Focus on anything else than the text editor
Use any ScriptEditor shortcut
Shortcut won't work

Minimal reproduction project
N/A

That's because many shortcuts are context sensitive and the previous behavior made some of them conflict and some were outright unusable or caused bugs.

I see, so the shortcuts were redesigned with this in mind?
If so, I do feel like this has reduced the productivity and work flow somewhat as I have to constantly be focusing on the code editor to use shortcuts, as opposed to before; but that's just my 2 cents.

Find and replace bar is part of the script editor, so script editor shortcuts should be available when it's focused.

The structure of the UI here is kind of weird. The FindReplaceBar is owned by SciptEditor, and is injected into each ScriptEditorBase for usage. However, the ScriptEditorBase owns it's own Edit menu, and when each ScriptEditorBase is activated, the ScriptEditor get's it's edit menu and adds it to the main menu toolbar hbox container. What this means is that the FindReplaceBar is never actually a child of the node which own the Edit menu, the SciptEditorBase.
So when you set the shortcut context of the edit menu to this when it is created (in the ScriptTextEditor), it will never have menu items triggered when FindReplaceBaris focused becauseFindReplaceBaris never a child of theScriptTextEditor`.


Configurable Sign Up and Reset Password links

These point to the hosted Chef values. They should be configurable. Sign up should be able to be disabled.

Sign up URL added in #38.

This enhancement request has been moved here https://github.com/chef/chef-server/issues/204


Rebase on top of upstream FernFlower

Empty blocks no longer have semicolons, Minor import fixes, Dropped 3 commits as the changes exist upstream now.
mc 1.16-pre1 diff
Still requires j9+ testing.

Tested Java8 vs Java11 vms I had on hand, no differences in decompile output. Jar was build with the latter Java11 vm.
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10)
OpenJDK 64-Bit Server VM (build 11.0.6+10, mixed mode)

Diff looks good, changes look good.
We still need to re-evaluate the unboxing changes as discussed on discord.
But I have the JVM tests running right now if they all pass I'll tag and pull.


Getting "layer._containsPoint is not a function" if preferCanvas is set to true.

While using this package with preferCanvas={true}, I am getting error as "layer._containsPoint is not a function" .
TypeError: layer._containsPoint is not a function
NewClass._handleMouseHover
/src/layer/vector/Canvas.js:391
388 |
389 | for (var order = this._drawFirst; order; order = order.next) {
390 | 	layer = order.layer;

391 | 	if (layer.options.interactive && layer._containsPoint(point)) {
| ^  392 | 		candidateHoveredLayer = layer;
393 | 	}
394 | }

cc/ @jwasilgeo

@swatisahay15 can you please provide a public example (or html+js code snippet) that would let us debug this and take a closer look?

this isn't a hard one to reproduce. the pen below is just the demo app from the README with the change @swatisahay15 described in the issue title.
var map = L.map('map', { preferCanvas: true })

https://codepen.io/jgravois/pen/bGBaeay

Thanks @jgravois. Looking into it. 🔍

@swatisahay15, I don't yet understand why this happening; so far it seems that a necessary method (_containsPoint) is not available on each layer object during the Leaflet Canvas.js source code that handles mouse interaction events.
If your entire Leaflet map needs to be set to preferCanvas: true, is the following (hopefully temporary) workaround acceptable to you?

create an instance of L.SVG: var svgRenderer = L.svg();
for each shape marker you add to the map, include the following property in its options: renderer: svgRenderer.

For example:
var svgRenderer = L.svg();

L.shapeMarkers.xMarker([45.5052, -122.6917], 50, {
  renderer: svgRenderer
}).addTo(map);

L.shapeMarkers.crossMarker([45.5470, -122.6984], 50, {
  color: 'red',
  renderer: svgRenderer
}).addTo(map);

While the bulk of your map will be in canvas, at least we can get these shape markers to live in a unique <svg> in the map's DOM structure without throwing the errors from Leaflet's Canvas.js.


Admin API: Setting Scenario States

Hi, thanks for this.
A few things this could probably do with:

Support in the client class (WireMock), both static and instance.
Acceptance tests that exercise this through the client (again, static and instance)
Consider using PUT rather than POST, identifying the scenario in the URL and therefore avoiding the need for the ScenarioState class.


⚠ Spryr has degraded performance

In db57efb, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 6461 ms

Resolved: Spryr performance has improved in c866fea after 7 minutes.


Doc about migrating from v1beta1 to v1

Changes

This commit introduces a doc describing how to migrate from v1beta1 to v1. It details changes of fields as well as deprecations.
Preview: Doc link
Fixes: #5330
/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[n/a] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
The document has been added that describes the changes needed when migrating from v1beta1 to v1.

/assign @lbernick

/lgtm

@JeromeJu would you mind opening a follow-up PR addressing some of the comments I left here?

would you mind opening a follow-up PR addressing some of the comments I left here?
Will do. Thanks for the reminder.


Hugo using the wrong robots.txt file

According to the documentation:
https://github.com/gohugoio/hugoDocs/blob/b66567de20dafe690640f1d5c308371175164539/content/en/templates/robots.md#robotstxt-template-lookup-order

The lookup order for the robots.txt template is as follows:

/layouts/robots.txt
/themes//layouts/robots.txt

If you do not want Hugo to create a default robots.txt or leverage the robots.txt template, you can hand code your own and place the file in static. Remember that everything in the static directory is copied over as-is when Hugo builds your site.

But this is not happening:
> ls public
ls: public: No such file or directory
> cat static/robots.txt
User-agent: *
Disallow:

Sitemap: /sitemap.xml
> cat themes/anubis/layouts/robots.txt
User-agent: *
# robotstxt.org - if ENV production variable is false robots will be disallowed.
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production")  }}
  Disallow:
{{ else }}
  Disallow: /
{{ end }}
> hugo
Start building sites …

                   | EN
-------------------+------
  Pages            | 560
  Paginator pages  |  64
  Non-page files   |   0
  Static files     | 126
  Processed images |   0
  Aliases          | 167
  Sitemaps         |   1
  Cleaned          |   0

Total in 665 ms
> cat public/robots.txt
User-agent: *
# robotstxt.org - if ENV production variable is false robots will be disallowed.

  Disallow: /

Hugo is copying the wrong robots.txt file.
What version of Hugo are you using (hugo version)?

> hugo version
hugo v0.81.0-59D15C97 darwin/amd64 BuildDate=2021-02-19T17:07:12Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
yes

You seem to misunderstand something in the whole thing here: If your robots.txt is in static it will NOT get processed. If will be copied AS IS to the site. If you still have a robots.txt layout in your theme or local layout files it might overwrite whatever is in static.

Actually you are misunderstanding. I have a static robots.txt with no layout logic. The theme I am using does have layout logic.
The documentation seems to indicate that a static file will be preferred. The static file should be the end result in the public directory after hugo exits, but that is not the case. The rendered theme file is the result.
Either the behavior of hugo is wrong or the documentation needs to be clarified as to the priority which files will end up in the public directory.

I think in this case the documentation needs to be amended. A layout file will always override files in static. If you have only the file instatic it should override the internal robots.txt template.This seems to be a documentation issue, you are right.


[FEAT] Search Product Filters

:bulb: Feature request
Feature Name

Search Product Filters
The Desired Behavior

I want the product search package to provide a list of available filters for a completed search and a way to apply those filters.
Your Use Case

As a user, I want to filter the product search results.
Prior Work

We will need to move category filters into the product package.

superseded by #2192


Boards and Beyond Support Site Request (I have s subscription)

Checklist

[x ] I'm reporting a new site support request
[x ] I've verified that I'm running youtube-dl version 2020.09.20
[x ] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that none of provided URLs violate any copyrights
[x ] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://boardsbeyond.com/video/step-2-3-c/ekg-interpretation
Single video: https://boardsbeyond.com/video/step-2-3-c/delivery-room-care
Playlist: https://boardsbeyond.com/category/step-2-3-c/cardiology

Description
Cookies file (contains my subscription)
cookies.txt
WRITE DESCRIPTION HERE

Hello, pls i need this very quickly, I have subscription, and I want the videos because i cannot pay for another subscription...

Downloading the videos would be a violation of the Boards and Beyond terms of service. The videos are protected by copyright, and are only licensed to members for personal use during the duration of their subscription.
https://boardsbeyond.com/terms-of-service

Ok, but i have a subscription!
I wouldn't publish them, it's for personal use

Your subscription entitles you to watch the videos on the site and take quizzes on the site during the time your subscription is active. It does not entitle you to copy the videos or to access them after your subscription ends, even if it's only for personal use.
You are welcome to download the PDF slides from the videos (check the links at the top of each category page) for future reference, and you can also download any notes you entered in the notes function on the video pages, but those are the only subscription content that is available to you after your subscription expires.

Downloading the videos would be a violation of the Boards and Beyond terms of service. The videos are protected by copyright, and are only licensed to members for personal use during the duration of their subscription.
https://boardsbeyond.com/terms-of-service

Do you realize where you are ? It's not like YouTube or almost any other site would allow downloading without providing the feature by themselves, so ...

So How I can add a customized support site (just for me), and if anyone can do that for me would be very appreciated and thanks alot

like if someone can add support on customized youtube-dl then send it me, would be very appreciated, videos are for me and my college students i want to give them because they cannot afford it due to the corona shit...if anyone able of help would be appreciated, i have no problem i have the subscription, but i want to help my poor colleges who cannot afford THEM, thank u alot

I could take them through torrent, but i prefered to make a subscription and download them just for personal use to help my colleges


Hammercli image build fails in centos7

Reported by https://projects.engineering.redhat.com/browse/SCALELAB-1162

cc: @akiselev1


add defaults to class methods (id_estimation, density estimation, clustering) to avoid calling the whole hierarchy of methods required to accomplish the task

Not sure I understand, can you explain more extensively?

Being able to do something like (example for clustering):
d = Data(X)
outs = d.compute_clustering(...)
and avoiding the following:
d.compute_distances(...)
d.compute_id(...)
d.compute_density(....)
d.compute_clustering(....)
just one call to obtain what you are asking.

gotcha

I think this is working properly, if ones loads points into Data and prompts compute_clustering() the whole tree of methods is called sequentially

Yes I think we fixed this over the last months or so

Yes I did that on the develop branch some months ago. It should have been
merge into main two weeks ago I think..
Il giorno ven 21 gen 2022 alle ore 11:20 Aldo Glielmo <
@.***> ha scritto:

Yes I think we fixed this over the last months or so
—
Reply to this email directly, view it on GitHub
https://github.com/sissa-data-science/DADApy/issues/9#issuecomment-1018371984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGMFPHKCAFJDDR7TXBVSFRTUXEXOJANCNFSM5EGJPDTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>