Fix Technician's interaction with custom BP moves

Using basePower instead of move.bp to correctly apply (and not apply) technician for moves with custom bp

Mechanics are correct here. Thanks!


Bump version of POI

And sort of give up on the charts every really being scaled properly

I'm hoping that someday that code will work a bit better and it is a good reminder of the things I've tried in the past.


Commandline: split-pane does not honor focus pane

Environment
Windows build number: Version 1909 (OS Build 18363.592)
Windows Terminal version (if applicable):  7.0.0

Steps to reproduce
Run the following command:
wt `; split-pane -V `; split-pane -H `; focus-tab -t 0 `; split-pane -H

Screenshot of the command:

Expected behavior
I expect a Windows Terminal split into four panes of equal size.  Pane 0 should have been split down the middle, vertically. Then pane 1 should have been split down the middle horizontally.  Then pane 0 should have been split down the middle horizontally.
Screenshot of what I expect:

Actual behavior
What I actually get is a window with a half-size pane, a quarter size pane and two eighth size panes.  The behavior seems to be that the final split-pane command is ignoring the fact that the focus has been reset to pane 0, so it splits pane 2 instead of pane 0.
Screen shot of what actually happened when I ran the command:

The command you're running is focus-tab, not focus-pane. There actually isn't a command for moving focus between panes quite yet. For that, I'd follow #5464
/dup #5464
Thanks!


07-design-report-in-power-bi-desktop-enhanced.md

Source:
Module 7 - Create Reports
Current Translation:
Module 7 - Create Reports
Suggested Translation:
Module 7: Creación de informes

Don't find Current Translation. rejected.


Fix folder include (breaks interface)

Description

rename files (known prefix)
rename macros (known prefix)

Closes #4.
Further considerations

LV has no semantic value, LIVEVIEW does
tempting as it may be to use macros, I'm not sure of they're real value here

e.g. ?assertNotEqual(nomatch, string:find(element(3, Resp), Pattern)) could easily be replace with a function call in an arizona_test module, for example

[x] I have performed a self-review of my changes
[x] I have read and understood the contributing guidelines

I have been thinking about the name live_view. What if we rename it to "template" or "tpl"? We currently have modules like arizona_tpl_*, so perhaps "arizona_live_view" could be changed to arizona_tpl or arizona_view. Additionally, we could remove "live" from arizona_live_handler and arizona_live_reload. Our framework is not exactly the same as Phoenix LiveView, so removing the "live_view" aspect from Arizona could be beneficial. Thoughts?

Macros in tests are helpful for enabling ?assert* to work behind the scenes by maintaining the test's location and providing additional information. Using a function could not offer this type of information (or yes?).

Macros in tests are helpful for enabling ?assert* to work behind the scenes by maintaining the test's location and providing additional information. Using a function could not offer this type of information (or yes?).

You'd not hide the assert (as I show above): you'd just provide a getter for the otherwise opaque element in test.


Accessibility Rule: avoid using aria-describedby as a primary labelling mechanism

Accessibility Rule: avoid using aria-describedby as a primary labelling mechanism
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby

Completed the


Ranking algorithm

[x] algorithm copied from ola
[x] tests showing it works the same as ola
[x] document, refactor, check it works correctly and as we want it
[x] connect it up to our search

Coverage increased (+0.05%) to 88.152% when pulling f6ba3e6c06723de1ba76ed24301b853fa89fe94a on ranking into 267d01f1dc096990a8d1020c24ed138416899b00 on master.

Coverage decreased (-0.08%) to 88.025% when pulling 3854e35332172df526eb02067ace849fa404cc00 on ranking into 267d01f1dc096990a8d1020c24ed138416899b00 on master.

Coverage increased (+0.3%) to 88.412% when pulling d3a5c874a3dd4875e57c410519e26ed81f7e2aa5 on ranking into 267d01f1dc096990a8d1020c24ed138416899b00 on master.

Coverage increased (+0.007%) to 88.109% when pulling 7e048d5b5fcce518c3a42333a49c3f1c2b484859 on ranking into 267d01f1dc096990a8d1020c24ed138416899b00 on master.

Coverage increased (+0.007%) to 88.109% when pulling bb2b5b11bf1aacecce755862f3c76e418fb136e2 on ranking into 51e301ec3361862692b751f67aa272d844be20d0 on master.

Coverage decreased (-0.06%) to 88.039% when pulling 3e64f00d80c4c5adcf16e4585d226aa6b1a18d87 on ranking into 51e301ec3361862692b751f67aa272d844be20d0 on master.

Coverage decreased (-0.06%) to 88.039% when pulling 1239ee4023836737ba2e88b7babc7841aa84f895 on ranking into 51e301ec3361862692b751f67aa272d844be20d0 on master.

Coverage decreased (-0.06%) to 88.039% when pulling 36d5ff8f0fcdabc02807027becb28ce622a17400 on ranking into 51e301ec3361862692b751f67aa272d844be20d0 on master.

Coverage increased (+0.02%) to 88.125% when pulling af5f2f99a8b49a6365fa3469a458a01730ea85b2 on ranking into 51e301ec3361862692b751f67aa272d844be20d0 on master.

Coverage increased (+0.02%) to 88.125% when pulling 1dcce06dc8648638f281e8122034aa5574a713f4 on ranking into 51e301ec3361862692b751f67aa272d844be20d0 on master.

@andreagrandi This is ready for review


Disable recovery for now as it happens too often. Need to better understand problem

Newly added telemetry / recovery happens too often in our own stress tests.
Based on telemetry, event and recovery happens correctly - only when only when client is in "connecting" state for 30 seconds with "write" connection mode and there is no transition to "connected state". I.e. indeed we have not observed our own join op.
And based on auxiliary telemetry (or rather lack of it) we are not processing ops, though we need to get better telemetry here to confirm that.
So all in all, the problem is rather easy to hit in stress tests, but I have no good theory. So disabling recovery path to keep code on par with previous behavior, but keep logging and increasing it to 60 seconds to get new data. This should allow ODSP tests to run tonight undisturbed, while I use local tests to get better sense of what's going on.

