Missing image for Interlock Service Clusters

File: ee/ucp/interlock/usage/service-clusters.md

The image file is interlock_service_clusters.png.

This issue is resolved in https://github.com/docker/docker.github.io/pull/9210.


[BUG] The exported table inserts a drop-down menu for the cell. The cell cannot display drop-down options

🐛 Bug Report

Lib version: 4.3.0
Steps To Reproduce

  const wb = new ExcelJS.Workbook();
  const ws = wb.addWorksheet("sheet1");
  const colums = [
    {
      header: "测试1",
      key: "test1",
      width: 25
    },
    {
      header: "测试2",
      key: "test2",
      width: 25
    },
    {
      header: "测试3",
      key: "test3",
      width: 25
    },
    {
      header: "测试4",
      key: "test4",
      width: 25
    }
  ];
  ws.columns = colums;
  const cell = ws.getCell("A2");
  cell.dataValidation = {
    type: "list",
    allowBlank: true,
    formulae: [
      '"1234 Main St, Anytown 56789,5678 Elm Ave, Smallville 23456,9012 Oak Rd, Big City 34567,3456 Pine Dr, Tinytown 67890,7890 Maple Ln, Mediumtown 12345,2345 Hickory St, Suburbia 45678,6789 Cedar Cir, Urbanville 89012,0123 Birch Blvd, Countryside 23456,4567 Walnut Way, Metropolis 78901,8901 Cherry Lane, Hamlet 23456,2345 Poplar Place, Cityville 78901,6789 Spruce Street, Villagetown 12345,0123 Juniper Blvd, Boroughville 45678,4567 Acacia Court, Metroville 89012,8901 Sycamore Ave, Thetown 23456,2345 Cypress Circle, Hometown 78901,6789 Chestnut Sq, Thecity 12345,0123 Laurel Ave, Villageville 45678,4567 Grove Road, Lakeville 89012,8901 Flower Lane, Districtville 23456"'
    ]
  };
  wb.xlsx.writeBuffer().then((buffer) => {

    const blob = new Blob([buffer], {
      type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
    });

    const link = document.createElement("a");
    link.href = window.URL.createObjectURL(blob);
    link.download = "test.xlsx";
    link.click();
  });

This is my duplicate address
The expected behaviour: Cells normally display drop-down options

Possible solution (optional, but very helpful):

@Lin-Min It may be because in Excel, a single cell set the maximum length of the data validation drop-down list string of 255 characters, more than this number of characters limit, it will not be able to properly display the drop-down list options.
Change the content of your formulae to
'"1234 Main St, Anytown 56789,5678 Elm Ave, Smallville 23456,9012 Oak Rd, Big City 34567,3456 Pine Dr, Tinytown 67890,7890 Maple Ln, Mediumtown 12345. 2345 Hickory St, Suburbia 45678,6789 Cedar Cir, Urbanville 89012,0123 Birch Blvd, Countryside 23456,4567 Wa"'
Less than or equal to 255 can be displayed normally, more than 255 will not be displayed normally

您好,我已收到你的邮件,谢谢

I don't think so, I think it is a bug, even if you said there is 255 characters limit, then I can not normally display the drop-down menu options with the data you provided, you can see my test link

@Lin-Min可能是因为在Excel中，单个单元格设置了数据验证下拉列表字符串的最大长度255，超过这个字符数限制，将无法正常显示下拉列表选项。
将您的内容更改formulae为
'"1234 Main St, Anytown 56789,5678 Elm Ave, Smallville 23456,9012 Oak Rd, Big City 34567,3456 Pine Dr, Tinytown 67890,7890 Maple Ln, Mediumtown 12345. 2345 Hickory St, Suburbia 45678,6789 Cedar Cir, Urbanville 89012,0123 Birch Blvd, Countryside 23456,4567 Wa"'
小于等于255可以正常显示，大于255不能正常显示

I don't think so, I think it is a bug, even if you said there is 255 characters limit, then I can not normally display the drop-down menu options with the data you provided, you can see my test link

@Lin-Min
Sorry, I copied it wrong when I copied it, here
Mediumtown 12345. 2345 Hickory St,
should be
Mediumtown 12345,2345 Hickory St,
Try this again
'"1234 Main St, Anytown 56789,5678 Elm Ave, Smallville 23456,9012 Oak Rd, Big City 34567,3456 Pine Dr, Tinytown 67890,7890 Maple Ln, Mediumtown 12345,2345 Hickory St, Suburbia 45678,6789 Cedar Cir, Urbanville 89012,0123 Birch Blvd, Countryside 23456,4567 Wal"'
In fact, it does not matter what string is inside, do not exceed 255 characters on the good, I gave you the one due to the wrong copy, resulting in the length has exceeded 255, you can output the length of the string to see for yourself

As you said, there is a character length limit. I hope you can add an optimization check that the length exceeds 255 and throw a warning to remind the user, otherwise the user may feel the bug. For this character is too long I find the way to the next in the drop-down menu on another sheet reference: formulae: [= Sheet2! $A $2: $A $${reportAddressOptions. Length + 1}]. Thank you for your reply. Thank you!

@Lin-Min This is a great idea for a PR, and I'd like to ask about the use of formulae: ['$D$5:$F$5'] to avoid the problem of length limits, is that what you mean?

formulae: ['$D$5:$F$5 '] and Formulae: ['$d $5:$f $5 '] are used to avoid the problem of length limit. I hope that this reminder can be added to the official documentation so that users can find the problem of length limit in time

Yes, I now use Formulae: ['$ D $ 5: $ F $ 5'] to avoid the problem of length limit. I hope that this reminder can be added to the official documentation so that users can timely discover the length of length limit.And when the user inserts the drop -down option in the form of character forms, if the character length exceeds 255, you can throw a warning warning that the user's character is too long, and the table cannot show the drop -down option. Please change another way and check the official documentation in detail.

@Lin-Min #2264 Do you want this PR like this?


Editor segmentation fault while trying to edit TileSet resource on TileMap inspector

Godot version:
2c118d754

OS/device including version:
Artix GNU/Linux Kernel 4.14.90

Issue description:

Greetings.
I've been experiencing a crash when I click in the Open Editor button when I try to edit a TileSet in a Tilemap in the inspector docker. So far this only happened to me with TileSet nodes but I did not try with every possible node out there.
Feel free to close this issue if you consider it is a duplicate of any of the similar already open issues I wasn't sure how to proceed here so I decided to open this one and give you links to the similar ones so you can decide how to proceed and probably add any useful information that I could provide in this report.
On my tests, the problem only appears after use the Open Editor button in the resource for the first time, it looks pretty non deterministic to me as some times it happens at the second try and others after six or seven tries.

