Fix #90093

Fix #90093
Explanation:
We have roughly this display for suggest label:
/**
 * Flexbox
 * < ------- left ------- >     < -------- right -------- >
 * <icon><label><signature>     <qualifier><type><readmore>
 */

Previously I set a left margin for right, so left and right side wouldn't touch each other.
Now I set the margin for qualifier, type and readmore individually, so that if they are shown, they would have enough space to the left because of their own margin-left:

@Tyriar Sorry, I forgot to update the code comment...We recently changed qualifier to be displayed right after signature.
/**
 * Flexbox
 * < ------------- left ------------ >     < --- right -- >
 * <icon><label><signature><qualifier>     <type><readmore>
 */


Should "invalidateLayoutForSectionController:" call "cellForItemAtIndex:" ?

New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate

General information

IGListKit version: commit 6bdcac
iOS version(s):
CocoaPods/Carthage version:
Xcode version:
Devices/Simulators affected:
Reproducible in the demo project? (Yes/No): Yes
Related issues:

The latest API addition invalidateLayoutForSectionController: allows for a smooth animation of the cells, but cellForItemAtIndex: doesn't get call at the end of the animation. What should be the approach if I wanted to have a different cell layout/configuration for expanded vs collapsed state?
Thanks!

@diegorozen good question! I just ran into this yesterday on Instagram 😄
What we do when the cell needs updated is call our configure methods again. Something like:
- (UICollectionViewCell *)cellForItemAtIndex:(NSInteger)index {
  MyCell *cell = // dequeue
  [cell configureWithData:self.data];
  return cell;
}

- (void)didSelectItemAtIndex:(NSInteger)index {
  [self.collectionContext invalidateLayoutForSectionController:self completion:nil];
  [self configureWithData:self.data];
}

Which works for us. I'd rather leave it to clients that need to reload data to do that manually since cells can be built to respond to changes in other ways, and I don't know think there's a good, single approach.

Sounds reasonable to me 👍

Works great, thanks!


Try to support float16 for flat.cc

related to #877

Hi @jjyaoao Thanks for contributing. We only allow one commit for one PR, can you help squeeze you commit and pass the test first?

Hi @jjyaoao Thanks for contributing. We only allow one commit for one PR, can you help squeeze you commit and pass the test first?

Ok thank you, I will sort out the commit as 1 after passing the test locally. I would like to ask whether the idea of converting the incoming float16 to float32 is correct?

Hi @jjyaoao Thanks for contributing. We only allow one commit for one PR, can you help squeeze you commit and pass the test first?

Ok thank you, I will sort out the commit as 1 after passing the test locally. I would like to ask whether the idea of converting the incoming float16 to float32 is correct?

For now Knowhere's input vector is a void* and by default will be transfer to a float32. Looks like this PR is trying to support using fp16 as Knowhere's input type, and can I ask if you plan to use it with Milvus? If so this will never work since Milvus doesn't support fp16 yet.

Hi @jjyaoao Thanks for contributing. We only allow one commit for one PR, can you help squeeze you commit and pass the test first?

Ok thank you, I will sort out the commit as 1 after passing the test locally. I would like to ask whether the idea of converting the incoming float16 to float32 is correct?

For now Knowhere's input vector is a void* and by default will be transfer to a float32. Looks like this PR is trying to support using fp16 as Knowhere's input type, and can I ask if you plan to use it with Milvus? If so this will never work since Milvus doesn't support fp16 yet.

Thank you for your explanation. I want to undertake OSPP's Milvus support FP16 type vector competition questions, so I am doing some experiments now.

Aha, plz let me know if I can do any help. Milvus support FP16 is an ambiguous topic:

It can mean support using FP16 as input type of Milvus
Or it can mean do calculation in FP16 in Knowhere, and still FP32 as input of Milvus.

For the first one, I have to say,  it is a little bit complicated since we need to define how to accept FP16 as input from end to end. (Pymilvus->Milvus->Knowhere)
For the second one, we need to modify the 3rdparty lib to support FP16.

Aha, plz let me know if I can do any help. Milvus support FP16 is an ambiguous topic:

It can mean support using FP16 as input type of Milvus
Or it can mean do calculation in FP16 in Knowhere, and still FP32 as input of Milvus.

For the first one, I have to say, it is a little bit complicated since we need to define how to accept FP16 as input from end to end. (Pymilvus->Milvus->Knowhere) For the second one, we need to modify the 3rdparty lib to support FP16.

Thank you, I think it should be the second meaning (because the difficulty of this question is the basis), if I want to modify the 3rdparty lib, what should I do? The instructor Jiao of this question told me that I should investigate Knowhere Index IVF HNSW, etc., choose a simple one to try to support Float16


New lifespan context manager has a typing error, detected by mypy in apps (users' code)

Discussed in https://github.com/tiangolo/fastapi/discussions/9241

Originally posted by kthy March 11, 2023
First Check

[X] I added a very descriptive title here.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from collections.abc import AsyncGenerator
from contextlib import asynccontextmanager

from fastapi import FastAPI

@asynccontextmanager
async def lifespan(_: FastAPI) -> AsyncGenerator[None, None]:
    ...
    yield
    ...

app = FastAPI(lifespan=lifespan)

Description
I have taken the example from the docs of the lifespan async context manager - new in 0.93 - shaved it down to the bare minimum, and added typing hints.
When running this code through mypy-1.1.1 it complains about the type of the lifespan() context manager:
$ pipenv run mypy lifespan_example.py
Loading .env environment variables...
lifespan_example.py:14: error:
  Argument "lifespan" to "FastAPI" has incompatible type
    "Callable[[FastAPI], _AsyncGeneratorContextManager[None]]";
  expected
    "Union[Callable[[Starlette], AbstractAsyncContextManager[None]], Callable[[Starlette], AbstractAsyncContextManager[Mapping[str, Any]]], None]"  [arg-type]
Found 1 error in 1 file (checked 1 source file)

I am unsure whether this is an issue with FastAPI, mypy, contextlib, or me. 🤷
Operating System
Linux
Operating System Details
Ubuntu 20.04 running in WSL2.
FastAPI Version
0.94
Python Version
3.10.8
Additional Context
No response

This is solved in Starlette with https://github.com/encode/starlette/pull/2077 and in FastAPI with https://github.com/tiangolo/fastapi/pull/9245 which will be released right after.

This was solved on https://github.com/tiangolo/fastapi/pull/9245, and it's available on FastAPI version 0.94.1.


Easier installation

We'd like to be able to install everything automatically (including libsharp and NaMaster's C library) by just running  python setup.py install.
This is currently attempted in #84