@GaryWilber - FYI, I'll keep poking around here, but I have a feeling we will need logging added on PUSH side to get to the bottom of it. Basically I pretty much exhausted enumerating cases on where client may screw up - I'll spend more time on telemetry (and will add if I can't capture enough data from existing telemetry), but I'm close to being stuck with this problem.


Update Message Dialog

The message does not reflect button text.

This actually isn't a bug.  The text is "Please edit it and/or its parents and choose "yes" to creating an editable copy while re-saving".  It is asking you to click "OK", then edit that part's parents and/or itself, and then saving an edited copy and choosing "yes" to bringing it into your namespace.

Then where do you click yes?

After opening it and/or its parent parts, if you try to click save after editing, the prompt above will be shown.  It's asking if you want to copy the part into your own namespace, since we only allow you to make changes to parts in your own namespace.
If you're currently in MEB, I'm planning on coming down in 30 min or so and can show you in person.


import error

🐛 Describe the bug
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torchvision/__init__.py", line 6, in <module>
    from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
  File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torchvision/_meta_registrations.py", line 100, in <module>
    def meta_nms(dets, scores, iou_threshold):
  File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torch/library.py", line 417, in inner
    handle = entry.abstract_impl.register(func, source)
  File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torch/_library/abstract_impl.py", line 30, in register
    if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
RuntimeError: operator torchvision::nms does not exist

Versions
Collecting environment information...
PyTorch version: 2.2.0a0+git2d5fec4
Is debug build: True
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 14.1 (arm64)
GCC version: Could not collect
Clang version: 17.0.4
CMake version: version 3.26.4
Libc version: N/A
Python version: 3.10.11 (main, May 17 2023, 14:30:36) [Clang 14.0.6 ] (64-bit runtime)
Python platform: macOS-14.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Apple M2 Pro
Versions of relevant libraries:
[pip3] iree-torch==0.0.1
[pip3] memory-efficient-attention-pytorch==0.1.6
[pip3] numpy==1.24.3
[pip3] onnx==1.16.0
[pip3] onnx-graphsurgeon==0.3.26
[pip3] onnx-tool==0.6.4
[pip3] onnxconverter-common==1.14.0
[pip3] onnxoptimizer==0.3.17
[pip3] onnxruntime-extensions==0.10.0+2cf9bab
[pip3] onnxruntime-silicon==1.16.0
[pip3] onnxscript==0.1.0.dev20231021
[pip3] onnxsim==0.4.33
[pip3] skl2onnx==1.15.0
[pip3] torch==2.2.0a0+git98564d2
[pip3] torch-mlir==0.0.1
[pip3] torchaudio==2.2.0a0+6e26515
[pip3] torchdata==0.7.0a0+ce07539
[pip3] torchinfo==1.8.0
[pip3] torchvision==0.17.0a0+209b2b3
[conda] iree-torch                0.0.1                    pypi_0    pypi
[conda] memory-efficient-attention-pytorch 0.1.6                    pypi_0    pypi
[conda] numpy                     1.24.3                   pypi_0    pypi
[conda] torch                     2.2.0a0+git98564d2          pypi_0    pypi
[conda] torch-mlir                0.0.1                    pypi_0    pypi
[conda] torchaudio                2.2.0a0+6e26515          pypi_0    pypi
[conda] torchdata                 0.7.0a0+ce07539          pypi_0    pypi
[conda] torchinfo                 1.8.0                    pypi_0    pypi
[conda] torchvision               0.17.0a0+209b2b3          pypi_0    pypi

Hi @wm901115nwpu can you please share the code snippet you tride to run?

╭─    ~/workspace ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  pt2   08:19:13 上午  ─╮
╰─ python                                                                                ─╯
Python 3.10.11 (main, May 17 2023, 14:30:36) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import torchvision
Traceback (most recent call last):
File "", line 1, in
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torchvision/init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torchvision/_meta_registrations.py", line 100, in
def meta_nms(dets, scores, iou_threshold):
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torch/library.py", line 417, in inner
handle = entry.abstract_impl.register(func, source)
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torch/_library/abstract_impl.py", line 30, in register
if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
RuntimeError: operator torchvision::nms does not exist

Do import torch first?

─    ~/workspace ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  8m 37s   pt2   08:27:53 上午  ─╮
╰─ python                                                                                ─╯
Python 3.10.11 (main, May 17 2023, 14:30:36) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import torch
import torchvision
Traceback (most recent call last):
File "", line 1, in
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torchvision/init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torchvision/_meta_registrations.py", line 100, in
def meta_nms(dets, scores, iou_threshold):
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torch/library.py", line 417, in inner
handle = entry.abstract_impl.register(func, source)
File "/Users/unicorn/miniconda3/envs/pt2/lib/python3.10/site-packages/torch/_library/abstract_impl.py", line 30, in register
if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
RuntimeError: operator torchvision::nms does not exist

same error

Did you try to build form source? Or install the nightlies

the error is that I use pytorch and torchvision building from source, I use nightly version import is OK.I guess pytorch the source is something wrong.

Hm yeah, it looks like something is going wrong when you build pytorch from source then

I try to delete build folder, rebuild it

I update torchvision and torch from source, rebuild, import is OK。

I'm seeing the same issue on my end building from latest main from both torch and torchvision.  I suspect that it has something to do with this change https://github.com/pytorch/pytorch/pull/113182.  Nightly CPU build works fine.

The issue is indeed fixed when doing a clean build

hey @huydhn @NicolasHug
i'm seeing it on the latest torch version (2.2.0) + torchvision 0.17.0
$ virtualenv venv-p python3.11
$ source venv/bin/activate

$ pip install torch==2.2.0 --index-url https://download.pytorch.org/whl/cpu
$ pip install torchvision
$ pip show torchvision
Name: torchvision
Version: 0.17.0
Summary: image and video datasets and models for torch deep learning
Home-page: https://github.com/pytorch/vision
Author: PyTorch Core Team
Author-email<EMAIL_ADDRESS>License: BSD
Location: /tmp/venv/lib/python3.11/site-packages
Requires: numpy, pillow, requests, torch
Required-by:

$ python -c "import torchvision;print('Pytorch vision version: ', torchvision.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/venv/lib/python3.11/site-packages/torchvision/__init__.py", line 6, in <module>
    from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
  File "/tmp/venv/lib/python3.11/site-packages/torchvision/_meta_registrations.py", line 163, in <module>
    @torch._custom_ops.impl_abstract("torchvision::nms")
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/venv/lib/python3.11/site-packages/torch/library.py", line 440, in inner
    handle = entry.abstract_impl.register(func_to_register, source)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/venv/lib/python3.11/site-packages/torch/_library/abstract_impl.py", line 30, in register
    if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: operator torchvision::nms does not exist

installing torchvision from pytorch index it's fine
$ virtualenv venv-p python3.11
$ source venv/bin/activate

$ pip install torch==2.2.0 torchvision --index-url https://download.pytorch.org/whl/cpu
Name: torchvision
Version: 0.17.0+cpu
Summary: image and video datasets and models for torch deep learning
Home-page: https://github.com/pytorch/vision
Author: PyTorch Core Team
Author-email<EMAIL_ADDRESS>License: BSD
Location: /tmp/venv/lib/python3.11/site-packages
Requires: numpy, pillow, requests, torch
Required-by:

$ python -c "import torchvision;print('Pytorch vision version: ', torchvision.__version__)"
Pytorch vision version:  0.17.0+cpu

I think this is kind of expected.  Both pip install torch==2.2.0 torchvision or pip install torch==2.2.0 torchvision --index-url https://download.pytorch.org/whl/cpu work because torch and torchvision version are compatible.  The first command install torch and vision built with CUDA 12.1 support while the latter install their version with only CPU support.  Mixing them leads to the above failure because you will have torch built with only CPU support while torchvision from PyPI is compatible with only the torch CUDA 12.1.
Btw, this works too:
pip install torch --index-url https://download.pytorch.org/whl/cu121
pip install torchvision

oki, yep I knew about the mix-up of cpu/cuda, but in previous versions, it wasn't much of a problem to mix the two.


Refactor Navbar

closes #645

I think the suggestion you made will cause a bug.

we need to change it in theme file

I think the suggestion you made will cause a bug.

we need to change it in theme file

You can raise a new issue for setting dark theme as default. I'll work on it :)

I can raise an issue but I can't assign you according to the GSSoC guidelines a contributors need to complete pending task after that the admin can assign


support user-defined partition numbers for GPT disks

Partitions by default are indexed starting at 1, but in
some cases, such as CoreOS for IBM Z, it may be usefull
to set the 'partnum' for GPT disks explicitly, without
creating dummy partitions.
Now user can define an image:
    mpp-define-images:
      - id: image
        size:<PHONE_NUMBER>0
        table:
          uuid: 00000000-0000-4000-a000-000000000001
          label: gpt
          partitions:
            - name: boot
              type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
              partnum: 3
              size: 786432
            - name: root
              type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
              partnum: 4
              size: 4194304

So target disk would look like:
    Disklabel type: gpt
    Disk identifier: 00000000-0000-4000-A000-000000000001
    Device        Start     End Sectors  Size Type
    /dev/loop0p3   2048  788479  786432  384M Linux filesystem
    /dev/loop0p4<PHONE_NUMBER>783 4194304    2G Linux filesystem

This patch updates the osbuild-mpp tool and the sgdisk and sfdisk
stages to support this.
Co-authored-by: Dusty Mabe<EMAIL_ADDRESS>

This is a continuation of https://github.com/osbuild/osbuild/pull/1555

I don't see anything checking for duplicate partition numbers. Maybe it's ok to let it fail 'naturally' :)

:)
Yeah. You won't get far if it's invalid. Usually the tool that generates the manifest would be able to catch this. osbuild-mpp will fail at least.

But it seems like a possible problem area. Also it looks like there could be duplicates in org.osbuild.sgdisk if there is a mix of entries with and without 'partition' field where it uses i+1 if it is missing.

yeah.. I'm not opposed to adding some checking if you see easy ways/places to do it, but I don't think it's worth spending a lot of time on because the tool will just error when we get there.

rebased to pick up latest changes (some CI fixes have been applied to main).
@bcl - want to add a review? maybe @mvo5 too?

How do sfdisk and sgdisk work if you mix numbered and unnumbered partitions?  Does it infer the value of the unnumbered ones or is it required to have them all numbered if you number at least one?

How do sfdisk and sgdisk work if you mix numbered and unnumbered partitions? Does it infer the value of the unnumbered ones or is it required to have them all numbered if you number at least one?

