Please help me with OSError: libcusparse.so.10: cannot open shared object file: No such file or directory

❓ Questions & Help

this is the traceback
`Traceback (most recent call last):
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_sparse/init.py", line 15, in
library, [osp.dirname(file)]).origin)
File "/home/yrwang/.local/lib/python3.6/site-packages/torch/_ops.py", line 106, in load_library
ctypes.CDLL(path)
File "/usr/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.10: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_geometric/init.py", line 2, in
import torch_geometric.nn
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_geometric/nn/init.py", line 2, in
from .data_parallel import DataParallel
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_geometric/nn/data_parallel.py", line 5, in
from torch_geometric.data import Batch
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_geometric/data/init.py", line 1, in
from .data import Data
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_geometric/data/data.py", line 7, in
from torch_sparse import coalesce
File "/home/yrwang/.local/lib/python3.6/site-packages/torch_sparse/init.py", line 23, in
raise OSError(e)
OSError: libcusparse.so.10: cannot open shared object file: No such file or directory
`
my cuda,cudnn is well installed :
nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Sun_Jul_28_19:07:16_PDT_2019 Cuda compilation tools, release 10.1, V10.1.243
my torch version:
>>> print(torch.__version__) 1.4.0
I use
`pip3 install torch-scatter==2.0.4+cu101 -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip3 install torch-sparse==0.6.1+cu101 -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip3 install torch-cluster==1.5.4+cu101 -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip3 install torch-spline-conv==1.2.0+cu101 -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip3 install torch-geometric`
to install torch-geometric, but the problem occur, thanks for helping me

libcusparse.so and libcusparse.so.10 is already  included in usr/local/cuda/lib64

Is this path added to LD_LIBRARY_PATH?

thank you ,yes ,I  check it,this is the result:
echo $LD_LIBRARY_PATH /usr/lcoal/cuda-10.1/lib64:

And what does torch.cuda.version say?

Do you mean torch.version.cuda?
the result of ' torch.version.cuda' is :
>>> print(torch.version.cuda) 10.1
the result of  'torch.cuda.version' is
>>> torch.cuda.version Traceback (most recent call last):   File "<stdin>", line 1, in <module> AttributeError: module 'torch.cuda' has no attribute 'version'

Can you do me a favor and see if you can install from torch-scatter from source?

Yes, I am glad to do it. what should I do?And how can I install from torch-scatter from source?

where can I find the way to install torch-scatter from source codes?

See here.

I follow your instruction to install torch-scatter from source,.the process and result is as following, but it still has the problem mentioned above.What should I do? Your PyG is really important for me,thank you very much.
yrwang@yrwang-GP72VR-6RF:~$ python3 -c "import torch; print(torch.version)"
1.4.0
yrwang@yrwang-GP72VR-6RF:~$  echo $PATH
/usr/local/cuda-10.1/bin:/home/yrwang/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
yrwang@yrwang-GP72VR-6RF:~$ echo $CPATH
/usr/local/cuda/include:
yrwang@yrwang-GP72VR-6RF:~$ pip3 install torch-scatter
Collecting torch-scatter
Installing collected packages: torch-scatter
Successfully installed torch-scatter-2.0.4