And this is from GDB
Thread 1 "godot.x11.tools" received signal SIGSEGV, Segmentation fault.
Set<BaseButton*, Comparator<BaseButton*>, DefaultAllocator>::front (this=0xa699640) at ./core/set.h:573
573                     Element *e = _data._root->left;
(gdb) print _data._root->left
Cannot access memory at address 0x11
(gdb) list
568             Element *front() const {
569
570                     if (!_data._root)
571                             return NULL;
572
573                     Element *e = _data._root->left;
574                     if (e == _data._nil)
575                             return NULL;
576
577                     while (e->left != _data._nil)

Steps to reproduce:
Just create a new Scene add a TileMap node and create/attach a TileSet to it, then use the Open Editor button in the resource, move to another node in the scene, come back to the TileMap node and press the Open Editor again until you crash the editor.
Related Issues and commits:

PR with fix: #21015
Closed issue with the exact same problem: #20887
Original issue: #20501
Other open related issues: #23672, #24630

Let me know if I can do something else to help you help me and thank you for all your work and effort on this engine, it is pretty awesome.
Regards.

Other open related issues: #23672, #24630

This issue is a duplicate of #23672, no?

You are totally right, closing this one


[PoC] libdweb experiment: protocol handler API

ipfs:// and ipns:// sitting on a tree
Background
This PR aims  to implement ipfs:// and ipns:// using browser.protocol.registerProtocol API from mozilla/libdweb. The goal is to ensure proposed API delivers everything IPFS needs, and squash some bugs in the process.
Developer notes on working with libdweb can be found in docs/libdweb.md
ref  https://github.com/mozilla/libdweb/issues/2, https://github.com/ipfs-shipyard/ipfs-companion/issues/343, https://github.com/lidel/ipfs-firefox-addon/issues/164,  https://github.com/ipfs/in-web-browsers/issues/6,  https://github.com/ipfs/in-web-browsers/issues/14, https://github.com/ipfs/specs/pull/152
cc @gozala @kyledrake
4 min demo (August 2018)

Tasks

[x] create libdweb branch which runs libdweb experiments from a single command

[x] create docs/libdweb.md with developer notes

[ ] Wire up the protocol to support common use cases

[x] works with external IPFS node
[x]  works with embedded js-ipfs node
[x] loads image with static mime-type
[x] loads image or HTML page and let browser to do  mime-sniffing
[x] loads a directory and renders listing similar to HTTP gateway
[x] displays error page on invalid CID/path

[ ] detect CIDv0 and provide conversion UI

[x] supports streaming: plays a big video file
(API supports this, I am just too sleepy to add this today, will happen soon)

[ ]  look for edge cases, issues with browser UI being HTTP-centric etc and document/report them
- IN PROGRESS :construction: :building_construction:

Known Issues
HTML issues

[ ] content scripts such as linkify experiment do not get injected on ipfs:// pages

upstream issue: https://github.com/mozilla/libdweb/issues/26

[x] SVG does not render when used in <img src=

ustream issue: https://github.com/mozilla/libdweb/issues/54

[x] webm does not play when used in <video> if it was not present in browser cache before

upstream issue: https://github.com/mozilla/libdweb/issues/57

[x] cross-origin assets within the same protocol do not load

upstream issue: https://github.com/mozilla/libdweb/issues/55

[ ] cross-protocol assets (ipns:// loading ipfs://) do not load

upstream issue: https://github.com/mozilla/libdweb/issues/52

Missing API / Spec Issues

[x] plain text files such as this README.md are returned as downloads instead of displayed in the browser
[ ] how to make redirects?

upstream issue: https://github.com/mozilla/libdweb/issues/34

[ ] how to indicate errors (response status codes) ?

upstream for status codes: https://github.com/mozilla/libdweb/issues/35

[ ] headers? metadata? cache controls?

upstream for headers in Request / Response: https://github.com/mozilla/libdweb/issues/36 & https://github.com/mozilla/libdweb/issues/37

IPFS-specific, UX Issues, Other

[ ] Jenkins build fails because addon-linter shipping with web-ext needs to be updated (https://github.com/mozilla/addons-linter/issues/2108#issuecomment-405694075)
[ ] Legacy CIDv0 (eg. ipfs://QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR) are lowercasesed and produce an error. We should provide conversion tool for user on the error screen, but we need go-ipfs and js-ipfs to support lookups for CIDv0 converted to CIDv1 first.
[ ] remove duplicated code and reuse ipfs-http-response for directory listings

blocked by the lack of support for CIDv1: https://github.com/ipfs/js-ipfs-http-response/issues/8

[ ] Solve UX for "Not Found" scenarios, such as:

ipfs://bafybeigwa5rlpq42cj3arbw27aprhjezhimhqkvhbb2kztjtdxyhjalr3q/big-buck-bunny_trailer.mp4

[x] Solve UX for "Not Found" scenarios, such as:

ipns://tr.wikipedia-on-ipfs.org/wiki/G%C3%BCne%C5%9F_r%C3%BCzg%C3%A2r%C4%B1.html (lack of unescaping)

[ ] If native protocol handler is available, use it it in all redirects instead of HTTP

redirect via onBeforeRequest blocked by upstream issue: https://github.com/mozilla/libdweb/issues/74

Test Resources
IPFS

picture:

ipfs://bafybeie5gq4jxvzmsym6hjlwxej4rwdoxt7wadqvmmwbqi7r27fclha2va (CID codec: dag-pb)
ipfs://bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy/(CID coded: raw)

html page: ipfs://bafybeidvtwx54qr44kidymvhfzefzxhgkieigwth6oswk75zhlzjdmunoy/linkify-demo.html
directory tree: ipfs://babybeiccrv3uc3hjipdnwf4nnntbxuwvt4pn5dsgelvvyueucracbevtha
plain text file: ipfs://babybeiccrv3uc3hjipdnwf4nnntbxuwvt4pn5dsgelvvyueucracbevtha/go-proofs/README.md
video

small video (2MB): ipfs://bafybeigwa5rlpq42cj3arbw27aprhjezhimhqkvhbb2kztjtdxyhjalr3q/big-buck-bunny_trailer.webm
standalone trickle-dag webm video (22MB): ipfs://bafybeigxjv2o4jse2lajbd5c7xxl5rluhyqg5yupln42252e5tcao7hbge
same video but  used in <video src="ipfs://cidv1b32" /> ipfs://bafkreihosso7nxtyhjtpvjmrdoflyup6ex6b2xgzezibavuonobt2l4dai

invalid CID  (lowercased CIDv0): ipfs://qmbwqxbekc3p8tqskc98xmwnzrzdtrlmimpl8wbutgsmnr/
A snapshot of Eng. Wikipedia: ipfs://QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco

IPNS

ipns://docs.ipfs.io
ipns://cid-utils.ipfs.team
ipns://tr.wikipedia-on-ipfs.org
ipns://explore.ipld.io
ipns://explorecatena.com

Screenshots

Added:

streaming

:+1: standalone trickle-dag webm video works fine: ipfs://bafybeigxjv2o4jse2lajbd5c7xxl5rluhyqg5yupln42252e5tcao7hbge
:-1:  use in <video src="ipfs://cidv1b32" /> does not seem to work yet. Opening  ipfs://bafkreihosso7nxtyhjtpvjmrdoflyup6ex6b2xgzezibavuonobt2l4dai produces errors, probably due to lack of content-range semantics.

error handling

basic error message on invalid CID (lowercased CIDv0): ipfs://qmbwqxbekc3p8tqskc98xmwnzrzdtrlmimpl8wbutgsmnr/

Small update: got IPNS working during a short workshop at Dweb Summit :-)

Also, simplified docs/libdweb.md it is now 2 commands that require only firefox-nightly,  git and npm on your PATH

Some updates:

Switched to async handler (https://github.com/mozilla/libdweb/pull/59), which enabled us to set contentType based on first 512 bytes of received payload. Issues with webm and svg are solved, but use in src attribute works only within same origin/protocol:

cross-origin: assets within the same protocol but under different root CIDs do not load: https://github.com/mozilla/libdweb/issues/55
cross-protocol: ipns:// page loading assets from ipfs:// does not work: https://github.com/mozilla/libdweb/issues/52

Switched CID resolver and directory detection and listing to ipfs-http-response

Current version does not support CIDs (https://github.com/ipfs/js-ipfs-http-response/issues/8), will PR soon (we need to bubble up some other changes before that happens)

Started looking into ways we can do e2e testing. There is a lot of edge cases and we should have guards for all of them.

Switched to async handler (mozilla/libdweb#59), which enabled us to set contentType based on first 512 bytes of received payload.

@lidel With mozilla/libdweb#60 and mozilla/libdweb#61 you no longer need to provide contentType and <img /> and <video /> should still work. Just wanted to point out in case you switched to async handler just to address that.

Started looking into ways we can do e2e testing of native protocol handler. There is a lot of edge cases and we should have guards for all of them.

Getting test for this is fairly high on my todo list. And I most definitely would love to get more tests contributed.

Ack. We are  using async handler for multiple reasons, setting arbitrary (https://github.com/ipfs/unixfs-v2/issues/11) content type being only one of them (dnslink lookup and other apis are/will be async as well).
Also, some updates:

Cross-origin assets within the same protocol now load fine (https://github.com/mozilla/libdweb/pull/69)
Smoke-tested on ipfs://bafkreihosso7nxtyhjtpvjmrdoflyup6ex6b2xgzezibavuonobt2l4dai

(unrelated to libdweb) I've found a bug in js-ipfs related to directory sharding. Loading  ipns://tr.wikipedia-on-ipfs.org while using embedded js-ipfs node does not work at the moment because of https://github.com/ipfs/js-ipfs/issues/1279#issuecomment-413307589

Started thinking about doing transport fallback to public gateways if no node available (https://github.com/ipfs-shipyard/ipfs-companion/issues/554)

This PR was important step towards demonstrating value of IPFS in the browser context, and how future could look like, and unlocked collaborations with Brave, Opera and more to come.
Sadly Mozilla dropped the ball on libdweb in 2019 and APIs used in this PR never landed in Firefox Nightly, and after a year of no activity it is time to close it together with #553


[BUG] read_struct issues

It seems that the -d read data without names isn't functioning right.
It also seems like the struct does not get the full amount and might end too early?

Also it would be good if we did support python3.6+_

Also the -c should enable compact mode not disable.  And maybe we want an empty read to read every register now that we have fragmentation

ugg the read to delim test seems to fail with the DELIM prompt a lot...


[WIP] Add isosurface volume material

As discussed in #86, this PR adds a material for volume iso surfaces. In this PR, I aim to add the iso surface shader. I propose to add lighting that is integrated with the scene lighting system in a follow-up PR.
https://github.com/pygfx/pygfx/assets/1120672/24e12f1e-8d5c-45ef-8716-e83663e9fdf3
To do:

[x] expose surface threshold as a uniform
[ ] add some simple lighting

https://github.com/pygfx/pygfx/assets/1120672/99ddc36d-9919-4070-a7b2-c71b19116fc9

Example script
import imageio.v3 as iio
import numpy as np
from PySide6 import QtWidgets
from wgpu.gui.qt import WgpuCanvas

import pygfx as gfx

class Main(QtWidgets.QWidget):
    def __init__(self):
        super().__init__(None)
        self.resize(640, 480)

        # Creat button and hook it up
        initial_threshold = 1000
        self._slider = QtWidgets.QSlider(parent=self)
        self._slider.setMinimum(0)
        self._slider.setMaximum(2000)
        self._slider.setValue(initial_threshold)
        self._slider.valueChanged.connect(self._on_slider_changed)

        # Create canvas, renderer and a scene object
        self._canvas = WgpuCanvas(parent=self)
        self._renderer = gfx.WgpuRenderer(self._canvas)
        self._scene = gfx.Scene()

        voldata = iio.imread("imageio:stent.npz").astype(np.float32)

        geometry = gfx.Geometry(grid=voldata)
        material = gfx.VolumeIsoMaterial(clim=(0, 2000), isosurface_threshold=initial_threshold)

        self.volume =  gfx.Volume(geometry, material)
        self._scene.add(self.volume)

        self._camera = gfx.PerspectiveCamera(70, 16 / 9)
        self._camera.show_object(self._scene, view_dir=(-1, -1, -1), up=(0, 0, 1))

        self._controller = gfx.OrbitController(
            self._camera, register_events=self._renderer
        )

        # Hook up the animate callback
        self._canvas.request_draw(self.animate)

        layout = QtWidgets.QHBoxLayout()
        self.setLayout(layout)
        layout.addWidget(self._slider)
        layout.addWidget(self._canvas)

    def _on_slider_changed(self):
        self.volume.material.isosurface_threshold = self._slider.value()

    def animate(self):
        self._renderer.render(self._scene, self._camera)
        self._canvas.request_draw()

app = QtWidgets.QApplication([])
m = Main()
m.show()

if __name__ == "__main__":
    app.exec()

^ demo of changing the isosurface threshold with a slider
isosurface threshold uniform
I have attempted to make the isosurface threshold a uniform and I'm not sure how to do so with the current setup where the different volume render snippets (e.g., MIP, isosurface) are in the same file. When I do so, this causes issues for the other volume ray modes when building the shader because they don't have the isosurface_threshold field. See the error message below caused by running the volume_render1.py example.
Device::create_shader_module error:
Shader '' parsing error: invalid field accessor `isosurface_threshold`
    ┌─ wgsl:451:36
    │
451 │     let iso_threshold = u_material.isosurface_threshold;
    │                                    ^^^^^^^^^^^^^^^^^^^^ invalid accessor

Draw error
Traceback (most recent call last):
  File "/Users/kyamauch/miniconda3/envs/pygfx/lib/python3.10/site-packages/wgpu/gui/_gui_utils.py", line 77, in log_exception
    yield
  File "/Users/kyamauch/miniconda3/envs/pygfx/lib/python3.10/site-packages/wgpu/gui/base.py", line 135, in _draw_frame_and_present
    self.draw_frame()
  File "/Users/kyamauch/Documents/pygfx/examples/feature_demo/volume_render1.py", line 56, in animate
    renderer.render(scene, camera)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/renderer.py", line 511, in render
    container_group = get_pipeline_container_group(wobject, environment)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 159, in get_pipeline_container_group
    pipeline_container_group.update(wobject, environment, changed_labels)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 239, in update
    container.update(wobject, environment, env_hash, changed)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 324, in update
    raise err
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 321, in update
    self.update_wgpu_data(environment, env_hash, changed)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 392, in update_wgpu_data
    env_shaders[pass_index] = self._compile_shader(pass_index, environment)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 591, in _compile_shader
    return get_cached_shader_module(self.device, self.shader, shader_kwargs)
  File "/Users/kyamauch/Documents/pygfx/pygfx/renderers/wgpu/engine/pipeline.py", line 72, in get_cached_shader_module
    result = device.create_shader_module(code=wgsl)
  File "/Users/kyamauch/miniconda3/envs/pygfx/lib/python3.10/site-packages/wgpu/backends/wgpu_native/_api.py", line 1349, in create_shader_module
    id = libf.wgpuDeviceCreateShaderModule(self._internal, struct)
  File "/Users/kyamauch/miniconda3/envs/pygfx/lib/python3.10/site-packages/wgpu/backends/wgpu_native/_helpers.py", line 322, in proxy_func
    raise wgpu_error  # the frame above is more interesting ↑↑
wgpu._classes.GPUValidationError: Validation Error

Caused by:
    In wgpuDeviceCreateShaderModule

Shader '' parsing error: invalid field accessor `isosurface_threshold`
    ┌─ wgsl:451:36
    │
451 │     let iso_threshold = u_material.isosurface_threshold;
    │                                    ^^^^^^^^^^^^^^^^^^^^ invalid accessor

    invalid field accessor `isosurface_threshold`

What do you think is the best path forward? Move the isosurface rendering shader from the volume_ray.wgsl to its own file? I suppose we could also add the isosurface_threshold uniform to the VolumeBasicMaterial, but adding a field that won't be used by other modes doesn't seem like the best approach.

What do you think is the best path forward? Move the isosurface rendering shader from the volume_ray.wgsl to its own file? I suppose we could also add the isosurface_threshold uniform to the VolumeBasicMaterial, but adding a field that won't be used by other modes doesn't seem like the best approach.

I moved the iso function to a separate file and have a conditional include (mode == 'iso'). This seems to fix the problem. Does this seem reasonable? https://github.com/pygfx/pygfx/pull/773/commits/d4275513e2eaf9100e9bfebaec78b487dd641095

I had a go at adding some simple lighting (https://github.com/pygfx/pygfx/pull/773/commits/9bc3da761b0fce027a2c88f934adbf00d244bc15). This is basically a copy of the lighting_phong function in light_phong_simple.wgsl - I just omit the emissive term. I think it would be nice to unify these functions. I did a quick search and it didn't seem like any existing shaders still depend on light_phong_simple.wgsl, so it seems safe to make breaking changes to it, but I may have missed something so I wanted to check in first.
https://github.com/pygfx/pygfx/assets/1120672/64c90c4b-a7cc-4873-884f-f208177604a9

Thanks for the feedback, @almarklein !

I prefer to have the render functions together in the same file. But we have to fix that error regarding the uniform. So maybe we can rename render_mode_{{ mode }}() to simply raycast() or something. And then use this trick:

I will give this a go.

What constants do you mean?

Sorry for being unclear. I meant the parameters for the lighting:
https://github.com/pygfx/pygfx/blob/ef138442baf2b5f304a6980b1d530d85425ffbeb/pygfx/renderers/wgpu/wgsl/light_phong_simple.wgsl#L15-L17
As well as the step sizes for the ray marching.
I could imagine  users wanting control over all of those parameters and they are currently hard coded.

I think its ok if the lighting parameters are hard-coded; when we move to scene lights, the user has full control over the lights.
We could include the step size for ray marching as a prop on the material.

Thanks again for the feedback, @almarklein !
I have updated the PR with the following changes:

unified the iso and mip raycasting shaders into a single file
switched to the lighting function in light_phong_simple.wgsl
exposed the step sizes, emisssive color, and shininess on the material

Are there any tests you would like me to add? Or is the testing in test_materials.py sufficient?
On a related note, I think I've done something that is causing the Docs CI to fail, but I couldn't tell by looking at the logs.
Thanks!


Get files from specific folder

I have a music application where the user can download the music file also. So when I fetched the music files I got all the files that the user store in his storage device but I want only those mp3 that user downloaded and stored in the "download" folder. How can I achieve this feature?

@ajoykarmakar
i guess you could use some fs module ( like RNFetchBlob ) to retrieve URIs you want, then use this packages to extract the metadata.
however, in my opinion, the more  sensible approach would be to store the metadata and path/URL upon fetching them from the back-end( in some local database  like sqLite or realm ).

Yupp, I have used this plugin to download the songs and stored in the storage but how can I get only from a specific folder where the user stored the songs. my current code is -
 MusicFiles.getAll({
                   duration: true, //default : true
                   fields: ['title', 'artwork', 'duration', 'artist', 'genre', 'lyrics', 'albumTitle']
               }).then(tracks => {
                   this.state.loading = false
                   this.setState({
                       offlineresults: tracks,
                       loading: false
                   })
               }).catch(error => {
                   // console.log(error)
               })

I got all songs from this code.

you could use RNAndroidAudioStore.getSongByPath ( see here) to retrieve the metadata from a path, however this wont work on iOS.

to be honest though, for your use case, I truly think it would be a better solution to just use a local database instead of this package.
I assume you fetch the metadata and the urls from a back-end service at some point, store them in a database. you can also add a path field, set it to null, and insert the the download path into that field in the callback on the download function of RNFetchBlob.

It is possible implement a function to get songs from a specific path, something like this should work on the android native side:
private Cursor cursor;
private int columnIndex;

String[] projection = {MediaStore.Audio.Media._ID};
cursor = managedQuery( MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
        projection,
        MediaStore.Audio.Media.DATA + " like ? ",
        new String[] {"%PATH_TO_FOLDER_CONTAINING_SONGS%"},
        null);
columnIndex = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID);

however, I don't think this is a reasonable solution for your use case either.

Yeah, I can do it with local storage but if the user somehow deletes the mp3 file from the file manager then the app still shows the file but didn't able to play the music. I think that's wrong and a bad UX and thank you for your coding support but that's a java code, How to implement this code, I have no idea can you help me out, please?

honestly this is how we handled this issue in our app:

store all the data in SQLite, Songs table includes PATH ( defaults to NULL) and URL
when the user decides to download a song, update the PATH
whenever a song is going to be played, first scan the PATH attribute, if the file exists, then the song will be played locally from the path, otherwise fall back to the URI and fetch the song from the back-end ( and inform the user that the song is being streamed over the network via snackbar).

we use this package only to discover songs, artists, albums, playlists, ... which are not viewed, played, downloaded or created by our own app.

It will be really helpful if you are able to implement these features.

@ajoykarmakar this function is now implemented in v3dev branch of my fork.

@Drazail  I implemented react-native-get-music-files with my react-native-0.70.6 and as my react version higher not going for manual installation and when i build the project it gives me the error for android.support.annotaion which is due to androidx, and i changed it to androidx and the project will build successfully and now when i use the code
MusicFiles.getAll({     blured: false, // works only when 'cover' is set to true     artist: true,     duration: true, //default : true     cover: false, //default : true,     genre: true,     title: true,     cover: true,     minimumSongDuration: 10000, // get songs bigger than 10000 miliseconds duration,     batchNumber : 1,     delay: 1000   })   .then(resp => {     // console.log("resd", resp);   })   .catch(er => alert(JSON.stringify(error)));
and during each time i call that the app get crashed without any error message , i cannot understand what to do to get my device music files , please help @Drazail , @ajoykarmakar

@iasreact1
Its been a while since I worked on this. however, if you are interested, you can take a look at the source code of my repo (which is practically the android side of this package) and let me know if you need any help with that.

@ajoykarmakar该功能现已在我的 fork 的 v3dev 分支中实现。

hello ，i  used it ,but  failed 。

@ajoykarmakar该功能现已在fork的v3dev分支中实现。

你好，我用过了，但是失败了。
this is my code 。
import GetMusicFiles, {
Constants,
CoverImage
} from "react-native-get-music-files-v3dev-test";
GetMusicFiles.getSongByPath({
cover: true,
coverFolder: "pathToCoverFolder",
path: "/storage/emulated/0/Download/"
})
.then(f => {
console.log(f);
})
.catch(er => console.log(e));
};
i get a error 。   [TypeError: undefined is not a function]

@ajoykarmakar该功能现已在fork的v3dev分支中实现。

你好，我用过了，但是失败了。
this is my code 。
import GetMusicFiles, {
Constants,
CoverImage
} from "react-native-get-music-files-v3dev-test";
GetMusicFiles.getSongByPath({
cover: true,
coverFolder: "pathToCoverFolder",
path: "/storage/emulated/0/Download/"
})
.then(f => {
console.log(f);
})
.catch(er => console.log(e));
};
i get a error 。   [TypeError: undefined is not a function]

@Drazail  please help me ， GetMusicFiles.getSongs({  ... })   is OK,  but GetMusicFiles.getSongByPaths and   GetMusicFiles.getSongByPath   is  error 。


Hide ellipsis when g:diagnostic_trimmed_virtual_text is zero

This is just my opinion, so feel free to close it if you don't agree. I think when g:diagnostic_trimmed_virtual_text equals 0, the ellipsis should be hidden and only the symbols should be shown. Without any text the ellipsis doesn't have any value, since we already know there are error messages only by seeing the error symbols.

You're right. It should be fixed in the latest commit, please update and check!

Great job! Working as intended. Thanks for your dedication! :tada:


ci: Run tests against python3.7 instead of python3.6

Thanks for a quick review @medikoo - would you be able to change the rules for required jobs in this repository? I will be dropping Python 2.7 support soon, so maybe you could remove all required jobs for now? Thanks in advance 🙇


Port Issue:  Carmageddon

Device Type

[ ] RG351P/M
[ ] RG351V
[ ] RG351MP
[ ] RG353M/V/P
[ ] RG503
[ ] RG552
[ ] RGB10
[ ] RGB30
[ ] RK2023
[ ] X55
[ ] Other device (device name here)
[x] All of the above

Firmware

[ ] ArkOS
[ ] ArkOS Wummle
[ ] AmberELEC
[ ] JelOS
[ ] RockNix
[ ] uOS
[ ] RetroOZ
[ ] TheRA

Port: {Port Name}
Carmageddon
https://portmaster.games/detail.html?name=carmageddon
Description
Hello, The Carmageddon port is based on dethrace, which uses the GPL-3 license.
This license requires ports and modifications to provide their modifications in source archive.
I cannot find a (download) link with those modifications on portmaster's site.
Reproduction Steps
n/a

I'm sorry you are correct the license files seem to be missing on this port.
We're really careful that we always include license files and compile history and from where the package was built.
This was merged on the old portmater repo before we had our strict checks
https://github.com/christianhaitian/PortMaster/pull/252
There was also an inquiry to the porter from which version he built.
https://discord.com/channels/1122861252088172575/1157962888305180713/1211880004774924330
He built it from this fork
https://github.com/orsonmmz/dethrace/tree/gles
I'll upload the License asap and point to the fork he built it from as well.

Files got added
https://github.com/PortsMaster/PortMaster-New/commit/b53d3cc464bc714ab5a368ac0dd3a0088725a8e0
https://github.com/PortsMaster/PortMaster-New/commit/9763f2e256bf2edad475d4f61bc6cce6806d75b6
I hope it's okay now.
Any questions you can also always reach us on our discord as well.

Thanks! I appreciate the quick fix!


Panel width

If compiled and created contract has long function signatures, the sidebar width increases, so that the main panel is too narrow and unusable. Ability to resize it would be very helpful.

[ ] Expandable panel width - example atom-tree-view


Certificate verification fails on Windows native build

The http3-client fails certificate verification when built natively, e.g.
$ http3-client https://cloudflare-quic.com
snip...
[2019-06-15T11:43:24.931343300Z TRACE quiche::tls] error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
[2019-06-15T11:43:24.937788700Z ERROR http3_client] 88dab5f9b993280072028d5b4d34d30a4e3c recv failed: TlsFail

The cert for cloudflare-quic.com is trusted by my machine. So I suspect this is something related to building quiche in a way that properly imports my system trust store.

One path of research suggests this used to be a problem for rustup. The had a mini crate that could attempt to load certs manually from the platform store and then manually populate the store object used by SSL library. The code for windows is here, https://github.com/rust-lang/rustup.rs/blob/27fccd3500321ee66da77589d3f4a65fcc7bddfb/src/ca-loader/src/sys/windows.rs
In that example, you'd do something like below in quiche's tls.rs, which would require exposing a few new functions
let bundle = CertBundle::new();
let store = X509_STORE_new();
for cert in bundle {
    X509_STORE_add_cert(store, cert);
}

I have a working PoC for this. Needs some tidy up but I can create a PR soon.


Pickr sliders and output acting up on page load

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Pickr initializes with #NANNANNAN even though the default is set to #FF1294 (which you can see in the preview of the last color saved).
The sliders are 100% not working and when clicking the transparency one, the resulting hex value is negative because the selected point is somewhere completely different (no idea where).
If the current behavior is a bug, please provide the steps to reproduce.
I used the following code, and just appended the .pickr div before initializing Pickr with that element (which seems to work just fine).
import Pickr from "pickr-widget/dist/pickr.min";

new Pickr({
  el: $(".pickr"),

  default: "#FF1294",

  components: {
    preview: true,
    opacity: true,
    hue: true,

    output: {
      hex: true,
      rgba: true,
      hsva: true,
      input: true
    }
  }
});

The weird thing is that the demo at https://simonwep.github.io/pickr/ seems to work just fine...
I am not sure of the exact root cause of this problem.
I don't want to show much of my code, but it works fine when I execute it from Devtools (shows expected behavior) but not from JS.
I am using Rollup with CommonJS, and am importing the dist file directly via import Pickr from 'pickr-widget/dist/pickr.min';
What is the expected behavior?
The output color is completely normal and the sliders work properly.
Your environment:
Pickr-version: 61a7ff46a11d9fc84da428fd826a2d03634b9456
Browser-version: Google Chrome Version 68.0.3440.17 (Official Build) beta (64-bit)
Operating-system:  macOS High Sierra 10.13.5

That's strange, could you please provide some Information how to reproduce it? Maybe your rollup build config. How about errors? Seems like a lot is crashing.

There are no errors in console.I could provide the Pickr instance object if you want, but I’ll try to find the root cause later today when I have time.

Pickr object after initializing:

{
"options": {
  "components": {
    "preview": true,
    "opacity": true,
    "hue": true,
    "output": {
      "hex": true,
      "rgba": true,
      "hsva": true,
      "input": true
    }
  },
  "default": "#000",
  "el": {}
},
"root": {
  "root": {},
  "button": {},
  "app": {},
  "input": {
    "options": {
      "0": {},
      "1": {},
      "2": {},
      "3": {},
      "4": {}
    },
    "result": {},
    "save": {}
  },
  "preview": {
    "lastColor": {},
    "currentColor": {}
  },
  "palette": {
    "picker": {},
    "palette": {}
  },
  "hueSlider": {
    "picker": {},
    "slider": {}
  },
  "opacitySlider": {
    "picker": {},
    "slider": {}
  }
},
"inputActive": false,
"color": {
  "h": 0,
  "s": 0,
  "v": 0,
  "a": 1
},
"lastColor": {
  "h": 0,
  "s": 0,
  "v": 0,
  "a": 1
},
"components": {
  "palette": {
    "options": {
      "lockX": false,
      "lockY": false,
      "element": {},
      "wrapper": {}
    },
    "cache": {
      "x": 0,
      "y": 0
    }
  },
  "hueSlider": {
    "options": {
      "lockX": true,
      "lockY": false,
      "element": {},
      "wrapper": {}
    },
    "cache": {
      "x": 0,
      "y": 0
    }
  },
  "opacitySlider": {
    "options": {
      "lockX": true,
      "lockY": false,
      "element": {},
      "wrapper": {}
    },
    "cache": {
      "x": 0,
      "y": 0
    }
  },
  "selectable": {
    "options": {
      "className": "active",
      "elements": {
        "0": {},
        "1": {},
        "2": {},
        "3": {},
        "4": {}
      }
    }
  }
}
}

I've found out that Pickr seems to load completely fine if I have a timeout of >83ms after DOMContentLoaded is fired.
I'm not sure why this is the case at all. I initialize Pickr right after the DOM has loaded.
If helpful, here is how I build my dist file:

rollup bundle w/ rollup

plugins

rollup-plugin-node-resolve (browser)
rollup-plugin-commonjs (browser, node_modules/**)
rollup-plugin-terser (toplevel, ie8, safari10)

didn't work before I even added this plugin

output

format: iife
sourcemaps

Okay, I've finally reproduced the problem. This behavior occurs if you load the pickr.min.css, which is saved under node_modules/pickr-widget/pickr.min.css, after your .js file.
In my case, it worked for me if I put the <link rel="stylesheet" href="path-to/pickr.min.css"> in my head tag or somewhere before my .js file which contains the pickr instance.

Hm, yeah, I see that's the issue. Moving the JavaScript file to load after my bundled CSS fixed it, though I'm not sure why that would ever be an issue.
This bug seems to also occur if the script tag also has the defer attribute, removing it AND loading it after the CSS fixed the problem.

I'm glad you like it :)
Good idea, I will mention it in the README!


Added functionality to UniversalDashboard Template

Check if user want the included UD theme or not.
Add a howto after the plaster scaffolding

Pullrequest merged


Eliminate fuzzy arrows

In Dart 1.0, dynamic is used as both top and bottom.  In strong mode, we made it top almost everywhere, except that for function typed variables (only) we made dynamic on parameter types mean bottom in order to enable certain code patterns:
typedef Arity1(x);
typedef Arity2(x, y);

void test(Function f, List args) {
  if (f is Arity1) {  // Matches any 1 argument function
   f(args[0]);
  } else if (f is Arity2) {  // Matches any 2 argument function
    f(args[0], args[1]);
  }
}

Since we how have a name for bottom in the language (Null), we can support this pattern directly:
typedef Arity1 = Function(Null);
typedef Arity2 = Function(Null, Null);

void test(Function f, List args) {
  if (f is Arity1) {  // Matches any 1 argument function
   (f as dynamic)(args[0]);
  } else if (f is Arity2) {  // Matches any 2 argument function
    (f as dynamic)(args[0], args[1]);
  }
}

The original motivation for fuzzy arrows is gone, and it continues to cause user confusion and soundness difficulties.  This is a tracking bug for the elimination of all remaining uses of them, following by the deprecation and elimination of the feature.
Related:
https://github.com/dart-lang/sdk/issues/29299
https://github.com/dart-lang/sdk/issues/29295

Filed https://github.com/dart-lang/test/issues/674

Blocking issues:

[ ] https://github.com/dart-lang/sdk/issues/30980
[ ] https://github.com/dart-lang/async/issues/40
[ ] https://github.com/dart-lang/args/issues/78

Would be great to include elimination of fuzzy arrows in Flutter as well.
See, e.g., https://github.com/flutter/flutter/pull/13180

This is done.


Create table on loading data if table does not exist

Create table when loading data if the destination table does not exist and CreateDisposition is not CREATE_NEVER.

Thank you for your the great PR ! LGTM

Hi @goccy , I just wanted to ask, is this creation of table, based on create_disposition, done only for load jobs? I have a query done through client and destination table in the job_config, along with create disposition set to create_if_needed but emulator engine complains that the table dosn't exist.

Hey @goccy have you seen the above maybe?


Syntax Error: Token 'track' is an unexpected token at column 13 of the expression [routeStyles track by k] starting at [track by k].

This is the entire trace :
Error: Syntax Error: Token 'track' is an unexpected token at column 13 of the expression [routeStyles track by k] starting at [track by k].
    at throwError (angular.js:6016)
    at parser (angular.js:6010)
    at angular.js:6574
    at Object.$eval (angular.js:8011)
    at Object.ngRepeatWatch (angular.js:13574)
    at Object.$digest (angular.js:7889)
    at Object.$apply (angular.js:8097)
    at angular.js:961
    at Object.invoke (angular.js:2857)
    at resumeBootstrapInternal (angular.js:959)

Closing by the lack of info


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter cloudless-homeconnect for common errors and appropiate suggestions to keep this adapter up to date.
This check is based the current head revisions (master / main  branch) of the adapter repository
Please see the result of the check below.
ioBroker.cloudless-homeconnect
   -
:thumbsup: No errors found
WARNINGS:

[ ] :eyes: [W401] Cannot find "cloudless-homeconnect" in latest repository

:thumbsup: No suggestions found
Please review issues reported and consider fixing them as soon as appropiate.
Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check or force the creation of a new issue at any time by adding the following comment to this issue:
@iobroker-bot recheck
or
@iobroker-bot recreate
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Last update at Fri, 01 Nov 2024 18:02:49 GMT based on commit 72bae96722faf5777ac5f25162e2d9d4e30fade9
ioBroker.repochecker 3.1.4

This isssue should not be considered stale

@mcm1957  It was the automated action, sorry for that.

No problem. It's clear that the action was triggered by stale bot. :-)

@iobroker-bot recheck


index() and offsetIndex() UX expressions do not work in-line Each on preview

Fuse 1.1.0 build 13808, macOS.
Affected: all previews.
Not affected: builds.
Repro:
<App>
	<JavaScript>
		var items = [1,2,3,4,5,6,7,8,9,10];
		module.exports = {
			items: items
		};
	</JavaScript>
	<StackPanel ItemSpacing="8" Margin="8">
		<Each Items="{items}" Offset="2" Limit="4">
			<Panel Height="48">
				<Text Value="value: {}; index: {= index(this)}; offsetIndex: {= offsetIndex(this)}" Alignment="CenterLeft" />
			</Panel>
		</Each>
	</StackPanel>
</App>

Throws Could not find and Instantiator in Problems tab.

I think this might be an issue for Fuse, since we can't reproduce it outside of preview.

@eksperts Does it fail/crash (if so; how? what error?), or just a diagnostic in the problems tab?

This would happen if somehow the subscription to the function is created prior to the ContextParent being set by the time it is called.  The function would fail to find the behaviour with FindBehavior.

@mortoray it does not crash. It simply does not evaluate the UX expression altogether. It's just the message in Problems tab.

The Text nodes are added and visible, so it confirms it once again: it's just the value not being eval'ed.

I found the error: You are saying index(this), where this refers to the current App. It should be pointing to the Text element in question. It works when you put it in a class of its own, because then this refers to the element in the Each

It is however curious why it behaves differently in preview and in builds, I'll keep investigating that.

@mortoray : It behaves differently in Preview because in preview, App is emulated as a Node of some sort, which hits this code path:
var searchNode = obj as Node ?? _context.Node;

I think this should be rewritten using VarArgFunction so that index() doesn't require any arguments. You just provide one in the unlikely case that you want the index of another element than the current one.

So for now the correct in-line syntax would be:
<Each Items="{items}" Offset="2" Limit="4">
	<Panel ux:Name="item">
		<Text Value="value: {}; index: {= index(item)}; offsetIndex: {= offsetIndex(item)}" Alignment="CenterLeft" />
	</Panel>
</Each>

while after the proposed change no arguments would be necessary:
<Each Items="{items}" Offset="2" Limit="4">
	<Panel ux:Name="item">
		<Text Value="value: {}; index: {= index()}; offsetIndex: {= offsetIndex()}" Alignment="CenterLeft" />
	</Panel>
</Each>

is that correct?

yes

You can drop the ux:Name="item" then

Or the Panel altogether. Edited my post. Thanks!

Note that you don't need to write {= index()}, you can simply do {index()}

Considering this closed now, except for #205

I'm afraid that {index(item)} doesn't work; it throws {item} not found in data context. We'll stick to {= then for now.

Right, if you are referencing ux:Names you need the {=, but I was talking about in the Bright Future when you don't need to refer to the element :)


added_Iterative_Binary_Search

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes
Description
(Write your answer here.)
Added the iterative Binary Search
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
#2227

The PR would be reviewed after the Coding Period of GSSoC starts. Thanks!

Also is the Code plagiarized from GFG? Why are you following their driver code pattern?
No I haven't used any part of the code from GFG and regarding the driver code pattern just wanna say..I tried to keep abstraction between the actual implementation and the main function..

@HarshCasper can u please review and merge

@HarshCasper    please add a label from this so that it gets counted in the leaderboard. Currently no points are added


Cannot update s3 credentials after cluster has been created.

Rancher Server Setup

Rancher version: v2.6.4 - v2.6.7

Information about the Cluster

Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): RKE1

User Information

What is the role of the user logged in? Admin

Describe the bug

After the creation of the cluster without setting S3 credentials to take snapshots of the downstream cluster, it's not possible to update the cluster to upload snapshots to S3 buckets. The S3 settings only work when it's set during the creation of the cluster.
To Reproduce

Create a new cluster without setting S3 snapshots;
After the cluster it's created set the S3 snapshot and try to run a snapshot.
Result
Not able to create backups of the downstream cluster and send the backup to S3. Not able to add, update, or remove the secrets.
Expected Result

Can add, edit & remove S3 credential in order to enable or disable s3 snapshot capabilities for a cluster. If the cluster was created with S3 credentials, then it is possible to update the secret, but it is much harder to get around if the cluster was created without it.
Screenshots

I believe this issue is caused here:
https://github.com/rancher/norman/blob/61b018639b217b33604cae675e189c2afa4cf378/types/convert/merge/merge.go#L11-L20
which is called in rancher here:
https://github.com/rancher/rancher/blob/b919539b4869325aadcdb737070c02914a692cb2/pkg/api/norman/store/cluster/cluster_store.go#L841
Before:

(Service Account Token was purposely spoofed here)
After:
value = {interface{} | map[string]interface{}}
 0 = agentImage -> rancher/rancher-agent:v2.6-head
 1 = aksStatus ->
 2 = capacity ->
 3 = gkeStatus ->
 4 = nodeCount -> 1
 5 = authImage -> rancher/kube-api-auth:v0.1.8
 6 = driver -> rancherKubernetesEngine
 7 = nodeVersion -> 1
 8 = requested ->
 9 = apiEndpoint -> https://<IP_ADDRESS>:6443/
 10 = appliedPodSecurityPolicyTemplateId ->
 11 = caCert -> LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM0VENDQWNtZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJB
 12 = certificatesExpiration ->
 13 = conditions -> len:19, cap:32
 14 = limits ->
 15 = provider -> rke
 16 = serviceAccountTokenSecret -> cluster-serviceaccounttoken-xrj5v
 17 = version ->
 18 = agentFeatures ->
 19 = allocatable ->
 20 = appliedAgentEnvVars -> len:3, cap:4
 21 = appliedEnableNetworkPolicy -> false
 22 = appliedSpec ->
 23 = capabilities ->
 24 = eksStatus ->
 25 = linuxWorkerCount -> 1

Additional context

I was able to verify that merging statuses within norman solves the problem (albeit the test was a bit naive), but I'm no norman expert so there may be multiple ways to tackle this issue.
Additionally, I've only tested s3CredentialSecret, but I imagine the other secret fields may be impacted as well.
SURE-4833

I ran in (maybe) the same issue with Rancher 2.6.4 and created RKE1 cluster.
When chaanging the etcd snapshot from local to S3, the configuration was accepted by the Rancher UI, so credentials and parameters are correct obviously. But when I start a manual snapshot, there is an error with the following Rancher log line:
[WARNING] [etcd] Failed to take one-time snapshot on host [<IP_ADDRESS>], exit code [1]: time="2022-07-11T13:07:01Z" level=fatal msg="failed to set s3 server: failed to check s3 bucket:sdcloud-etcd-backup, err:Access Denied."

/backport v2.5.16

Ticket #38215 - Test Results
With Docker on a single-node instance:
Reproduced on rancher v2.6.6:

Fresh install of rancher v2.6.6
Provision a downstream RKE1 AWS Node driver cluster w/ local etcd snapshots configured
Once Active, Edit Config of cluster and configure s3 snapshots
Take snapshot with s3 configured
Reproduced - Failed to take snapshot; received error message (see logs below)

Screenshot:
Step 5

Logs
2022/07/25 19:21:17 [WARNING] [etcd] Failed to take one-time snapshot on host [REDACTED], exit code [1]: time="2022-07-25T19:21:16Z" level=fatal msg="failed to set s3 server: failed to check s3 bucket:REDACTED, err:Access Denied."

Verified on rancher v2.6-b66dd0f614f9d60ef54dfb82da12b9b8b194021b-head:

Fresh install of rancher v2.6-head
Provision a downstream RKE1 AWS Node driver cluster w/ local etcd snapshots configured
Once Active, Edit Config of cluster and configure s3 snapshots
Take snapshot with s3 configured
Verified - s3 snap successful
Deploy a workload
Restore to snap taken in step 3, with etcd only option selected
Verified - s3 snap/restore successful

Screenshot:
Step 5

Re opening for a few more validations

Release note template
Synopsis of issue: if S3 or other kinds of credentials are added to a cluster after it is already created, the reference to the secret containing the credentials was lost because the cluster Status cannot be updated through the API. The references are moved to the cluster Spec so that they can be added after creation.
Resolved (or not): resolved
Versions: v2.5.13-v2.5.15, v2.6.4-v2.6.6

Verified on v2.6-head 78017e6

rke1 node driver with rke1 template - etcd snapshot enabled - Pass
rke1 node driver with rke1 template override enabled - s3 etcd snapshot enabled - Pass
rke1 node driver with rke1 template override enabled and override parameter required - s3 etcd snapshot enabled - Pass

Verified upgrade from v2.6.6 >> v2.6-head 78017e6

rke1 node driver with rke1 template - s3 etcd snapshot enabled - Pass
rke1 node driver with rke1 template upgrade - local etcd snapshot enabled - Pass
rke1 node driver with rke1 template override enabled - s3 etcd snapshot enabled - Pass
rke1 node driver with rke1 template override enabled - local etcd snapshot enabled  - Pass
rke1 node driver with rke1 template override enabled and override parameter required - s3 etcd snapshot enabled - Pass
rke1 node driver with rke1 template override enabled and override parameter required - local etcd snapshot enabled - Pass

I tried the following scenario:

Spin up a docker install rancher server v2.6.6
create a downstream rke1 Amazon EC2 node driver 1 etcd, 1 cp and 1 worker nodes and leave the etcd snapshot to local
Once the cluster is active, change the etcd snapshot etcd Snapshot Backup Target location to s3
CLuster goes into updating state and comes back up active.
Take an etcd snapshot --> errors out

 "failed to set s3 server: failed to check s3 bucket:<bucketname>, err:Access Denied."

Upgrade rancher server to v2.6.7-rc7
Once the downstream cluster agent is updated to v2.6.7-rc7, navigate to cluster management >> downstream cluster >> Snapshots >> take a snapshot >> still errors out

2022/08/10 04:38:01 [ERROR] error syncing 'c-xm9fg/c-xm9fg-ms-cltrr': handler etcdbackup-controller: [etcd-backup] failed to perform etcd backup: [etcd] Failed to take snapshot on all etcd hosts: failed to take one-time snapshot on host [<IP_ADDRESS>], exit code [1]: time="2022-08-10T04:37:44Z" level=fatal msg="failed to set s3 server: failed to check s3 bucket:au-s3bucket, err:Access Denied."

Workaround >> change the snapshot to local and then change back to s3 location.

@cmurphy We may need to add a migration if we are attempting to fix the above case, or release note it.

I recommend we include the following in the release notes:
To repair a cluster after upgrade, edit the cluster and enter the credential again and save it. The cluster will now retain references to the credentials.

Ticket #38215 - Test Results
With Docker on a single-node instance:
Upgrade (workaround) Verified on rancher 2.6.6 => 2.6.7-rc7:

Fresh install of rancher v2.6.6
Provision a 3-node downstream AWS Node driver cluster w/ individual roles - [ 1 etcd, 1 cp, 1 wkr]
Once active, Edit Config and set snapshots to s3 bucket
Cluster goes into updating state, then resolves as active w/ the following error seen in rancher logs:

[WARNING] [etcd] Failed to take one-time snapshot on host [REDACTED], exit code [1]:  level=fatal msg="failed to set s3 server: failed to check s3 bucket:<REDACTED>, err:Access Denied."

Manually take etcd snapshot
Etcd snapshot fails with same error seen in step 4
Upgrade rancher to v2.6.7-rc7
Once upgrade is complete and cluster is active, edit config and observe s3 credentials are configured
Hit save, then take snapshot
Snapshot fails w/ error message seen in step 4
edit config on cluster once more, this time, delete s3 credentials and re-type them, then hit save
Take a snapshot
Snapshot fails w/ error seen in step 4
edit config of cluster, then set snapshots to local and save
Once cluster is active, edit config and set snapshots to s3, then hit save
Once cluster is active, take a snapshot
Verified - Successful snapshot w/ s3
Deploy a workload
Restore to snapshot taken in step 17
Verified - s3 backup/restore works

Note:
Colleen's workout did not work, as outlined in her comment above; Anu's workaround did work, and based on my test results, post-rancher server upgrade, it is necessary to set snapshots back to local first, then once active, configure s3.

Reopening for @cmurphy to confirm if this workaround here is good?

Workaround confirmed 👍


UI: Show description for intermediate parameters

Summary
UI: Show description for intermediate parameters
Use Cases
We have users of our Argo workflows that will only interact with it through the UI. They won't be writing workflows and won't be familiar with the yaml source of these workflows. They'll only be submitting new workflows from workflow templates in the UI.
I have created a workflow template with a suspend template and intermediate parameters, like so:
    - name: wait-for-approval
      inputs:
        parameters:
          - name: approve
            default: 'NO'
            enum:
              - 'YES'
              - 'NO'
            description: >-
              Choose YES to continue workflow and activate on the
              production network
      outputs:
        parameters:
          - name: approve
            valueFrom:
              supplied: {}
      metadata: {}
      suspend:
        duration: 12h

I was hoping the description would show up in the dialog box to resume the workflow, but it does not. It would be useful if the UI displayed the description in a tooltip like it does for the parameters you see when you submit a new workflow from a workflow template.

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Great idea! cc @jmeridth who might be interested


Hot and cold pixel values for the VIIRS_PROBAV run

Considering the VIIRS_PROBAV run, I used 0 and 0.2 for the cold and hot pixels respectively. The model ran without any error. However, the output variables relevant to the satellite data are not logical.
Some outputs such as PROBAV_VIIRS_ts_dem_100m_2019_106, PROBAV_VIIRS_hot_pixels_100m_2019_106, PROBAV_VIIRS_cold_pixels_100m_2019_106, and PROBAV_QC_MAP_After_VIS_375m_2019_106 are missing or 0. And some other outputs such as coef_A, coef_A, and coef_A just cover very small areas, and show nodata for most parts of the area of interest, which apparently is not logical. The same condition is found for other primary outputs (evapotranspiration and radiation).
I have checked all the input data (their units and ranges), and I am pretty sure that they are correct.

Normally this is the case when pySEBAL assumes that there are clouds within the VIIRS image. Can you make sure this viirs image is cloud free?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Amirhossein<EMAIL_ADDRESS>Sent: Thursday, December 17, 2020 9:23 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: [TimHessels/SEBAL] Hot and cold pixel values for the VIIRS_PROBAV run (#4)
Considering the VIIRS_PROBAV run, I used 0 and 0.2 for the cold and hot pixels respectively. The model ran without any error. However, the output variables relevant to the satellite data are not logical.
Some outputs such as PROBAV_VIIRS_ts_dem_100m_2019_106, PROBAV_VIIRS_hot_pixels_100m_2019_106, PROBAV_VIIRS_cold_pixels_100m_2019_106, and PROBAV_QC_MAP_After_VIS_375m_2019_106 are missing or 0. And some other outputs such as coef_A, coef_A, and coef_A just cover very small areas, and show nodata for most parts of the area of interest, which apparently is not logical. The same condition is found for other primary outputs (evapotranspiration and radiation).
I have checked all the input data (their units and ranges), and I am pretty sure that they are correct.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTimHessels%2FSEBAL%2Fissues%2F4&data=04|01||289650ee4b5746da530c08d8a26514d8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637437902314890802|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=SKF8usYuTJPqCSM90JY5e9stsRMy12FjksYPFdyW6cA%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEMKYSEEPG55EFJHHWGEYZDSVG5ZLANCNFSM4U7HNSPQ&data=04|01||289650ee4b5746da530c08d8a26514d8|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637437902314890802|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iM9H%2FwlpRb%2FDD2aUSZVNDZH5mF4ROiM2UNkCo9CyALg%3D&reserved=0.

Nearly 50% of the area of interest is covered with clouds.
I multiplied the brightness temperature inside the VIIRS HDF file by the brightness temperature factors, and converted it to GeoTIFF to be used as the input data.
I can run the model for a more dry area, with less clouds, to see if makes any difference.

Model results for another domain with less clouds was okay.


Include as an approver for dspo

Include as an OWNER for dspo
Description
With the recent inclusion on the project,
i would like to extend my assistance to reviewing and merging of PR.
This PR would allow me to be an approver
How Has This Been Tested?
Not as a code change.
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/override ci/prow/dsp-operator-e2e

/lgtm
/approve


Update READMEs and links for Theme Kit

This PR:

Updates the main README to align with information on shopify.dev.
Updates the "Contributing to Theme Kit" README to improve clarity, clean up some language, and provide additional information about Go and Node development.
Updates the "Releasing" README to improve clarity and update procedures around documentation.
Updates several links to point to information on shopify.dev.
Moves the python script out of the /docs folder and removes the /docs folder
Relates to https://github.com/Shopify/shopify-dev/pull/5070 and https://github.com/Shopify/shopify-dev/issues/5032.

cc: @gfscott
Tophatted
Main README

Manual installation README

Contributing README

Releasing README

We need to update the docs every time there is a release.

Is this only due to the Manual Installation links? I wonder if we could use the GitHub releases page for that instead

We need to update the docs every time there is a release.

Is this only due to the Manual Installation links? I wonder if we could use the GitHub releases page for that instead

Thanks for the feedback, @andyw8 and @tanema -- really appreciate you both taking a look at this work!
A few updates since you last saw this PR: 😄

I’ve removed instances of make docs_serve in this commit.
I've moved the python script to cmd/scripts and deleted the entire /docs folder now. If I've accidentally wiped out something important, just let me know, and I shall restore it once more! If there's a better place for that python script, I'm happy to move to a more appropriate location, too.
I've updated the "Releasing Theme Kit" README (RELEASING.md) to account for workflow changes, especially in relation to updating the docs and download links for Theme Kit. Open to your thoughts / suggestions!
I think @gfscott is aiming to have the Theme Kit docs updates live on February 22nd. Should we aim for a rollout on or near that date so that the command help output can be updated?

Thanks for the feedback, @andyw8 and @tanema -- really appreciate you both taking a look at this work!
A few updates since you last saw this PR: 😄

I’ve removed instances of make docs_serve in this commit.
I've moved the python script to cmd/scripts and deleted the entire /docs folder now. If I've accidentally wiped out something important, just let me know, and I shall restore it once more! If there's a better place for that python script, I'm happy to move to a more appropriate location, too.
I've updated the "Releasing Theme Kit" README (RELEASING.md) to account for workflow changes, especially in relation to updating the docs and download links for Theme Kit. Open to your thoughts / suggestions!
I think @gfscott is aiming to have the Theme Kit docs updates live on February 22nd. Should we aim for a rollout on or near that date so that the command help output can be updated?

@tanema Just wanted to check in on the timing of merging this PR, considering the changes to the command help output will require a release. Should we merge this PR this week?

Thanks for taking another look through, @tanema! I've moved install.py to a root /scripts folder and also addressed your additional feedback.
If all looks good, I'm ready to merge this PR and the shopify-dev PR anytime. Let me know what timing works best to deploy the PRs.

The best timing is at the same time as the shopify.dev changes. It is fine if the CLI lags because those who dont update will have that problem for a long time anyways

@tanema Sounds good! I'll merge both PRs at the same time in a bit.

/shipit


Updated docker documentation

Updating the docker documentation with where you can set default usernames/passwords.
This keeps the system from adding trader/trader as a default if you remove it, fixing a small security hole.

Looks good

:+1:


await AppLovinMAX.initialize(initAppLovinKey) is Taking huge time to init

MAX Plugin Version
applovin_max: 3.8.0 and applovin_max: ^3.10.1
Flutter Version
Flutter (Channel stable, 3.22.0, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
Device/Platform Info
Android
Current Behavior
I am currently initializing the AppLovinMAX SDK but it is taking so much time to init (more than 4-5 sec). I tried with 5G mobile data, 50 Mbps wifi, still same issue.

I Thought to initialize AppLovinMAX SDK without await at starting but I fear and sure enough that Ads will not be display. Kindly, suggest or direct a better way to handle this. If this is an issue then how we can improve this. I have also google_mobile_ads but it initialize around 600 to 800 ms (milisecond).

Note

I have also enable some of mediation network from AppLovin DashBoard (AppLovin, Google Admanager, Facebook, Unity). Does more mediation network effect initializing the AppLovinMAX SDK time ?
Even in Debug mode, it is taking more time to initialize the AppLovinMAX SDK

Expected Behavior
Initializing the AppLovinMAX SDK should be fast enough.
How to Reproduce

Try a Demo verion on Real and Actual environment where Actual Ads are displayed using AppLovin Flutter Package.

Additional Info
No response

@alhiwatan @thomasmso Can you please help here ?

The SDK initialization time can vary depending on your network conditions and the specific ad networks you integrate, with some ad networks potentially taking longer than others. Using a splash screen during initialization is a good idea as it provides feedback to the user while they wait. However, this will probably not decrease the total initialization time. Ultimately, how you implement this to meet your goals is up to you.


Make Bundler/DuplicatedGem recognize different versions

Related issue: #3752

Before submitting the PR make sure the following are checked:

[ ] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] All tests are passing.
[ ] The new code doesn't generate RuboCop offenses.
[ ] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

In light of the additional comments on #3752 do we really need to support this?

@bbatsov, yes unless you want the entire puppet module community to just turn off this check...

The other thing is that this PR simply doesn't solve the problem properly - it doesn't care if the gem versions are in separate version branches or not, which introduces some serious potential for issues.

Closing due to lack of progress.


fix: only apply to modules

This is an attempt to fix #1
I would like to add some tests but this is my first time writing code for an eslint plugins and not sure how to proceed
About the change itself, it find the actual module in the filesystem and applies to rule only when a module exists with one of the extensions
For example, given code like
import foo from './bar.json'

An error will be shown when there is a source file bar.json.js or bar.json.ts but not when it's simply bar.json
I'm not sure if it's correct to also include jsx and tsx in the extensions to check.

Ping @ jordansexton ?

Ping @jordansexton ?

@tpluscode Ah, thanks for the ping, didn't see this. Will review today.

Super, thanks

Aha, I wrote that lengthy reply before realising I misunderstood your point. 😅
Yes, you're right, a file which does no exist should have the .js suffix added which will inevitably lead to a different rule kicking in, or TS compiler error, ot runtime loader error. Not this plugin's concern
There are quite some cases, some of which are not handled by this PR not the base branch. It would really be good to add unit tests but I do not have experience testing eslint rules. Do you?

What do you think about my updated code @jordansexton ?

Published in v0.1.2! Please let me know if it works well for you, and thank you for working on this!

Super, thanks for releasing


GEODE-1821: Adjust timing to wait for async thread

Increased timeout for waiting on aysnc thread termination. The wait timeout in DUnit test did not allow sufficient margin over the time required for the async thread to complete its task.
See Review Board https://reviews.apache.org/r/53431/

the travis failure was due to files being checked in that broke the code formatting checker.
This PR looks good. I will pull it in


ReorderableListView doesn't work with ValueKey

Steps to Reproduce

Create a ReorderableListView.
Add stateful children with value keys.
Put breakpoints in their initState.
Children are disposed and recreated whenever the list rebuilds.

Expected results:
State isn't lost when the list rebuilds.
Actual results:
State is lost.

ReorderableListView wraps each child using a GlobalObjectKey. This isn't compatible with keys that use value semantics.
https://github.com/flutter/flutter/blob/fd1062debd531ae1815e0b2deb647e4e260af7bf/packages/flutter/lib/src/material/reorderable_list.dart#L364
Proposed fix: use ordinary global keys.

Closing as duplicate of https://github.com/flutter/flutter/issues/58364


wire the plugin/IoC framework once it is agreed upon.

IoC framework is very important, in order to improve development, testing and maintenance of the various product parts.
Hopefully next week we shell come to some mutually acceptable requirements about such framework and then we'll modify the current framework to comply with those requirements.
Here is the container interface and attributes that I propose:
// no need for scoped
public enum ObjLifetime
{
    Singleton,
    Transient
}

public interface IComposeContainer
{
    // adds a transient object to the container
    // Transient object is created anew each time it is requested from the container
    void AddTransient(Type typeToResolve, Type implementationType, object? key = null);

    // adds a transient object to the container (generics version)
    // Transient object is created anew each time it is requested from the container
    void AddTransient<TImplementaion, TToResolve>(object? key = null);

    // adds a transient object to the container (factory method version)
    // Transient object is created anew each time it is requested from the container
    void AddTransient<TToResolve>(Func<TToResolve> factoryMethod, object? key = null);

    // adds a singleton object created by type to the container
    void AddSingleton(Type typeToResolve, Type implementationType, object? key = null);

    // adds a singleton object created by type to the container (generics version)
    void AddSingleton<TImplementaion, TToResolve>(object? key = null);

    // adds a singleton object created by type to the container (factory method version)
    void AddSingleton<TToResolve>(Func<TToResolve> factoryMethod, object? key = null);

    // adds a singleton object created outside of the container to the container
    void AddSingleton(Type typeToResolve, object singletonObject, object? key = null);

    // adds a singleton object created outside of the container to the container (generics version)
    void AddSingleton<TToResolve>(TToResolve singletonObject, object? key = null);

    // should be called after all the Type cells are already in, but before
    // the object resolution begins
    // it checks for dependencies and assembles all singletons making
    // the container more performant
    void PrepareContainer();

    // returns the object by TypeToResolve and a key (if needed)
    object Resolve(Type typeToResolve, object? key = null);

    // returns the object by TypeToResolve and a key (if needed) - generics version
    TToResolve Resolve<TToResolve>(object? key = null);

    // adds the type marked with Export attribute to the container
    void AddType(Type type);

    // add all types marked by Export attribute within the assembly to the container
    void AddAssembly(Assembly assembly);

    // Load the dll dynamically and add all its types marked with Export attribute to the container
    void AddPlugin(string pathToPluginDll);
}

// attributes (similar to MEF)

// class attribute
// the class marked by this attribute will be added to the container
[Export(Type typeToResolve, object? key, ObjLifetime lifetime)]

// should work on properties and object constructor parameters
[Import(Type typeToResolve, object? key)]

// constructors whose parameters are imported from the container should be
// marked with this attribute
[ComposingConstructor]


many of the files in client/public should be removed

automatically generated files that are not in use (or incorrect) should be removed. See client/public for a number of these.

also app.test.js

and logo.svg


Design the shell / chrome of the Nomios UI

Description
The IDM UI concept and also some screens already contain the shell of the application. Still, we should have formalize the design of it.
Acceptance Criteria

[x] Must list all the identities associated with the Wallet, serving as a shortcut to enter their pages
[x] Must account for the number of identities in case they don't fit the screen
[x] Must include a quick-shortcut to add an identity?
[x] Must account for a area to place notifications and settings menu

Hey guys,
here's the current proposal for the app shell, everything is placed under the sidebar so its easier to use dark or light sections under each page. I'm also sending a WIP prototype with the interaction corresponded to the following screens:

<EMAIL_ADDRESS>


Pico-Arduino Incompatibility

This library seems to soft-lock the Rpi Pico (RP2040) after setting up SPI pins, which can be caused by improper SPI channel & pin assignment. https://arduino-pico.readthedocs.io/en/latest/spi.html
However, SPI is confirmed to be working properly with other libraries like Adafruit GFX-based ones, so it is something in the way this particular library functions.
I've spent several hours trying to understand why, but C++ is not something I'm experienced enough in to get to the bottom of this. Would welcome someone to look into this or provide further suggestions.

Just to add to this; I'm seeing the same issue with Pico-Arduino framework, interestingly it works fine with the mbed framework.  I'll look some more once I get my debug probe.


Working Forecasting Gui

Timestamps are still messed up tho.
Will break asap #121 goes live due to needed key renames. Merge that one first and ping me.

@Alexthw46 just merged #121

Umh, give me time for another commit, the server ain't liking it

Umh, give me time for another commit, the server ain't liking it

Ok

honestly i don't understand why it doesn't work. the keys matches the changes done in api

I'll merge and investigate on this tonight, I have to check if chat works now

Figured it out, Api needs change too


question about 2 lines of text in header area

not sure if this is the place for questions, but I'm trying to get 2 different lines of text in my "header" an h2 and a p.

  <img src="<?php the_sub_field('image'); ?>" />

<?php the_sub_field('title'); ?>

*(Ideally another line of text here)*

<?php the_sub_field('main_content'); ?>

I've tried inserting it inside the h2, putting it below the h2, adding a div to hold the h2 and the p. those all seem to break the button.
any direction would be awesome!
(you can see it here if you'd like:   https://globaltoolkit.wpengine.com/test-page/)   down at the bottom.
Originally posted by @RidgeviewTech in https://github.com/scottaohara/a11y_accordions/issues/7#issuecomment-458757991

happy to review a PR :)
i've unfortunately had little time to spend on some of these projects, and likely won't have time again until the new year.


Add support for vim's built-in spell checker

This adds support for telling the spellchecker which parts of the syntax are worth checking, ie. just the comments.
Reference docs: https://neovim.io/doc/user/spell.html#spell-syntax
Before:

After:

Thanks for the contribution!


Update - Image Segmentation TFLite Task Library

Change tflite-runtime to use tflite-support
Deleted unit test

Merged in https://github.com/tensorflow/examples/commit/f0e6d31d6372169ae07cf02b97abcfc659ec94a0


In a formal project, will there be multiple copies of Element Plus components used, resulting in a larger package size after the build?

In a formal project, will there be multiple copies of Element Plus components used, resulting in a larger package size after the build?

If only PlusDialogForm is used, why are there files similar to el-table in the dist folder?

There won't be multiple copies

More information is needed to locate the issues in the image

I used the plus-pro-components-demos project in the documentation, a subproject of the Vite-project. After using the build command, the files are over 800KB. I only used the PlusDatePicker component in the project. Why are the files so large? you can try.

I used the plus-pro-components-demos project in the documentation, a subproject of the Vite-project. After using the build command, the files are over 800KB. I only used the PlusDatePicker component in the project. Why are the files so large? you can try.

fixed v0.1.14


coffemaker error

i have here a parse error in row 30

device is a

enumType 1017 does not exist
my fix is (see code) a try catch block for unknown enums..

You are the first case where missing enums occur, so your try-catch is a good solution here :-) Please have a new try. But first you should stop the adapter, clean the content of DP info.config and start again.
If it works, please gibe me some feedback and I'll release a new version. Thanks for your support.

yes it works..

Fixed in release 1.2.10


Clean up header on profile pages

On profile pages, there is a random gap that appears to the left of the header which I've removed. I also replaced the stacked usernames in the top bar with just the username + badge because having all of it appear there is redundant.

Thanks! In the future for visual changes like this, it's good to put a screenshot (ideally a before / after). But nice!

Thanks! In the future for visual changes like this, it's good to put a screenshot (ideally a before / after). But nice!

Sure thing! Before:

and after:


Notify users about scheduled publishing

We need to send users who have edited an edition a notification that their scheduled content has been published.
Trello:
https://trello.com/c/utiuH5Q9/736-notify-users-that-scheduled-content-has-been-published

I'm wondering how the ScheduleMailer is different from the PublishMailer. The ScheduleMailer talks a lot about publishing, and not so much about scheduling; would it be possible to use the PublishMailer?

@kevindew
Do we just have the one rogue line about "scheduled_by" that differentiates this from publish email?
Nope, there's another subtle difference being whether the document has been first published or updated. The difference is the presence of the user in the sentence, publish email includes who it was published / updated by, whereas the scheduled publish email doesn't as this is taken care of by the sentence underneath. If that was the case I would've probably combined the templates and just added a conditional. See below.
Scheduled publish email

Publish email

@benthorner
The ScheduledPublishMailer and PublishMailer are very similar, I first went down the road of combining  the two but as the need for two distinct templates / locales emerged I decided to create a separate mailer for scheduled publishing. I could potentially create another action in the PublishMailer which dealt with scheduled publishing and maybe combine the locales but it starts to feel a little messy?

@1pretz1 thanks for explaining - that makes sense. The only thing I'm not sure we need is the spec for the mailer, since the PublishMailer seems to get by without one, and this doesn't affect our coverage. Is there a particular edge case it's covering?

@benthorner The actual email produced by PublishMailer is inadvertently tested by the publish_spec.rb feature in the workflow directory, the conditional logic in here isn't tested however.
Seen as though we can't do the same sort of testing for a scheduled publishing, the only reasonable place to test the output of the email was to create a spec for the mailer. I also added a test for some of the logic because why not! :)

@kevindew oh yes, I see what you mean there as well. This does look like the best place to test this, but I'm not sure we should write tests just because we write code - look what happened to Whitehall!
Sorry for the somewhat iterative review here - I should probably just talk to you about approach-level stuff before writing comments. Now that's all clear, I've written some comments that might actually be useful ;-).

@benthorner I forgot to notify you that i've made the changes you've requested... here it is!


Attempt to run using other datasets

When I tried running your algorithm using someone else's dataset, I encountered the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/media/ST8000/hqt/HazyDet/HazyDet/Depth/normalized_depth_maps/0000072_05564_d_0000007.png'.
But I'm still using your depth dataset; I only replaced the train and val datasets. Could you please explain the possible cause of this issue? Additionally, if the annotation format of other datasets differs from yours, how should I modify it to make it compatible with your code?

And I am using the JPG format instead of PNG.

From my understanding of your query, it appears that the issue you're encountering might not be directly related to the HazyDet codebase or dataset itself. Instead, it might be more related to adapting the code and adjusting it to fit your own dataset.
This adaptation process often involves making some modifications in the PyTorch and MMDetection framework. I understand that this process can be complex if you're not already familiar with these tools.
My recommendation would be to further deepen your understanding of both PyTorch and MMDetection to facilitate this adjustment process. The MMDetection community is an excellent resource for asking questions and seeking guidance. They have a wealth of knowledge and are generally very helpful in assisting with such issues.

There are too few error messages, I am unable to answer your question. But there is a path reading error. I suggest you debug the loadDualAnnotations class in loading.py and check if it correctly reads the depth map data. Additionally, I use PNG to store normalized relative depth values, which facilitates storage and visualization. However, during training, it is necessary to consider the maximum depth of each image.
You can modify the method of reading depth data in _loads_sg_map, so that different reading formats of depth data can be read.

错误消息太少，我无法回答您的问题。但是存在路径读取错误。我建议您在 loading.py 中调试 loadDualAnnotations 类，并检查它是否正确读取深度图数据。此外，我使用 PNG 来存储标准化的相对深度值，这有助于存储和可视化。但是，在训练期间，有必要考虑每张图像的最大深度。您可以在 _loads_sg_map 中修改读取深度数据的方法，以便读取不同格式的深度数据。

I think the depth map data is read correctly, because it works fine when I use your train and val data, but the error appears when I use the visdrone dataset. The depth map data I use is still provided by you. I don't know if the format is incorrect when I convert the visdrone data annotation format from txt to json, so that the vis drone's train and val data cannot be read correctly.


Create/initialise the digital twin platform (DTP) API

Creating/initialising the digital twin platform (DTP) API
Basic functionalities

Dataset upload/download/query

Close by #8


PAI doesn't move dataDir to docker?

I find that there isn't dataDir I write in config.json in docker.
So how can I move data in dataDir to docker?

dataDir is just an Env parameter for current PAI design, we will update the documentation for clarity.
You will need to copy the data to docker by yourself for now.

Thanks!
How about ouputDir?
Need I copy the output data from docker to HDFS?

@hao1939 @scarlett2018   It would be a great feature, if PAI can mount such folders into docker. It's convenient to users, and also address part of security concerns.

Except codeDir, PAI will not move data specified in the environment. PAI assume docker image is owned by customers, so it is up to customer to see if he/she would like to mount to the path from within the docker container.


Improve return type of generate()

I ran into an issue when using typescript, where I was unable to chain because the return type was string | string[]. I've updated the return type to be string when count: 1, and string[] when it's a different number.

@waspeer Hey, nice, I like this. Unfortunately I'm getting some build errors with it though.

Maybe we should add a new method, rword.get(opt) and it would simply call rword.generate(1, opt).

Thanks!


Set compilers in CMake before calling project()

Fixed better in https://github.com/thebrowsercompany/swift-winrt/pull/151


feat(ui-markdown-editor): match style of dropdown headings - i103

Issue #103
Changes

Match the style of headings in the contents to that of the preview headings in the dropdown toolbar

(Markdown Editor Heading.js) Removed 'serif' as default font-family for headings in dropdown toolbar for in favour of inheriting common base style
New dropdown style constants added for H4 to H6
BaseElementRenderer to use dropdown style constants
Fixed Markdown Editor storybook demo to use correct tags from h1 to h6

Update snapshots to reflect new styles from markdown editor

Updated Contract Editor snapshot (style attribute of id="Heading-One")
Updated Markdown Editor snapshot (headings styles)

Flags

This change contains new base snapshots for tests

Related Issues
#103

Looks great, thanks @conste11ations !


Stages entire file even if it was only partially staged

Hi, we are using pretty-quick with git/husky as a pre-commit hook.  If I partially stage a file, then commit that change, pretty-quick runs against that file and then stages the entire file instead of running against the staged version of the file only.
For example, I have an empty file "test.js"...

printf "ONE;\r\n" >> test.js
printf "TWO;\r\n" >> test.js
git add -p (add only the first line of the file)
git commit -m "one" (husky/pretty-quick runs)

husky > npm run -s precommit (node v10.0.0)
🔍  Finding changed files since git revision 3864e2e.
🎯  Found 1 changed file.
✍  Fixing up ui/test.js.
✅  Everything is awesome!
[test 95c4d5d] 1
1 file changed, 2 insertions(+)

git status (shows nothing staged or changed)
git diff HEAD~1..HEAD (shows both ONE and TWO lines were committed in the "one" commit)

This is incorrect because I only staged part of the file, not the whole thing. Please let me know if I'm missing something. Here is the NPM script we're using: pretty-quick --staged

This was fixed in 1.6.0, if partially staged files are detected it will fail, so you can stash the unstaged changes and commit again.

Closing this as it should be fixed. Let me know if there are further questions.

Thanks, I appreciate your response.


Fix security CVEs for latest framework image

The security scanning pipeline reports CVEs:
https://github.com/kairos-io/security/actions/runs/8753927138/job/24024907146
Let's fix them and cut a new version of the framework image.

https://github.com/kairos-io/kairos/pull/2499

since we bumped the degree to CRITICAL, the checks are now green


Documention Files (pdf, mkv etc)

I have quite a few models that include pdf assembly instructions or BOM lists and the same goes for assembly videos. I've stored these along side the 3d models, however it appears manyfold has no way of showing these back to the user. I'm not looking for an embedded player or viewer, but perhaps extra links on the right navigation to simply download them?

Agreed, I should add those to the indexer so they show up.

I mean, really, it should index every file in the folder.

Duplicate of #764