It appears to work. I modified the config like this:
diff --git a/test/data/manifests/fedora-coreos-container.json b/test/data/manifests/fedora-coreos-container.json
index ba1f0ad4..6e0e6ba5 100644
--- a/test/data/manifests/fedora-coreos-container.json
+++ b/test/data/manifests/fedora-coreos-container.json
@@ -560,7 +560,6 @@
             "partitions": [
               {
                 "start": 2048,
-                "partnum": 1,
                 "size": 2048,
                 "type": "21686148-6449-6E6F-744E-656564454649",
                 "bootable": true,
@@ -582,7 +581,6 @@
               },
               {
                 "start": 1050624,
-                "partnum": 4,
                 "size": 4194304,
                 "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
                 "name": "root"

and here is what I see:
Pipeline raw-image: 4e7c2b218f48fa0529abfd14c7f59fec78fae1dd5f85407adb9449ec86dbc1d0
Build
  root: dc6e3a66fef3ebe7c815eb24d348215b9e5e2ed0cd808c15ebbe85fc73181a86
  runner: org.osbuild.fedora39 (org.osbuild.fedora38)
org.osbuild.sfdisk: ed74f9ccfaffea554c0092a3155933bca1dd2d88c19822ba142d72042296cdca {
  "uuid": "00000000-0000-4000-a000-000000000001",
  "label": "gpt",
  "partitions": [
    {
      "start": 2048,
      "size": 2048,
      "type": "21686148-6449-6E6F-744E-656564454649",
      "bootable": true,
      "name": "BIOS-BOOT"
    },
    {
      "start": 4096,
      "partnum": 2,
      "size": 260096,
      "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
      "name": "EFI-SYSTEM"
    },
    {
      "start": 264192,
      "partnum": 3,
      "size": 786432,
      "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
      "name": "boot"
    },
    {
      "start": 1050624,
      "size": 4194304,
      "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
      "name": "root"
    }
  ]
}
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.
device/device (org.osbuild.loopback): loop0 acquired (locked: False)
Failed to open file "/sys/fs/selinux/checkreqprot": Read-only file system
label: gpt
label-id: 00000000-0000-4000-a000-000000000001
start="2048", size="2048", type="21686148-6449-6E6F-744E-656564454649", name="BIOS-BOOT", bootable
/dev/loop0p2: start="4096", size="260096", type="C12A7328-F81F-11D2-BA4B-00A0C93EC93B", name="EFI-SYSTEM"
/dev/loop0p3: start="264192", size="786432", type="0FC63DAF-8483-4772-8E79-3D69D8477DE4", name="boot"
start="1050624", size="4194304", type="0FC63DAF-8483-4772-8E79-3D69D8477DE4", name="root"
{
   "partitiontable": {
      "label": "gpt",
      "id": "00000000-0000-4000-A000-000000000001",
      "device": "/dev/loop0",
      "unit": "sectors",
      "firstlba": 2048,
      "lastlba": 20971486,
      "sectorsize": 512,
      "partitions": [
         {
            "node": "/dev/loop0p1",
            "start": 2048,
            "size": 2048,
            "type": "21686148-6449-6E6F-744E-656564454649",
            "uuid": "0973D2A4-C3CF-4A89-A4FE-CA928FCFB877",
            "name": "BIOS-BOOT"
         },{
            "node": "/dev/loop0p2",
            "start": 4096,
            "size": 260096,
            "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
            "uuid": "746ADAA5-3703-4D39-A360-2687601F02CD",
            "name": "EFI-SYSTEM"
         },{
            "node": "/dev/loop0p3",
            "start": 264192,
            "size": 786432,
            "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
            "uuid": "3F7FC9F0-6E0F-4AF2-B39D-16B18B363E9E",
            "name": "boot"
         },{
            "node": "/dev/loop0p4",
            "start": 1050624,
            "size": 4194304,
            "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
            "uuid": "2D75126B-3DB7-440A-A1F2-611B38B16C62",
            "name": "root"
         }
      ]
   }
}

The same appeared to work for sgdisk too.

@dustymabe Funny, this also works :laughing:
diff --git a/test/data/manifests/fedora-coreos-container.json b/test/data/manifests/fedora-coreos-container.json
index ba1f0ad4..6e86ec66 100644
--- a/test/data/manifests/fedora-coreos-container.json
+++ b/test/data/manifests/fedora-coreos-container.json
@@ -560,7 +560,6 @@
             "partitions": [
               {
                 "start": 2048,
-                "partnum": 1,
                 "size": 2048,
                 "type": "21686148-6449-6E6F-744E-656564454649",
                 "bootable": true,
@@ -568,21 +567,20 @@
               },
               {
                 "start": 4096,
-                "partnum": 2,
+                "partnum": 3,
                 "size": 260096,
                 "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
                 "name": "EFI-SYSTEM"
               },
               {
                 "start": 264192,
-                "partnum": 3,
+                "partnum": 2,
                 "size": 786432,
                 "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
                 "name": "boot"
               },
               {
                 "start": 1050624,
-                "partnum": 4,
                 "size": 4194304,
                 "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
                 "name": "root"
@@ -684,14 +682,14 @@
               "name": "boot",
               "type": "org.osbuild.ext4",
               "source": "disk",
-              "partition": 3,
+              "partition": 2,
               "target": "/boot"
             },
             {
               "name": "efi",
               "type": "org.osbuild.fat",
               "source": "disk",
-              "partition": 2,
+              "partition": 3,
               "target": "/boot/efi"
             }
           ]
@@ -729,14 +727,14 @@
               "name": "boot",
               "type": "org.osbuild.ext4",
               "source": "disk",
-              "partition": 3,
+              "partition": 2,
               "target": "/boot"
             },
             {
               "name": "efi",
               "type": "org.osbuild.fat",
               "source": "disk",
-              "partition": 2,
+              "partition": 3,
               "target": "/boot/efi"
             }
           ]


Raycasting as a part of different objects

I'm trying to work on a piece of code where there are multiple bodies in the scene and they all have raycasts that rotate when the body rotates, so this way i can attach a detection reaction to them
I already tried using sensors alongside the rays ad it didn't give me what i want

Could you share an example of the issue and explain further?

I created a rectangle sensor to server as a ray
sensorA = Bodies.rectangle(
  partA.vertices[0].x - size / 2 - 200,
  partA.vertices[0].y + size / (5 * 2),
  600,
  1,
  {
    render: {
      fillStyle: "#f00",
    },
    isSensor: true,
    label: "raycastSensor1",
  }
);

Then i used the Query.ray  to track  the positions of the sensor and return details on the collisions
var collisions = []
Events.on(engine, "afterUpdate", function () {
   //The sensor was attached to the bodies as a complex body/composite so i had to state the bodies i waned to track so i does not track the sensor object too
   var bodies = [partA, partB, partI, partJ, partM, partN, partO, partP],
    startPoint = sensorA.vertices[0],
    endPoint = sensorA.vertices[3];

  collisions = Query.ray(bodies, startPoint, endPoint);

  console.log(collisions);
});