Mh, this is super weird :( Do you have multiple CUDA versions installed on your system? There must be a reason why it tries to look in the wrong folder.

no,I only have one CUDA version installed on my system.

Dear author, I made it. Thank you for your help.  I downgrade CUDA to version 10.0, pytorch to version 1.4.0+cu100, torchvision to 0.5.0+cu100, and install torch-scatter torch-sparse torch-cluster torch-spline-conv from source. I tried to use version cu100 .whl to install them, but it doesn't work. The commands I used are as follows:
pip3 install torch-scatter
pip3 install torch-sparse
pip3 install torch-cluster
pip3 install torch-spline-conv
pip3 install torch-geometric torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
If someone need help, please contact me.

Glad that you made it, but why did downgrading help?

Mh, this is super weird :( Do you have multiple CUDA versions installed on your system? There must be a reason why it tries to look in the wrong folder.

I want to ask  the problem. In the usr/local have the CUDE and CUDE-10.0. Does the meaning  represent  the one code or multiply CUDE

I follow your instruction to install torch-scatter from source,.the process and result is as following, but it still has the problem mentioned above.What should I do? Your PyG is really important for me,thank you very much.
~$ python3 -c "import torch; print(torch.version)"
1.4.0
~$ echo $PATH
/usr/local/cuda-10.1/bin:/home/yrwang/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
~$ echo $CPATH
/usr/local/cuda/include:
~$ pip3 install torch-scatter
Collecting torch-scatter
Installing collected packages: torch-scatter
Successfully installed torch-scatter-2.0.4
thank you very much. And I use your first orders, then I complete the setup so amazing. And I don't why.
And my environment is Conda env，ubuntu，NVIDIA-SMI 418.67  Driver Version: 418.67，default CUDA and CUDA-10.0, Pytorch1.4 ,cudnn7.6.5.
Then I try to install the torch_geometric. I achieve the work with your orders.

Dear author, I made it. Thank you for your help. I downgrade CUDA to version 10.0, pytorch to version 1.4.0+cu100, torchvision to 0.5.0+cu100, and install torch-scatter torch-sparse torch-cluster torch-spline-conv from source. I tried to use version cu100 .whl to install them, but it doesn't work. The commands I used are as follows:
pip3 install torch-scatter
pip3 install torch-sparse
pip3 install torch-cluster
pip3 install torch-spline-conv
pip3 install torch-geometric torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
If someone need help, please contact me.

Could you please show your versions of torch-scatter, torch-sparse, torch-cluster, and torch-split-conv respectively?

CUDA 10.0
torch                 1.4.0+cu100
torch-cluster         1.5.4
torch-geometric       1.4.3
torch-scatter         2.0.4
torch-sparse          0.6.4
torch-spline-conv     1.2.0
torchvision           0.5.0+cu100
When I import torch_geometric, I meet this error:
Traceback (most recent call last):
File "gcn.py", line 6, in
from torch_geometric.datasets import Planetoid
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_geometric/init.py", line 2, in
import torch_geometric.nn
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_geometric/nn/init.py", line 2, in
from .data_parallel import DataParallel
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_geometric/nn/data_parallel.py", line 5, in
from torch_geometric.data import Batch
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_geometric/data/init.py", line 1, in
from .data import Data
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_geometric/data/data.py", line 7, in
from torch_sparse import coalesce
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_sparse/init.py", line 34, in
from .storage import SparseStorage  # noqa
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_sparse/storage.py", line 21, in
class SparseStorage(object):
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch/jit/init.py", line 1274, in script
_compile_and_register_class(obj, _rcb, qualified_name)
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch/jit/init.py", line 1115, in _compile_and_register_class
_jit_script_class_compile(qualified_name, ast, rcb)
RuntimeError:
init(torch.torch_sparse.storage.SparseStorage self, Tensor? row, Tensor? rowptr, Tensor? col, Tensor? value, (int, int)? sparse_sizes, Tensor? rowcount, Tensor? colptr, Tensor? colcount, Tensor? csr2csc, Tensor? csc2csr, bool is_sorted) -> (None):
Expected a value of type 'Optional[Tensor]' for argument 'row' but instead found type 'int'.
:
File "/home/wanghui/anaconda3/envs/gnn/lib/python3.7/site-packages/torch_sparse/storage.py", line 283
col = idx % num_cols
    return SparseStorage(row=row, rowptr=None, col=col, value=self._value,
           ~~~~~~~~~~~~~ <--- HERE
                         sparse_sizes=(num_rows, num_cols), rowcount=None,
                         colptr=None, colcount=None, csr2csc=None,

Can you hack torch_sparse.storage.py replacing this line with:
row = idx / num_cols

OK! It works! Thank you!

I've encountered a similar problem (OSError: libcusparse.so.10.0: cannot open shared object file: No such file or directory), and I think torch-sparse might be looking in a wrong place for the library: I have CUDA 10.2, but I'm using an older version of torch: torch==1.4.0+cu100 and somehow installation of dependencies with cu100 made it problematic. Updating torch to 1.4.0+cu101 and installing the dependencies as in README with cu101 made the issue disappear.

I'm having a similar but slightly different issue:
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch_geometric/init.py", line 2, in
import torch_geometric.nn
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch_geometric/nn/init.py", line 2, in
from .data_parallel import DataParallel
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch_geometric/nn/data_parallel.py", line 5, in
from torch_geometric.data import Batch
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch_geometric/data/init.py", line 1, in
from .data import Data
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch_geometric/data/data.py", line 7, in
from torch_sparse import coalesce
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch_sparse/init.py", line 13, in
library, [osp.dirname(file)]).origin)
File "/home/aqd215/pyenv/py3.7/lib/python3.7/site-packages/torch/_ops.py", line 105, in load_library
ctypes.CDLL(path)
File "/share/apps/anaconda3/5.3.1/lib/python3.7/ctypes/init.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.10: cannot open shared object file: No such file or directory

Dear author, I made it. Thank you for your help. I downgrade CUDA to version 10.0, pytorch to version 1.4.0+cu100, torchvision to 0.5.0+cu100, and install torch-scatter torch-sparse torch-cluster torch-spline-conv from source. I tried to use version cu100 .whl to install them, but it doesn't work. The commands I used are as follows:
pip3 install torch-scatter
pip3 install torch-sparse
pip3 install torch-cluster
pip3 install torch-spline-conv
pip3 install torch-geometric torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
If someone need help, please contact me.

Hey, I followed your installation, but the problem is still here.
torch 1.4.0+cu100
torch-cluster 1.5.4
torch-scatter 2.0.4
torch-sparse 0.6.1
torch-spline-conv 1.2.0
torchvision-0.5.0+cu100

Ubuntu 18.04
This is my procedure to fix this bug.

cd to /usr/local/cuda
run "find -name libcus*"

if you see "libcusparse.so.11", continue following steps:
remove current cuda
3. sudo apt-get --purge remove "cublas" "cuda*" "nsight*"
4. sudo apt-get --purge remove "nvidia"
install new cuda-10-2
5. wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
6. sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
7. wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
8. sudo dpkg -i cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
9. sudo apt-key add /var/cuda-repo-10-2-local-10.2.89-440.33.01/7fa2af80.pub
10. sudo apt-get update
11. sudo apt-get -y install cuda-10-2

add CUDA to PATH
$ export PATH=/usr/local/cuda/bin:$PATH
$ echo $PATH

/usr/local/cuda/bin:...

$ export CPATH=/usr/local/cuda/include:$CPATH
$ echo $CPATH

/usr/local/cuda/include:...

$ export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
$ echo $LD_LIBRARY_PATH

/usr/local/cuda/lib64:...

$ export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
$ echo $DYLD_LIBRARY_PATH

/usr/local/cuda/lib:...

First check this

cd to /usr/local/cuda
find -name libcus*
if  don't have libcusparse.so.10(maybe u find libcusparse.so.10.0 or libcusparse.so.11 etc.)
try install corresponding CUDA Toolkit from nvidia org.

I install CUDA Toolkit 10.1 and change environment variables. It's works.

This saved me: https://medium.com/@exesse/cuda-10-1-installation-on-ubuntu-18-04-lts-d04f89287130

se
pip3 install torch-cluster
pip3 install torch-spline-conv
pip3 install torch-geometric torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html

I followed your step now I am getting this error:
OSError: libtorch_cpu.so: cannot open shared object file: No such file or directory
Can you help me to fix it?

Using PyTorch 1.4.0 is no longer supported and it is recommended to update your PyTorch version. I suggest to use PyTorch 1.6.0 (since wheels are not yet ready for PyTorch 1.7.0).
You can then install PyG as described here:
https://github.com/rusty1s/pytorch_geometric#pytorch-160

I followed your steps as describe in: https://github.com/rusty1s/pytorch_geometric#pytorch-160
My setting is as follows:
torch 1.6.0+cu102
torch-cluster 1.5.8
torch-scatter 2.0.5
torch-sparse 0.6.8
torch-spline-conv 1.2.0
torchvision-0.7.0+cu102
Error: OSError: libcusparse.so.10: cannot open shared object file: No such file or directory
Trace:
Traceback (most recent call last):File "/home/vivek/Documents/PhDResearch/NVS2Graph-master/code/Test.py", line 15, in from inputsdata import MyOwnDatasetFile "/home/vivek/Documents/PhDResearch/NVS2Graph-master/code/inputsdata.py", line 11, in from torch_geometric.data import Data, DataLoader, DatasetFile "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch_geometric/init.py", line 2, in import torch_geometric.nnFile "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch_geometric/nn/init.py", line 2, in from .data_parallel import DataParallelFile "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch_geometric/nn/data_parallel.py", line 5, in from torch_geometric.data import BatchFile "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch_geometric/data/init.py", line 1, in from .data import DataFile "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch_geometric/data/data.py", line 7, in from torch_sparse import coalesce, SparseTensorFile "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch_sparse/init.py", line 12, in torch.ops.load_library(importlib.machinery.PathFinder().find_spec(File "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/site-packages/torch/_ops.py", line 105, in load_libraryctypes.CDLL(path)File "/home/deepak/anaconda2/envs/torch_viv_letItWork/lib/python3.8/ctypes/init.py", line 381, in __init__self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.10: cannot open shared object file: No such file or directory
I tried every other method that worked for others listed in this thread but still this issue persists for me. Could you please help me resolve this? This is key to proceed with my work.
Thanks in advance!

libcusparse.so.xxx should be either contained in $CUDA_HOME/lib or in .../miniconda3/lib. In case it is only included in the latter, please add that path to LD_LIBRARY_PATH.

libcusparse.so.xxx should be either contained in $CUDA_HOME/lib or in .../miniconda3/lib. In case it is only included in the latter, please add that path to LD_LIBRARY_PATH.

I wasn't able to figure that out but I managed to get it running with the +cpu version instead.
Thanks for the response and this library!

libcusparse.so.xxx should be either contained in $CUDA_HOME/lib or in .../miniconda3/lib. In case it is only included in the latter, please add that path to LD_LIBRARY_PATH.

I wasn't able to figure that out but I managed to get it running with the +cpu version instead.
Thanks for the response and this library!

Just an update:
The CUDA on my system got accidentally deleted and therefore the error. I reinstalled CUDA 11 and then installed the corresponding pytorch 1.7.0 just the way it's mentioned in step 3 of installation via binaries here: https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html
I no longer have this issue.
Thanks again!

I had this problem when using conda. I had installed pytorch and torchvision with pip, but pip uninstall pytorch and torchvision and then install them through conda instead solved the issue

Had this problem on a cluster (cuda11, pytorch1.7). export LD_LIBRARY_PATH=somewhere/cudacore/11.0.2/lib64  solved the problem.

I am having a similar issue. My system has CUDA 11.2 installed:
/usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_14_21:12:58_PST_2021
Cuda compilation tools, release 11.2, V11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0

But Torch uses 10.2:
>>> import torch
>>> torch.__version__
'1.8.0'
>>> torch.cuda.is_available()
True
>>> torch.version.cuda
'10.2'

I learned that torch only works with CUDA 10.2 and is installed with its own CUDA, so that makes sense. I install everything in a virtualenv. If I install torch geometric like this:
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install torch_geometric

I get the error
OSError: libcusparse.so.10: cannot open shared object file: No such file or directory

So it appears like torch geometric is searching for the library in the system's cuda installation and not in the cuda installation that is delivered with pytorch. I can't find the library in the virtualenv folder though and I do not want to downgrade the CUDA on my system... Is there a way to point torch geometric to the cuda supplied with torch installed in a virtualenv?

This should be possible by setting $LD_LIBRARY_PATH to the CUDA provided by PyTorch. You can search for this folder by directly searching for libcusparse.so.10 globally on your machine.

@rusty1s  Tried to go through the answers, but couldn't find any that answer my question, so I would like to ask you here:
Is it not possible to install pytorch-geometric without a system-wide install of cuda-toolkit (nvcc)? I tried to avoid installing cuda systemwide and use cuda-toolkit in conda environment only, but from the installation guide it seems a path to /usr/local/cuda is needed.
I'd like to be able to install torch wheel built on specific cuda and do the same for pytorch-geometric. Is that possible?

You can either use a system-wide CUDA installation or via cuda-toolkit from conda. Which path is picked up by PyTorch depends on your system configuration, i.e. environment variables LD_LIBRARY_PATH and CUDA_HOME.
If you want to build PyTorch from source using a specific CUDA installation, you can also do that for our extension packages (e.g., by cloning and running python setup.py install).

I think i found the answer.. the reason is
when you are inside the virtual environment,
you can not open shared directory of cudatoolkit
which is standing outside the virtual environment.
you can use sudo like
--> sudo python main.py
or just install cudatoolkit inside the virtual environment like
--> conda activate [your env]
--> conda install -c anaconda cudatoolkit=10.1
--> python main.py
I used second way (installing cudatoolkit inside the environment)
because "sudo python" uses "python" outside the virtual environment.
So it's not using the right version I want to use inside the virtual environment.


fix(build): Rebuilding library

:tada: This PR is included in version 3.3.3 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


UTable Expandable questions?

Description
Hi, using the UTable with Expanded feature is it possible to apply a style to the Expand column ??? I can see how to do this for columns I add but not the expanded column.
Also is it possible to change the default so the expanded is open by default? Or to change this in the script section?
Thanks I was unable to find answers in the docs.

I have a related ask - is it possible to have only certain rows be expandable? Being able to style (and hide) the expand icon conditional on the row as @Piggzy76 suggested would be a fine solution in the meantime.

I have a related ask - is it possible to have only certain rows be expandable? Being able to style (and hide) the expand icon conditional on the row as @Piggzy76 suggested would be a fine solution in the meantime.

+1 on this one, really needed, total P0

@benjamincanac I don't mean to bother, but I will assume this functionality (expand slots on a per-row basis) will be available in v3?

@spencerjsmall On top of all the features provided by the Table component, there are 37 more issues open. In all honesty, I'll do my best to make a good component but it will not be possible to please everyone.


collect scanner's status when es_http_scan_node close

add collect_scanners_status function ,which need to call after start_scanners to check status

fix #1859  only collect all scanners status when es_http_scan_node
make collect_scanners_status from public to private
change ut for es_http_scan_node and run ok


Unable to deploy ASP.NET Core 1.0 app to Azure when it references a .NET Core class library

Problem: I'm unable to deploy an ASP.NET Core 1.0 app to Azure App Service when there are referenced .NET Core 1.0 class libraries.
Repro steps:

Create a ASP.NET Core 1.0 Web App in Visual Studio 2015 w/ Update 3 and RTM tooling.

Commit to git (see commit 7b187403) and push to GitHub.

Set up a new Azure App Service for the web app (http://aspnetcoreazuretest.azurewebsites.net)

Set the Deployment Source as git

Monitor the deployment, and see that it eventually succeeds.

Visit the website and see the default ASP.NET Core 1.0 website as generated by Visual Studio. Success!
(But this is where it fails)

In Visual Studio, right-click on src, and add a new Class Libary (.NET Core) project.

In the original Web App project, right-click on References and add a project reference to the class library added in Step 7.

Commit changes to git, and then push to GitHub.

Get the following error when Azure tries to deploy the latest changes:
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment with MSBuild.
MSBuild auto-detection: using msbuild version '14.0' from 'D:\Program Files (x86)\MSBuild\14.0\bin'.
Restoring packages for D:\home\site\repository\src\AspNetCoreAzureTest.Common\project.json...
Restoring packages for D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Committing restore...
Lock file has not changed. Skipping lock file write. Path: D:\home\site\repository\src\AspNetCoreAzureTest.Common\project.lock.json
D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj
Restore completed in 2068ms.
Restoring packages for tool 'BundlerMinifier.Core' in D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Committing restore...
Lock file has not changed. Skipping lock file write. Path: D:\home\site\repository\src\AspNetCoreAzureTest\project.lock.json
D:\home\site\repository\src\AspNetCoreAzureTest\AspNetCoreAzureTest.xproj
Restore completed in 16329ms.

NuGet Config files used:
    C:\DWASFiles\Sites\#1AspNetCoreAzureTest\AppData\NuGet\NuGet.Config

Feeds used:
    https://api.nuget.org/v3/index.json
  D:\Program Files (x86)\dotnet\dotnet.exe build "D:\home\site\repository\src\AspNetCoreAzureTest.Common" --configuration Release --no-dependencies
  Project AspNetCoreAzureTest.Common (.NETStandard,Version=v1.6) will be compiled because expected outputs are missing
  Compiling AspNetCoreAzureTest.Common for .NETStandard,Version=v1.6
  Compilation succeeded.
      0 Warning(s)
      0 Error(s)
  Time elapsed 00:00:02.7327835

  Environment variables:
  Path=C:\Program Files (x86)\SiteExtensions\Kudu\56.50630.2306\bin\NativeBinaries/x86;D:\home\site\deployments\tools;C:\Program Files (x86)\SiteExtensions\Kudu\56.50630.2306\bin\Scripts;D:\Program Files (x86)\MSBuild\14.0\Bin;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;D:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0;D:\Program Files (x86)\Git\bin;D:\Program Files (x86)\Git\usr\bin;D:\Program Files (x86)\npm\3.5.1;C:\DWASFiles\Sites\#1AspNetCoreAzureTest\AppData\npm;D:\Program Files (x86)\bower\1.3.12;D:\Program Files (x86)\grunt\0.1.13;D:\Program Files (x86)\gulp\<IP_ADDRESS>;D:\Program Files (x86)\nodejs\4.2.3;D:\Windows\system32;D:\Windows;D:\Windows\System32\Wbem;D:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program Files\Microsoft Network Monitor 3\;D:\Users\Administrator\AppData\Roaming\npm;D:\Program Files (x86)\nodejs\;d:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\Mercurial\;E:\base\x64;E:\base\x86;D:\Packages\GuestAgent\GuestAgent\LegacyRuntime\x64;D:\Packages\GuestAgent\GuestAgent\LegacyRuntime\x86;D:\Program Files (x86)\dotnet;D:\Python27;
  D:\Program Files (x86)\dotnet\dotnet.exe publish "D:\home\site\repository\src\AspNetCoreAzureTest.Common" --output "D:\local\Temp\PublishTemp\AspNetCoreAzureTest.Common87" --configuration Release --no-build
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : Can not find runtime target for framework '.NETStandard,Version=v1.6' compatible with one of the target runtimes: 'win8-x86, win7-x86'. Possible causes: [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : 1. The project has not been restored or restore failed - run `dotnet restore` [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : 2. The project does not list one of 'win8-x86, win7-x86' in the 'runtimes' section. [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : 3. You may be trying to publish a library, which is not supported. Use `dotnet pack` to distribute libraries. [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
Failed exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\AspNetCoreAzureTest.sln" /nologo /verbosity:m /p:deployOnBuild=True;AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false;publishUrl="D:\local\Temp\8d3a1f63be58337"
An error has occurred during web site deployment.
\r\nC:\Program Files (x86)\SiteExtensions\Kudu\56.50630.2306\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"

Any ideas?
I have a repo that demonstrates the failure:
https://github.com/jonsagara/AspNetCoreAzureTest

Fix is to add a "runtimes" section. See https://github.com/jonsagara/AspNetCoreAzureTest/pull/2. Looks like:
  "runtimes": {
    "win7-x86": {}
  },

In some earlier email, @vijayrkn wrote:

The default publish experience for a class library seems to be broken if a runtime is not specified.  (dotnet.exe publish on a class library created from template fails.)

Vijay can you confirm that this issue is tracked somewhere on your side? Thanks!

MSBuild auto-detection: using msbuild version '14.0' from 'D:\Program Files (x86)\MSBuild\14.0\bin'.
Restoring packages for D:\home\site\repository\src\AspNetCoreAzureTest.Common\project.json...
Restoring packages for D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Committing restore...
Lock file has not changed. Skipping lock file write. Path: D:\home\site\repository\src\AspNetCoreAzureTest.Common\project.lock.json
D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj
Restore completed in 2289ms.
Restoring packages for tool 'BundlerMinifier.Core' in D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in D:\home\site\repository\src\AspNetCoreAzureTest\project.json...
Committing restore...
Writing lock file to disk. Path: D:\home\site\repository\src\AspNetCoreAzureTest\project.lock.json
D:\home\site\repository\src\AspNetCoreAzureTest\AspNetCoreAzureTest.xproj
Restore completed in 20114ms.

NuGet Config files used:
    C:\DWASFiles\Sites\#1AspNetCoreAzureTest\AppData\NuGet\NuGet.Config

Feeds used:
    https://api.nuget.org/v3/index.json
  D:\Program Files (x86)\dotnet\dotnet.exe build "D:\home\site\repository\src\AspNetCoreAzureTest.Common" --configuration Release --no-dependencies
  Project AspNetCoreAzureTest.Common (.NETStandard,Version=v1.6) was previously compiled. Skipping compilation.
  Environment variables:
  Path=C:\Program Files (x86)\SiteExtensions\Kudu\56.50630.2306\bin\NativeBinaries/x86;D:\home\site\deployments\tools;C:\Program Files (x86)\SiteExtensions\Kudu\56.50630.2306\bin\Scripts;D:\Program Files (x86)\MSBuild\14.0\Bin;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;D:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0;D:\Program Files (x86)\Git\bin;D:\Program Files (x86)\Git\usr\bin;D:\Program Files (x86)\npm\3.5.1;C:\DWASFiles\Sites\#1AspNetCoreAzureTest\AppData\npm;D:\Program Files (x86)\bower\1.3.12;D:\Program Files (x86)\grunt\0.1.13;D:\Program Files (x86)\gulp\<IP_ADDRESS>;D:\Program Files (x86)\nodejs\4.2.3;D:\Windows\system32;D:\Windows;D:\Windows\System32\Wbem;D:\Windows\System32\WindowsPowerShell\v1.0\;D:\Program Files\Microsoft Network Monitor 3\;D:\Users\Administrator\AppData\Roaming\npm;D:\Program Files (x86)\nodejs\;d:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Git\cmd;D:\Program Files (x86)\Mercurial\;E:\base\x64;E:\base\x86;D:\Packages\GuestAgent\GuestAgent\LegacyRuntime\x64;D:\Packages\GuestAgent\GuestAgent\LegacyRuntime\x86;D:\Program Files (x86)\dotnet;D:\Python27;
  D:\Program Files (x86)\dotnet\dotnet.exe publish "D:\home\site\repository\src\AspNetCoreAzureTest.Common" --output "D:\local\Temp\PublishTemp\AspNetCoreAzureTest.Common87" --configuration Release --no-build
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : Can not find runtime target for framework '.NETStandard,Version=v1.6' compatible with one of the target runtimes: 'win8-x86, win7-x86'. Possible causes: [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : 1. The project has not been restored or restore failed - run `dotnet restore` [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : 2. The project does not list one of 'win8-x86, win7-x86' in the 'runtimes' section. [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(149,5): error : 3. You may be trying to publish a library, which is not supported. Use `dotnet pack` to distribute libraries. [D:\home\site\repository\src\AspNetCoreAzureTest.Common\AspNetCoreAzureTest.Common.xproj]
Failed exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\AspNetCoreAzureTest.sln" /nologo /verbosity:m /p:deployOnBuild=True;AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false;publishUrl="D:\local\Temp\8d3a1fa837d0932"
An error has occurred during web site deployment.
\r\nC:\Program Files (x86)\SiteExtensions\Kudu\56.50630.2306\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"

My bad, it needs to be added to the project.json of the library! I tested it and that works :)

@davidebbo  We have a tfs bug tracking the work required to

Publish only the web projects in the solution when deployOnBuild is set as true.
Add an option to pass the projects to deploy to solution build /p:deployProjects:Projecta;Projectb;

Awesome, thanks. Please let me and @ahmelsayed know when it's available.
Closing this one for now since @jonsagara is unblocked.

Will the fix involve not needing the runtimes section anymore?
I ask because if our class libraries are targeting .NET Standard, isn't that supposed to remove the need to have knowledge of specific framework instances (and by extension, runtimes)?

This was the original bug created for dotnet cli to fix the default publishing behavior for class lib but this was closed (by design) because class libraries are only supposed to be packed and not published - https://github.com/dotnet/cli/issues/3764#issuecomment-235807800
I have created a bug in the kudu repo to update the script so that while publishing the project in the solution, only the web project in the solution is published and the class lib/console apps in the solution is omitted.
https://github.com/projectkudu/kudu/issues/2111
(There was an earlier bug but it was created in the wrong repo.)


k8s-extension 1.3.8 no longer supports --configuration-protected-settings-file

Related command
az k8s-extension create
Extension name (the extension in question)
k8s-extension
Description of issue (in as much detail as possible)
It appears that a change was introduced in 1.3.8 of k8s-extension wherein "--configuration-protected-settings-file" is no longer supported for passing protected config via a file. Rather, only "--config-protected-file" and "--protected-settings-file" work now. I browsed for release notes but didn't see a mention of this. Was the change intentional?
Noticed that: "--configuration-settings-file" is in the same boat.

route to CXP team

We hit the same issue as well - this is the PR:
https://github.com/Azure/azure-cli-extensions/pull/5798/files

Adding Service team to look into this.
Adding @deeksha345 who had filed the above PR to confirm if this change was intentional ? or if we are running into some regression?

It appears --configuration-settings-file has been replaced with --config-settings-file.
Please do not just reverse this change as some people will have started using the new name.
You will have to support both versions going forward to fix this regression and avoid further regressions.

Hi all, Update on this:  We are working on a change to mark the unsupported options as "deprecated" in Azure CLI ( which will warn users that the option is deprecated and suggest the new option to use instead). Users will still be able to use the unsupported options in this version of CLI release. This change is pending review and merge. Will update this thread once the change is merged.

We have fixed this - essentially brought back the removed parameters and added message that they will be deprecated in the future.  This fix is in version 1.3.9.

@NarayanThiru  @ponatara Thanks for your quick assistance.
@darrendejaeger Could you please update your extension to 1.3.9 version by running the below command and then let us know if you face the same issue ? Awaiting your reply.

az extension update -n k8s-extension

@navba-MSFT: Confirmed working. Thank you ALL for the fast turnaround!


FragmentShader setImageSampler doesn't support FilterQuality

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Generate a ui.Image in code using Uint8List, ImageDescriptor.raw, codec, etc.
Create a FragmentShader that accepts a uniform sampler2D
Pass the image into the shader using setImageSampler
Render the shader, reading directly from the sampler

Expected results
I would expect to have a choice of FilterQuality for the texture, but I can't find any such interface. Scaled-up texture should have a smooth, interpolated appearance.
Actual results
Image is pixelated (nearest neighbor)
Code sample
Code sample
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';

void main() async {
  final program = await ui.FragmentProgram.fromAsset('assets/texture.frag');
  final image = await makeImage();
  runApp(MyApp(image, program));
}

class MyApp extends StatelessWidget {
  final ui.FragmentProgram program;
  final ui.Image image;
  const MyApp(this.image, this.program, {super.key});

  @override
  Widget build(BuildContext context) {
    const title = 'Texture Demo';
    return MaterialApp(
      title: title,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: const Text(title),
        ),
        body: CustomPaint(
          size: Size.infinite,
          painter: TexturePainter(image, program.fragmentShader()),
        ),
      ),
    );
  }
}

class TexturePainter extends CustomPainter {
  final ui.Image image;
  final ui.FragmentShader shader;
  TexturePainter(this.image, this.shader);

  @override
  void paint(Canvas canvas, Size size) {
    debugPrint('picture of size $size');
    shader.setFloat(0, size.width);
    shader.setFloat(1, size.height);
    shader.setImageSampler(0, image);
    canvas.drawRect(Offset.zero & size, Paint()..shader = shader);
  }

  @override
  bool shouldRepaint(TexturePainter oldDelegate) =>
      shader != oldDelegate.shader;
}

Future<ui.Image> makeImage() async {
  const width = 64;
  const height = 64;
  const bytesPerPixel = 4;
  final buffer = Uint8List(width * height * bytesPerPixel);
  for (int y = 0; y < height; y++) {
    for (int x = 0; x < height; x++) {
      final offset = ((y * width) + x) * bytesPerPixel;
      final parity = (x % 2) ^ (y % 2) != 0;
      buffer[offset + 1] = parity ? 255 : 0;
      buffer[offset + 2] = parity ? 200 : 0;
      buffer[offset + 3] = 255;
    }
  }
  final immutable = await ui.ImmutableBuffer.fromUint8List(buffer);
  final descriptor = ui.ImageDescriptor.raw(
    immutable,
    width: width,
    height: height,
    pixelFormat: ui.PixelFormat.rgba8888,
  );
  final codec = await descriptor.instantiateCodec(
    targetWidth: width,
    targetHeight: height,
  );
  final frameInfo = await codec.getNextFrame();
  return frameInfo.image;
}

pubspec.yaml:
  shaders:
    - assets/texture.frag

texture.frag:
#version 460 core
#include <flutter/runtime_effect.glsl>

uniform vec2 uSize;
uniform sampler2D uSampler;
out vec4 fragColor;

void main() {
    vec2 uv = FlutterFragCoord() / uSize;
    fragColor = texture(uSampler, uv);
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
% flutter run --verbose -d macos
[   +1 ms] executing: [/Users/pc/fvm/versions/3.10.2/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +19 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 9cd3d0d9ff05768afa249e036acc66e8abe93bff
[        ] executing: [/Users/pc/fvm/versions/3.10.2/] git tag --points-at 9cd3d0d9ff05768afa249e036acc66e8abe93bff
[  +89 ms] Exit code 0 from: git tag --points-at 9cd3d0d9ff05768afa249e036acc66e8abe93bff
[        ] 3.10.2
[   +1 ms] executing: [/Users/pc/fvm/versions/3.10.2/] git rev-parse --abbrev-ref HEAD
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[        ] executing: sw_vers -productName
[  +10 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[   +8 ms] Exit code 0 from: sw_vers -productVersion
[        ] 13.5.1
[        ] executing: sw_vers -buildVersion
[  +11 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 22G90
[        ] executing: uname -m
[   +5 ms] Exit code 0 from: uname -m
[        ] arm64
[   +7 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[  +11 ms] Unable to locate an Android SDK.
[   +1 ms] executing: [/Users/pc/fvm/versions/3.10.2/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/stable
[        ] executing: [/Users/pc/fvm/versions/3.10.2/] git ls-remote --get-url origin
[   +7 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +41 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +185 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 14.3.1
           Build version 14E300c
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 5
...

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.5.1 22G90 darwin-arm64, locale en-CA)
    • Flutter version 3.10.2 on channel stable at /Users/pc/fvm/versions/3.10.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (3 months ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.5.1 22G90 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Hi @pshc, there's a newer version of flutter stable out. Can you upgrade to the latest version to see if you still notice the pixelation?
If you do, please provide the updated output of flutter doctor -v.
Thank you

Hello, thanks for catching this. I did a flutter upgrade and checked the example, but the pixelation is still there.
Flutter Doctor output
Doctor output
flutter doctor -v
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.1 22G90 darwin-arm64, locale
    en-CA)
    • Flutter version 3.13.2 on channel stable at /Users/pc/fvm/versions/3.10.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (11 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.5.1 22G90
      darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Thanks for checking.
Reproducible using the sample provided above. Labeling for further investigation.

flutter doctor -v
[!] Flutter (Channel stable, 3.13.2, on macOS 13.4.1 22F770820d darwin-arm64, locale en-GB)
    • Flutter version 3.13.2 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10406996/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10406996/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
    • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.9559.10

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.8660.185/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.9559.62/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4.1 22F770820d darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.14.0-14.0.pre.93, on macOS 13.4.1 22F770820d darwin-arm64, locale en-GB)
    • Flutter version 3.14.0-14.0.pre.93 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef9befc9da (2 days ago), 2023-09-03 11:23:20 -0700
    • Engine revision fbc6f4a540
    • Dart version 3.2.0 (build 3.2.0-131.0.dev)
    • DevTools version 2.27.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10406996/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10406996/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.8660.185/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
    • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.9559.62/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4.1 22F770820d darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Sounds like a reasonable ask. I would have expected it to be linear by default too.

One more use case
I have a "sharp line" shader:
#include <flutter/runtime_effect.glsl>

uniform vec2 uSize;
uniform sampler2D uTexture;

out vec4 fragColor;

void main() {
  vec2 uv = FlutterFragCoord().xy / uSize;
  vec4 c = texture(uTexture, uv);
  float a = smoothstep(0.4, 0.45, c.a);
  fragColor = vec4(0, 0, 0, a);
}

This shader should transform this image

into this:

But without image filtering it does this:

If it helps, I'm currently working around this by having the shader perform bicubic interpolation on the sampler.
https://stackoverflow.com/questions/13501081/efficient-bicubic-filtering-code-in-glsl
Obviously not ideal, I'd be excited to see this fixed.

Ooh, I did not think that way, thanks.

Here's a Flutter-compatible shader with code-based bicubic interpolation
#include <flutter/runtime_effect.glsl>

uniform vec2 uSize;
uniform vec2 uTextureSize;
uniform sampler2D uTexture;

out vec4 fragColor;

vec4 cubic(float v) {
  vec4 n = vec4(1.0, 2.0, 3.0, 4.0) - v;
  vec4 s = n * n * n;
  float x = s.x;
  float y = s.y - 4.0 * s.x;
  float z = s.z - 4.0 * s.y + 6.0 * s.x;
  float w = 6.0 - x - y - z;
  return vec4(x, y, z, w) * (1.0/6.0);
}

vec4 textureBicubic(vec2 uv) {
  vec2 invTexSize = 1.0 / uTextureSize;

  uv = uv * uTextureSize - 0.5;

  vec2 fxy = fract(uv);
  uv -= fxy;

  vec4 xcubic = cubic(fxy.x);
  vec4 ycubic = cubic(fxy.y);

  vec4 c = uv.xxyy + vec2 (-0.5, +1.5).xyxy;

  vec4 s = vec4(xcubic.xz + xcubic.yw, ycubic.xz + ycubic.yw);
  vec4 offset = c + vec4 (xcubic.yw, ycubic.yw) / s;

  offset *= invTexSize.xxyy;

  vec4 sample0 = texture(uTexture, offset.xz);
  vec4 sample1 = texture(uTexture, offset.yz);
  vec4 sample2 = texture(uTexture, offset.xw);
  vec4 sample3 = texture(uTexture, offset.yw);

  float sx = s.x / (s.x + s.y);
  float sy = s.z / (s.z + s.w);

  return mix(mix(sample3, sample2, sx), mix(sample1, sample0, sx), sy);
}

void main() {
  vec2 uv = FlutterFragCoord().xy / uSize;
  vec4 c = textureBicubic(uv);
  float a = smoothstep( 0.4, 0.45, c.a );
  fragColor = vec4( 0, 0, 0, a );
}

I'll consider it as a current workaround. It doesn't look as good as it could be, and a 4x sampling rate doesn't help either, but it's much better than what we have out of the box. +1 to see this fixed.

Even better with bilinear (thanks, ChatGPT, for writing it; I am too dumb for it)

Flutter-compatible shader with code-based bilinear interpolation
#include <flutter/runtime_effect.glsl>

uniform vec2 uSize;
uniform vec2 uTextureSize;
uniform sampler2D uTexture;

out vec4 fragColor;

vec4 textureBilinear(vec2 uv)
{
  vec2 texSize = uTextureSize;

  // Calculate the integer parts of the texture coordinates
  vec2 iuv = floor(uv * texSize);

  // Calculate the fractional parts of the texture coordinates
  vec2 fuv = fract(uv * texSize);

  // Fetch the four neighboring texels
  vec4 topLeft     = texture(uTexture, (iuv + vec2(0.0, 0.0)) / texSize);
  vec4 topRight    = texture(uTexture, (iuv + vec2(1.0, 0.0)) / texSize);
  vec4 bottomLeft  = texture(uTexture, (iuv + vec2(0.0, 1.0)) / texSize);
  vec4 bottomRight = texture(uTexture, (iuv + vec2(1.0, 1.0)) / texSize);

  // Interpolate between the samples
  vec4 top    = mix(topLeft,     topRight,    fuv.x);
  vec4 bottom = mix(bottomLeft,  bottomRight, fuv.x);

  return mix(top, bottom, fuv.y);
}

void main() {
  vec2 uv = FlutterFragCoord().xy / uSize;
  vec4 c = textureBilinear(uv);
  float a = smoothstep( 0.4, 0.45, c.a );
  fragColor = vec4( 0, 0, 0, a );
}

I'm running into the same issue when implementing a high performance blur. Is there any update on this?


Added "eleve" subdomain to psnm.qq.ca

A PR that adds psnm.qq.ca was merged recently, however, educational subscription on https://www.jetbrains.com/shop/eform/students does not seem to accept emails of subdomains,
i.e<EMAIL_ADDRESS>which is needed for registration is not accepted.
This PR adds eleve. subdomain to a psnm.qq.ca.
The school details remain the same, and this is simply a copy of lib/domains/ca/qc/psnm.txt to a subfolder, to allow additional users of this organization (under eleve. subdomain) to register.
Could you please merge it as well?
Thank you.

You were right! Thank you.


Fix GUI size issues

closes #156 #195

add min dimension constraints to GuiSettings creation (so, on deser and save)
use min dimension fields in GuiSettings in MainWindow.fxml
bind data col widths to header col widths
use proportional prefWidths (to HBox width) for header cols
allow border-pane, main-pane, job/employee lists to fill width

smol:

wide:

@AY2122S2-CS2103T-T11-4/developers things to check:

min window dimension constraints are respected on other desktop envs (my window manager doesn't respect them)

[ ] Windows
[ ] macOS

idk lol

Codecov Report

Merging #218 (c14b089) into master (dd50858) will decrease coverage by 0.40%.
The diff coverage is 10.71%.

@@             Coverage Diff              @@
##             master     #218      +/-   ##
============================================
- Coverage     65.09%   64.69%   -0.41%
- Complexity      596      606      +10
============================================
  Files           111      111
  Lines          2484     2518      +34
  Branches        262      273      +11
============================================
+ Hits           1617     1629      +12
- Misses          755      776      +21
- Partials        112      113       +1

Impacted Files
Coverage Δ

src/main/java/peoplesoft/ui/regions/JobCard.java
0.00% <0.00%> (ø)

.../main/java/peoplesoft/ui/regions/JobListPanel.java
0.00% <0.00%> (ø)

...rc/main/java/peoplesoft/ui/regions/PersonCard.java
0.00% <0.00%> (ø)

...in/java/peoplesoft/ui/regions/PersonListPanel.java
0.00% <0.00%> (ø)

...c/main/java/peoplesoft/ui/scenes/OverviewPage.java
0.00% <0.00%> (ø)

...main/java/peoplesoft/commons/core/GuiSettings.java
69.23% <100.00%> (ø)

src/main/java/peoplesoft/model/person/Person.java
85.00% <0.00%> (+0.26%)
:arrow_up:

src/main/java/peoplesoft/model/AddressBook.java
83.96% <0.00%> (+0.30%)
:arrow_up:

...java/peoplesoft/model/person/UniquePersonList.java
86.95% <0.00%> (+0.38%)
:arrow_up:

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 dd50858...c14b089. Read the comment docs.


Connecting to a database in app.js

I am writing a new app, and one of the requirements is that I use the "straight" express boilerplate that include bin/www and an app.js.
I normally just merge the two of them for convenience.  Now that I can't, I am wondering...
How can I connect to a DB (which is an async operation) from app.js?
What follows is the full app.js. This does NOT work, because as soon as this line happens:
var connection = await mysql.createConnectionP({

The anonymous function returns an unresolved promise. So the assigned "app" is incomplete, since the code to set it effectively hasn't yet run.
What is the best practice to connect asynchronously to a database keeping the app.js/www duo?
var express = require('express')
var path = require('path')
var favicon = require('serve-favicon')
var logger = require('morgan')
var cookieParser = require('cookie-parser')
var bodyParser = require('body-parser')
var promisify = require('util').promisify

var index = require('./routes/index')
var users = require('./routes/users')

var app = express()

var prpl = require('prpl-server')
var jsonreststores = require('jsonreststores')
var mysql = require('mysql')

mysql.createConnectionP = promisify(mysql.createConnection)
console.log("1")

;(async () => {
  var connection = await mysql.createConnectionP({
    host: 'localhost',
    user: 'root',
    password: 'ppp',
    database: 'sasit'
  })

  connection.connectP = promisify(connection.connect)
  connection.queryP = promisify(connection.query)
  connection.endP = promisify(connection.end)

  await connection.connectP()

  var res = await connection.queryP('SELECT 1 + 1 AS solution')
  console.log('The solution is: ', res[0].solution)

  await connection.end()

  // view engine setup
  app.set('views', path.join(__dirname, 'views'))
  app.set('view engine', 'jade')

  // uncomment after placing your favicon in /public
  // app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
  app.use(logger('dev'))
  app.use(bodyParser.json())
  app.use(bodyParser.urlencoded({ extended: false }))
  app.use(cookieParser())
  // app.use(express.static(path.join(__dirname, 'public')));

  // app.use('/', index);
  // app.use('/users', users);

  app.get('/*', prpl.makeHandler('./public/build', {
    builds: [
      {name: 'es6-unbundled', browserCapabilities: ['es2015', 'push']},
      {name: 'es6-bundled', browserCapabilities: ['es2015']},
      {name: 'es5-bundled'}
    ]
  }))

  // catch 404 and forward to error handler
  app.use(function (req, res, next) {
    var err = new Error('Not Found')
    err.status = 404
    next(err)
  })

  // error handler
  app.use(function (err, req, res, next) {
    // set locals, only providing error in development
    res.locals.message = err.message
    res.locals.error = req.app.get('env') === 'development' ? err : {}

    // render the error page
    res.status(err.status || 500)
    res.render('error')
  })
})()
module.exports = app

Hi! Thanks for the question! We're happy to help, just drop by our Gitter for support requests or discussions: https://gitter.im/expressjs/express

Wooops... OK. I added it as a ticket as I thought it would be helpful for others too -- I was surprised I couldn't find anything!

Aalso, it's a little awkward to ask the question there, since it's more for one liners!
(Do you happen to be thereon Gitter now?)

Yea, but at the same time GitHub issues don't have people who help with this watching and a lot of the time you need quick back and forth. Questions on here end up just lingering for days.
I am not on at this moment since I'm not at a computer; was just triaging the issues from my phone.

OK no worries. I added it to SO too... Gitter is pretty empty right now. Thank you doug, it's a bit on an honour talking to you!


model: Start tracking a few user_settings, including display_emoji_reaction_users

As mentioned in the last two commits:
f662a0176 api: Add user_settings/update events, with a test for exhaustiveness
815a34730 api: Add UserSettings.twentyFourHourTime
I'm not sure about the system I've set up for type-checking the user_settings/update event at the edge, and verifying that all settings in the initial snapshot get updated with that event. I'd be curious to hear thoughts on that. 🙂
Related: #121

Thanks for the review! Revision pushed, and please see my reply at https://github.com/zulip/zulip-flutter/pull/261#discussion_r1290599981 , about how it would be beneficial to keep enforcing an exhaustive check on the settings in PerAccountStore.handleEvent, where each case is given the setting-value's type automatically, so PerAccountStore doesn't have to copy it out by hand. It might be OK if we don't find a nice way to do that (we don't have to block on it), but I wanted to mention it. 🙂

Thanks for the review! Revision pushed, with your preferred approach as you mentioned in https://github.com/zulip/zulip-flutter/pull/261#discussion_r1290757404 .

I'm happy with how the demo add-another-setting commit at the end turns out; that's a very mild amount of boilerplate at this point.

Me too, this is very satisfying!
Thanks for the review; revision pushed. 🙂


NIFI-4188 - Nifi RethinkDB Get processor

Thank you for submitting a contribution to Apache NiFi.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[x] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Reviewing...

Hello @jvwing - I've updated the code based on your review comments (updated notice, refactored constants to base class).
Regarding the name Get vs Fetch - I am trying to use the terminology used by RethinkDB and their apis.  If you think that Fetch is more expressive and I can change it. Also, I've added tag 'fetch' so that the processor will turn up in searches.
I was interpolating id in case of empty id is because sometimes it might be null.  So, I've updated the code to check blank rather than just empty and have also added unit tests for those scenarios.
Regarding 'not_found' relation - I wanted to give the users option to handle this scenario separately than other errors.  From what I understand, the user may connect both 'failure' and 'not_found' to same component without losing any flexibility.
Please let me know if you have any other recommendations/thoughts.
Thanks again.
Mans

My question about the not_found relationship is not if we should have it or not -- I think it is a great addition.  My question is about the logging for that code path.  You log an error on line 150 when a flowfile is routed to not_found, and I'm asking if you believe not_found is "bad enough" to deserve an error.  It seems possible that it is a perfectly normal occurrence that keys are not found in the table, and the flowfile would be routed to not_found without any worries.  As you point out, the user can choose to treat not_found separately from failure, or not, as they choose.  But it is logged as an error regardless of their choice.

I'm OK with the name "GetRethinkDB".  Thanks for the tagging.

Hi @jvwing -
Thanks for your review.
I've updated the code based on your review (changed logging level for not_found to debug and id check to empty + updates to error message and tests).
Please let me know if there is any other recommendation.
Mans

Thanks for those updates, @mans2singh, everything looks good.  I'll merge shortly.

Thanks @jvwing for your advice and guidance.
Mans


Can't build guage on Apple Silicon

I built gauge on MacBook Air with Apple M1 chip and it raised this
https://github.com/vincenthz/hs-gauge/blob/496a8b99e7fee3039fd89ecef7305d31eb5d5a6d/cbits/cycles.c#L55
error.
When I ran
❯ cabal install --lib gauge

and got this output:

Output
Resolving dependencies...
Build profile: -w ghc-8.10.7 -O1
In order, the following will be built (use -v for more details):
 - gauge-0.2.5 (lib) (requires build)
Starting     gauge-0.2.5 (lib)
Building     gauge-0.2.5 (lib)

Failed to build gauge-0.2.5.
Build log ( /Users/***/.cabal/logs/ghc-8.10.7/gg-0.2.5-a59d4712.log ):
Configuring library for gauge-0.2.5..
Preprocessing library for gauge-0.2.5..
Building library for gauge-0.2.5..
[ 1 of 43] Compiling Gauge.CSV        ( Gauge/CSV.hs, dist/build/Gauge/CSV.o, dist/build/Gauge/CSV.dyn_o )
[ 2 of 43] Compiling Gauge.ListMap    ( Gauge/ListMap.hs, dist/build/Gauge/ListMap.o, dist/build/Gauge/ListMap.dyn_o )
[ 3 of 43] Compiling Gauge.Optional   ( Gauge/Optional.hs, dist/build/Gauge/Optional.o, dist/build/Gauge/Optional.dyn_o )
[ 4 of 43] Compiling Gauge.Source.Time ( dist/build/Gauge/Source/Time.hs, dist/build/Gauge/Source/Time.o, dist/build/Gauge/Source/Time.dyn_o )
[ 5 of 43] Compiling Gauge.Time       ( Gauge/Time.hs, dist/build/Gauge/Time.o, dist/build/Gauge/Time.dyn_o )
[ 6 of 43] Compiling Gauge.Source.RUsage ( dist/build/Gauge/Source/RUsage.hs, dist/build/Gauge/Source/RUsage.o, dist/build/Gauge/Source/RUsage.dyn_o )
[ 7 of 43] Compiling Gauge.Source.GC  ( Gauge/Source/GC.hs, dist/build/Gauge/Source/GC.o, dist/build/Gauge/Source/GC.dyn_o )
[ 8 of 43] Compiling Gauge.Measurement ( Gauge/Measurement.hs, dist/build/Gauge/Measurement.o, dist/build/Gauge/Measurement.dyn_o )
[ 9 of 43] Compiling Gauge.Format     ( Gauge/Format.hs, dist/build/Gauge/Format.o, dist/build/Gauge/Format.dyn_o )
[10 of 43] Compiling Numeric.MathFunctions.Comparison ( math-functions/Numeric/MathFunctions/Comparison.hs, dist/build/Numeric/MathFunctions/Comparison.o, dist/build/Numeric/MathFunctions/Comparison.dyn_o )
[11 of 43] Compiling Numeric.MathFunctions.Constants ( math-functions/Numeric/MathFunctions/Constants.hs, dist/build/Numeric/MathFunctions/Constants.o, dist/build/Numeric/MathFunctions/Constants.dyn_o )
[12 of 43] Compiling Numeric.SpecFunctions.Internal ( math-functions/Numeric/SpecFunctions/Internal.hs, dist/build/Numeric/SpecFunctions/Internal.o, dist/build/Numeric/SpecFunctions/Internal.dyn_o )
[13 of 43] Compiling Numeric.SpecFunctions ( math-functions/Numeric/SpecFunctions.hs, dist/build/Numeric/SpecFunctions.o, dist/build/Numeric/SpecFunctions.dyn_o )
[14 of 43] Compiling Numeric.Sum      ( math-functions/Numeric/Sum.hs, dist/build/Numeric/Sum.o, dist/build/Numeric/Sum.dyn_o )
[15 of 43] Compiling Paths_gauge      ( dist/build/autogen/Paths_gauge.hs, dist/build/Paths_gauge.o, dist/build/Paths_gauge.dyn_o )
[16 of 43] Compiling Gauge.Main.Options ( Gauge/Main/Options.hs, dist/build/Gauge/Main/Options.o, dist/build/Gauge/Main/Options.dyn_o )
[17 of 43] Compiling Statistics.Distribution ( statistics/Statistics/Distribution.hs, dist/build/Statistics/Distribution.o, dist/build/Statistics/Distribution.dyn_o )
[18 of 43] Compiling Statistics.Function ( statistics/Statistics/Function.hs, dist/build/Statistics/Function.o, dist/build/Statistics/Function.dyn_o )
[19 of 43] Compiling Statistics.Internal ( statistics/Statistics/Internal.hs, dist/build/Statistics/Internal.o, dist/build/Statistics/Internal.dyn_o )
[20 of 43] Compiling Statistics.Distribution.Normal ( statistics/Statistics/Distribution/Normal.hs, dist/build/Statistics/Distribution/Normal.o, dist/build/Statistics/Distribution/Normal.dyn_o )
[21 of 43] Compiling Statistics.Math.RootFinding ( statistics/Statistics/Math/RootFinding.hs, dist/build/Statistics/Math/RootFinding.o, dist/build/Statistics/Math/RootFinding.dyn_o )
[22 of 43] Compiling Statistics.Matrix.Types ( statistics/Statistics/Matrix/Types.hs, dist/build/Statistics/Matrix/Types.o, dist/build/Statistics/Matrix/Types.dyn_o )
[23 of 43] Compiling Statistics.Matrix.Mutable ( statistics/Statistics/Matrix/Mutable.hs, dist/build/Statistics/Matrix/Mutable.o, dist/build/Statistics/Matrix/Mutable.dyn_o )
[24 of 43] Compiling Statistics.Quantile ( statistics/Statistics/Quantile.hs, dist/build/Statistics/Quantile.o, dist/build/Statistics/Quantile.dyn_o )
[25 of 43] Compiling Statistics.Sample.Histogram ( statistics/Statistics/Sample/Histogram.hs, dist/build/Statistics/Sample/Histogram.o, dist/build/Statistics/Sample/Histogram.dyn_o )
[26 of 43] Compiling Statistics.Sample.Internal ( statistics/Statistics/Sample/Internal.hs, dist/build/Statistics/Sample/Internal.o, dist/build/Statistics/Sample/Internal.dyn_o )
[27 of 43] Compiling Statistics.Sample ( statistics/Statistics/Sample.hs, dist/build/Statistics/Sample.o, dist/build/Statistics/Sample.dyn_o )
[28 of 43] Compiling Statistics.Matrix ( statistics/Statistics/Matrix.hs, dist/build/Statistics/Matrix.o, dist/build/Statistics/Matrix.dyn_o )
[29 of 43] Compiling Statistics.Matrix.Algorithms ( statistics/Statistics/Matrix/Algorithms.hs, dist/build/Statistics/Matrix/Algorithms.o, dist/build/Statistics/Matrix/Algorithms.dyn_o )
[30 of 43] Compiling Statistics.Transform ( statistics/Statistics/Transform.hs, dist/build/Statistics/Transform.o, dist/build/Statistics/Transform.dyn_o )
[31 of 43] Compiling Statistics.Sample.KernelDensity ( statistics/Statistics/Sample/KernelDensity.hs, dist/build/Statistics/Sample/KernelDensity.o, dist/build/Statistics/Sample/KernelDensity.dyn_o )
[32 of 43] Compiling Statistics.Types.Internal ( statistics/Statistics/Types/Internal.hs, dist/build/Statistics/Types/Internal.o, dist/build/Statistics/Types/Internal.dyn_o )
[33 of 43] Compiling Statistics.Types ( statistics/Statistics/Types.hs, dist/build/Statistics/Types.o, dist/build/Statistics/Types.dyn_o )
[34 of 43] Compiling System.Random.MWC ( mwc-random/System/Random/MWC.hs, dist/build/System/Random/MWC.o, dist/build/System/Random/MWC.dyn_o )
[35 of 43] Compiling Statistics.Resampling ( statistics/Statistics/Resampling.hs, dist/build/Statistics/Resampling.o, dist/build/Statistics/Resampling.dyn_o )
[36 of 43] Compiling Statistics.Resampling.Bootstrap ( statistics/Statistics/Resampling/Bootstrap.hs, dist/build/Statistics/Resampling/Bootstrap.o, dist/build/Statistics/Resampling/Bootstrap.dyn_o )
[37 of 43] Compiling Statistics.Regression ( statistics/Statistics/Regression.hs, dist/build/Statistics/Regression.o, dist/build/Statistics/Regression.dyn_o )
[38 of 43] Compiling Gauge.Monad      ( Gauge/Monad.hs, dist/build/Gauge/Monad.o, dist/build/Gauge/Monad.dyn_o )
[39 of 43] Compiling Gauge.IO.Printf  ( Gauge/IO/Printf.hs, dist/build/Gauge/IO/Printf.o, dist/build/Gauge/IO/Printf.dyn_o )
[40 of 43] Compiling Gauge.Benchmark  ( Gauge/Benchmark.hs, dist/build/Gauge/Benchmark.o, dist/build/Gauge/Benchmark.dyn_o )
[41 of 43] Compiling Gauge.Analysis   ( Gauge/Analysis.hs, dist/build/Gauge/Analysis.o, dist/build/Gauge/Analysis.dyn_o )
[42 of 43] Compiling Gauge.Main       ( Gauge/Main.hs, dist/build/Gauge/Main.o, dist/build/Gauge/Main.dyn_o )
[43 of 43] Compiling Gauge            ( Gauge.hs, dist/build/Gauge.o, dist/build/Gauge.dyn_o )

cbits/cycles.c:55:2: error:
     error: Unsupported OS/architecture/compiler!
   |
55 | #error Unsupported OS/architecture/compiler!
   |  ^
#error Unsupported OS/architecture/compiler!
 ^
1 error generated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Failed to build gauge-0.2.5. See the build log above for details.

gauge_rdtsc can probably be defined the same way as in this PR: https://github.com/haskell/criterion/pull/240/files
Not sure about other stuff.

Could this fix be uploaded to Hackage?


Update Results Guidelines for unverified claims

It is encouraged to use published official MLPerf scores for comparisons. If deriving unofficial results for competitor products or services, one should use that submitter's code repository, if it exists, instead of reference code in the spirit of making a good faith best effort.
Also added timeline (24 hours) for taking down content which violates results guidelines.

WG: Some concerns about whether 24 hours is achievable for all cases. Some questions about business days versus calendar days. Some questions about whose business day for national holidays. Some ambiguity about the definition of competitor. Some question about applying rule to submissions with performance critical components from multiple vendors. NVIDIA accelerator, AMD CPU which repository to use? How to handle disputes about 'good faith?'

Flagging that I want a chance to speak more to this PR before we move forward deciding to merge or not.

This seems like a marketing discussion. Are technical WGs the right venue to resolve?
I don't believe MLC has the resources to support a 24h enforcement or resolution loop. I don't think the organization would want to commit to anything less than 96h.
Suppose a hardware platform has been submitted using SW stack X. Someone wishes to make a comparison of the hardware platform with SW stack Y (Y != X). How would this rule apply in that scenario?
Suppose someone wants to make an unofficial comparison specifically using the reference models for intellectually valid reasons?
I would like to understand in plain English what this rule is attempting to accomplish.

Thanks @tjablin , @bitfort , @TheKanter  for the questions & feedback.
I have modified the language to better answer some of the questions above.

The primary goal is to prohibit misuse of reference code to derive unofficial scores for a submitter who already has an official submission score. Reference implementations often focus more on readability or explain-ability than performance.

I do agree we want to encourage SW innovation instead of prohibiting any interesting comparisons and have modified language to allow that. One cannot equate current reference implementation to "out-of-box" without defining the box constraints or ensuring the box has integration for different sw/hw stacks (references are mostly tied to a single reference hw platform).

@TheKanter what would you propose as a sensitive but practical timeline for taking down disputed content? Note reposting w/ a fix can take longer but we should try to have a timeline for taking down violatory content as media hit cycles are short & matter only in the first few days.
Note in the WG we will also be asking participants to get this reviewed by their respective marketing representatives.

Thanks for the clarification - my question here:
It is my understanding that under MLPerf rules, it is legal for anyone to submit on anyone else hardware and software, right? For example, Facebook could submit a Tensorflow + TPU submission. Google could submit a PyTorch + Intel submission.
Facebook wouldn't be required to use Google's preferred or perviously submitted models; Google wouldn't be required to use any preferred software or models from Intel.
If I can submit submit a new score which isn't based on a previous "official submission" - how come my unverified scores need to be based on a previous "official submission"?

To be more concrete, suppose I thought that Google's optimizations didn't reflect what users do in practice. So I wanted to publish a blog post saying "Google's MLPerf results if they wrote the code the way real researchers write the code" where I give an unverified MLPerf using a different implementation of Resnet50 than the one google has previously submitted. This seems like a fair point to make - because I'm saying "No one in practice writes their models like Google writes their models for MLPerf - he's what it would really look like."
While Google may not like what I have to say, it isn't clear that they should be able to order me to take it down. My reading of this PR would allow them to take it down because I didn't use their previous official submission.
Am I missing something?

Good questions w/ examples. Yes there is a misunderstanding :)

If I can submit submit a new score which isn't based on a previous "official submission" - how come my unverified scores need to be based on a previous "official submission"?

The updated language doesn't require the unverified score to be based on previous official submission. It requires you to "also" show the official submission score along with your unverified score in comparisons (eg blog, charts etc).  This could also be good incentive for SW innovators to beat SOTA MLPerf performance.

While  Company X may not like what I have to say, it isn't clear that they should be able to order me to take it down. My reading of this PR would allow them to take it down because I didn't use their previous official submission.

In this example, one wouldn't be ordered to take the opinion down as long as the comparison with unverified score transparently mentions:

(as per existing rules) that it is "unverified", model differences if any (ie closed/open, system diff etc) other differences
(as per this PR) Google's official score in comparisons

For example, company X has an official score on HW platform A with SW stack 1.
I have a new SW stack 2 which is easier to program, quicker development cycles.
I am allowed to make an unverified claim of A's performance on 2 as long as in the comparison (chart, blog), I also show what A achieved officially w/ SW stack 1.

if 1 is faster than 2: we do not penalize A's best capability but also get the opportunity to present 2's usability & advatantage for practitioners
if 2 is faster than 1: originator of the claim would obviously want to showcase this comparison and is allowed by all means

Do other benchmarks have similar clauses in their TOS/TOU?

@bitfort , @TheKanter I have modified the PR

No regulation on SW for unverified scores.
Requirement to state official scores if one exists in comparisons
There should be some timeline to take down violating content. @TheKanter could you propose a deadline? Note resolving & pushing a fix can take more time but taking down violations should be as soon as reasonably possible.

Do other benchmarks have similar clauses in their TOS/TOU?

That is a good question. It is a unique property & opportunity of ML-benchmarks where benchmark performance is a significant function of SW. Non-ML benchmarks (e.g. SPEC, TPC) are often standard code with ability to run on different HW.
Besides benchmarks like TPC do not allow unofficial/unverified claims.
So in our unique situation where we want to allow unverified claims as well as have performance dependence on SW, it requires laying out ground rules to prevent creating ill-faith comparisons. For example, company X makes unofficial claim on HW A and compares to HW B from company Y. Y has an official score on B but to look better, X creates an unofficial score for B in bad faith using reference code or another suboptimal src code. X is allowed to do it for their intellectual reasons but it is only fair to require also stating Y's official score in public claims, otherwise we would be doing a disservice to a member who has put in real effort of submitting to MLPerf and undergoing thorough review.
At the same time, like pointed out in above comments, we do not want to stifle any SW innovation and hence now the PR is permissive rather than prohibitive but requires stating relevant official scores in comparisons to thwart ill-faith comparisons.

RE: Timeline for complaints and violations
Generally the flow should look like:

Someone notices an improper comparison or other violation by X
Someone notifies MLC of violation
MLC determines violation is in fact a problem
MLC sends out a notification letter to X
X fixes the violation

Current guidance is that MLC can send out a letter requesting a fix within 96h for step 4. We should figure out a schedule for step 3 & 4 that is realistic given MLC resources.

Regarding step 4, the feedback I got from internal discussions is to set timeline in working/business days rather than hours.

I'm unit agnostic here :) 4 working days is fine.
David
On Fri, Mar 10, 2023 at 11:01 AM drcanchi @.***> wrote:

Regarding step 4, the feedback I got from internal discussions is to set
timeline in working/business days rather than hours.
—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/policies/pull/137#issuecomment-1464259845,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJXLOKY2WUAQE5QDD22SR6DW3N3AVANCNFSM6AAAAAASBUIMH4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Removed deadline for handling violations from this PR as it would be more productive to discuss it on a separate PR.
Addressing only mispresentation of reference performance or 3rd party performance in this PR. Please review.

Hrmm I see a change that is singling out IHVs, I don't think that's a good idea. This thing has been lurking around for a long time. Is there a way we can find some non-contentious subsets and commit those? E.g., the 4 day notice should be updated. @nv-rborkar

If you click on the "Files" diff at the top, it  will show the real diff where notice period clause is removed from this PR to simplify issues being discussed.
Thanks for feedback @TheKanter  about singling out IHVs - modified language.

@nv-rborkar let's discuss some of the ideas here offline. I'm not sure I understand the goals.

We have separated out the timeline one into a PR that has been accepted, this now focuses solely on allowed comparisons.

This PR mentions the reference code as though it would be the only way to generate unofficial results, but there are other ways to run: ck and MLCube. In fact, the goal of those tools is to make it MLPerf easy to run.
This PR puts an extra burden on those efforts. Is this even needed, we already have a disclaimer that those results have not been verified and thus are unofficial.
Plus there is no definition what a "verified official score" actually is - presumably a submission by a chip manufacturer? This works for Nvidia and Intel, but what about results where a 3rd party submission is the only one - does that make an official score?


HTML WYSIWYG widget for HTMLTextField is not rendered

For models with scarlet.cms.fields.HTMLTextField fields the WYSIWYG widget is not rendered. Instead of it, regular widget for TextArea is rendered.
Partial solution is to override formfield_for_dbfield method and setting HTMLWidget for given field.

What version?

Old issue fixed on recent Scarlet versions


SBX crossover

Hello,
if I compare your CBX algorithm with the one given in [1] (equation (5), (6) and (7) and the following paragraph), and if I didn't make some mistakes in matching the variables, I think that in line 55 and 59 of [2] you should write:
beta = 2.0 + ... instead of
beta = 1.0 + ...
Otherwise at least line 47 differs from equation (5) with u <= 0.5/(1-gamma) in [1].
[1] https://ieeexplore.ieee.org/document/8477746
[2] https://github.com/anyoptimization/pymoo/blob/main/pymoo/operators/crossover/sbx.py

I think i did some mistakes here, sorry...

Sorry for confusing everyone here, even myself. Well, the main statement remains the same: I think some values are twisted up, at least to paper [1].
I think the '2.0' in line 55:
beta = 1.0 + (2.0 * (y1 - _xl) / delta)
should be not there and instead in alpha in line 42:
'alpha = 2.0 - 2.0 * np.power(beta, -(eta + 1.0))'

Sorry for the late reply. Thanks for figuring it out!
(only through such deep dives we fully understand such operators :) )


Lithuanian locale

Lithuanian it's coming to FlexBoxFroggy! :) Happy holidays!

Awesome, thanks @justutiz!


feat: add a comment to the top of global_config.yaml to warn that comments are not preserved

The Issue
global_config.yaml gets regenerated automatically, and any comments the user added are lost.
Because this is a config files that docs say users can edit manually, users will assume they can put in comments, and may lose valuable information.
How This PR Solves The Issue
Adds a warning to the top of the file to say comments won't be preserved.
(NB I have no idea what I am doing with Go, this is total frankencoding!)
Manual Testing Instructions
Automated Testing Overview

Related Issue Link(s)
Release/Deployment Notes

I have no idea how to compile. I really meant it when I said I know nothing about Go.

@joachim-n,
The is a short FAQ for building DDEV locally: https://ddev.readthedocs.io/en/latest/developers/building-contributing/#building
And even the whole series: DDEV Contributor Live Training.
Especially Setting up a Go Development Environment will definitely answer your questions.

Right, nope. All of that is way beyond me. I absolutely don't want to risk breaking my local environment and then having to spend days fixing it and not being able to do paid work (as happened already with the Colima volume fuckup back in December).
This is as far as I go.

OK, thanks for giving it a first try. Maybe next time you'll be able to go farther.


Add 'otherwise' for matchers

Allow things which have matchers to specify an 'otherwise', which fires if the object is not matched.  This would allow for things like gravel drops, where there'd be an N percent chance of flint, else drop gravel.

Updating to reflect that 'else' is a reserved keyword; whoops.


Updating binding of Material TextField fails to move title of field until clicked

When updating bindings of a Material:TextField, the title is not moved until the control is activated.
Example:
xmlns:material="clr-namespace:UraniumUI.Material.Controls;assembly=UraniumUI.Material"

<material:TextField
    Title="Name of Incident"
    Grid.Column="1"
    Margin="5"
    IsEnabled="{Binding Locked}"
    MaxLength="250"
    MaximumWidthRequest="200"
    Text="{Binding SelectedIncident.Name}" />

After clicking control:

It's released in v1.0.2 you can try the new version

It's released in v1.0.2 you can try the new version

Works great, thank you!

Should have mentioned, the same issue exists for the date and time picker fields. Sorry about that. Still exists in the latest version

Hi @BinaryAssault
I couldn't reproduce this issue for other controls. Can you provide an example to reproduce it?

After further examination of my code, the issue was a binding issue. Works as intended. Thank you


BMW Connected Drive broken after HA upgrade to

Upgraded to 0.110 which broke the Connected Drive integration. This was working fine until the upgrade from 0.109.
Errors below:
2020-05-21 14:33:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component bmw_connected_drive
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 308, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0xaee86970>: Failed to establish a new connection: [Errno 111] Connection refused

This is rather an issue within Home Assistant/your setup.
There been no changes to the library or the integration and it continues to work for me on 110.
How is your HA installed?
The "Connection refused" is a message that I've seen before when having proxy server issues.

Hi there,
�
First of all, thank you for your prompt response, much appreciated.
�
I am running a Hass.io image on a Raspberry 4. There is no Proxy. There was no other integration that seemed to have issues, but truth be told I didn’t look very hard. At least the log file showed no other issues besides the BMW Connected Drive.
�
After I downgraded back to 0.109, the connection was working again and all sensors were getting data.
�
Is there a server I can ping or traceroute from the raspberry to rule out that connectivity is not the issue ?
�
Jan
�
From<EMAIL_ADDRESS><EMAIL_ADDRESS>On Behalf Of rikroe
Sent: Thursday, May 21, 2020 8:46 PM
To: bimmerconnected/bimmer_connected<EMAIL_ADDRESS>Cc: jsimon3<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [bimmerconnected/bimmer_connected] BMW Connected Drive broken after HA upgrade to (#180)
�
This is rather an issue within Home Assistant/your setup.
There been no changes to the library or the integration and it continues to work for me on 110.
How is your HA installed?
The "Connection refused" is a message that I've seen before when having proxy server issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bimmerconnected/bimmer_connected/issues/180#issuecomment-632277668 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APVPIDQBL4NK6ZDWYNQCIJ3RSVZH3ANCNFSM4NHAQWCA .  https://github.com/notifications/beacon/APVPIDUCOP6A6JQALVYOZWTRSVZH3A5CNFSM4NHAQWCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEWX4VJA.gif

You can find the respective urls in const.py and country_selector.py.
Although my guess is that something didn't work out with the update, have you tried in again?

Hi,
Just tried upgrading again and this time it worked. Everything is up and running without errors including the BMW sensors.
Many thanks,
Jan

On 22 May 2020, at 14:05, rikroe<EMAIL_ADDRESS>wrote:

You can find the respective urls in const.py and country_selector.py.
Although my guess is that something didn't work out with the update, have you tried in again?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Glad that it works! :)
Closing this issue.


Is there a way to see the Spotify play queue on the card?

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Sometimes I like to peek ahead :-)
Of course if one could edit the queue that would be even more awesome.
Describe the solution you'd like
I'd love to see the queue at least. If I can remove single songs from it or maybe even add certain songs to it that would be amazing.
Describe alternatives you've considered
Edit the queue on the android spotify app, but that is an additional device and step to take.
Additional context
Great work!

Will be added with the next release. New configuration option will be located under the "Player Controls" options.
I still need to think about the addition and removal of items logic / scenarios.  This will at least get you some details to look at.
[ 1.0.9 ] - 2024/10/28
Added playerControlsHidePlayQueue config option to enable / disable play queue information area.
Will look like this ...
Player Queue Info - Tracks

Player Queue Info - Podcast Episodes

The Spotify Web API does not provide methods to remove items from the queue, nor clearing of the queue.  The only method they provide for queue support is adding items to the queue.  It's quite odd, as the Spotify web-site allows you to do all of those things.  I don't know why they did not provide endpoints for the other functions.  There have been several requests out on their community forum for these functions, but no progress as of yet (some of those have been opened for years!).  Here's an example of 1 such request - there are many duplicates on the community forum.
I should be able to add the "Add to Queue" support, as that endpoint exists and is already part of the spotifywebapiPthon package that the SpotifyPlus Card uses.
Will keep you posted.

Released v1.0.9, which fulfills part of this request.

Thanks looks nice, at least one can peek ahead now.
Unfortunately, a click on a queue item, does not skip forward but rather starts a new queue with exactly that one item :-/ meaning playing will stop after that one item.

Yes, I noticed that too in my testing.  The Spotify clients (desktop and web) do the same thing as well most of the time.   In my testing it was hit and miss - sometimes it would backfill other songs in the queue, sometimes it would not.
Unfortunately Spotify does not provide any endpoints in its web API to control queue operations, except for adding items to it.  And even then, you could add a bunch of items to the queue then erase them all by clicking play on a single track.
I wish the Spotify api had better support for queue operations.