On MacOS 10.13 python 2.7, seems to require automake
nsevilla@MacBook-Pro-de-Nacho:/Users/nsevilla/NaMaster$ sudo python setup.py install
Password:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating pymaster.egg-info
writing pymaster.egg-info/PKG-INFO
writing top-level names to pymaster.egg-info/top_level.txt
writing dependency_links to pymaster.egg-info/dependency_links.txt
writing manifest file 'pymaster.egg-info/SOURCES.txt'
reading manifest file 'pymaster.egg-info/SOURCES.txt'
writing manifest file 'pymaster.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-intel/egg
running install_lib
running build_py
Cloning into 'libsharp'...
remote: Enumerating objects: 1070, done.
remote: Total 1070 (delta 0), reused 0 (delta 0), pack-reused 1070
Receiving objects: 100% (1070/1070), 318.61 KiB | 962.00 KiB/s, done.
Resolving deltas: 100% (736/736), done.
./scripts/install_libsharp.sh: line 13: aclocal: command not found
ERROR: automake not found. Please install this or libsharp will not be installed correctly.
Traceback (most recent call last):
File "setup.py", line 109, in
ext_modules=[_nmtlib],
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/bdist_egg.py", line 160, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/bdist_egg.py", line 146, in call_command
self.run_command(cmdname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install_lib.py", line 10, in run
self.build()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 109, in build
self.run_command('build_py')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 67, in run
_compile_libsharp() # RM
File "setup.py", line 54, in _compile_libsharp
raise DistutilsError('Failed to install libsharp.') # RM
NameError: global name 'DistutilsError' is not defined

After automake is installed, there is some problem with the gcc library:
nsevilla@MacBook-Pro-de-Nacho:/Users/nsevilla/NaMaster$ sudo python setup.py install
Password:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing pymaster.egg-info/PKG-INFO
writing top-level names to pymaster.egg-info/top_level.txt
writing dependency_links to pymaster.egg-info/dependency_links.txt
reading manifest file 'pymaster.egg-info/SOURCES.txt'
writing manifest file 'pymaster.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-intel/egg
running install_lib
running build_py
Found automake.
checking for uname... 1
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to support OpenMP... unsupported
Using gcc version 4.2.1
configure: creating ./config.status
config.status: creating config/config.auto
using configuration 'auto'
compiling libsharp/sharp_testsuite.c
compiling libsharp/sharp_ylmgen_c.c
compiling libsharp/sharp.c
compiling libsharp/sharp_announce.c
compiling libsharp/sharp_geomhelpers.c
compiling libsharp/sharp_almhelpers.c
compiling libsharp/sharp_core.c
compiling libsharp/sharp_legendre.c
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre.c:1319:7: warning: no newline at end of file [-Wnewline-eof]
#endif
^
1 warning generated.
compiling libsharp/sharp_legendre_roots.c
compiling libsharp/sharp_legendre_table.c
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre_table.c:56:20: warning: unused function 'build_v4sf' [-Wunused-function]
static inline v4sf build_v4sf (float a, float b, float c, float d)
^
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre_table.c:58:20: warning: unused function 'read_v4sf' [-Wunused-function]
static inline void read_v4sf (v4sf v, float *a, float *b, float *c, float *d)
^
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre_table.c:105:20: warning: unused function 'to_V2DF' [-Wunused-function]
static inline V2DF to_V2DF (v2df x)
^
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre_table.c:107:21: warning: unused function 'to_V2DF2' [-Wunused-function]
static inline V2DF2 to_V2DF2 (v2df2 x)
^
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre_table.c:109:21: warning: unused function 'to_v2df2' [-Wunused-function]
static inline v2df2 to_v2df2 (V2DF2 X)
^
/Users/nsevilla/NaMaster/_deps/libsharp/libsharp/sharp_legendre_table.c:111:21: warning: unused function 'zero_v2df2' [-Wunused-function]
static inline v2df2 zero_v2df2(void)
^
6 warnings generated.
creating library /Users/nsevilla/NaMaster/_deps/libsharp/auto/lib/libsharp.a
compiling libfftpack/fftpack.c
compiling libfftpack/bluestein.c
compiling libfftpack/ls_fft.c
creating library /Users/nsevilla/NaMaster/_deps/libsharp/auto/lib/libfftpack.a
compiling c_utils/c_utils.c
compiling c_utils/walltime_c.c
compiling c_utils/memusage.c
creating library /Users/nsevilla/NaMaster/_deps/libsharp/auto/lib/libc_utils.a
linking C binary /Users/nsevilla/NaMaster/_deps/libsharp/auto/bin/sharp_testsuite
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in /Users/nsevilla/NaMaster': configure: error: C compiler cannot create executables See config.log' for more details
make: *** No rule to make target clean'.  Stop. make: *** No targets specified and no makefile found.  Stop. make: *** No rule to make target install'.  Stop.
Traceback (most recent call last):
File "setup.py", line 109, in
ext_modules=[_nmtlib],
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/bdist_egg.py", line 160, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/bdist_egg.py", line 146, in call_command
self.run_command(cmdname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/install_lib.py", line 10, in run
self.build()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 109, in build
self.run_command('build_py')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 68, in run
_compile_libnmt() # RM
File "setup.py", line 62, in _compile_libnmt
raise DistutilsError('Failed to compile C library.') # RM
NameError: global name 'DistutilsError' is not defined

Thanks a lot @nsevilla !
I'll add a check for automake.
The second one is kind of weird. Can you share the config.log file?


Containerd does not have a network card to start, and the running container does not have an IP address.

What is the problem you're trying to solve
Containerd does not have a network card to start, and the running container does not have an IP address.
container-cloud cni # systemctl status containerd.service
● containerd.service - containerd container runtime
   Loaded: loaded (/usr/lib/systemd/system/containerd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2022-01-06 03:19:37 CST; 18h ago
     Docs: https://containerd.io
  Process: 925 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
 Main PID: 940 (containerd)
    Tasks: 12
   Memory: 2.6G
   CGroup: /system.slice/containerd.service
           └─940 /usr/local/bin/containerd

Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066813830+08:00" level=info msg="Start event monitor"
Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066864912+08:00" level=info msg="Start snapshots syncer"
Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066898956+08:00" level=info msg="Start cni network conf syncer"
Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066911482+08:00" level=info msg="Start streaming server"
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.162884894+08:00" level=warning msg="failed to get OOM event from sandbox" error="rpc >
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.921645959+08:00" level=info msg="shim disconnected" id=harvester
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.921794220+08:00" level=warning msg="cleaning up after shim disconnected" id=harvester>
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.921824947+08:00" level=info msg="cleaning up dead shim"
Jan 06 21:44:33 container-cloud containerd[940]: time="2022-01-06T21:44:33.046574466+08:00" level=error msg="failed to delete" cmd="/usr/local/bin/containerd-sh>
Jan 06 21:44:33 container-cloud containerd[940]: time="2022-01-06T21:44:33.046811981+08:00" level=warning msg="failed to clean up after shim disconnected" error>
container-cloud cni # clear
container-cloud cni #
container-cloud cni #
container-cloud cni # systemctl status containerd.service
● containerd.service - containerd container runtime
   Loaded: loaded (/usr/lib/systemd/system/containerd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2022-01-06 03:19:37 CST; 18h ago
     Docs: https://containerd.io
  Process: 925 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
 Main PID: 940 (containerd)
    Tasks: 12
   Memory: 2.6G
   CGroup: /system.slice/containerd.service
           └─940 /usr/local/bin/containerd

Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066813830+08:00" level=info msg="Start event monitor"
Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066864912+08:00" level=info msg="Start snapshots syncer"
Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066898956+08:00" level=info msg="Start cni network conf syncer"
Jan 06 03:19:37 container-cloud containerd[940]: time="2022-01-06T03:19:37.066911482+08:00" level=info msg="Start streaming server"
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.162884894+08:00" level=warning msg="failed to get OOM event from sandbox" error="rpc error: code = Internal desc = " name=contai>
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.921645959+08:00" level=info msg="shim disconnected" id=harvester
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.921794220+08:00" level=warning msg="cleaning up after shim disconnected" id=harvester namespace=default
Jan 06 21:44:32 container-cloud containerd[940]: time="2022-01-06T21:44:32.921824947+08:00" level=info msg="cleaning up dead shim"
Jan 06 21:44:33 container-cloud containerd[940]: time="2022-01-06T21:44:33.046574466+08:00" level=error msg="failed to delete" cmd="/usr/local/bin/containerd-shim-kata-v2 -namespace default -address /run>
Jan 06 21:44:33 container-cloud containerd[940]: time="2022-01-06T21:44:33.046811981+08:00" level=warning msg="failed to clean up after shim disconnected" error="time=\"2022-01-06T21:44:33+08:00\" level=>
container-cloud cni # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:0c:29:49:4b:82 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic noprefixroute eth0
       valid_lft 1030sec preferred_lft 1030sec
    inet6 fe80::20c:29ff:fe49:4b82/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
container-cloud cni # ls -rlth /etc/cni/net.d/
total 4.0K
-rw-r--r-- 1 root root 604 Jan  6 03:18 10-containerd-net.conflist
container-cloud cni # containerd --help
NAME:
   containerd -
                    __        _                     __
  _________  ____  / /_____ _(_)___  ___  _________/ /
 / ___/ __ \/ __ \/ __/ __ `/ / __ \/ _ \/ ___/ __  /
/ /__/ /_/ / / / / /_/ /_/ / / / / /  __/ /  / /_/ /
\___/\____/_/ /_/\__/\__,_/_/_/ /_/\___/_/   \__,_/

high performance container runtime

USAGE:
   containerd [global options] command [command options] [arguments...]

VERSION:
   v1.5.8

DESCRIPTION:

containerd is a high performance container runtime whose daemon can be started
by using this command. If none of the *config*, *publish*, or *help* commands
are specified, the default action of the **containerd** command is to start the
containerd daemon in the foreground.

A default configuration is used if no TOML configuration is specified or located
at the default file location. The *containerd config* command can be used to
generate the default configuration for containerd. The output of that command
can be used and modified as necessary as a custom configuration.

COMMANDS:
   config    information on the containerd config
   publish   binary to publish events to containerd
   oci-hook  provides a base for OCI runtime hooks to allow arguments to be injected.
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config value, -c value     path to the configuration file (default: "/etc/containerd/config.toml")
   --log-level value, -l value  set the logging level [trace, debug, info, warn, error, fatal, panic]
   --address value, -a value    address for containerd's GRPC server
   --root value                 containerd root directory
   --state value                containerd state directory
   --help, -h                   show help
   --version, -v                print the version

System version
container-cloud ~ # cat /etc/redhat-release
CentOS Linux release 8.5.2111
container-cloud ~ # uname -a
Linux container-cloud 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Describe the solution you'd like
Guide to configure the containerd network
Additional context
No response

Jan 06 21:44:33 container-cloud containerd[940]: time="2022-01-06T21:44:33.046574466+08:00" level=error msg="failed to delete" cmd="/usr/local/bin/containerd-shim-kata-v2 -namespace default -address /run>

Do you have an example repro?
containerd, except when used with Kubernetes/cri, does not handle networking at all.
The ctr command does have a --cni flag where ctr will setup cni for the container, but that's it.
Networking is expected to be setup by the containerd client (e.g. ctr). Note that ctr is more of a testing/debugging tool.
If you happen to be looking for a more docker-like experience, you may want to use nerdctl, which does setup cni by default and can manage cni networks much like docker network manages networks.

Do you have an example repro?
containerd, except when used with Kubernetes/cri, does not handle networking at all. The ctr command does have a --cni flag where ctr will setup cni for the container, but that's it. Networking is expected to be setup by the containerd client (e.g. ctr). Note that ctr is more of a testing/debugging tool.
If you happen to be looking for a more docker-like experience, you may want to use nerdctl, which does setup cni by default and can manage cni networks much like docker network manages networks.

Thank you for your reply, The containerd-net network is set up. After containerd is started, there is no network card similar to docker0. Does containerd not support it?
container-cloud ~ # nerdctl network ls
NETWORK ID    NAME              FILE
0             bridge
              containerd-net    /etc/cni/net.d/10-containerd-net.conflist
              host
              none
container-cloud ~ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:0c:29:49:4b:82 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic noprefixroute eth0
       valid_lft 1526sec preferred_lft 1526sec
    inet6 fe80::20c:29ff:fe49:4b82/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
container-cloud ~ #

@xiaofan-linux it might be better to ask over on the nerdctl repo or slack. The containerd daemon is not responsible for creating the cni0 bridge interface. I'm not sure if that is automatically created by cni plugins or normally created in some other way. It might be helpful to try to run your container using the network and capturing the error message. That might be easier to search for as well. In the example you showed, the CNI network configuration is setup, but at this point I don't see anything that would be creating a bridge for you from those commands.


Prevent anyone to submit expenses

I really don't think it's a good idea to allow anyone to submit expense claims like this. If we start getting random claims from people we don't know or who are not active with us: a) it takes time we don't have to answer them; b) it puts us at risk from disappointed people complaining, regardless of how fair the decision not to pay might be. c) How would OC know what is spam since they don't have access to our email lis
Does this have to be on our page as far as OC is concerned, or can it be taken off?
Or do zee only allow emails from Contributors to submit expenses?

I think it should be possible to block certain people who persistently put in nuisance expenses claims, or conversely, to allow collectives to setup whitelists, and automatically block all expenses claims from non-whitelisted sources...

Whitelisting e.g. based on Contributors (not sure what else Contributors is used) and maintainable by the Host/Treasurer seems a good design

I would highly caution against this sort of consolidation of powers being the default option if the repo is based on a mission statement concerning democracy and accountability. Which I understand the need to allow filtration or even blocking in extreme cases, it should not become a habit and at the slippery slope end of things, could end up invalidating the entire mission.

You raise a good point making me think we might have different types of Open Collectives across the world.  Maybe the 'category' you select when setting up an OC (Movement, organization, ...) can be used to distinguish these and tailor this (and other) options.  For the OC I am talking (UBIE and BIEN), we do not want everryone to submit expenses, only leaders in the UBIE/BIEN network.


Plugin api

Create a way for extending the cli with various plugins.
This would allow us to externalize airplay support etc.

@Sheraff , @mafintosh what is the status of the
peerflix {magnet} --ondownloaded "./myscript.sh" --onserverstarted "./anotherscript.sh"

idea? :(

It's been a while so I don't remember exactly if this issue i mentionned above got fixed, but it's otherwise implemented in peerflix and totally usable.

@Sheraff what was the problem with --on-downloaded again?

If I remember correctly, the way it's implemented it counts the download as over if swarm.downloaded >= filelength which never actually gets reached if some parts were previously downloaded by another instance of peerflix

@Sheraff It seems --on-downloaded is handled here https://github.com/mafintosh/peerflix/blob/master/app.js#L147-L153. This logic seems pretty sound to me. Maybe we fixed it already? :)

Ah yeah right I remember committing that (or I think I do, sorry if I'm taking credit for it). In any case, I remember the logic, so yeah, it's fixed :-)

\o/ I'm closing this for now. If events are missing comment here or open a new issue.


Create phars for PHP 8.2 when released

Creating this issue as a reminder to update the build-phars GitHub workflow to build for PHP 8.2 when it is released in the coming days.

Closing -- completed: https://github.com/spatie/global-ray/commit/6b9bda4024b8b84ba9f4145ee447d364431bfd9a


Add functionality for making y-axis logarithmic

Codecov Report

Merging #160 into master will decrease coverage by 0.18%.
The diff coverage is 16.66%.

@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
- Coverage   58.69%   58.51%   -0.19%
==========================================
  Files          14       14
  Lines        1276     1280       +4
==========================================
  Hits          749      749
- Misses        527      531       +4

Impacted Files
Coverage Δ

dpemu/plotting/utils.py
22.97% <16.66%> (-0.4%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6c5707...2310fc8. Read the comment docs.


[CT-1349] [Feature] Dynamic sources

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
I love the lineage that DBT provided to us for free when using source(), but we have to define the source schema explicitly.
As a Developer, I want a way to define the sources by:

Specify the schema if not default,
Include or exclude a list with wild card support to define the source tables.

version: 2

sources:
  - name: dbt_alice
    schema: dbt_alice
    include_tables: src_*
    or
    exclude_tables: stg_*_tmp

Describe alternatives you've considered
Use the codegen package to generating the source YML file before dbt run
https://github.com/dbt-labs/dbt-codegen/tree/0.8.1/#generate_source-source
generate
Who will this benefit?
For developers they want lineage but want to include ALL tables as the source, they don't need to define or generate the source.yml
Are you interested in contributing this feature?
I'd love to contribute if someone point me to the right piece of code and provide some guidance on the source code.
Anything else?
No response

Well, the alternatives are not gonna work because if we don't have the source.yml but the models are using source(), then it will fail to generate the source.

Draft PR - https://github.com/dbt-labs/dbt-core/pull/6072

thanks for the issue and potential contribution @yang6n! we've been a bit busy with our Coalesce conference this past week, and many of us on the Core team (myself and @jtcohen6 included) are still traveling this week. we'll try to get to this shortly -- you might also consider posting this PR and asking for feedback here in the meantime: https://getdbt.slack.com/archives/C50NEBJGG

@yang6n Thanks for opening up the issue, and sorry for the delay in getting back to you!
There's a hard line we draw in dbt today, and don't wish to soon erase: dbt must know the full DAG before it connects to the database. This is a useful abstraction and simplification for us. We can keep "control plane" code (DAG definitions) clearly separate from "data plane" code (tabular queries / dataframe manipulations). Every dbt resource maps to exactly one database object (or zero, in the case of ephemeral models, analyses, etc).
For that reason, it's essential that we don't require dbt to make a database connection — even if it's just a caching query — to enumerate the set of available sources.

At the same time, I totally see why folks want this! Source tables are (more-than-a-)a dime a dozen; they're constantly cropping up left, right, & center. Maybe it's a good thing that you have to explicitly "pull them into" your dbt project / analytical universe, and codegen can be your friend...
Still, I recently heard a compelling version of this story from our friends at Materialize, which has a tendency to accept one write-ahead log coming in (one "source"), and dynamically split it up into many table-looking relations, prime for dbt modeling. @morsapaes just coined the delightful term "multiplexed relations" to discuss them over in https://github.com/dbt-labs/dbt-core/discussions/6104#discussioncomment-3957001.

Is there merit in the idea of a single "dynamic" source? Normally, dbt will validate that the source() you're asking for is actually one you've defined in your yaml files. (It actually doesn't validate that the table really exists in the database—again, because DAG nodes are defined independent on database state—a very good thing.) What if you could tell dbt, "Don't worry about this one?"
version: 2
sources:
  - name: my_dynamic_source
    database: raw
    schema: big_schema
    tables: *  # just imagining, could also be the word 'dynamic'

-- models/my_model.sql
select * from {{ source('my_dynamic_source', 'specific_table') }}

dbt would accept the second argument as the name of a table, and trust you that it exists:
-- compiled
select * from raw.big_schema.specific_table

In the DAG viz, you'd just see that my_model depends on my_dynamic_source.*:
graph LR;
    my_dynamic_source.*-->my_model;
    style my_dynamic_source.* fill:#5fb825,color:white
    style my_model fill:#0094b3,color:white;

Having written all that out - I just remembered there's a big ol' discussion about this, originally started by @fivetran-joemarkiewicz, over in https://github.com/dbt-labs/dbt-core/discussions/5686!
I'm going to close this issue as a duplicate of that larger one. I'd be happy to have your thoughts & feedback over there, along with everyone else's.

Thanks @jtcohen6 .
That makes sense we don't want to have the db connection for this reason.
The codegen is not gonna work, in this case, we can't run codegen to generate the source if we use source() references for anything that is NOT defined yet. It's like a chicken and egg issue here.
But the idea of "Don't worry about this one?" you mentioned above, it's gonna work for us if we have a way to ask dbt to not validate this source.

But the idea of "Don't worry about this one?" you mentioned above, it's gonna work for us if we have a way to ask dbt to not validate this source.

I'll open this as a new issue!


migration-groups: create inventory groups client.

Description

create inventory groups client
add uuid to devices groups models that will correspond to inventory group id, that way we will be aware about the already migrated groups, and choose only those without uuid for migration, also that will create a link between local groups and inventory groups for later hosts adding (as hosts are added by group uuid).

FIXES: https://issues.redhat.com/browse/THEEDGE-3553
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I run make pre-commit to check fmt/vet/lint/test-no-fdo

/retest

@de1987 addressed and responded to all you comment please revisit

@de1987 thank you for the review, addressed and responded to all you comment please revisit.


[Idea][Optimization] Check local state for existing items when enumerating Plex items

We could potentially use our local state, which holds Plex item details, as an ephemeral cache in the enumeratePlexItems call. The local state keeps Plex metadata as well as a content hierarchy for items that were already queried in the program selector. However, we need to be careful to ensure that the local state has a complete view if we do this. The complexity of ensuring this is correct may not be worthwhile, but we need to investigate

Thinking about this a bit more - I think the complexity isn't really worth the gain here.


Add Bike and Ride field

Adds a field for bike_ride, which I added to the Bicycle Parking preset. The wiki says that this tag is to be used to indicate that a bicycle parking area is near a public transport stop, similar to how the park_ride key is used for parking lots. Currently, this bike_ride  is used around 4K times.
Here's an example of a Bike & Ride shed in Portland:

I wonder, what this tag will tell us. I am not aware of any usage by data consumers. And I have a hard time to come up with a relevant usage. „Nearby public transport“ is very vague. And can be derived from the location.  For park-n-ride the tag is more specific because those parking spaces are signed (right?). But for bikes, any open access parking nearby is basically bike-ride.

The tag seems to be particularly well used in Germany (see taginfo). Presumably this term (and thus the tag) was popularized by the "Bike + Ride" initiative by DB (https://bikeandride.bahnhof.de/bikeandride)?

I wonder, what this tag will tell us.

I would have assumed that this tag could be useful to mark bike parkings which are especially signed and/or equipped to host a typical multimodal commuter which wants to park a bike safely for long-ish periods: Such a bike-and-ride parking should have sufficiently many parking spots, be in a safe location, perhaps protected from the elements, etc.
But the description on the wiki does ineed lack a bit of detail in this regard… :thinking:


Running test buf-ring.t                                             mmap ring register failed -22

When running tests for 2.6 some tests fail which (of these only buf-ring.t existed att) was not failing for 2.5. Kernel is 6.1.82 in both cases:
[00:00:22] Running test buf-ring.t                                             mmap ring register failed -22
[00:00:22] test_running(1) mmap failed
[00:00:22] Test buf-ring.t failed with ret 1
[00:00:22] Running test buf-ring-nommap.t                                      Skipped
[00:00:22] Running test buf-ring-put.t                                         Skipped
..
[00:00:27] Running test defer-tw-timeout.t                                     open: Invalid argument
[00:00:27] Test defer-tw-timeout.t failed with ret 1
...
[00:00:32] Running test fixed-buf-merge.t                                      open: Invalid argument
[00:00:32] Test fixed-buf-merge.t failed with ret 1
...
[00:01:08] Tests failed (3): <buf-ring.t> <defer-tw-timeout.t> <fixed-buf-merge.t>

Temporary build log https://git.altlinux.org/tasks/347246/build/200/x86_64/log
Run under strace:
[00:00:10] + strace -Z ./test/buf-ring.t
...
[00:00:13] io_uring_register(3, IORING_REGISTER_PBUF_RING, {ring_addr=NULL, ring_entries=1, bgid=2, flags=0x1}, 1) = -1 EINVAL (Invalid argument)
[00:00:13] mmap ring register failed -22
[00:00:13] test_running(1) mmap failed
[00:00:13] +++ exited with 1 +++

When 2.6 tests are run on Linux 6.6.x buf-ring.t does not fail.
Perhaps, some backward compatibility is lost?

I thought I went over all the "skips sanely on older kernels", but looks like I missed some. In any case, an -EINVAL is really just that, the kernel doesn't support it. I'll give them another round of checking, using 6.1-stable.

So I will TEST_EXCLUDE them for now, but I am concerned about buf-ring.t which used to work.

No need to be concerned, tests get changed all the time. Since 2.5, buf-ring had support added for testing mmap'ed rings, which is what the older kernels don't support. This is why it fails.

IC. This sounds like a developers approach for testing (to test newest feature on latest kernels). But testing is also useful for QA, in case there is build environment problems, such as compiler bugs, For example LTO build could easily introduce subtle bugs. So, I am reluctant to exclude tests because this will reduce coverage. So, I'd wish tests are backward compatible and not just excludable.

Obviously test cases are written to either test and verify new features, or added when a bug is filed to ensure we don't regress there. And unfortunately the test cases don't always remember to skip testing on older kernels, which is how you end up with an issue like this. Your implication that the test cases only exist to test the "newest features on the latest kernels" is patently incorrect.
I'm quite happy to take patches correcting this. Unfortunately most reports like this only come in at the very worst possible time, right after a release. If you had tested 2 weeks ago, then it could've been squeaky clean for release. This isn't your fault, it's just the nature of the game that most people only test actual releases, not pre-releases or the -git tree.

[00:00:27] Running test defer-tw-timeout.t                                     open: Invalid argument
[00:00:27] Running test defer-tw-timeout.t                                     open: Invalid argument

These two are an issue on your end, whatever fs you're running the tests on doesn't support O_DIRECT.

Pushed fixes.

IC, thanks for clarification.
Downstream distributions usually monitor for new git tags (or tarballs on GitHub releases/tags page through watchfiles which are correlate with tags), so I'd suggest you make pre-release tag like 2.6rc1 and keep it for a week or two, and this could be better noticed by testers.

[00:00:27] Running test defer-tw-timeout.t                                     open: Invalid argument
[00:00:32] Running test fixed-buf-merge.t                                      open: Invalid argument

These two are an issue on your end, whatever fs you're running the tests on doesn't support O_DIRECT.

Yeah, this is tmpfs.

I can try and make pre-release tags. But I've done that with other projects in the past, and it hasn't made any difference whatsoever. I've been around the block a few times, not my first rodeo. But it's worth a shot if it just catches one thing.

Thanks for the fixes!
Well, everybody is different but I test pre-release tags. For example for liboqs:
https://github.com/open-quantum-safe/liboqs/issues/1483 0.8.0-rc1
https://github.com/open-quantum-safe/liboqs/issues/1723 0.10.0-rc1
Smooth test suite really helps with that — that does not require a manual picking of working tests and auto-skips non-runnable w/o root, arch specific, or kernel version dependent tests. In that case people aren't lazy to add make check to the package recipe or test VM pipeline.
For example, for liburing previously I did a long exclude list to make it run w/o root:
TEST_EXCLUDE="
        500f9fbadef8.t
        accept.t
        cq-overflow.t
        eeed8b54e0df.t
        file-verify.t
        fpos.t
        hardlink.t
        io-cancel.t
        iopoll.t
        io_uring_register.t
        link-timeout.t
        personality.t
        read-before-exit.t
        read-write.t
        recv-msgall-stream.t
        ringbuf-read.t
        rsrc_tags.t
        sq-poll-dup.t
        sq-poll-share.t
        sync-cancel.t
        wq-aff.t
" make runtests

See in comparison, Fedora does not run tests, perhaps because they failed on the first run: https://src.fedoraproject.org/rpms/liburing/blob/rawhide/f/liburing.spec
Debian run tests but ignore test results: https://buildd.debian.org/status/fetch.php?pkg=liburing&arch=amd64&ver=2.5-1%2Bb1&stamp=1714228443&raw=0 perhaps by the same reason.
dh_auto_test -- runtests || true
	make -j6 test "TESTSUITEFLAGS=-j6 --verbose" VERBOSE=1 runtests
...
Tests failed (3): <file-verify.t> <io_uring_register.t> <sq-poll-share.t>

For me now only these tests are failing (they was in TEST_EXCLUDE so I did not notice it until now):
23:28:55 Running test accept.t                                               Broken overflow handling
23:28:55 test_multishot_accept(1, false, true) failed
23:28:55 Test accept.t failed with ret 1
...
23:29:22 Running test io_uring_register.t                                    expected Unknown error -14, but call succeeded
23:29:22 FAIL
23:29:22 Unable to map a huge page.  Try increasing /proc/sys/vm/nr_hugepages by at least 1.
23:29:22 Skipping the hugepage test
23:29:22 Test io_uring_register.t failed with ret 1
...
23:30:09 Tests failed (2): <accept.t> <io_uring_register.t>

Your bottom tests are failing exactly because they should fail, you're kernel doesn't have the necessary fixes. I just ran the tests on 6.1.89 after the two fixes, and it passes cleanly for me.
I do run them as root generally while testing, so it's possible that some will fail for a regular user. Should make that part of the usual testing too. But everything passes in the current tree as a regular user, for me, using that same 6.1-stable kernel.

Nobody should run the tests are part of building the library, that's not why they are there. It should be part of separate testing.

Those two tests are again failing because you're running it in an fs that doesn't support O_DIRECT.

That's good idea and I can try that too as we have qemu wrapper script. This could be not the latest mainline/stable but 6.6.x lts, though.

When run as "root" in qemu-system quick VM on Linux 6.6.29 with ext4  All tests passed for aarch64, x86_64 but some tests fail for i586 and ppc64le.:
i586
[00:01:59] Running test sqpoll-sleep.t                                         Test sqpoll-sleep.t failed with ret 1
...
[00:02:13] Tests failed (1): <sqpoll-sleep.t>

ppc64le
[00:00:45] Running test buf-ring-nommap.t                                      queue init failed -12
[00:00:45] Test buf-ring-nommap.t failed with ret 1
...
[00:01:47] Running test recv-multishot.t                                       connect failed
[00:01:47] t_create_socket_pair failed: 4
[00:01:47] test stream=1 wait_each=1 recvmsg=0 early_error=4  defer=0 failed
[00:01:47] Test recv-multishot.t failed with ret 1
...
[00:01:50] Running test send-zerocopy.t                                        invalid cqe->res -90 expected 65536
[00:01:50] send failed fixed buf 0, conn 0, addr 1, cork 0
[00:01:50] test_inet_send() failed (defer_taskrun 0)
[00:01:50] Test send-zerocopy.t failed with ret 1

[00:02:10] Tests failed (3): <buf-ring-nommap.t> <recv-multishot.t> <send-zerocopy.t>

ps. We can run tests in qemu but some other distros (like Fedora) may not do that (because it's common to do make check after build style testing w/o root) and they may also build over tmpfs (faster build times).

I can try and make pre-release tags. But I've done that with other projects in the past, and it hasn't made any difference whatsoever.

I agree that most people will ignore -rc releases altogether. So, the most effective (and visible) approach, perhaps, would be just to make patchelvel release, like 2.6.1,  if it's worth it.


Create Project In Dependecy Track when it doesn't Exist

Currently it is not possible to upload a project's BOM to dependency track, if that project doesn't exist already.
In order to avoid the overhead of manually creating the project in dependency track, this plugin could automatically create a project and then upload the BOM.
An argument (e.g. autoCreate) could be added to enable this.

Hi rylyade, that is the default behaviour at this time.  The flag set in the BomUploadRequest is hardcoded to true:
https://github.com/pmckeown/dependency-track-maven-plugin/blob/master/src/main/java/io/github/pmckeown/dependencytrack/upload/UploadBomAction.java#L80-L81
Paul

For further info, this is the description from the D Track API that I am using to upload the BOM:
Expects CycloneDX or SPDX (text or RDF) along and a valid project UUID. If a UUID is not specified, than the projectName and projectVersion must be specified. Optionally, if autoCreate is specified and 'true' and the project does not exist, the project will be created. In this scenario, the principal making the request will additionally need the PORTFOLIO_MANAGEMENT or PROJECT_CREATION_UPLOAD permission.

Hi @pmckeown ,
thank you for the clarification.


Windows Virtual Desktop Technical Architecture explained

Windows Virtual Desktop Technical Architecture explained

@daveba Could you review the proposed addition to the Virtual Desktop landing page? Thanks.

@eross-msft now manages this space.  Please #reassign:@eross-msft

@ranand12  Thank you for taking the time to make this video and to share it with us. Unfortunately, I'm unable to approve this PR to link to it from our technical content due to it not being Microsoft-hosted or generated content. Closing this PR.
#please-close


The correlation matrix should be calculated in signal voxels

Summary

I now notice that we calculate the correlation matrix in Stouffers in all the voxels, even the ones with 0 or Nan. I think we can apply the aggressive mask to all images and then calculate the correlation matrix. We can also save that matrix in the estimator because we will use it in the report module.
Additional details

Saving the matrix will decrease the computation time in the Workflows but at the cost of extra memory in the estimator class.
Next steps

Apply the aggressive mask and calculate the correlation matrix in _preprocess_input. This will only affect Stouffers estimator.

Should we keep this block of code:
https://github.com/neurostuff/NiMARE/blob/2f0fa61a21a3fcd70f74e6d949d4bc3ad1c50851/nimare/meta/ibma.py#L135-L142
That key is removed from the inputs before that step. See here:
https://github.com/neurostuff/NiMARE/blob/2f0fa61a21a3fcd70f74e6d949d4bc3ad1c50851/nimare/meta/ibma.py#L101-L103

For the liberal masking approach, I also realized that the voxel mask and study mask image-base inputs (e.g., beta and varcope) may differ. So we need to create and join with the mask across different inputs here
https://github.com/neurostuff/NiMARE/blob/2f0fa61a21a3fcd70f74e6d949d4bc3ad1c50851/nimare/meta/ibma.py#L144-L147


Numsharp equivalent for unravel_index

I can't find anything that maps onto numpy.unravel_index - is it missing from the NumSharp API or am I missing something?

I found a more complete package, maybe you can try it.
https://github.com/Quansight-Labs/numpy.net


[Virtual Datasets] Local Storage ValueError: Filenames containing trailing '/#\d+/' are not supported:

Running into an error when trying to roundtrip a virtual dataset using the Local Storage config. 🤞 this is a StorageConfig setup issue on my part.
ValueError: store error: unsuccessful repository operation: `error when handling virtual reference error fetching virtual reference Generic LocalFileSystem error: Filenames containing trailing '/#\d+/' are not supported: `

MRE:

# mamba create --name mre_icechunk python=3.12 -y && \
# mamba activate mre_icechunk && \
# pip install git+https://github.com/mpiannucci/VirtualiZarr@icechunk && \
# pip install git+https://github.com/pydata/xarray@zarr-v3 && \
# pip install git+https://github.com/mpiannucci/kerchunk@v3 --no-deps && \
# pip install git+https://github.com/mpiannucci/numcodecs@zarr3-codecs-beta-sync --no-deps && \
# pip install xarray pooch netcdf4

import icechunk
import xarray as xr
from virtualizarr import open_virtual_dataset
from virtualizarr.writers.icechunk import dataset_to_icechunk

# write netcdf to local
ds = xr.tutorial.open_dataset('air_temperature')
ds.to_netcdf('air.nc', mode='w')

# local config
storage_config = icechunk.StorageConfig.filesystem("icechunk/air")
store = icechunk.IcechunkStore.create(storage_config)

# create virtualizarr dataset
vds = open_virtual_dataset('air.nc', indexes={})

# write vds to store
dataset_to_icechunk(vds, store)

# commit to store
store.commit(message="initial commit air_temp virtual dataset")

# round trip
# ValueError happens here
ds = xr.open_zarr(store, zarr_version=3, consolidated=False)

Thanks for all the integration work so far @mpiannucci @TomNicholas 🎊

File ~/micromamba/envs/tmp_icechunk/lib/python3.12/site-packages/icechunk/__init__.py:441, in IcechunkStore.get(self, key, prototype, byte_range)
    428 """Retrieve the value associated with a given key.
    429
    430 Parameters
   (...)
    437 Buffer
    438 """
    440 try:
--> 441     result = await self._store.get(key, byte_range)
    442 except KeyNotFound as _e:
    443     # Zarr python expects None to be returned if the key does not exist
    444     # but an IcechunkStore returns an error if the key does not exist
    445     return None

ValueError: store error: unsuccessful repository operation: `error when handling virtual reference error fetching virtual reference Generic LocalFileSystem error: Filenames containing trailing '/#\d+/' are not supported: `

Pointing to a NetCDF on s3 works fine, even with local config!
Seems like this might be more on the Virtualizarr side 🤔
https://github.com/zarr-developers/VirtualiZarr/issues/242
storage_config = icechunk.StorageConfig.filesystem("icechunk/air")

store = icechunk.IcechunkStore.create(storage=storage_config, mode='w', config=StoreConfig(
    virtual_ref_config=VirtualRefConfig.s3_anonymous(region='us-west-2')))

vds = open_virtual_dataset('s3://carbonplan-scratch/air.nc', indexes={})

@norlandrhagen if you get a chance, can you try using an absolute path instead of relative? I think you may be right

Confirmed... running this with an absolute path is required at this time! Thanks for posting this

Hi @norlandrhagen - it was a deliberate choice to not allow relative paths in Icechunk. The hope is that this requirement makes the Icechunk stores more robust, since moving the store does not imply moving the files themselves. This is of course different to how Kerchunk references work. In my experience, it's easy to break Kerchunk references, and we want to avoid that here.
We'd love to hear a bit more about your use case and if relative paths are truly necessary. Can you get by with absolute paths here?

In any case, a better error message and docs are definitely needed about this point.

Would https://github.com/zarr-developers/VirtualiZarr/pull/243 fix this problem?

Would zarr-developers/VirtualiZarr#243 fix this problem?

yup!

Thanks for clearing this up @mpiannucci and @rabernat!  Totally fine with avoiding relative paths, I think making Icechunk stores more robust is well worth the tradeoff 🧮 .

https://github.com/zarr-developers/VirtualiZarr/pull/243 has now been merged so this should be fixed now.


occasionally fails when installing worker cluster

6:14.105 *******

TASK [download : prep_download | Check that local user is in group or can become root] ***
ok: [worker4] => {
    "changed": false,
    "msg": "All assertions passed"
}
ok: [master1] => {
    "changed": false,
    "msg": "All assertions passed"
}
Friday 03 February 2023  05:22:11 +0000 (0:00:00.139)       0:06:14.244 *******
Friday 03 February 2023  05:22:11 +0000 (0:00:00.147)       0:06:14.392 *******
[WARNING]: sftp transfer mechanism failed on [<IP_ADDRESS>]. Use ANSIBLE_DEBUG=1
to see detailed information
[WARNING]: scp transfer mechanism failed on [<IP_ADDRESS>]. Use ANSIBLE_DEBUG=1
to see detailed information
[WARNING]: piped transfer mechanism failed on [<IP_ADDRESS>]. Use
ANSIBLE_DEBUG=1 to see detailed information

TASK [download : prep_download | Create staging directory on remote node] ******
fatal: [master1]: FAILED! => {"msg": "failed to transfer file to /root/.ansible/tmp/ansible-local-1225_a2n5st/tmppe824x7m /root/.ansible/tmp/ansible-tmp-1675401731.6041055-4217-77740010432730/AnsiballZ_file.py:\n\ndd: failed to open '/root/.ansible/tmp/ansible-tmp-1675401731.6041055-4217-77740010432730/AnsiballZ_file.py': No such file or directory\n"}
changed: [worker4]

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
master1                    : ok=206  changed=24   unreachable=0    failed=1    skipped=312  rescued=0    ignored=0
worker4                    : ok=163  changed=44   unreachable=0    failed=0    skipped=294  rescued=0    ignored=0

Friday 03 February 2023  05:22:12 +0000 (0:00:00.677)       0:06:15.069 *******
===============================================================================
kubernetes/preinstall : Install packages requirements ------------------ 82.26s
bootstrap-os : Install libselinux python package ----------------------- 18.07s
container-engine/containerd : download_file | Download item ------------- 6.23s
container-engine/crictl : download_file | Copy file from cache to nodes, if it is available --- 6.13s
container-engine/containerd : download_file | Copy file from cache to nodes, if it is available --- 5.44s
container-engine/containerd : containerd | Unpack containerd archive ---- 5.22s
network_plugin/calico : Get current calico cluster version -------------- 5.16s
container-engine/validate-container-engine : Populate service facts ----- 4.64s
container-engine/runc : runc | Uninstall runc package managed by package manager --- 4.61s
container-engine/crictl : extract_file | Unpacking archive -------------- 4.59s
container-engine/runc : download_file | Copy file from cache to nodes, if it is available --- 4.23s
kubernetes/preinstall : Ensure kube-bench parameters are set ------------ 3.76s
kubernetes/preinstall : Ensure NTP package ------------------------------ 3.70s
container-engine/crictl : download_file | Download item ----------------- 3.67s
container-engine/nerdctl : extract_file | Unpacking archive ------------- 3.66s
kubernetes/preinstall : Create kubernetes directories ------------------- 3.64s
container-engine/containerd : containerd | Remove any package manager controlled containerd package --- 3.60s
container-engine/containerd : containerd | Remove orphaned binary ------- 3.33s
container-engine/nerdctl : download_file | Copy file from cache to nodes, if it is available --- 3.27s
kubernetes/preinstall : Ensure ping package ----------------------------- 3.22s
----------------------------------------------------------

/kind bug

问题排查中


Always visible Sidebar

Hi,
started to use your library a couple of days ago but I cannot find a way to have an "always visible" sidebar.
I want to avoid that clicking on the sibling contents the sidebar close
Here my sample code
<sui-sidebar-container class="ui segment">
  <sui-sidebar class="blue inverted vertical menu" [(isVisible)]="barVisible">
  </sui-sidebar>
  <sui-sidebar-sibling [isDimmedWhenVisible]="false">

      Hello {{ title }}

  </sui-sidebar-sibling>
</sui-sidebar-container>

Is it possible or should I write a custom CSS ??

So the problem here is that Semantic UI doesn't include a way (CSS wise) of having a menu both able to pop out, and be visible all the time.
Instead, what they do and what seems to work best is to have a hidden sidebar, as well as a visible one, and just add a CSS rule that says the always visible one disappears when the screen is smaller than a certain width.
The demo application does it in this way, by having a dedicated sidebar component that displays the contents of the sidebar, like so:
<sui-sidebar-container>
    <sui-sidebar class="vertical inverted" transition="uncover" direction="left" #sidebar>
        <demo-sidebar (onItemSelected)="sidebar.close()"></demo-sidebar>
    </sui-sidebar>
    <sui-sidebar-sibling [isDimmedWhenVisible]="true">

                    <demo-sidebar></demo-sidebar>

                <router-outlet></router-outlet>

    </sui-sidebar-sibling>
</sui-sidebar-container>

As Semantic UI doesn't appear to have a CSS rule for this, and it is a relatively complex thing to make work whilst retaining the responsive traits of the sidebar, it won't be a feature that will be added to the library - so the above will remain the way to do it.
Hope this has helped 😄

thanks, got it.
I'll use the demo approach


[doc] Add example on how to override compile flags for a package

And again I was able to feel the pain and uglyness of writing XML! shiver
Closes #22668

To me, the complexity of this overshadows the point; this'd be clearer:
foo.overrideAttrs (attrs: {
  NIX_CFLAGS_COMPILE = (attrs.NIX_CFLAGS_COMPILE or []) ++ [ "-fgo-fast"];
})

I also think it's redundant to say that it compiles foo with the listed flags: it is self-evident.

@joachifm Thanks for the suggestion. It is complicated because I couldn't find documentation on how to do this, so I had to hack this together myself. I will test your suggestions and update this PR shortly! :+1:

Don't merge! I guess I missed a blank before the flag

Okay. I'm ready to fix things up!

What about moving that utility function to lib/ instead? While much more convenient than the expanded form, it makes the example less crisp, imo. Consider that readers must 1) process more information in total; 2) spend more effort to parse out the relevant parts of the example. I think it'd be better if the cflags example was more in line with the separateDebug example above it.
(As a side note, I think the cflags example is strictly redundant in the context of a function reference, as it fails to teach the reader anything new about overrideAttrs, but I suppose we can find a better home for it later).

@matthiasbeyer I think you could be a bit more explicit about what this env var does. It passes the flag directly to the compiler, and therefore it typically won't be shown during configuration as you found out. I think this is worth mentioning.

@joachifm you mean I should put this function into nixpkgs/lib?

@matthiasbeyer something like that. A function reference is not a good place for utility functions, imo.

I wonder whether https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/customizing-packages.xml would be a better place for this?

@joachifm this way? :smile:

Will this get merged?


test(e2e): upgrade e2e dependencies

Summary

Upgrade e2e dependencies
Test plan

Green CI
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
N.A.

Pull Request Test Coverage Report for Build 5387

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.721%

Totals

Change from base Build 5386:
0.0%

Covered Lines:
1056

Relevant Lines:
1091

💛  - Coveralls


Maximum call stack size exceeded error on transition with circular structure

This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow.  See http://bit.ly/UIR-SOF for details.
This is a:

[ x] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: 1.0.6
Bug Report
Current Behavior:
On transition with a parameter which has a circular struture a Maximum call stack size error is thrown. I think it happens in the defaulterrorhandler at json.stringify
Link to Plunker that reproduces the issue:
Demo: http://plnkr.co/edit/cHRBgo7JEfaZsfD4KP7Z?p=preview (the error happens on second button click)

Fixed by https://github.com/ui-router/core/commit/2f1ae9a2884fc8e0279383d96cfd071235cbe480

Apparently that didn't fix it


Support large row collapse.

Would be nice to have a proper way to support auto collapse of rows with very large texts.
I often have very large json or texts like (1Mb), having rows by default limited to a configurable number of lines that you can expand would hugely help.
I had a very quick hack in my fork: https://github.com/Tolriq/LogJerry/commit/13dd359450bd041723e54540f484faac32414596 but instead of rebasing all if the project is active would be nice to have this official.

Thanks for the suggestion! I'll try to update it later 🙇♂

Actually I removed json collapse feature because I thought it wasn't useful but it was!!

Thanks for the idea! I made the the line count that determines whether a json should be collapsed configurable (5 was small to me 😅 I set the default as 20)


BFS and Reverse string using stack

@IshikaOG if you find this repo usefull make sure to star and share the repo.


Enemies module real-time update

Some people like to take a peek at Enemy damage taken or Enemy damage done modules to compare the damage they are doing on certain mobs to others. These modules were tweaked from the original and they no longer record any data by instead they read it from Damage and Damage taken modules respectively.
These modules will be updated to show real time numbers when clicking on a target.

This is actually good in few cases. For example on Blood Prince Council you could check who did damage to nucleus but with what abilities.

This is actually good in few cases. For example on Blood Prince Council you could check who did damage to nucleus but with what abilities.

Or on Saurfang - find out who and how cleaved mobs.

Or on Saurfang - find out who and how cleaved mobs.

Both modules work fine, the only issue is that they only update the data once the fight ends. Someone was reporting this bug fir a while but I couldn't understand what they meant because they weren't bugged. until they showed me a stream of a live updated numbers during fights and this is how I understood them.
The modules were changed but I need to test in a raid because I only tested on solo and they work fine.

Both modules work fine, the only issue is that they only update the data once the fight ends. Someone was reporting this bug fir a while but I couldn't understand what they meant because they weren't bugged. until they showed me a stream of a live updated numbers during fights and this is how I understood them.
The modules were changed but I need to test in a raid because I only tested on solo and they work fine.

https://user-images.githubusercontent.com/4732702/105485294-f33e2a80-5cac-11eb-810d-98e8515e7eee.mp4
This is how they should work now (PS: Don't mind FPS drops on the video, I don't have a decent pc, simple laptop).

https://user-images.githubusercontent.com/4732702/105485294-f33e2a80-5cac-11eb-810d-98e8515e7eee.mp4
This is how they should work now (PS: Don't mind FPS drops on the video, I don't have a decent pc, simple laptop).

Oh I see so only real-time was the problem, right?
Question connected to this topic. Is it possible (or will it be possible) to check:
Enemy damage taken -> Player 1 -> list of spells and their damage that Player 1 damaged this enemy with?

Oh I see so only real-time was the problem, right?
Question connected to this topic. Is it possible (or will it be possible) to check:
Enemy damage taken -> Player 1 -> list of spells and their damage that Player 1 damaged this enemy with?

The Damage (done) module needs to be slightly tweaked for that to work. I will stop at the list of spells and not go further because it will require more complexed tweaks to the module.

The Damage (done) module needs to be slightly tweaked for that to work. I will stop at the list of spells and not go further because it will require more complexed tweaks to the module.

So at the moment we have like this:
Enemy damage taken -> Target A -> list of players with damage value
After tweak it will be possible to clikck on player and see list of spells with damage value?

So at the moment we have like this:
Enemy damage taken -> Target A -> list of players with damage value
After tweak it will be possible to clikck on player and see list of spells with damage value?

The actual is:
Enemy damage taken > Target > Players
After tweak:
Enemy damage taken > Target > Players > Spells

The actual is:
Enemy damage taken > Target > Players
After tweak:
Enemy damage taken > Target > Players > Spells


Please consider fixing issues detected by repository checker

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

[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json5/items/mainTab/donateTxt
[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json5/items/tab4/chipsTxt
[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json5/items/tab4/chipsTxt1
[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json5/items/tab5/chipsTxt
[ ] :heavy_exclamation_mark: [E509] "sm" value (10) for staticImage greater then value for smaller displays
[ ] :heavy_exclamation_mark: [E510] responsive check: maximum issues reached, please fix reported ones and recheck

WARNINGS:

[ ] :eyes: [W508] attribute "xs" for staticImage should specify a value of "12" at admin/jsonConfig.json5/items/mainTab/donateImage

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

@iobroker-bot recheck

@iobroker-bot recreate


[release-4.12] resync 20240610

resync to consume fixes to ephemeral storage
add API fixes because the cherry-picked commits where made against a much modern codebase (and k8s libs)

/cc @shajmakh

/lgtm


discussion: should we reuse RiseDev profiles for standalone deployment?

That is to say, instead of taking raw CLI arguments of each node, let the standalone binary directly take a RiseDev profile file in yaml format with the same schema as the entries in risedev-profiles.user.yml.
Benefits:

Utilize RiseDev's syntax and experience.
No need to fill in the addresses for inter-node communication.
Better for maintenance.

Actually, this is how the playground used to be. We decoupled them since we found there was no strong demand for specifying custom profiles for the playground launch. However, I guess it might still be suitable for standalone use.
cc @kwannoel @xxchan

+1 for local development, in fact I had a PR which was working on this. But the primary usecase is for cloud. Hence that's independent, and we expect to just pass cli args directly.

I am primarily referring to cloud deployment. 🥹 For local development, I guess risedev dev should be sufficient.

@kwannoel PTAL

I am primarily referring to cloud deployment. 🥹 For local development, I guess risedev dev should be sufficient.

I'm not sure why standalone mode should be different from normal nodes.
Why provide risedev.yml just for standalone mode, but not for distributed nodes?

I sort of get the motivation for risedev.yml. But I don't think it is really needed, for other nodes we don't provide configuration files as well.

Feel free to change the priority / add it to release-1.4, if there's some compelling reason, perhaps I missed the point of it.

This is because distributed nodes are designed to be deployed independently and users are able to randomly permute or combine them, so we give the maximum freedom to users.
While the "all-in-one" binary has already achieved starting different services with a single binary, I guess the main motivation for "standalone" binary is to start more than one services in a single process. The current implementation seems quite simple, just like starting multiple nodes together is a bash command separated with ;. 🤣
There's definitely room for improvement for such an experience. For example, if we have specified the listen address of the meta service, then we don't need to specify the meta address again for compute and frontend services. That's why I propose this issue: perhaps we need a (cluster-level ?) configuration file for this as a better replacement for raw command-line arguments. risedev.yml is just a possible candidate.

But I don't think it is really needed

I agree. Feel free to close this issue as not planned perhaps.


Admin page - final

@jjranalli completely missed this one, sorry. If still relevant can you pull in the most recent changes and clear merge conflicts and I will review and pull in. I know you and Yitong were working on this this week so I don't want to break anything.


Hero section text

changes the hero section text. Not super happy with it, yet better than before.
Also changed button naming and the link to the docs.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: Remove timestamp from git config :anchor:

Remove timestamp from Git config because its annoying to store it there.
Fixes #131.

coverage: 80.461% (-0.004%) from 80.465%
when pulling 8fe52ccb2b814c10c89c6342837793752ff32016 on feature/remove-timestamp-from-config
into 13cca729d5bc4c9b2b3b8bc3a13550ff7e84b660 on main.


Fixed out of order packets sent on Linux

A pop() command was causing messages to be sent out of order. This needed to be a shift(), taking the first element of the array rather than the last.

@BBarash thanks for this!


The link to Japanese word2vec embeddings links to Javanese

The files in the link were named jv instead of ja, and contained embeddings for Javanese sounding words.

Oh, right. Sorry. Their links should be swapped.


Automatic PR from sql033

Codecov Report

Merging #1032 into master will decrease coverage by 0.04%.
The diff coverage is 42.59%.

@@            Coverage Diff             @@
##           master    #1032      +/-   ##
==========================================
- Coverage   57.71%   57.66%   -0.05%
==========================================
  Files        1940     1945       +5
  Lines       53689    53851     +162
==========================================
+ Hits        30984    31053      +69
- Misses      22705    22798      +93

Impacted Files
Coverage Δ

...ure/mgmt/sql/models/sql_management_client_enums.py
100% <100%> (ø)
:white_check_mark:

...ure-mgmt-sql/azure/mgmt/sql/operations/init.py
100% <100%> (ø)
:white_check_mark:

...e-mgmt-sql/azure/mgmt/sql/sql_management_client.py
74.19% <100%> (+1.77%)
:white_check_mark:

azure-mgmt-sql/azure/mgmt/sql/models/init.py
100% <100%> (ø)
:white_check_mark:

...ions/database_blob_auditing_policies_operations.py
26% <26%> (ø)

...s/database_threat_detection_policies_operations.py
26% <26%> (ø)

.../mgmt/sql/models/database_security_alert_policy.py
35.71% <35.71%> (ø)

...e/mgmt/sql/models/database_blob_auditing_policy.py
38.46% <38.46%> (ø)

...ql/azure/mgmt/sql/models/sql_typed_sub_resource.py
71.42% <71.42%> (ø)

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf3e564...27f0db2. Read the comment docs.


[ISSUE] Checkbox no longer have drawn borders

Hey, I've  just compiled the last version from  Hotfix 1.6.2 and now the behaviour is not the expected.
	checkbox RememberCredentials{ LoginGroupBox, "Remember user" };
	RememberCredentials.fgcolor(color(255, 255, 255));

Expected (older version worked alright):

Now what I got:

I suspect with something from this commit, but cant check out in the moment
https://github.com/cnjinhao/nana/commit/6cbf721f9da4a217eaecdcb84a43faace0b3820c#diff-c81ca3806d9e1126e7a2e14a81507127
Thanks, @cnjinhao

Didnt notice the scheme change inside checkbox.
	RememberCredentials.scheme().square_border_color = color(255, 255, 255);
This fixes the problem in question.
Sorry for the issue.


shell integration does not work when rc define aliases for certain things

Breaks when user rc files define aliases for things like history or global aliases for things like -n.
Originally posted by @romkatv in https://github.com/microsoft/vscode/issues/142004#issuecomment-1073263418

This doesn't seem fixed for me.

Use zshell with shell integration turned on
Add the aliases from https://github.com/microsoft/vscode/issues/145580#issuecomment-1074182188 to the end of my .zshrc
Create a terminal. Notice an error gets printed and there's no decorations

@connor4312 that also happens with that example in ITerm. Try with just the first alias IE alias history=for. It will work


Sweetpad issue: No schemes

Please describe your issue here.
Last logs:
{
  "message": "Failed to get schemes",
  "type": "error",
  "time": "2024-04-10T18:50:25.612Z",
  "error": {
    "context": {
      "errorMessage": "Command failed with exit code 1: xcodebuild -list -json",
      "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
      "command": "xcodebuild",
      "args": [
        "-list",
        "-json"
      ],
      "cwd": "/Users/------------/Developer/Game Lounge"
    }
  }
}

Hello! Seems like you need to install Xcode build tools. Could you try solution from this issue ?
https://github.com/sweetpad-dev/sweetpad/issues/3#issuecomment-2017742269

That fixed it. Thanks!


RangeError: Maximum call stack size exceeded.

I get RangeError: Maximum call stack size exceeded. when I upload game and try to type anything into DOS shell in Safari on iPad (iOS 18.1).
Same for Google Chrome. I am able to put there like 2 chars in Chrome and then same error appears above DOS window.

.

can you try using the ISO instead of a ZIP file? with a zip file it tries copying all the content to the C drive but ISO is more efficient because it streams the data.

Sure! I did it right now and it imgmount .iso then imgmake .img and shows me Drive C is mounted as dune2.img.
So far so good.
Unfortunately, as soon as I hit the keyboard I get this error in browser even when using ISO :(

On the first page, can you go to settings, clear the hard drive, and try lowering the Initial HD to 50mb, then try it again and see if that makes a difference?

I tried it and it was slightly better. I can write to DOS window more chars like maybe 25 for test? But then I wrote dir and as soon as I hit Enter key it showed same error again.
I tried it again (deleted browser site data and kill / reopen browser) and it definitely allows me to write between 20-30 chars but then same error appears again and I can not do anything with MS-DOS window.

It has nothing to do with keyboard. It’s probably browser thing. Now I got this error after unpack game and then just twice click on Zoom In without touching keyboard.

What platform are you on? Windows, Mac, Linux, or Chromebook ?

It's specified in my first post. Safari on iPad (iOS 18.1)

Ok thank you - yes there is currently an issue with IOS devices which I have been aware of.

Ok thank you - yes there is currently an issue with IOS devices which I have been aware of.

I was just about to post this same issue. Do you know when this issue, if at all, will be fixed?
From my own research, it appears related to a recursive function; source:
https://stackoverflow.com/questions/6095530/maximum-call-stack-size-exceeded-error
I hope this helps. I tried looking at the code myself but I am not seeing which function is the issue :-/

@technofox01 I think it has something to do with how i'm compiling the webassembly. I'm using the -ASYNCIFY because the way the code is structured there is no top level game loop. Normally with a loop you can just use emscripten_set_main_loop which in my experience has always worked very stable on iOS. However with Asyncify I need to use emscripten_sleep() to yield to the DOM which doesn't seem to work as well on iOS. Long story short I don't have any good solution yet.


Dual pane context menu

Description
When you open a second set of files in the dual pane mode and right click over the primary primary pain folder the context menu   flashes rapidly making it unusable
Steps To Reproduce
Open a secondary pane
Right click  over folder in primary pane
Context menu flashes and flashes
Steps to fix
Make contex menu not flash
Files Version
2.3.12
Windows Version
Win 11 22h2
Relevant Assets/Logs
None

Thank you for your feedback, can you share a screen recording?


fix: price list overrides does not fire request

What

price list overrides modal did not fire a request when the "save and close" button is clicked

How

add mutation from medusa-react
fixed behavior of checkboxes when selecting variants

@zakariaelas Is this ready to be merged? 💯

@olivermrbl would like to push one extra commit for filtering the prices in the modal (will add some more context later ✌ )


apps won't open when released to "All-users-of-xxxx" group

What App Center service does this affect?
Problem with distributing IOS apps.
Describe the bug
I am trying to release an app to the 'All-users-of-xxxx' distribution group.  Everything works except when installing the app, the app is left grayed out and won't run.  The exact same app on same device works if I release an app to the 'Collaborators' distribution group.  What is different?
To Reproduce
Distribute an app to 'Collaborators' group.
Install on device.
Works correctly
Update version number.
Distribute an app to the 'All-users-of-xxxx' group.
Install on device.
App is greyed out and won't run.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
NA
Desktop (please complete the following information):
MacOS 10.14.6
Smartphone (please complete the following information):

Device: iPhone SE
OS: 12.4

Additional context
NA

@markghayden please reach out to us in support so we can better investigate the problem.

Note: Probably related to https://github.com/microsoft/appcenter/issues/866 even though the issue description is wrong. The ultimate problem is that users can't download the releases.
@markghayden have you reached out to us in support already and if yes, can you please mention the url of this ticket?

Please reach out in support when the issue still occurs.


Fix qpy for MCXGrayCode gate

Summary
This PR fixes #9390.
Details and comments
I still need to figure out how to add a relevant unit test.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.03%) to 84.926%

Files with Coverage Reduction
New Missed Lines
%

qiskit/circuit/tools/pi_check.py
1
91.23%

qiskit/extensions/quantum_initializer/squ.py
2
80.0%

src/sabre_swap/layer.rs
2
98.95%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
66541

Relevant Lines:
78352

💛  - Coveralls

Thanks @jakelishman!! That sounds good.

Oh, I was 2min too slow on my comments just ignore those suggestions, decreasing the control qubit counts on the gates works just as well


List sequences in info schema table

Add sequences to this table: https://www.cockroachlabs.com/docs/v2.0/information-schema.html

From @BramGruneir:

I think it’s important to add to that page that specifying the db_name in the select is only needed if you’re looking to get some other db’s info.

select * from information_schema.sequences; will get the info for the current db.
select * from other_db.information_schema.sequences; will get the info for other_db.
select * from "".information_schema.sequences; will get the info for all dbs.
and table_catalog in the result list will always show which db it’s from.

huh I was only commenting on the last form using "". The other forms are OK to document.
However I do recall I wrote documentation about them in the page on "name resolution". Can you check? Perhaps that is sufficient.

Ahh! My misunderstanding. Seems like linking to your Name Resolution doc is sufficient. Will make that update when I come back to this issue.


Remove legend

Hi Typpo, thx for the excellent lib,
I used it to generate charts, but it still generates a legend, even when I set it to false in the config.
So when I generated an image on the client everything was ok, but using this lib it still displays the legend
Here are my line chart options:
const options = {
	elements: {
		point: { radius: 0 }
	},
	responsive: true,
	plugins: {
		legend: {
			display: false
		}
	}
}

Make sure you set your Chart.js version to v3+:
chart.setChartJsVersion("3.9.1")

(if you do not have setChartJsVersion, upgrade to version 1.1.0 of this library)

Thanks typpo, I was using the latest 1.1.0, but missing chart.setChartJsVersion("3.9.1") part.
Once added it, charts genereated as expected.


Add low-opacity to files that are not used, but are expanded in the workflow

Hello! Would it be possible to gray-out all the files that are in my currently expanded folder, but I'm not using them in the editor? I attach a screenshot - I'm editing only Term/Class.hs file and all the other files should be grayed-out.

wdanilo,
I appreciate your feedback. The intent was always for only the files in use to be full opacity. This first attempt was meant to be purely CSS. However, there doesn't seem to be an obvious way to target those files. This is a feature that I want, though. So I'll be working on this one. Might have to utilize some javascript.
I'll keep this ticket open and inform you when this sort of feature is added.
Thank you!

Great to hear that. This is the only theme that I found really nice working with. I've modified some colors, but the feature of fading the non-used files to dark is just awesome and should be default for every theme. Maybe you should do a plugin to atom instead?

@jmcalaway Reduce the opacity of anything that doesn't have the "selected" class (shown in the following screenshot) instead of your hacky multi-conditional CSS code shown in same said screenshot.
https://www.dropbox.com/s/fi14mf6obn79iub/github-aretkabg46t.PNG?dl=0

Any updates on this one?


Fix voice overlap

When someone's talking in-game, their name will overlap the icons if it's too long.

Fixed by removing the icons altogether ¯_(ツ)_/¯
As far as I know, the "wide" value for the voice UI can't be scaled down at all, unfortunately.


Toggle for required tags from enforcement to auditing.

Is your feature request related to a problem? Please describe.
We are unable to deploy resources from the portal due to the required tags having to exist for resources to be deployed, it also makes it difficult to follow some guides for deploying things like Sentinel Connectors.
Describe the solution you'd like
A variable that allows us to switch enforcement from deny deployments to audits. This way we can still require tags but don't have to block deployments through the portal. I like to manually configure some resources then sync them with Terraform after the fact since I'm not as comfortable with Azure as I am with other CSP's at the moment.
Describe alternatives you've considered
I can remove the required tags but it's still nice to be able some enforcement in pace

This is a good feedback.  We will look at providing audit & deny as options that you can configure for tags.

I copied changes from the PR into my repo and it worked like a treat!


russian version

hello can u help me with russian version, i have a dictionary ,but i idk what i need to do

Here's a gist demonstrating how you'd do this without making code changes, just using the existing extensibility points. You can put that method in SolutionTests.cs and experiment a bit.
I don't know anything about Russian Wordament or the Russian language though. It could be the case that your Wordament has different tile types, or that your language differentiates between upper and lower case letters in some significant way, or that Russian Wordament has different rules for calculating tile points of special tile types, or different special tile types altogether.
If you're going to make your fork Russian-centric, you'd want to replace Dictionary.txt with a Russian dictionary, and replace Board's BasicTileValues with whatever the Russian basic tile values are. Then check out the current tile types and see if they're covering everything that Russian Wordament uses, and if the GuessPoints methods seem reasonable.
And one thing to note, you need to be really careful to use the correct letters across your Dictionary, your BasicTileValues, and the boards that you submit to the solver. 'A' and 'А' look the same on my screen but are different (try googling them).
Good luck!

thank you very much


Add syntax highlight support

Add syntax highlight in this commit!
https://github.com/iizukak/mdsite/commit/cd4b50fc09d37638d5a5d259656c43ec7f557872


Add Margin property to ConvexHullCollider

Is your feature request related to a problem? Please describe.
Bullet allows specifying a margin for colliders which can be especially useful in case of ConvexHull. Reported as missing by @mathmb1986 in #1574
Suggested code changes in the thread mentioned above:
https://github.com/stride3d/stride/blob/master/sources/engine/Stride.Assets/Physics/ColliderShapeAssetCompiler.cs
L135
                    ConvexHullColliderShapeDesc convexHullDescClone = new ConvexHullColliderShapeDesc
                    {
                        Scaling = convexHullDesc.Scaling,
+                       Margin = convexHullDesc.Margin,
                        LocalOffset = convexHullDesc.LocalOffset,
                        LocalRotation = convexHullDesc.LocalRotation,
                        Decomposition = convexHullDesc.Decomposition,
                    };

https://github.com/stride3d/stride/blob/master/sources/engine/Stride.Physics/Shapes/ConvexHullColliderShape.cs
L40
+        public float Margin
+        {
+            get { return InternalShape.Margin; }
+            set { InternalShape.Margin = value; }
+        }
+

https://github.com/stride3d/stride/blob/master/sources/engine/Stride.Physics/Data/ConvexHullColliderShapeDesc.cs
L51
+        /// <userdoc>
+        /// The Margin of the generated convex hull.
+        /// </userdoc>
+        [DataMember(48)]
+        public float Margin { get; set; }
+

L84
                    shape = new ConvexHullColliderShape(ConvexHulls[0][0], ConvexHullsIndices[0][0], Scaling)
                    {
                        NeedsCustomCollisionCallback = true,
+                       Margin = Margin,
                    };

L109
                    var subHull = new ConvexHullColliderShape(verts, indices, Scaling);
+                   subHull.Margin = Margin;

L136
                    var subHull = new ConvexHullColliderShape(verts[0], indices[0], Scaling);
+                   subHull.Margin = Margin;

L151
                        var subHull = new ConvexHullColliderShape(subVerts, subIndex, Scaling);
+                       subHull.Margin = Margin;

A closer look should be placed on application of margin to all subHull components to see if this makes sense. Also, maybe it would make more sense to add Margin property on the base class ColliderShape - which is where Margin is defined in Bullet - this way all collider shapes could benefit.

Hi, as a newcomer to the engine I was wondering if this issue is being worked on by anyone. If not, I would like to try this issue to get more familiar with the code base.
Thanks!

I'd say go for it if you want to learn the engine it will be very usefull info. AFAIK no one is working on new features for Bullet specifically right now, @Eideren, @Nicogo1705 and I are doing some unrelated work with Bepu in this PR since the future goal is to move on to Bepu but there is still a lot of work to do before that happens.


Does WScaleLayer in layer.py change learnable weights or just output tensor?

Hi Jeromerony, thanks so much for this great project, it works really well.
I have a question about your WScaleLayer class in layer.py. Is this class used to normalize the input tensor? However, both the original paper and the name seem to change the learnable weights directly (if I understand it correctly)?
Thanks in advance.

Hi, thanks!
So it is named WScale because of the original name in the tensorflow repo.
This class normalizes the input tensor instead of the weights since it is more convenient in PyTorch. Mathematically, it is exactly the same.

Oh, I get it. Thank you!

looks like it's not trainable, so it has no effect


Upgrade Spezi to 0.8.0

Upgrade Spezi to 0.8.0
:recycle: Current situation & Problem
Upgrades Spezi to 0.8.0
:gear: Release Notes

Upgrades Spezi to 0.8.0

:books: Documentation
--
:white_check_mark: Testing
--
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Not sure why, but this PR doesn't upload to codecov? Checked the project configuration and couldn't find any issues? If you have time next week, would be nice if you could have a look at it 🚀