Events.on(render, "afterRender", function () {
  for (var i = 0; i < collisions.length; i++) {
    var collision = collisions[i];
    context.rect(
      collision.bodyA.position.x - 4.5,
      collision.bodyA.position.y - 4.5,
      8,
      8
    );
  }

for some reason all it console logs on collision is still the raycastSensor1 as the bodyA and bodyB, is there any other way to go about it
This is my first week using matterJS so my approach might be wrong
Please help

I think in principle that seems like it might work, though as it stands I think Query.ray intentionally does not return individual parts (only the parent).
So you could try make your own copy of the Query.ray function and remove this line which might do the trick?


No Cookies being returned on iOS

Tested on iOS 12.1 - 12.2
Flutter Doctor
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G95, locale en-PH)
    • Flutter version 1.7.8+hotfix.4 at /Users/nemoryoliver/Development/flutter
    • Framework revision 20e59316b8 (7 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nemoryoliver/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.7.5

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.38.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[✓] Connected device (3 available)
    • BBE100 5                  •<PHONE_NUMBER>                           • android-arm64 • Android 8.1.0 (API 27)
    • Android SDK built for x86 • emulator-5554                        • android-x86   • Android 10 (API 29) (emulator)
    • iPhone XS Max             • 2380ED70-F2CE-48EF-BE47-A797DB2F91A7 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-12-1 (simulator)

This is fixed in the latest versions! Thanks a lot dev!


"import xxxxx" without any warnings in the error list.

Describe the bug

Steps to Reproduce

Create a Python Application.
type import xxxxx.

Expected behavior
Displays a green squiggly line under xxxxx and a warning in the error list.

Additional context and screenshots
No green squiggly lines and warnings.

@ttSpace, I can't repro this issue. With the latest Preview 4 build I see an import resolve error.
Can you share the output for the 'Pylance' server?

It should be on this pane here:

I can repro on Microsoft Visual Studio Enterprise 2022 (64-bit) - Int Preview Version 17.8.0 Preview 2.0 [33930.147.main].
This is the link to download the latest int preview: https://aka.ms/vs/17/intpreview/vs_enterprise.exe
Below are the logs:
Info: (15896) Pylance language server 2023.7.40 (pyright b917b7a5) starting
Info: (15896) Server root directory: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist
Info: (15896) virtual workspace: C:\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4
Info: (15896) Starting service instance "PythonApplication4"
Info: Un-registering request handler for 379a4007-26e6-42db-aa90-030bd71c6014 failed.
Log: (15896) No configuration file found.
Log: (15896) No pyproject.toml file found.
Info: (15896) Setting pythonPath for service "PythonApplication4": "C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\python.exe"
Info: (15896) Assuming Python version 3.11
Log: (15896) Assuming Python platform Windows
Info: (15896) Search paths for \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4
Info: (15896)   c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib
Info: (15896)   \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4
Info: (15896)   \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings
Info: (15896)   c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stubs...
Info: (15896)   c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib
Info: (15896)   c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin
Log: (15896) Searching for source files
Error: (15896) File or directory "\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4" does not exist.
Info: (15896) No source files found.
Log: (15896) [FG] parsing: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (167ms)
Info: (15896) Could not import 'xxxx' in file '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py'
Info: (15896)   Looking in stubPath '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings'
Info: (15896)   Attempting to resolve stub package using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings'
Info: (15896)   Attempting to resolve using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings'
Info: (15896)   Looking in root directory of execution environment '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4'
Info: (15896)   Attempting to resolve stub package using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4'
Info: (15896)   Attempting to resolve using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4'
Info: (15896)   Finding python search paths
Info: (15896)   Executing interpreter: 'C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\python.exe'
Info: (15896)   Skipping 'C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\python311.zip' because it is not a valid directory
Info: (15896)   Received 7 paths from interpreter
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\Pythonwin
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin'
Info: (15896)   Looking in bundled stubs path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs'
Info: (15896)   Attempting to resolve stub package using root path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs'
Info: (15896)   Attempting to resolve using root path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs'
Info: (15896)   Looking for typeshed stdlib path
Info: (15896)   Looking for typeshed stdlib path
Info: (15896)   Attempting to resolve using root path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib'
Info: (15896)   Typeshed path not found
Info: (15896)   Looking for typeshed third-party path
Info: (15896)   Looking for typeshed stubs path
Info: (15896)   Typeshed path not found
Log: (15896) [FG] parsing: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 6ms] (323ms)
Log: (15896) [FG] binding: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\builtins.pyi (113ms)
Log: (15896) [FG] binding: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (1ms)
Log: (15896) [FG] analyzing: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py ...
Log: (15896) [FG]   checking: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py ...
Log: (15896) [FG]     parsing: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\typing.pyi [fs read 3ms] (103ms)
Log: (15896) [FG]     binding: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\typing.pyi (31ms)
Log: (15896) [FG]     parsing: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\typing_extensions.pyi [fs read 1ms] (35ms)
Log: (15896) [FG]     binding: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\typing_extensions.pyi (7ms)
Log: (15896) [FG]     parsing: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib_typeshed_init_.pyi [fs read 1ms] (13ms)
Log: (15896) [FG]     binding: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib_typeshed_init_.pyi (7ms)
Log: (15896) [FG]     parsing: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\types.pyi [fs read 1ms] (21ms)
Log: (15896) [FG]     binding: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\types.pyi (12ms)
Log: (15896) [FG]     parsing: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\abc.pyi [fs read 1ms] (2ms)
Log: (15896) [FG]     binding: c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib\abc.pyi (0ms)
Log: (15896) [FG]   checking: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (297ms)
Log: (15896) [FG] analyzing: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (297ms)
Log: (15896) [FG] parsing: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (1ms)
Info: (15896) Could not import 'xxxx' in file '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py'
Info: (15896)   Looking in stubPath '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings'
Info: (15896)   Attempting to resolve stub package using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings'
Info: (15896)   Attempting to resolve using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\typings'
Info: (15896)   Looking in root directory of execution environment '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4'
Info: (15896)   Attempting to resolve stub package using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4'
Info: (15896)   Attempting to resolve using root path '\Users\stellahuang\source\repos\PythonApplication4\PythonApplication4'
Info: (15896)   Finding python search paths
Info: (15896)   Executing interpreter: 'C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\python.exe'
Info: (15896)   Skipping 'C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\python311.zip' because it is not a valid directory
Info: (15896)   Received 7 paths from interpreter
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib
Info: (15896)     C:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\Pythonwin
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\DLLs'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\lib'
Info: (15896)   Looking in python search path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin'
Info: (15896)   Attempting to resolve stub package using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin'
Info: (15896)   Attempting to resolve using root path 'c:\Users\stellahuang\AppData\Local\Programs\Python\Python311\Lib\site-packages\pythonwin'
Info: (15896)   Looking in bundled stubs path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs'
Info: (15896)   Attempting to resolve stub package using root path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs'
Info: (15896)   Attempting to resolve using root path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\bundled\stubs'
Info: (15896)   Looking for typeshed stdlib path
Info: (15896)   Looking for typeshed stdlib path
Info: (15896)   Attempting to resolve using root path 'c:\users\stellahuang\appdata\local\microsoft\visualstudio\17.0_1c4853b5exp\extensions\microsoft corporation\python\17.8.0\pylance\dist\typeshed-fallback\stdlib'
Info: (15896)   Typeshed path not found
Info: (15896)   Looking for typeshed third-party path
Info: (15896)   Looking for typeshed stubs path
Info: (15896)   Typeshed path not found
Log: (15896) [FG] binding: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (1ms)
Log: (15896) [FG] analyzing: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py ...
Log: (15896) [FG]   checking: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (13ms)
Log: (15896) [FG] analyzing: \Users\stellahuang\source\repos\PythonApplication4\PythonApplication4\PythonApplication4.py (13ms)

Wouldn't the fix then be to upgrade to Preview 4? Can you repro on Preview 4?

I'm trying to install Preview 2.

Nevermind I can't even run that version. Well at least build it locally because the references are out of date.

ok I ran into the same errors while building it too. At first I thought it might be related to the version number in main being lower than the release branch, but just checked that the version numbers in both branches are the same, so I am not sure what's causing the issue. I was able to work around it by searching for the ids in the error messages in PTVS, and manually bumping up the version number to something like 17.8.0.

@rchiodo The output of Pylance.

Oh I'm using 17.7. You two are using 17.8. That might be the problem. It could be an issue with something in Visual Studio. Let me try installing 17.8.

I can repro now. With pylance 2023.7.30.

Internally this is happening because the 'reportMissingImports' diagnostic severity is set to 'none'.  Not sure why yet.

It's because Pylance thinks the workspace is not local. It looks like VS is not sending a URI for the workspace root anymore and just sending a file path.

Found the root cause. Change in the DocumentUriConverter by core. Bug has been fixed but is not shipping yet:
https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1862963/


Add Support for keysize > 2048

Please include support for generating RSA keys > 2048 bits (Windows supports up to 16384 size keys in the Crypto provider). Also see what's available for ECC generation.

Bump to keep open
On Sat, Oct 10, 2020, 07:21 stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fszlin/certes/issues/225#issuecomment-706540722, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ2PT75XZ635MDOYDPBGJDSKBGTXANCNFSM4PW3WX5Q
.

Bump
On Sat, Dec 12, 2020, 15:03 stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fszlin/certes/issues/225#issuecomment-743868031, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ2PT22PWRLMNHQVLCJOQTSUPLBTANCNFSM4PW3WX5Q
.

Is there any update on this? @fszlin @webprofusion-chrisc
Is there a way I can contribute perhaps?

@jantytgat thanks, this hasn't become a priority for me such that I need to fix it. Carefully put together pull requests with tests covered the modified functionality are accepted though :)
I started on this a while back but didn't finish it: https://github.com/webprofusion-chrisc/certes/tree/key-strength it needs rebased against master first then it needs stuff added to ensure key sizes are valid (eg. LE only supports a couple of sizes) and it needs tests.
Currently there are no new nuget releases, so you have to build your own copy of the library.

Bump
On Wed, Jun 16, 2021, 18:34 stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fszlin/certes/issues/225#issuecomment-862800182, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ2PT67BYVGAWHBHCEBBVDTTEYIVANCNFSM4PW3WX5Q
.

Any update on this one?

I've created a PR for this: https://github.com/fszlin/certes/pull/268
Note that various ACME CAs support different sets of key specifications, the most commonly supported RSA key sizes are currently 2048 and 3072. This is not applicable to EC keys in the same way.

In the interim, I've been generating keys using the following which seems to work:
var newPrivateKey = System.Security.Cryptography.RSA.Create(4096); var cert = await order.Generate(new CsrInfo {     ... }, KeyFactory.FromDer(newPrivateKey.ExportPkcs8PrivateKey()));


[Feature] Expose Editor (+ other Components) to the API

Is your feature request related to a problem? Please describe.
Wanting to have a BD-like editor component in your plugin would mean having to rewrite most parts of it.
Describe the feature you'd like
Expose the Editor and the components related to it like FloatingWindow and the Wrappers for buttons etc to the API. Maybe by having these components in a BdApi.Components module, maybe with further submodules for organiational purposes.
The things I would consider useful components to expose would be:

editor and related thing's like floating window
the icon components
error boundary + settings input components (although I know ZLibrary provides these as well)

There it might also be possible to expose them another way but I think since they are React components already exposes them as such would be easier, and looking at the current state of plugins most of them try to patch the Discord's components anyway, so not having to wrap stuff in a component would come in handy.

Will not be expanding the API like this at this time


Support export file name or path list in search result tab.

If there are many images in the search result tab, we have to send to batch download tab and download all images with zip file, which is inconvenient to download a large zip file. It would be better if you could export only the list of image names in the search results。

Already supported. See https://github.com/zanllp/sd-webui-infinite-image-browsing/wiki/Change-log for more information


Python 3.10 Dependencies

I am currently trying to install yolox on an AWS lambda docker container running python 3.10. However, I am unsure about how to work out the dependencies for it. In particular, what version of onnx and onnxruntime do I require? It seems that 'pip install yolox' calls for onnxruntime==1.8.0 which is not installing on Python 3.10. Any tips would be really appreciated!

@adilchhabra Please go to mmdeloy and create a issue.


Enhacement in About Us page

Deliverables:

[ ] Make the card containing team details look like this having a cool hover effect.
[ ] You can take the Meet the crew part from here
[ ] Need better background image for the overview section

@Kajol-Kumari I can work on this.

@Kajol-Kumari I can work on this.

@Kajol-Kumari I would like to work in this issue. I was just waiting for my PR to get merged.

@Kajol-Kumari I would like to work in this issue. I was just waiting for my PR to get merged.

Hey @vedikaag99 you can go ahead with this issue. @Utkarshn10 we follow FCFS so please feel free to pick any other issues :)

Hey @vedikaag99 you can go ahead with this issue. @Utkarshn10 we follow FCFS so please feel free to pick any other issues :)

@Kajol-Kumari Couldn't find the exact images as given in the design for Meet the Crew part. Is this okay?

@Kajol-Kumari Couldn't find the exact images as given in the design for Meet the Crew part. Is this okay?


Add Turkish language support

Updated to version 7.0.2 of PlutoGrid.
Thank you for your contribution.


Update maturity level

Update the maturity level to Pilot following the STAC maturity classification.
Reason: 1 implementation (MS PC)

Also implemented in Earth Search v1 https://earth-search.aws.element84.com/v1/collections/sentinel-2-l2a/items

Also stactools sentinel2 and landsat packages also have support for this now.


move allowed build reasons

This PR works with the updated ado-download.yaml for yocto. The updated allowed build reasons is move to the yaml file.

Changes look good to me! We'll merge it after the checks pass.

Hi Reuben, sorry I violated E125 and did not notice. Fixed it and checked that it was good after I switched Python interpreter within VSCode to the one in the Poetry env built from the repo config file.

Hi Reuben, sorry I violated E125 and did not notice. Fixed it and checked that it was good after I switched Python interpreter within VSCode to the one in the Poetry env built from the repo config file.

No worries! Shouldn't take long too re-run.


[sdl] multithread event handling

currently all events are handled in a single thread.
find a way to split these to multiple threads to improve performance

currently all events are handled in a single thread.
find a way to split these to multiple threads to improve performance

Se


It is showing error on many files.

I downloaded this and trying to test it. Here is my folder structure.
\--|
    |- Build/
    |- Main/
    |- demo.php
    |- phpminify.php

I have edited the demo to set source as Main/ and target as Build/.
The source folder has 461 items but the Build folder only contains  218 items.
For all the missing files,  The error message is same ( only difference is being filename.)
Warning: file_put_contents(./Build/Library/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187
PHP Warning:  file_put_contents(./Build/Library/Monolog/Handler/SyslogUdp/UdpSocket.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187

Warning: file_put_contents(./Build/Library/Monolog/Handler/SyslogUdp/UdpSocket.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187

PHP Warning:  file_put_contents(./Build/Library/Psr/Log/LoggerInterface.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187

Warning: file_put_contents(./Build/Library/Psr/Log/LoggerInterface.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187
PHP Warning:  file_put_contents(./Build/Library/Psr/Log/LogLevel.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187

Warning: file_put_contents(./Build/Library/Psr/Log/LogLevel.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187
PHP Warning:  file_put_contents(./Build/Library/Psr/Log/Test/LoggerInterfaceTest.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187

Warning: file_put_contents(./Build/Library/Psr/Log/Test/LoggerInterfaceTest.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187
PHP Warning:  file_put_contents(./Build/Library/Monolog/Processor/WebProcessor.php): failed to open stream: No such file or directory in /var/www/Test/phpminify.php on line 187

What could be wrong??

I tried to minify some other php application, and am facing same issue.
phpmyadmin
Original - 1940 items.
target - 1284 items.
Bug tracker which I use,
Original - 829 Items,
Target -  675 Items.
Mini-CRM which I use,
Original 363 Items,
Target 218 Items.
All with same error on line 187.

Could you give me more information about your server and php version ?

I use Nginx server with php-fpm mainly but I have tested this in apache also. I use Fedora 22 and keep it updated.
[Abhinav@abhinav-fed22 ~] $ nginx -v
nginx version: nginx/1.8.0
[Abhinav@abhinav-fed22 ~] $ httpd -v
Server version: Apache/2.4.16 (Fedora)
Server built:   Jul 17 2015 07:15:10
[Abhinav@abhinav-fed22 ~] $ php --version
PHP 5.6.11 (cli) (built: Jul 17 2015 07:31:17)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
[Abhinav@abhinav-fed22 ~] $ uname -a
Linux abhinav-fed22 4.1.3-200.fc22.x86_64 #1 SMP Wed Jul 22 19:51:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[Abhinav@abhinav-fed22 ~] $

I tried to compress phpMyAdmin (latest version) on various servers. I have had no problems.
Has the php script all the access read / write (folder, file) ? (see: mkdir)

Strange..  I just did sudo chmod -R 777 Main/ and then run php demo.php again.  Result is same.  Original -> 1940 Items,  Target -> 1245 Items.  Excluding the 2 md files, still 693 files are missing.
Have a look at this.
[Abhinav@abhinav-fed22 Test] $ tree Build/ > Target.txt
[Abhinav@abhinav-fed22 Test] $ tree Main/ > Source.txt
[Abhinav@abhinav-fed22 Test] $ tail Target.txt
    ├── themes.php
    ├── transformation_overview.php
    ├── url.php
    ├── user_password.php
    ├── version_check.php
    ├── view_create.php
    ├── view_operations.php
    └── webapp.php

237 directories, 1006 files
[Abhinav@abhinav-fed22 Test] $ tail Source.txt
    ├── transformation_overview.php
    ├── transformation_wrapper.php
    ├── url.php
    ├── user_password.php
    ├── version_check.php
    ├── view_create.php
    ├── view_operations.php
    └── webapp.php

237 directories, 1701 files
[Abhinav@abhinav-fed22 Test] $ ls
Build  demo.php  Main  phpminify.php  Source.txt  Target.txt
[Abhinav@abhinav-fed22 Test] $

Could you test the last phpminify.php ?
Exceptions are more explicit :)

Here is the output.  Still testing on phpmyadmin.
Build folder has 0 items. I always prefer "failing on error" over "Running with warning".
[Abhinav@abhinav-fed22 Test] $ php demo.php
PHP Fatal error:  Uncaught exception 'ErrorException' with message 'file_put_contents(./Build/phpMyAdmin/db_search.php): failed to open stream: No such file or directory' in /var/www/Test/phpminify.php:208
Stack trace:
#0 [internal function]: PhpMinify->addError(2, 'file_put_conten...', '/var/www/Test/p...', 208, Array)
#1 /var/www/Test/phpminify.php(208): file_put_contents('./Build/phpMyAd...', '<?php\n require_...')
#2 /var/www/Test/demo.php(14): PhpMinify->run()
#3 {main}

Next exception 'RuntimeException' with message 'file_put_contents('./Build/phpMyAdmin/db_search.php', '...') failed' in /var/www/Test/phpminify.php:211
Stack trace:
#0 /var/www/Test/demo.php(14): PhpMinify->run()
#1 {main}
  thrown in /var/www/Test/phpminify.php on line 211

Fatal error: Uncaught exception 'ErrorException' with message 'file_put_contents(./Build/phpMyAdmin/db_search.php): failed to open stream: No such file or directory' in /var/www/Test/phpminify.php:208
Stack trace:
#0 [internal function]: PhpMinify->addError(2, 'file_put_conten...', '/var/www/Test/p...', 208, Array)
#1 /var/www/Test/phpminify.php(208): file_put_contents('./Build/phpMyAd...', '<?php\n require_...')
#2 /var/www/Test/demo.php(14): PhpMinify->run()
#3 {main}

Next exception 'RuntimeException' with message 'file_put_contents('./Build/phpMyAdmin/db_search.php', '...') failed' in /var/www/Test/phpminify.php:211
Stack trace:
#0 /var/www/Test/demo.php(14): PhpMinify->run()
#1 {main}
  thrown in /var/www/Test/phpminify.php on line 211
[Abhinav@abhinav-fed22 Test] $

I have an idea !
Write the options with realpath:
$phpMinify = new PhpMinify(array(
    'source' => realpath('./phpMyAdmin-4.4.12-all-languages/'),
    'target' => realpath('.') . '/phpMyAdmin-4.4.12-all-languages.min/',
));
var_dump($phpMinify->run());

Same error as before.
tried it with multiple combos of dirname() realpath, DIR  even the direct unix path.  Both with and without trailing slash on the names.

Perhaps, the script is running too fast ?
Try using usleep() just after the line 222 ( before } // for )

Not working..
I added touch($targetPathName) just above the file_put_contents  which should create a blank file hoping to avoid error. But for some reason Build/ is still empty.
I added some debug lines in public function run() at various points .
-------------
Source- /var/www/Test/Main/.
Target- /var/www/Test/Build/.
-------------

Above if just after you created $sourcePathname and $targetPathname.
-------------
Source- /var/www/Test/Main/phpMyAdmin/db_search.php
Target- /var/www/Test/Build/phpMyAdmin/db_search.php
-------------

Above one is the same. It ran 2nd time.
-------------
Source- /var/www/Test/Main/phpMyAdmin/db_search.php
Target- /var/www/Test/Build/phpMyAdmin/db_search.php
object(SplFileInfo)#7 (2) {
  ["pathName":"SplFileInfo":private]=>
  string(43) "/var/www/Test/Main/phpMyAdmin/db_search.php"
  ["fileName":"SplFileInfo":private]=>
  string(13) "db_search.php"
}
-------------

Above one is right before file_put_contents. Here is the snippet.
if ($value->isFile() && !in_array(strtolower($value->getExtension()), $this->getExclusions())) {
    if (in_array(strtolower($value->getExtension()), $this->getExtensions())) {
        $this->errorStart();
        echo '-------------'.PHP_EOL;
        echo 'Source- '.$sourcePathname.PHP_EOL;
        echo 'Target- '.$targetPathname.PHP_EOL;
        var_dump($value);
        echo '-------------'.PHP_EOL;
        echo PHP_EOL.PHP_EOL.PHP_EOL;

        $res = touch($targetPathname);
        $res = file_put_contents($targetPathname, $this->minify($sourcePathname));

I tried to directly use your minify function in my own function
touch($target . DIRECTORY_SEPARATOR . $iterator->getSubPathName());
  file_put_contents($target . DIRECTORY_SEPARATOR . $iterator->getSubPathName(), $phpMinify->minify($item));

It showed errors for unidentified ASCII characters. Maybe I am calling it wrong.
Anyway, Due to short of time. I went old school   https://gist.github.com/Abhinav1217/7544b2b29124853604fb
Thanks for your time. These conversations was very educative.

Sorry not to have found a good solution :-/


⚠ Bofrost.lu has degraded performance

In 584181b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2472 ms

Resolved: Bofrost.lu performance has improved in 64b7d58 after 13 minutes.


openedx/frontend-component-header

I continued working over the main PR https://github.com/openedx/frontend-component-header/pull/351 was updated, just peer dependencies left

We already have an issue for the header and footer, do we need additional ones?


expires_in problem

I'm sure that I am making a very easy mistake.
I'm preparing to use memcache and dalli for the first time and carefully read through the Dali readme and these two web pages:
http://devcenter.heroku.com/articles/memcache
https://github.com/mattmanning/memcache-example
I'd like to expire caches 15 seconds after creating them on a Rails 3.0.9 site using heroku. I decided to modify memcache-example to see if I could get expiration to work on my local machine. It does not. I modified the develoment.rb file
development.rb
MemcacheExample::Application.configure do
config.cache_store = :dalli_store, {:expires_in => 15 }
end
The first clue that I'm doing something wrong is that 1.day (the example in the Dalli readme) doesn't work, the rails time commands aren't usable in the environment configuration files.
After putting something into the cache, I look at the Rails.cache. I see that DalliStore has a 15 second expiration, but the Dalli Client does not.
Rails.cache
#<ActiveSupport::Cache::DalliStore:0x0000010137bde0 @options={:expires_in=>5}, @data=#
<Dalli::Client:0x0000010137bc28 @servers=["localhost"], @options={:expires_in=>0}, @ring=nil>,
@thread_local_key=:active_support_cache_dalli_store_local_cache_2157698800,
@middleware=ActiveSupport::Cache::Strategy::LocalCache>

config.cache_store = :dalli_store, "localhost", :expires_in => 15
On Nov 5, 2011, at 11:18 AM, Todd<EMAIL_ADDRESS>wrote:

I'm sure that I am making a very easy mistake.
I'm preparing to use memcache and dalli for the first time and carefully read through the Dali readme and these two web pages:
http://devcenter.heroku.com/articles/memcache
https://github.com/mattmanning/memcache-example
I'd like to expire caches 15 seconds after creating them on a Rails 3.0.9 site using heroku. I decided to modify memcache-example to see if I could get expiration to work on my local machine. It does not. I modified the develoment.rb file
development.rb
MemcacheExample::Application.configure do
config.cache_store = :dalli_store, {:expires_in => 15 }
end
The first clue that I'm doing something wrong is that 1.day (the example in the Dalli readme) doesn't work, the rails time commands aren't usable in the environment configuration files.
After putting something into the cache, I look at the Rails.cache. I see that DalliStore has a 15 second expiration, but the Dalli Client does not.
Rails.cache
=> #<ActiveSupport::Cache::DalliStore:0x00000101bdd3f8 @options={:expires_in=>15}, @data=#<Dalli::Client:0x00000101bdcf48 @servers=["localhost:11211"], @options={:expires_in=>0}, @ring=nil>, @thread_local_key=:active_support_cache_dalli_store_local_cache_2162092540, @middleware=ActiveSupport::Cache::Strategy::LocalCache>

Reply to this email directly or view it on GitHub:
https://github.com/mperham/dalli/issues/136

config.cache_store = :dalli_store, "localhost", :expires_in => 15
causes a "syntax error, unexpected tASSOC, expecting keyword_end (SyntaxError)"
config.cache_store = :dalli_store, "localhost", {:expires_in => 15}
parses but doesn't affect the expires_in
I've looked for example on the internet for how to set the expiration this way, and I'm not able to find it. I'm guessing that config.cache_store calls /lib/active_support/cache/dalli_store.rb initialize.

I still feel like I'm headed down the wrong track.
I found the line of code that removes the expires_in option...
  def initialize(*addresses)
  ...
     UNIVERSAL_OPTIONS.each{|name| mem_cache_options.delete(name)}
  ...
 end

Rails.cache
    => #<ActiveSupport::Cache::DalliStore:0x0000010172b850 @options={:expires_in=>2}, @data=#<Dalli::Client:0x0000010172b4b8 @servers=["localhost"], @options={:expires_in=>2}, @ring=nil>, @thread_local_key=:active_support_cache_dalli_store_local_cache_2159631400, @middleware=ActiveSupport::Cache::Strategy::LocalCache>

Yes still I'm getting cache hits.

I'm experiencing a similar problem:
#controller
cache "data-#{Date.today.strftime("%x")}", :expires_in => 1.minute do
    #cacheable content...
end

Fails to expire the cache.  Does Dalli not support the use of the :expires_in parameter with the cache method?

I'm not familiar with the #cache method. It should work as you have it with Rails.cache.fetch( key, :ex_in

Fixed by 15a77c47, thank you!


flake-parts, templates, and couple other changes

Can we please split this so that it's possible to review?


chore(deps): upgrade alex-sdk to 0.1.25

Description
The alex-sdk has added support for new tokens, most notably LEO & MEGA (https://github.com/alexgo-io/alex-sdk/commit/9839433276bcc2acf3eb69442501f5cd64c134df)
This PR upgrades the package version with the motivation to enable in-wallet swaps with these assets.

Note: Supporting swaps with these assets seems blocked by https://github.com/hirosystems/token-metadata-api/issues/196

Should be unblocked & ready for review now. :)
cc: @fbwoolf @kyranjamie

I'm going to close this off as we upgraded the SDK to version 0.1.26 in https://github.com/leather-wallet/extension/pull/5105


[LSP Crashed] if function call arguments are not passed in at once

Describe the bug
I try to call a function like Task.sleep. If I don't figure out its argument name nanoseconds as quickly as possible, LSP will crash after it tries 6 times.
To Reproduce
Steps to reproduce the behavior:

Go to Editor
Use the following snippet but please DO NOT just pass in any arguments:

Task.sleep()

See error

Expected behavior
LSP not crashed.
Environment

OS: Windows 11, but connect to Ubuntu 22.04 using SSH. (Swift extension is installed on Windows 11.)
Swift version: 5.7-RELEASE
Visual Studio Code version: 1.75.1
vscode-swift version: v1.1.0

Additional context
None.

+1

Are you using swift v5.7.3? I think this was fixed for Linux at least in 5.7.3. Otherwise at least a very similar issue was fixed on the 5.8 branch

This is fixed in the 5.8 branch of sourcekit-lsp and latest 5.7 on linux, so I'm going to close this. Anyway it isn't a bug in vscode-swift. See https://github.com/apple/sourcekit-lsp/issues/635


hhvm build fails because of redis

redis extension seems to be loaded in hhvm on Travis, so testRedisCacheConfiguration test configures it with the default values but it ends throwing an error:
1) MiddlewareTests\DoctrineCacheFactoryTest::testRedisCacheConfiguration
unable to connect to <IP_ADDRESS> [111]: Connection refused

Removed creation of Doctrine Cache mechanisms in branch 0.4 (Slim3) so no fail now


Font different from example screenshots

Operating system
Microsoft Windows [10 19045.5131]
YouTube Music Desktop App Version
V0.14.5-RC3
Bug description
Font is different to example screenshots. It's a serif font, which is not as pleasant to read.

Steps to reproduce
Install latest version
Relevant log output
No response

Same for me


Internet permission ?

Is there a reason why the app needs internet permission?
https://github.com/freeotp/freeotp-android/blob/0c6af8d639e6a6bbe259748c639a6b056598034c/app/src/main/AndroidManifest.xml#L40
There doesn't appear to be an obvious user facing element in the app that requires networking.

#75


Add required lte_psm_support bool to modem initialization in README.md

One small oversight in the read me :)

Oh thanks! Yeah that's a recent addition I forgot to add


[discussion] Preparing for Hacktoberfest

I think we can prepare this repo for Hacktobest2021, because it can attract new contributors helping us fixing issues and implementing features.
Official Hacktoberfest 2021 website
Doing this, we can continue to contribute as usual (according to school/work), besides, if you open at least 4 PR that receives the "hacktoberfest-accepted" label, you can get one limited edition t-shirt.
The only requirement for partecipating with PR to this repo is adding the "hacktoberfest" topic to this repo (according to the official FAQ).
I think that we can merge #204 and then we can start working on "Incoming Webhook" and "Internal Test Mode", or we can add a new issue with the "hacktoberfest" label so someone partecipating can implement this feature for us and open a PR.

I think participating is a great idea. I’m not sure merging #204 is a good idea yet because we have a lot of todos and tests for the various source types that still need doing. But if we can capture all that info and put it somewhere, then I’m open to the merge. Or whatever you think is best. It would be great to see more contributors. 😃

What if we merge #204 and release this as a beta version? This way, users who want to try the new features can do that, but the autoupdater wont download the release itself.
We may need to update the action to support beta versions, I don't quite know.

I think that releasing a beta version with #204 is a good idea.
Electron Autoupdater should skip releases marked with "pre-release", so we don't need to update the Action for this, but I haven't tryied yet.

@josephdadams can you add "hacktoberfest" topic to this repository?
https://user-images.githubusercontent.com/27729549/136047704-dd0d0f49-13ec-4191-95c3-9f2711740064.mp4

@MatteoGheza done

@josephdadams I'm sorry to bother you on Saturday.
Can you add the topic again for the 2022 edition?
I have a few PR to submit and it would be great to have these counted as Hacktoberfest contributions, but if you don't want to do so in these days I'll submit PR anyway.

added hacktoberfest topic
@JTF4


[WIP] Standardize plugins settings, features and MIB formats

Standardized the logstash-input-snmp and logstash-input-snmptrap settings, supported MIB formats and features.

Both plugins now support .dic (libsmi) and .yaml (ruby-snmp) MIB formats.
Added the oid_mapping_format option to configure how the OID field is mapped in the Logstash event.
The logstash-input-snmptrap now supports the logstash-input-snmp features: mib_paths, use_provided_mibs, oid_root_skip, oid_path_length.

The logstash-input-snmptrap yamlmibdir was deprecated in favor of mib_paths.
Updated the logstash-input-snmptrap docs to include the same logstash-input-snmp instructions on how importing MIB files.
Refactored specs to remove all allow_any_instance_of usages (rspec/rspec-mocks/issues/1338)

@edmocosta FYI, I'm adding myself as an assignee for tracking docs reviews--not taking credit for your awesome work. :-)


🐛 [firebase_messaging] Get first data message on iOS when app is terminated

Bug report
I have an app where we send data messages. On iOS when the app is terminated, the first message awakes the app but the onBackgroundMessage handler from the Dart side is never called. If we send another data message just after the first one, the latter is correctly received on the Dart side through the onBackgroundMessage handler.
Steps to reproduce
Steps to reproduce the behavior:

Add the firebase_messaging: ^8.0.0-dev.14 dependency in the pubspec.yaml of an app.
Configure the app so that it can receive push notifications from FCM on iOS.
Add a handler to FirebaseMessaging.onBackgroundMessage() function and log this call so that it can be track with Console.app.
Launch the app, and then terminate it.
Send a first FCM background notification (makes sure to follow the Apple documentation: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app)
Send a second one

Expected behavior
Both notifications are logged
Actual behavior
Only the second one is logged

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2 20D64 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.53.0)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Hi @letsar
I'm not seeing this with the official example. The first data only notification is received from the terminated state just fine.
Could you provide your flutter pub deps -- --style=compact and a minimal complete reproducible code sample?
Thank you

That's strange. How can I test the provided example to see if I can also reproduce it? Maybe we did something wrong, but when I look at the example code, it seems that we do pretty much the same things.
I think that the issue I saw in our app is because the notification is sent into the channel before the dart code had a chance to subscribe to it, therefore it's lost.
I forked the plugin to play with initialMessage and set it from the first notification as well, and I can get it from the dart side, bu any subsequent push notifications done before the dart side is completely initialized is lost.

If you say it's set up the same then it shouldn't probably make a difference but if you can easily substitute the official example in and try it out it might be telling.
https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_messaging/firebase_messaging/example/lib

I was able to run the official example and indeed it received the first data only notification while terminated. The background handler was not set as soon as possible in our code, that's why we were not able to get the first notification.
Now it seems that if we send multiple notifications quickly, when the app wakes up, only the last one is send to the dart code. I've also experienced a notification loss from the dart side, with the official example, when the app is terminated.
Have you a lead on that?

How fast do you mean?
I counted them and got every one printed on the dart side.
default	12:12:18.542119+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>645460
default	12:12:18.551136+0200	Runner	flutter: FCM Token: <FCM Token>
default	12:12:19.627218+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>348749
default	12:12:21.458293+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>100098
default	12:12:23.709764+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>246018
default	12:12:26.174761+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>778528
default	12:12:28.829426+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>467796
default	12:12:31.465688+0200	Runner	flutter: Handling a background message<PHONE_NUMBER>082902


chore: update blueprints to 2.0.0-alpha-47

To do:

[x] Fix karma-config-shim to handle deep folder structures
[x] Fix service generator
[x] Fix pipe generator
[x] Fix component generator

Closes #84
Closes #78

@IgorMinar I've made all the requested changes, but it seems that TypeScript is not happy when we change from angular2/angular2 to angular2/core. I didn't investigate yet, do you have any insight?

I'll check out your branch today and will post back
On Thu, Dec 3, 2015 at 7:15 AM Ciro Nunes<EMAIL_ADDRESS>wrote:

@IgorMinar https://github.com/IgorMinar I've made all the requested
changes, but it seems that TypeScript is not happy when we change from
angular2/angular2 to angular2/core. I didn't investigate yet, do you have
any insight?
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular-cli/pull/85#issuecomment-161671452.

Otherwise lgtm


Restore instances getter

Continuous Integration has been failing since some point in recent commits, due to one unit test hitting a .instances property and getting an unexpected type.  git bisect running nosetests showed that 5a7aa82 was the first commit to fail since 0b2c06b.
This patch(-series?) restores a commented-out property getter body.  I could not determine from the patch diffs or notes why that method was commented out, so if there is a practical reason, I'd be happy to explore alternatives to this PR.  I am mainly looking to restore passing CI.

Hi @ajnelson-nist thanks for the PR.
Should be fixed with https://github.com/lambdamusic/Ontospy/releases/tag/v<IP_ADDRESS>
See more context on https://github.com/lambdamusic/Ontospy/issues/105

Thank you for the explanation!


onboarding: community chooser only shows one community

when I install the app from scratch, do onboarding, I only see Gesell community
eqmqx4nDqdX: bot-manuals,
but I should see
u0qj95PYNyD: Turbinenplatz
as well.
selecting the former and then opening the community choser again shows me both.
race condition?

is this bug still existing? i see two communities

Was this deterministic in the beginning? If not, I would like to keep this issue open to see if it still occurs.

I believe it was due to a misconfigured InactivityTimeout: So I must have hit the time when a community was effectively purged


Fix crash due to non-existant shape for shape components.

Fixes #519
The crash happened because components are default created when calling entity->AddComponent<type>(); in EntityEditor. Because of this, the shape component was in an invalid state (no actual shape) which returned a null struct in RenderManager. This is kind of a temporary solution, and could be more robustly handled with #407 (it knows what manager to create from, and also a suitable default) together with #236 (see comment about component constructor to force creation through managers).

iamheman

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)


Any callbacks for knowing when an item in Recyclerview is active

Sorry if the answer is obvious as I just started testing this library today.
I am working with a fullscreen horizontal scrolling recyclerview where only 1 item is visible at any time. It can only be scrolled in one direction (from right to left). I would like to do few operations on items that have been scrolled past (i.e scrolled outside the visible area, like update db that it has been viewed, or delete from db, add analytics for the view etc..).
I was wondering if I could any of the TORO methods/helpers or if there are any callbacks which I can use to do the operations once the items are invisible after being visible.

For lightweight operations, Base ViewHolder has onAttachedToParent and onDetachedFromParent Which respectively response to Adapter#onViewAttachedToWindow(ViewHolder) and Adapter#onViewDetachedFromWindow(ViewHolder). I think you can start from there to see if it suffice your process. Adapter's methods are called by Android system (the RecyclerView), ViewHolder's methods are my custom ones, called by its Adapter to connect it with the RecyclerView.

Thanks for the suggestion. I tried it but they are not reliable for my use case. What I think would suit best is to provide a method in Toro (that we can override), that is called when the any item becomes active and/or inactive.
Currently I am planning to use ListView-Visibility-Utils from danylovolokh/VideoPlayerManager which provides the methods that I would need. But if simillar calbacks are available in Toro, I can get rid of that extra library.

What do you mean by active/inactive ? The video is playing = active or the view holder is 100% visible = active (then 95% visible is considered inactive).


Spread policy in Placement

/assign @qiujian16 @elgnay @haoqing0110

/assign @deads2k PTAL

Since the “SpreadConstraints” weight only impact the order/priority when selecting clusters in the implementation . I’m thinking if we can remove this “SpreadConstraints” weight, just use the nature order of SpreadConstraints array to select clusters. It’s easy to understand and avoid bringing too much “weight” in placement.

Perhaps it would be helpful to include an examples section that includes

if numberOfClusters is not specified, but the maxSkew is specified, what happens.  I think the spreadPolicy ends up limiting the number of clusters returned to honor the maxSkew.  Is there any way for a user to know this happened?
if the motivation layout had another provider "weirdProvider" where "region-1" and "region-2" had zone names that overlapped (region-1,zone-A, region1,zone-B, and region2,zone-A), would the there be a way to spread on zones per region?  I think this design requires every key to have unique values without a way to describe a tuple.  I'm ok with this since compound keys could be built via a controller, but I'd like to be explicit about the limitation.
it's not clear to me if the spread weight is the prioritizer.weight*spread.weight.  An example using the cluster layout from the motivation could clarify this and indicate how it will function.  The implementation looks to me as though it would weight based on order of weights, not based on how different the weight is. For instance, weights 5 and 6 would have the same effective weighting in the spread calculation as 20, 10.

Overall I like the API.

Since the “SpreadConstraints” weight only impact the order/priority when selecting clusters in the implementation . I’m thinking if we can remove this “SpreadConstraints” weight, just use the nature order of SpreadConstraints array to select clusters. It’s easy to understand and avoid bringing too much “weight” in placement.

Perhaps it would be helpful to include an examples section that includes

if numberOfClusters is not specified, but the maxSkew is specified, what happens.  I think the spreadPolicy ends up limiting the number of clusters returned to honor the maxSkew.  Is there any way for a user to know this happened?
if the motivation layout had another provider "weirdProvider" where "region-1" and "region-2" had zone names that overlapped (region-1,zone-A, region1,zone-B, and region2,zone-A), would the there be a way to spread on zones per region?  I think this design requires every key to have unique values without a way to describe a tuple.  I'm ok with this since compound keys could be built via a controller, but I'd like to be explicit about the limitation.
it's not clear to me if the spread weight is the prioritizer.weight*spread.weight.  An example using the cluster layout from the motivation could clarify this and indicate how it will function.  The implementation looks to me as though it would weight based on order of weights, not based on how different the weight is. For instance, weights 5 and 6 would have the same effective weighting in the spread calculation as 20, 10.

Overall I like the API.

For 1, the current implementation will try to select all the clusters if numberOfClusters is not specified. Then, if maxSkew is specified but cannot be satisfied by the decision including all the clusters, the scheduling will just fail. We can change this behavior to selecting as many as possible clusters, but it cause an inconsistency with the behavior when numberOfClusters is specified. The current implementation with specified numberOfClusters will also make the scheduling fail if maxSkew is specified but cannot be satisfied. Or, we may add a field following k8s to let users make their decision about the behavior. The maxSkew may contain a field whenUnsatisfiable,  which can be:

DoNotSchedule: Try to select the expected number of clusters. If maxSkew cannot be satisfied for the expected number of clusters, fail. If numberOfClusters is not specified, the expected number of clusters means all the clusters.
ScheduleGreedily: Select as many as possible clusters if maxSkew cannot be satisfied for the expected number of clusters.
ScheduleAnyway: Select the expected number of clusters anyway if maxSkew cannot be satisfied but still try to reduce the skew. (I'm doubt if this option is necessary. If users want the ScheduleAnyway behavior, why don't them just omit the maxSkew field?)

For 2, for zones with the same name inside different regions (i.e., overlapping), they are considered different zones in the current implementation, and the spread will work correctly. Only with labels on clusters, we cannot describe the tuples. But in the spreadConstraints array, the constraints on different topology keys are ordered (by either the weight, or the natural order in the array).  So, the implementation can construct the tuples (region-1, zone-A) and (region-2, zone-A), and recognizes that they are different.
For 3, as I described in the "For 2" paragraph, the weight of the spreadConstraints are used only to construct the tuples, making sure (region-1, zone-A) but not (zone-A, region-1). The scheduler should first do the spread according to the regions and then zones. And yes, the implementation treats weight based on order of weights, not based on how different the weight is. Should we follow the comments from @haoqing0110 to use the natural order instead of the weight field?

For 3, as I described in the "For 2" paragraph, the weight of the spreadConstraints are used only to construct the tuples, making sure (region-1, zone-A) but not (zone-A, region-1). The scheduler should first do the spread according to the regions and then zones. And yes, the implementation treats weight based on order of weights, not based on how different the weight is. Should we follow the comments from @haoqing0110 to use the natural order instead of the weight field?

Weight in the current prioritizer is a coefficient to multiply the priority by in order to make some priorities more important than others.  It's not just about ordering.  If I read this shift operation properly (https://github.com/huaouo/ocm-placement/blob/5946042d775a8338c7c90fa7ca4e4e778191ddc4/pkg/plugins/spread/spread.go#L118), weight in the proposed spread API is not a coefficient indicating how preferred a particular label is, but rather simply an ordering choice.  However, the shift is such a large multiplication that I think it will drown out the other prioritizers.

https://github.com/open-cluster-management-io/enhancements/pull/70#issuecomment-1284993432
Can you provide those examples in the KEP so we'll have them for future reference.  I think the actual prioritizer values may help as we try to describe what happens with the bit shift in the current implementation and its impact on other prioritizers.

#70 (comment)
Can you provide those examples in the KEP so we'll have them for future reference. I think the actual prioritizer values may help as we try to describe what happens with the bit shift in the current implementation and its impact on other prioritizers.

For 3, as I described in the "For 2" paragraph, the weight of the spreadConstraints are used only to construct the tuples, making sure (region-1, zone-A) but not (zone-A, region-1). The scheduler should first do the spread according to the regions and then zones. And yes, the implementation treats weight based on order of weights, not based on how different the weight is. Should we follow the comments from @haoqing0110 to use the natural order instead of the weight field?

Weight in the current prioritizer is a coefficient to multiply the priority by in order to make some priorities more important than others. It's not just about ordering. If I read this shift operation properly (https://github.com/huaouo/ocm-placement/blob/5946042d775a8338c7c90fa7ca4e4e778191ddc4/pkg/plugins/spread/spread.go#L118), weight in the proposed spread API is not a coefficient indicating how preferred a particular label is, but rather simply an ordering choice. However, the shift is such a large multiplication that I think it will drown out the other prioritizers.

Actually, the spread score whose calculation involves shifts will be normalized to [-100, 100] before summing it with the scores from prioritizers. This may not be a problem.

Hi @deads2k,
After discussed with @qiujian16, this proposal now has two major changes in the API:

The weight in each spread constraint has been removed. Now, the natural order of the spread constraints in the spreadConstraints array indicates their relative importance.
A new whenUnsatisfiable field has been added into each spread constraint to present the behavior of the scheduler when maxSkew cannot be satisfied. It can be either ScheduleAnyway or DoNotSchedle. ScheduleAnyway means to still schedule the expected number of clusters when maxSkew cannot be satisfied. DoNotSchedule means to stop scheduling more clusters when maxSkew cannot be satisfied. The final placement decision may contain less clusters but will satisfy maxSkew.

Also, the API proposal has been updated.

/approve
/lgtm
/hold
I am still not quite sure about natural order of importance for each spread policy. I think we should note this is the current implementation but not necessarily to surface it on API. But this could be a followup.
hold in case you would need more review, otherwise feel free to release.

/unhold
Thanks for reviewing @qiujian16 and @deads2k. More comments and discussions are still welcomed.

2. A new whenUnsatisfiable field has been added into each spread constraint to present the behavior of the scheduler when maxSkew cannot be satisfied. It can be either ScheduleAnyway or DoNotSchedle. ScheduleAnyway means to still schedule the expected number of clusters when maxSkew cannot be satisfied. DoNotSchedule means to stop scheduling more clusters when maxSkew cannot be satisfied. The final placement decision may contain less clusters but will satisfy maxSkew.

Thanks, that helps quite a bit.

An example about the implementation is now available in the proposal in the Implementation Example section.

The example is great!  Extremely h elpful.


feat: upgrade Argo Dataflow to v0.0.104

Signed-off-by: Alex Collins<EMAIL_ADDRESS>Tips:

Maybe add you organization to USERS.md.
Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.
If changes were requested, and you've made them, then dismis the review to get it looked at again.
You can ask for help!

@whynowy can you please review approve?


[Request] Keep xpDropPercent on death.

Is your feature request related to a problem or do you just have an idea that fit the theme of the mod? Please describe.
We maintain a modpack that uses waystones, which cost XP to use. Retrieving graves with YIGD is fun, but having to do something strange like "smelt an item" or "kill a mob" in order to get the paltry 7 xp required to use a warp to do so is strange and tedious.
Describe the solution you'd like
I'd love a toggle option - effectively a third setting for putXpInGrave, that gives the XP directly to the respawned player - according to whatever xpDropPercent is set to. That is to say - the XP always stays with the player and never drops, but does decrease on death.
Describe alternatives you've considered
While we're not sure we'd use it ourselves, It could be interesting to have two percentages - one that the player respawns with, and the other that stays in the grave. This could avoid the need for a "setting", rather just a number that's usually 0.

I don't think there will be more "content" updates before 1.20 releases, and after that 1.20 will be the main focus. It will however feature something like this in that version. An option to have xp kept when dying that you respawn with

I think this is done via keepPercentage now right?

Oh right yeah that's correct. Forgot to close some of the issues when updating. Should probably do so...