when i import scvi i get this error

when i import scvi i got this result, i install scvi through this code !pip install scvi-tools and I import it through import scvi

# Your code here

 1 import scvi
~\anaconda3\lib\site-packages\scvi_init_.py in
5
6 from ._constants import _CONSTANTS
----> 7 from ._settings import settings
8
9 # this import needs to come after prior imports to prevent circular import
~\anaconda3\lib\site-packages\scvi_settings.py in
3 from typing import Union
4
----> 5 import pytorch_lightning as pl
6 import torch
7 from rich.console import Console
~\anaconda3\lib\site-packages\pytorch_lightning_init_.py in
18 _PROJECT_ROOT = os.path.dirname(_PACKAGE_ROOT)
19
---> 20 from pytorch_lightning import metrics  # noqa: E402
21 from pytorch_lightning.callbacks import Callback  # noqa: E402
22 from pytorch_lightning.core import LightningDataModule, LightningModule  # noqa: E402
~\anaconda3\lib\site-packages\pytorch_lightning\metrics_init_.py in
13 # limitations under the License.
14
---> 15 from pytorch_lightning.metrics.classification import (  # noqa: F401
16     Accuracy,
17     AUC,
~\anaconda3\lib\site-packages\pytorch_lightning\metrics\classification_init_.py in
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
---> 14 from pytorch_lightning.metrics.classification.accuracy import Accuracy  # noqa: F401
15 from pytorch_lightning.metrics.classification.auc import AUC  # noqa: F401
16 from pytorch_lightning.metrics.classification.auroc import AUROC  # noqa: F401
~\anaconda3\lib\site-packages\pytorch_lightning\metrics\classification\accuracy.py in
16 from torchmetrics import Accuracy as _Accuracy
17
---> 18 from pytorch_lightning.metrics.utils import deprecated_metrics
19
20
~\anaconda3\lib\site-packages\pytorch_lightning\metrics\utils.py in
20 from torchmetrics.utilities.data import dim_zero_mean as _dim_zero_mean
21 from torchmetrics.utilities.data import dim_zero_sum as _dim_zero_sum
---> 22 from torchmetrics.utilities.data import get_num_classes as _get_num_classes
23 from torchmetrics.utilities.data import select_topk as _select_topk
24 from torchmetrics.utilities.data import to_categorical as _to_categorical
ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' (C:\Users\IRFAN\anaconda3\lib\site-packages\torchmetrics\utilities\data.py)
adata
[Paste the error output produced by the above code here]

Versions:

VERSION
Python 3.9.13

I am trying to import scvi too, but I get an error:
Just I want to mention that I installed the scvi tools by !pip install on a new environment on Anaconda on Mac M1.
`---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[13], line 1
----> 1 import scvi
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/scvi/init.py:10
7 from ._settings import settings
9 # this import needs to come after prior imports to prevent circular import
---> 10 from . import autotune, data, model, external, utils
12 from importlib.metadata import version
14 package_name = "scvi-tools"
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/scvi/autotune/init.py:1
----> 1 from ._manager import TuneAnalysis, TunerManager
2 from ._tuner import ModelTuner
3 from ._types import Tunable, TunableMixin
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/scvi/autotune/_manager.py:10
7 from typing import Any, Callable, List, Optional, Tuple
9 import rich
---> 10 from chex import dataclass
12 try:
13     import ray
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/chex/init.py:17
1 # Copyright 2020 DeepMind Technologies Limited. All Rights Reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
(...)
13 # limitations under the License.
14 # ==============================================================================
15 """Chex: Testing made fun, in JAX!"""
---> 17 from chex._src.asserts import assert_axis_dimension
18 from chex._src.asserts import assert_axis_dimension_comparator
19 from chex._src.asserts import assert_axis_dimension_gt
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/chex/_src/asserts.py:26
23 import unittest
24 from unittest import mock
---> 26 from chex._src import asserts_internal as _ai
27 from chex._src import pytypes
28 import jax
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/chex/_src/asserts_internal.py:34
31 from typing import Any, Sequence, Union, Callable, Optional, Set, Tuple, Type
33 from absl import logging
---> 34 from chex._src import pytypes
35 import jax
36 from jax.experimental import checkify
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/chex/_src/pytypes.py:18
15 """Type definitions to use for type annotations."""
17 from typing import Any, Iterable, Mapping, Union
---> 18 import jax
19 import jax.numpy as jnp
20 import numpy as np
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/jax/init.py:35
30 del _cloud_tpu_init
32 # Confusingly there are two things named "config": the module and the class.
33 # We want the exported object to be the class, so we first import the module
34 # to make sure a later import doesn't overwrite the class.
---> 35 from jax import config as _config_module
36 del _config_module
38 # Force early import, allowing use of jax.core after importing jax.
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/jax/config.py:17
1 # Copyright 2018 The JAX Authors.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
(...)
14
15 # TODO(phawkins): fix users of this alias and delete this file.
---> 17 from jax._src.config import config
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/jax/_src/config.py:25
22 import warnings
23 from typing import Any, List, Callable, Hashable, NamedTuple, Iterator, Optional
---> 25 from jax._src import lib
26 from jax._src.lib import jax_jit
27 from jax._src.lib import transfer_guard_lib
File ~/opt/anaconda3/envs/scRNA_seq/lib/python3.9/site-packages/jax/_src/lib/init.py:75
71   return _jaxlib_version
73 version_str = jaxlib.version.version
74 version = check_jaxlib_version(
---> 75   jax_version=jax.version.version,
76   jaxlib_version=jaxlib.version.version,
77   minimum_jaxlib_version=jax.version._minimum_jaxlib_version)
81 # Before importing any C compiled modules from jaxlib, first import the CPU
82 # feature guard module to verify that jaxlib was compiled in a way that only
83 # uses instructions that are present on this machine.
84 import jaxlib.cpu_feature_guard as cpu_feature_guard
AttributeError: partially initialized module 'jax' has no attribute 'version' (most likely due to a circular import)`

Hi,  when I am running
python scripts/scVI-3D.py -b 10 -c "whole" -r 1000000 -i "demoData" -o "results" -cs "supplementaryData/demoData_summary.txt" -g "supplementaryData/hg19.chrom.sizes" -br -n 100 -gpu -p 10 -pca 50 -up -tp -v

I got the same error:
ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data'
Traceback (most recent call last):
File "scripts/scVI-3D.py", line 22, in
import scvi
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/scvi/init.py", line 7, in
from ._settings import settings
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/scvi/_settings.py", line 5, in
import pytorch_lightning as pl
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/pytorch_lightning/init.py", line 20, in
from pytorch_lightning import metrics  # noqa: E402
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/pytorch_lightning/metrics/init.py", line 15, in
from pytorch_lightning.metrics.classification import (  # noqa: F401
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/pytorch_lightning/metrics/classification/init.py", line 14, in
from pytorch_lightning.metrics.classification.accuracy import Accuracy  # noqa: F401
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/pytorch_lightning/metrics/classification/accuracy.py", line 18, in
from pytorch_lightning.metrics.utils import deprecated_metrics
File "/home/zhangx/.conda/envs/schic-scvi-3d/lib/python3.8/site-packages/pytorch_lightning/metrics/utils.py", line 22, in
from torchmetrics.utilities.data import get_num_classes as _get_num_classes
ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data'
and my versions are :

scvi-tools:  0.14.5
pytorch_lightning:  1.3.8
torchmetrics:  0.11.0

pip show scvi-tools

Name: scvi-tools
Version: 0.14.6
Summary: Deep probabilistic analysis of single-cell omics data.
Home-page: https://github.com/YosefLab/scvi-tools
Author: Romain Lopez
Author-email<EMAIL_ADDRESS>License: BSD-3-Clause
Location: c:\users\irfan\anaconda3\lib\site-packages
Requires: anndata, docrep, h5py, ipywidgets, numba, numpy, openpyxl, pandas, pyro-ppl, pytorch-lightning, rich, scikit-learn, setuptools, torch, torchmetrics, tqdm
Required-by:
Note: you may need to restart the kernel to use updated packages.
my pytorch-lightning
Name: pytorch-lightning
Version: 1.3.0
Summary: PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.
Home-page: https://github.com/PyTorchLightning/pytorch-lightning
Author: William Falcon et al.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: c:\users\irfan\anaconda3\lib\site-packages
Requires: fsspec, future, numpy, packaging, pyDeprecate, PyYAML, tensorboard, torch, torchmetrics, tqdm
Required-by: scvi-tools
and torchmetrics
Name: torchmetrics
Version: 0.11.4
Summary: PyTorch native Metrics
Home-page: https://github.com/Lightning-AI/metrics
Author: Lightning-AI et al.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: c:\users\irfan\anaconda3\lib\site-packages
Requires: numpy, packaging, torch
Required-by: pytorch-lightning, scvi-tools
!pip install scanpy
I still cant import scvi

Please install the latest scvi-tools version. Version 0.20.3

Dear all,
I have a similar problem when importing scvi. I installed scvi-tools on miniforge3 virtual env with arm64 architecture, Python version 3.9. After ‘import scvi’ command I get the error message:
AttributeError: module ‘anndata.compat’ has no attribute ‘Literal’
I am using the newest version of scvi-tools 0.20 (but also 0.19 and 0.18 gives the same error).
Can somebody please help me? Thank you!


MultiSelectionPrompt.AddChoice() in AnsiConsole.Prompt() causes compilation error

Information

OS: Windows 10
Version: 0.41.0

Describe the bug
In class MultiSelectionPrompt the method AddChoice return IMultiSelectionItem<> instead MultiSelectionPrompt<> which causes compilation error in the following example.
Maybe this is supposed to be the case, and should only use MultiSelectionPrompt.AddChoices(), anyway, this is an official example from the documentation.
To Reproduce
var fruits = AnsiConsole.Prompt(
            new MultiSelectionPrompt<string>()
                .Title("What are your [green]favorite fruits[/]?")
                .NotRequired() // Not required to have a favorite fruit
                .PageSize(10)
                .MoreChoicesText("[grey](Move up and down to reveal more fruits)[/]")
                .InstructionsText(
                    "[grey](Press [blue]<space>[/] to toggle a fruit, " +
                    "[green]<enter>[/] to accept)[/]")
                .AddChoice("Apple")
                .AddChoices(new[] {
                    "Apricot", "Avocado",
                    "Banana", "Blackcurrant", "Blueberry",
                    "Cherry", "Cloudberry", "Cocunut",
                }));

This code snippet is taken from the example on the website at:
https://spectreconsole.net/prompts/multiselection

The reason AddChoice returns IMultiSelectionItem<> is so the item can be further configured.
The documentation however should be updated. Thanks for reporting this.


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=646139410
https://github.com/Azure/azure-cli-extensions/commit/f751867cafda6099e0f7c8051a149e597afc79c5

Docs Build status updates of commit e043a6b:
:clock10: Full build: the average full build time is 7 min(s) 9 sec(s), this is based on the last 409 build(s) for this repository.

Docs Build status updates of commit e043a6b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[postcss] file name contained an unexpected NUL byte

when importing a css file using a resolver alias, i encounter an error like this:
[vite] Pre-transform error: [postcss] file name contained an unexpected NUL byte: stat 'deno::JavaScript::./app/tailwind.css::/home/reda/Documents/Projects/remix-deno-template/app/tailwind.css'
[vite] Error when evaluating SSR module /app/root.tsx:
|- TypeError: [postcss] file name contained an unexpected NUL byte: stat 'deno::JavaScript::./app/tailwind.css::/home/reda/Documents/Projects/remix-deno-template/app/tailwind.css'
    at Object.statSync (ext:deno_fs/30_fs.js:412:3)
    at Object.statSync (ext:deno_node/_fs/_fs_stat.ts:159:25)
    at trackModified (file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/tailwindcss@3.4.13/node_modules/tailwindcss/lib/lib/setupContextUtils.js:659:55)
    at getContext (file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/tailwindcss@3.4.13/node_modules/tailwindcss/lib/lib/setupContextUtils.js:1282:30)
    at file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/tailwindcss@3.4.13/node_modules/tailwindcss/lib/lib/setupTrackingContext.js:118:81
    at file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/tailwindcss@3.4.13/node_modules/tailwindcss/lib/processTailwindFeatures.js:46:11
    at plugins (file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/tailwindcss@3.4.13/node_modules/tailwindcss/lib/plugin.js:38:69)
    at LazyResult.runOnRoot (file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/postcss@8.4.47/node_modules/postcss/lib/lazy-result.js:329:16)
    at LazyResult.runAsync (file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/postcss@8.4.47/node_modules/postcss/lib/lazy-result.js:258:26)
    at LazyResult.async (file:///home/reda/Documents/Projects/remix-deno-template/node_modules/.deno/postcss@8.4.47/node_modules/postcss/lib/lazy-result.js:160:30)

this can be reproduced from this branch here after running deno install and deno task dev or deno task build.
i notice that if i remove the null bytes (\0) from the ids by editing the plugin (specifically the isDenoSpecifier and toDenoSpecifier functions) in my node_modules folder, the builds on both dev and prod will work but there will be a flash of unstyled content in dev which isn't ideal.

ah nevermind i figured it out, i just had the vite resolve.alias in the config setup incorrectly. however i did notice that the tailwind.css file was actually being parsed by deno info successfully (because it happened to also be valid js syntax) which in turn was giving the responsibility of loading it to the plugin instead of vite.


Possibility to use Py_Initialize only once and use an external python script from multiple go routines

My use case is we need to call an external python script with different parameters from multiple go routines. If every time we do Py_Initialize , then there might be memory overhead and performance issues will strike. Is it possible to do Py_Initialize only once and execute the python script from different go routines.

This project is just a relatively thin wrapper around Python's C API. So basically all the limitations of the Python C API apply. One limitation is that Python has a global interpreter lock (GIL). You can't do multiple things in a Python interpreter at the same time (unless you use Python's concurrency features in the Python code that you're executing).
The easiest way to make embedded Python to work with goroutines is to make sure that only one goroutine is actually "doing" Python at a time and all the other ones have to wait. Here's an excellent blog post and related conference talk that cover this and a few other options.
Having said this, something very exciting seems to be happening in the CPython project that will probably be available in Python 3.12 later this year (and can already be tested in Python 3.12 alpha / from git master): Python will get truly parallel subinterpreters.
https://martinheinz.dev/blog/97
While I haven't tried it, I think it should be possible to use these improved subinterpeters in Python code called from Go, like the examples from the blogpost. (However, you would need to make this project work with Python 3.12 alpha first (by default it works only with Python 3.7, but it's generally possible to get it to run with newer Python versions by removing the bindings for functions that don't exist anymore in the newer Python version. See my comment at the end of my blogpost here: https://poweruser.blog/embedding-python-in-go-338c0399f3d5 ).

Thanks for the nice and detailed explanation and it helped a lot.


Added EncodedLocalStorage

Thanks for the lib, it works great !
I have the case where I didn't want part of my state to be stored in plain text on localStorage.
So I created an EncodedLocalStorage that takes an encoder and decoder functions on top of the storage and stores the state as an encoded string and decodes it on the fly when reading it.
By default, if you don't specify any encoder/decoder function it will use basic base64 encoding.
If made PR #16 for that matter. Feel free to merge if you think that could be of interest of some (alternatively, we could also update the current localStorage to accept an encoder and decoder as optional and just store plain text if none are passed).

Thanks @slybridges! I'm closing this issue in favour of #16.


"Continue where I left Off" - Restore my tabs with launching ASE

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to close Storage Explorer to reboot my computer or anything else, because it disrupts my workflow in Azure Storage Explorer: I have to find and re-open all of my previous blob containers, tables, queues, etc. that I use throughout the day. Our team deals with MANY storage accounts on a daily basis and so navigating around and loading lists of storage accounts can be a pain (we typically are watching 180+ storage accounts at any given time).
Describe the solution you'd like
I would LOVE for Azure Storage Explorer to "remember" the tabs I had open (similar to a web browser) and "start where I left off", that is, when I launch Azure Storage Explorer, restore the tabs I had open when I exited the application.
Describe alternatives you've considered
I have tried making a note of each tab I had open during a session, from what storage account, etc. But that is a very tedious and manual process.
Additional context
Many modern applications provide this feature: VSCode, VS, Edge, Kusto Explorer, etc. I would love to see Azure Storage Explorer join this list. If this capability already exists, please point me to it so I can share it with my team as well, thank you! :)

Duplicate of #1504


 Very interesting, why nvidia would have a product page for the 3090 if they don't even have a product id for it is beyond me. Hopefully we'll get some in the future.

😢
Thanks for doing this!


Stuck at loading builder tools when there's a schematic file in schematics folder

so im trying to load a schematic file using builder tools but when i put my schematic file in schematics folder, builder tools stops at 'enabling'

there are two ways to fix:

Wait few secs when the schematic is loaded
Change config line 13 to oncommand

Maybe fix it through custom thread

Schematics are now loaded using async tasks


ion.Timestamp marshal/unmarshal issue - v 1.0.1

Hey guys,
I noticed that after marshal/unmarshal Timestamp type we are getting invalid results - a test was done on current version v1.0.1
test case - one fom your interanl test
tmp := ion.NewTimestamp(time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC), ion.TimestampPrecisionSecond, ion.TimezoneUTC)
=> tmp 2010-01-01T00:00:00Z - OK
var jsonData []byte
jsonData, _ = json.Marshal(tmp)
var out = new(helpers.IonTimestamp)
_ = json.Unmarshal(jsonData, &out)
fmt.Println("out", out.String())
==>>
out 0001-01-01T00:00:00Z

This Ion library provides its own Marshal/Unmarshal (as Ion can be richer than JSON).
Try using ion.Marshal(temp) and ion.Unmarshal(jsonData, &out)

Hey, possible, the Issue on our site occurred when we added a cache solution.
Therefore it's very inefficient to add additional rules (and can gro over time) instead of using standard json.Marshal/Unmarshal approach

Hey,
I have the same problem to unmarshall the txTime inside of metadata from history queries.
I try to do somethig like this:
type example struct { 	Metadata struct { 		Id      string        ion:"id"		Version int          ion:"version"		TxTime  ion.Timestampion:"txTime"	}ion:"metadata" }
The field TXTime is ignored.

Hi @joao-reis, based on what I understood form your description, I wrote the following test and it seems to be working fine:
func TestUnmarshalTime(t *testing.T) {
	type MetadataStruct struct {
		Id      string    `ion:"id"`
		Version int       `ion:"version"`
		TxTime  Timestamp `ion:"txTime"`
	}

	type example struct {
		Metadata MetadataStruct `ion:"metadata"`
	}

	ts := NewDateTimestamp(time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC), TimestampPrecisionYear)
	meta := MetadataStruct{"idValue", 22, ts}
	expectedValue := example{meta}

	t.Run("test", func(t *testing.T) {
		var val example
                // first parameter to unmarshal would be your data
		require.NoError(t, UnmarshalString("{metadata:{id:\"idValue\",txTime:2020T,version:22}}", &val))

		fmt.Println(val)
		assert.Equal(t, expectedValue, val)
	})
}

Can you please clarify how your code is different from this, which results in the mentioned unexpected behaviour?

Hey @Armanbqt ,
So the test works perfectly 👍
The problem here is to show the  MetadataStruct in a browser after the unmarshal for example, in this case the field TxTime appear as {} instead of the TxTime.String().
In order to solve this I created a new field and copy the value of TxTime.String() into that new filed to be shown as string.

Glad to hear you found a workaround. However, if you provide some code snippet, I might be able to help further.

@R-maan, @therapon we are also facing the same issue because ion.Timestamp does not implement MarshalJSON /UnmarshaJSON.
what we are trying to do is this -

ion message is converted to Golang map ( map[string]interface{} ) using
amazon-ion library's ion.Unmarshal().
this map is then converted to JSON using Golang's native json.Marshal()
Map created in first step stores values as Golang types exposed by
amazon-ion library.
Golang's json Marshaler expects custom types to implement MarshalJSON / UnMarshalJSON
so that it can convert values of those types to correct JSON.
Since ion.timestamp type which is stored as value in the map for the ion dates does not implement it ,
we get default interpretation from Golang Marshaller - {}, instead of JSON date string.

many thoughts ? can we expect implementation of json matshaller,


X-Mas Maps

Changelog:
-Adds Xmas to Arena and Tortuga

Are there two FloraTreeChristmas02 entities on Tortuga? It looks like there are in this diff.

I'll look in a bit. I'm not at my pc right now. Shouldn't be though... Unless, I accidentally placed a rogue tree somewhere

Yep, there was an extra tree. I was testing a couple locations to see which I liked best. Must have forgotten to delete one.


Logic system and Coroutines

Added an arbitrary logic system and a coroutine engine

Merged. Won't be used in 504 but I want to merge the code so it's there to be used as things move forwards.


Can RIFE fix time parallax (rolling shutter) effect?

Which model is the best to fix rolling shutter effect in live video, if any?
If it's not, what could you recommend for this problem?

ChatGPT said no.
"Since rolling shutter is a spatial distortion caused by the sensor, RIFE may not be able to directly fix these artifacts because it deals with temporal interpolation between frames, not spatial correction within individual frames."
https://chatgpt.com/share/66e5e70e-9260-800b-a1ba-86483eec1810

It would appear, that RIFE is very close to solve this problem, because rolling shutter fix is the same as frame interpolation with time shifts of parts of the frame relative to each other.

Thank you for answer.


control c doesn't work in insider

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.79.0-insider (Universal)
OS Version: Darwin x64 18.7.0

Steps to Reproduce:

Launch a terminal
press control c

Expected:
Sends control c to the terminal (like terminating a node app)
Actual:
Does nothing, in node it shows ^C
Note:
This works in 1.76.2 (Universal) non insider version.

/duplicate #181939


Is the framework's development still active?

Hello,
Wing is an amazing, easy to use CSS framework – truely one-of-a-kind. However its grid system is simply broken, since the last commit, made last year in June, as described in #82.
Do you plan fixing this in future, so that the development is still active? I don't expect 'big' updates since Wing is a simple product, but fixing its grid system seems essential.
Thanks in advance,
Márton Lente

Hey Marton,
The development of this framework is not as active as I'd like it to be because of a variety of reasons. I haven't been able to get much time to work on any of my projects because of school and sports taking up the majority of my time. I apologize for the extremely late reply and I can try addressing the issue now.
Thanks for having faith in Wing and persistently making well-formatted and helpful issues — you've done your part, and I think it's time that I do mine. I'll work on fixing some of the other issues when I have time, and I'll work on #82 right now.

Hello,
Thank for the fixes, and your feedback! It's just good to hear everything is all right, and the latest Wing also works again without searching for older commits. :)
Good luck for the sports and school!
Kind regards,
Márton Lente


Load schema specified in graphqlrc.yml

@cecobask I needed to squash commits as there were multiple conflicts in the same file.
Also there were many issues in the PR: Runtime template were not updated.
I have pushed those commits on top so you can check what was there

I think we should move those configs into graphback so people are able to read them without specifying them directly in the template apps


Taking a few days to complete SlimPajama "Train" data

Hi,
I just want to know how much time it takes to finish the "train" data preparation using this script.
python scripts/prepare_slimpajama.py --source_path /path/to/SlimPajama --tokenizer_path data/llama  --destination_path data/slim_star_combined --split train --percentage 1.0
I have been running this code for the last 4 days using one A100 GPU.
Thanks
Best regards,
Ahmed

Hi, I think the speed depends on how much cpu cores do you have.  When we use 128 cores, it seems to take about a day to do this.

hey what exact version of torch lightning torchvision are you using, i did a fresh pip install -r requirements.txt on a new conda env but i still get ton of torch cuda related errors


Heat haze wrong at edges when view size != window size

I found this by reducing the view size with the sizedown command. It might happen with portals too, but I haven't tested. The bug is the blue texture not going all the way to the top of the viewport.

I also checked with /testshader gfx/weapons/flamer/haze to verify it is not something special about the forcefield shader. This one shows that the bug with textures not extending to the edge of the view when they should also applies to surfaces other than the one containing the heat haze.

Is this a common use case? It would require to add some extra logic to the shader to fix it, since right now it just uses the entire current colour buffer as input.

Is this a common use case?

sizedown certainly isn't common. We have been asked about leaving black bars on the sides for very wide monitors, although I don't think there's any way to configure it currently. At least it can happen with portals (see the red left side of the monitor bleeding into the portal):

It would require to add some extra logic to the shader to fix it, since right now it just uses the entire current colour buffer as input.

Could we define a sub-image with this so that we don't have to change the shader?

Could we define a sub-image with this so that we don't have to change the shader?

glTexSubImage*() only deals with uploading data. Texture views might work, though they require either an extension or GL 4.3+.


Telling Maple size :: Array -> Nat.

Somehow we need to add this information to our knowledge base, and make use of it in deductions.

@zaxtax Would you please give a more concrete example (like an input to simplification) why we want to tell Maple size returns non-negative?

Sure suppose you have the following program
[zv@t420 hakaru (master)]% cat hello.hk
fn x array(real):
 θ <~ normal(0,1)
 _ <~ plate i of size(x):
        observe normal(θ, 1) x[i]
 return θ

When we normalize and simplify it we get the following
[zv@t420 hakaru (master)]% simplify hello.hk | normalize | simplify -
fn x array(real):
 weight((match (signum(prob2real(((nat2prob(size(x)) * 1/2) + 1/2)))
                 ==
                1):
          true: 1
          false: 0 *
         ((nat2prob(size(x)) + 1) ** (1/2)) *
         (recip(nat2prob((size(x) + 1))) ** (1/2))),
        normal(prob2real((recip(nat2prob((size(x) + 1))) *
                          summate i from 0 to (nat2real(size(x)) + -1):
                           real2prob(x[int2nat(i)]))),
               (recip(nat2prob((size(x) + 1))) ** (1/2))))

I believe this could simplify better if simplify knew that size(x) will never be negative.

Great example.
There are two different pieces of information we want in the above:

i is in bounds (so it can be used to index into x)
size(n) >= 0.

Information about (1) is used in very different ways than (2).  For (2) we could just as easily gensym a new name and make it known that it is non-negative.  That is probably the easiest solution.  We just need to a) keep track of that equality, likely in KB, and b) un-substitute on our way out.
I will readily grant that this is a bit of a hack.  I have been thinking about how to teach maple about the 'size' function, which would be a much more satisfying way of doing it.  But I don't quite know how to do that reliably yet, so the hack might be a reasonable intermediate measure.  [pun intended?]

My commit 006bbc354e893bf364c07094f6e4cc6815bab359 achieves Jacques's (2).
$ .cabal/bin/simplify hello.hk | .cabal/bin/normalize | .cabal/bin/simplify -
fn x array(real):
 normal(prob2real((recip(nat2prob((size(x) + 1))) *
                   summate i from 0 to (nat2real(size(x)) + -1):
                    real2prob(x[int2nat(i)]))),
        (recip(nat2prob((size(x) + 1))) ** (1/2)))


Cannot flash the firmware from a Mac

I have OS X Yosemite. SiLabs drivers for the USB-Serial adapter are installed and working. I can communicate to the board via /dev/cu.SLAB_USBtoUART and I can use it in screen, ESPlorer, esptool.py... but strangely not minicom.
However, I haven't been able to flash new firmware successfully.
Can anyone confirm this can be done?

What tool did you use to flash?
What firmware image?

I posted additional information here: http://www.esp8266.com/viewtopic.php?f=22&t=3903 but nobody has been able to help. Help is appreciated!

Minicom requires some tweaks to work correctly, iirc - it has to be told to ignore certain signals and lines that are being repurposed.
Ok, so you are actually flashing the build and getting to boot mode 3, which is boot from SPI flash. (Esptool, with a supported USB->Serial, is able to reset devices and put them in to boot mode 1, which is what you use for writing to the flash.) Secondary boot mode not being 7 I tend to associate with power supply issues. I've never found a concrete answer as to what it means.
Based on other bug reports, it looks like you might have a defective flash chip or a nonstandard flash chip - or you're flashing bad firmware. Have you tried flashing the stock NodeMCU firmware? Do you have access to a Windows machine to try the official NodeMCU flasher?

I doubt but don't completely rule out a defective flash chip because it was functional out of the box. I do have access to Windows PC and will try that next. In order to rule out a bad firmware image, can you link to an image that is known to work on NodeMCU devkit 1.0?

http://www.esp8266.com/viewtopic.php?p=15306 kind of indicates that, based on your error, something weird is going on with your flash chip. It might need a specialized flasher or a different header. This wouldn't have been a problem...until you tried to flash it or write a large amount of data to flash.
The NodeMCU flasher comes with NodeMCU firmware. I'm not sure which version, though.
Official NodeMCU releases are at https://github.com/nodemcu/nodemcu-firmware/releases - I don't have a NodeMCU 1.0 to test on but I'd expect a lot of issues filed if any of these builds were broken.


Succeeded has wrong semantics

HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Tue, 26 May 2020 09:27:39 GMT
Content-Type: application/json
Content-Length: 33
Connection: keep-alive
Request-Id: |c5c9713592d3b043814baf867dd3bc9b.391783d0b8924345.
X-Influxdb-Build: ENT
X-Influxdb-Version: 1.8.0-c1.8.0
X-Request-Id: |c5c9713592d3b043814baf867dd3bc9b.391783d0b8924345.
X-Upstream-Addr: <IP_ADDRESS>:8000
X-Upstream-Status: 200
X-Upstream-Response-Time:<PHONE_NUMBER>.160

{"results":[{"statement_id":0}]}

Gives:

Actually that is success, but with zero data.

what is the way to check empty result vs real error (i.e if influx will return error really)?

Greetings,
Sorry for the (extremely) slow comment.
This library should throw an exception if there is an actual error (network or syntax related).
However, if an incorrect measurement name or similar is used, expect an empty result like this.
There is not really anyway to determine what the actual cause was in that case.
You could argue that it should not indicate that it "did not succeed", though.


Snake example does not compile on Windows

To reproduce, follow the instructions in examples/program_examples/README.md. Specifically,
git clone git@github.com:TimonPost/crossterm.git
cd crossterm/examples/program_examples/snake
cargo run

I got this:
error: current package believes it's in a workspace when it's not:
current:   redacted\crossterm\examples\program_examples\snake\Cargo.toml
workspace: redacted\crossterm\Cargo.toml

Okay, doing as suggested. Now cargo run produces the following error:
error[E0432]: unresolved import `crossterm::ColorType`
 --> examples\program_examples\snake\src\map.rs:5:19
  |
5 |     style, Color, ColorType, Crossterm, ObjectStyle, Screen, StyledObject, TerminalCursor,
  |                   ^^^^^^^^^ no `ColorType` in the root. Did you mean to use `Colorize`?

Ah thanks for saying that, it was caused by the last updated. It will be fixed.

fixed


ClickUp added a space between '#' and task ID breaking the integration and button missing in sidebar mode

OS version: OS X 10.15.7
Browser version: <IP_ADDRESS>
Extension version: 2.0.20

Relevant integration (if any):
ClickUp - clickup.com
🐛 Describe the bug
From a user:

I'm using the chrome extension to track time on the listed integration "ClickUp - clickup.com". Recently time entry description has change format slightly and makes the api-sync back to clickup not work.
the chrome extension used to log all the tracked issues with a hashtag and the ID of the issue, like "#865bpq4t9". The problem is that it is now inserting a space between the hashtag and the ID "# 865bpq4t9" which breaks the api-integration to clickup.
there is also one more issue. In the new clickup task view (recently released), toggle button doesn't show up in sidebarmode.
can you have a look at this?

Other details or context
This slack thread 🔗

Intercom 🔗

Case ref
Clickup shows two buttons now after update


"Too few parameters" only works on one server

I've received this from a few people. For some reason, the automatic help menu with Nadeko that says "Too few parameters" when one does something like .mute without arguments only works on one server (the first server our selfhosted bot is on). Verified permissions and confirmed it only works on one server. On the others, you need to do .h .mute to get the menu. Doing .mute for example doesn't output anything.
Is that a bug or am I missing something? Sorry, been swamped lately and haven't had time to look closer!
Thanks 👍

0|Nadeko   | 	User: .vlexɹɐ.#5320 [243902693666455553]
0|Nadeko   | 	Server: JustTest [317157817045745664]
0|Nadeko   | 	Channel: general [317157817045745664]
0|Nadeko   | 	Message: .mute
0|Nadeko   | 	Error: The input text has too few parameters.
0|Nadeko   | 18:10:17 CommandHandler | Command Errored after 0/0/0.004s
0|Nadeko   | 	User: .vlexɹɐ.#5320 [243902693666455553]
0|Nadeko   | 	Server: SeriousShit [284962667922194432]
0|Nadeko   | 	Channel: main-mail [284962667922194432]
0|Nadeko   | 	Message: .mute
0|Nadeko   | 	Error: The input text has too few parameters.
0|Nadeko   | 18:10:26 CommandHandler | Command Errored after 0/0/0s
0|Nadeko   | 	User: .vlexɹɐ.#5320 [243902693666455553]
0|Nadeko   | 	Server: EC || Bot & Dev || General [249664293656592384]
0|Nadeko   | 	Channel: musicbots [277603445794668555]
0|Nadeko   | 	Message: .mute
0|Nadeko   | 	Error: The input text has too few parameters.

It does output the proper console error on all the servers, but only one of them "responds" when doing something like .mute with the help.

maybe .ve is not enabled on other servers? I'm not sure what your'e asking

Yeah, facepalm
Forgot to do that.
/closed


Fix extension validation

Latest Docker Desktop default settings do not allow installing non marketplace extensions. We need to change settings before installing the extension to validate

Tested with modified workflow here, extension is installed properly after changing settings.json file


Fix crash when PWA is added/created

Creating a PWA crashes the server for me, I think because crud.js#L87 doesn't actually pass a callback.

LGTM


Controller does not turn off

Describe the bug
Whether in Game Mode or the desktop, the connected controller will not go to sleep. Auto-sleep function is set to 15 minutes and it still stays on past that time, draining the battery. HOME + △/Y also does not turn the controller off.
What did you expect to happen?
Controller should be turning off.
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:b48da348e0f942a18e833fb14f5483d70b291b41f34089c390148ad53a36dec4
                  Version: 40.20240625.0 (2024-06-27T02:01:04Z)
          LayeredPackages: sunshine

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:b48da348e0f942a18e833fb14f5483d70b291b41f34089c390148ad53a36dec4
                  Version: 40.20240625.0 (2024-06-27T02:01:04Z)
          LayeredPackages: sunshine

Hardware

Extra information or context
Controllers used: DualSense, Dualshock 4, Xbox One, Xbox Series X.
Turning off bluetooth does turn them off, but this is not the ideal use case.

The workaround #1390 will not handle this issue.
Especial not the part with the shortcut HOME + △/Y.

I can confirm this behavior on my machine UM790pro.

This might be a general Linux problem, as suggested by S1ngl3-x in #1040. I installed a fresh Ubuntu image, installed Steam, connected a DualSense controller and the HOME + △/Y shortcut still doesn't work.

This issue is tracked at steam under #8678

Who does not want to wait for the fix #1416 can try the script from here:
https://github.com/thekk1/bluetooth-ds4-ds5-workaround


some additions...

Thanks for the contribution, but I don't think I'm going to merge this. The excluded_snaps.txt is for snaps which will almost certainly never have equivalents in flatpak.
I think It's entirely possible that ffmpeg and gifski may end up being published at some point as flatpaks in flathub.
I'll clear up the documentation in the readme, so make it more specific. Thanks again!


chore: enable lint in CI

After cleaning up some unused arguments in #154, this proposes that all remaining linting problems go in nolints.json, and we enable the linter in CI.

Is there a way to disable certain linters? I'm in favour of enabling linting, but I don't plan to systematically document Aesop, so I wouldn't want to fight the docBlame linter all the time.

Hmm, as far as I'm aware there isn't a way to turn off environment linters via runLinter.
@digama0 or @adomani, any ideas for how we could let people turn off e.g. docBlame easily from a lakefile? We either need more command line arguments for runLinter, or have the environment linter framework pay attention to a package level option?

Others have done it like this:
https://plmlab.math.cnrs.fr/nuccio/mathlib4/-/blob/splittingfieldch/Mathlib/Data/FP/Basic.lean?ref_type=heads#L164
not sure whether this is good enough...

Others have done it like this: https://plmlab.math.cnrs.fr/nuccio/mathlib4/-/blob/splittingfieldch/Mathlib/Data/FP/Basic.lean?ref_type=heads#L164
not sure whether this is good enough...

These are syntax linters, rather than environment linters.


_git-add: Function definition file not found.

Using:

OS X 10.12
zsh 5.2 (x86_64-apple-darwin16.0)
git version 2.8.4 (Apple Git-73)
Antigen revision f51446564c46ec07c5ebdd12fdf7cf6a0f573ca3

It was suggested here that I post it.

Gotcha. Gonna take a look at it.

Thanks! Let me know if I can provide any additional information!

@Hoverbear Tried it and it seems to work (MacOS and Fedora).
_git completion usually comes with zsh installation, so it should be available given you have a proper $fpath.
Try to regenerate the compdump file:
mv .zcompdump .zcompdump.1

...and restart your shell. A new .zcompdump file should be created and hopefully your issue should be gone.

@desyncr Hey! Thanks, it seems to have worked! Sorry to bother you with this.

No problem. Happy to know it worked. It seems .zcompdump should be reset automatically on antigen reset? I'll investigate a bit more.

I'm finding myself having to reset this file once a day at least, I just installed macOS from scratch and followed the zsh + prezto installation instructions accurately. Is there any way to debug this problem?


2 frontend   event calendar   create ical component

2 frontend   event calendar   create ical component
created add-to-personal-calendar button on EventDetails Page.
-uses eventDetails useState/getEventDetails function to populate info for calendar info.
-conditional rendering for location: if eventType is virtual, will give link --> else, will show venue + venue address
-also changed virtualEventLink input type to 'url' instead of 'text' to correspond w/ django URLField set for this variable

Gonna go start practicing the cello. brb


When an animation player is paused by a method call, resuming the animation causes the method call to run repeatedly

Tested versions

Reproducible in v4.2.1.stable.mono.official [b09f793f5], v4.2.1.stable.official [b09f793f5]
Not reproducible in v4.1.2.stable.mono.official [399c9dc39]

System information
Godot v4.2.1.stable.mono - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3070 (NVIDIA; <IP_ADDRESS>42) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
If you call a function from an animation player using a call method track and that function pauses the current animation, resuming the animation using animationPlayer.play() will cause that method to be called again.
The intended behaviour (this was how it worked in 4.1.2) is that when the animation is resumed, the method will not be called again and the animation will continue as normal.
One workaround for this issue is to instead set speed_scale to 0 when you want to pause the animation and to set it back to 1 when you want to resume it.
Steps to reproduce

Create a new scene
Add an animation player and a timer as children of the root node
Add a new script to the root node
Create a method that pauses the animation player and starts the timer
Take the timeout() signal from the timer, connect it to the root node, and in that method, play the animation
Make a new animation in the animation player and set it to run on start
Add a Call Method Track to the animation and call the method in the root node somewhere in the animation
Run the game and it should cause the method you made to run repeatedly

This is an example of the code that could be written in the root node

This is an example of the animation that could be made to reproduce the issue

Minimal reproduction project (MRP)
AnimationPlayerMethodCallRepeatIssue.zip

Duplicate of: https://github.com/godotengine/godot/issues/86147


s3 bucket for terraform state region is harcoded

Bug Report
Expected behavior/code
When I create the bucket to store the terraform state I want to choose the region where it will be created
Actual Behavior
The aws region is harcoded in src/aws/create_state_bucket/variables.tf. The value is eu-west-1
Possible Solution
Use the environment variable aws_region in env.d/aws/env.d/state_bucket

The default is hardcoded but it will accept a value from the environment variable


Advance Powercell Capacity Overflow

If a powercell network has over 2,147,483,647 (Rough guess) energy the network goes into the negative and can not be easily fixed.

I'll add protection that it cannot go beyond that

Would you have any advice on how a server admin could correct this issue if they already have it? We tried breaking a few but it stayed negative.

Hmm. Might be hard to fix I'm afraid

Fixed next release. If the value is negative rftools will also auto correct it to maximum contents of the cell network

Pack: All the mods 3 version 3.2b. Forge: 2478. RFTools version: 1.12-6.13. We are having this issue on a server.
https://imgur.com/a/GLfwV This is of course right before it reverts to negatives.

Weird...

Using RFTools 1.12-7.29 and RFToolsdim 1.12-5.52
Breaking an advanced powercell caused all the powercells in the same network to become -90M each.

This should in theory not happen anymore in RFTools 7.30 and McJtyLib 2.6.5. Can you confirm this?

It doesn't happen all the time, it was just the once, but it does average out the negative RF to any other power cells added to the network (which is working as intended)
Will continue to test in the mod pack it happened in once RFTools is updated in it on the server. It's not a repeatable bug so difficult to test.

same thing happening to me, RFtools 1.12-7.3.2 - modpack FTB Revelation.

Do you know of a set of steps to reproduce this? Currently, I can't reproduce it myself, so there's basically nothing I can do.

Draconic Evolution implemented an extension of the RF API to use long for capacity. Is there any reason you couldn’t use that? Better yet, is there any reason you couldn’t use BigInteger for capacity?

I previously asked that myself. @McJty said he doesn't want powercell networks to hold more energy than can fit in an int.

Just a quick note on this issue. Might be the case that it should be a separate issue instead. The cell channel seems to cap at MAX_INT capacity internally, but the GUI still wraps to negative.
See attached screenshots of WAILA's info vs Cell's GUI.

The issue can still occur in rftools-1.12-7.61.
I changed the advancedFactor config from 4 to 40, and quite a few of my players reported that their Powercell Networks had overflowed into negative numbers.


Add litmus harness patching-up

Something that's presently blocking testing the tester is the fact that litmus7 doesn't insert stdbool references into its harness.  It might be easiest to fix this by adding an extra stage to the lifting process that filters through the harnesses and makes sure that they have this set up.
For more complicated things, like the c_litmus_indirect approach, it'll probably be easier to make a new backend program that wraps Litmus.  But we can cross that bridge when we come to it.

Fixed in e9e237892c9504bfbb063882ab98b1d5b283b8c8.


patch(integration_test_charm.yaml): Display status and logs from multiple models

Issue
For integration tests like the one for async replication, it would be helpful to have status and logs from multiple models.
Solution
In .github/workflows/integration_test_charm.yaml:

Loop over the existing models (except the controller model) and run the juju status and juju debug-log (or convert-logsink-to-debug-log for LXD clouds) commands for each model, appending the output to the status and the log files, respectively.

For the logs, write the model name before writing the logs to the logs file.

In python/cli/data_platform_workflows_cli/convert_logsink_to_debug_log.py:

Get the first model from the juju show-model command output because a second model has a name different from the test (example: test-other in the PostgreSQL charms async replication integration tests).

Append the logs to the already existing log file to support logs from multiple models.

Fixes https://github.com/canonical/data-platform-workflows/issues/193.

Superseded by https://github.com/canonical/data-platform-workflows/pull/195.


repro chat crash on deleted user

This test yields the chat failure on a deleted user, where the failure comes as a result of a UPAK load in a team load.  This PR won't pass CI since there's no fix for the bug yet. That fix is a server-fix and a complementary client-side fix.

Thanks @patrickxb  -- I'll merge this in when the PR that @oconnor663 is reviewing gets a thumb, since CI won't pass without it.

Done.

thanks @oconnor663 !

The commits ed4bf6a713ae...b2471c93d4b1 introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)


Error on some names

HTTPError throws when checking some package names via this cli-package. Like this:
~ $ npm-name f
HTTPError: Response code 404 (Not Found)
    at stream.catch.then.data (/usr/local/lib/node_modules/npm-name-cli/node_modules/squatter/node_modules/got/index.js:182:13)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

f is real npm package.
When using API from npm-name it will be all right for this package:
const nn = require('npm-name');
await nn('f') // false

I thing it is a bug.

The error is coming from https://github.com/sholladay/squatter
// @sholladay

Thanks, I am able to reproduce this. Seems to be due to changes to the npm registry. Specifically, the call we make at has-binary-or-dependent.js#L16-L28 is now failing for all packages. The reason you only see it for some packages in the CLI is because we short-circuit the logic and don't run that code if we don't need it, which is the case for some packages.
I ran the squatter tests and the integration test for hasBinaryOrDependent() is failing where it was previously passing.
The error output from the squatter tests shows the full GotError:
HTTPError (GotError) {
  headers: {
    'accept-ranges': 'bytes',
    age: '0',
    'cache-control': 'max-age=0',
    connection: 'close',
    date: 'Wed, 23 May 2018 16:01:32 GMT',
    'npm-notice': 'this endpoint is deprecated',
    'transfer-encoding': 'chunked',
    via: '1.1 varnish',
    'x-cache': 'MISS',
    'x-cache-hits': '0',
    'x-served-by': 'cache-bos8228-BOS',
    'x-timer': 'S1527091292.376027,VS0,VE366',
  },
  host: 'registry.npmjs.org',
  hostname: 'registry.npmjs.org',
  method: 'GET',
  path: '/-/_view/dependedUpon?group_level=2&startkey=%5B%22rawr%22%5D&endkey=%5B%22rawr%22%2C%7B%7D%5D&stale=update_after&skip=0&limit=1000',
  protocol: 'https:',
  statusCode: 404,
  statusMessage: 'Not Found',
  url: 'https://registry.npmjs.org/-/_view/dependedUpon?group_level=2&startkey=%5B%22rawr%22%5D&endkey=%5B%22rawr%22%2C%7B%7D%5D&stale=update_after&skip=0&limit=1000',
  message: 'Response code 404 (Not Found)',
}

The thing that catches my eye is that npm-notice header:
'npm-notice': 'this endpoint is deprecated'

I guess this is a hard deprecation. 😞
Anyone know if there is a replacement? I filed https://github.com/npm/registry/issues/231 back when I first released squatter, asking for an alternative. I'm not aware of any movement on that. @zeke's dependent-counts package is the best solution I know of, but it is out of date and the install size is 11MB.

The all-the-package-names package is updated daily by a bot. It's not up-to-the-minute accurate, but will be adequate for most cases:
npx all-the-package-names | egrep '^foo'

See also available by @feross.

Yeah dependent-counts is in dire need of upkeep and automation.
Registry folks you may want to reach out to:

https://github.com/ceejbot
https://github.com/bcoe
https://github.com/soldair
https://github.com/mmalecki

I reached out to Benjamin Coe on Twitter and he replied that the endpoint being used here has not knowingly been deprecated. So this is likely just a regression that will (hopefully) be fixed soon.
I'll give them some time to fix it and in the meantime, I'll think about ideas for offline fallbacks to improve the UX going forward.

Neat idea! Seems like a reasonable workaround for now. I'll open a couple of issues with improvement ideas and look into including it in a patch release.

check-npm-dependents

good idea, @astur.
Is anyone else sad that it's 2018, npm Inc has been a funded company for 5 years, and there's still no API for this kind of thing? Seems ridiculous that we have to scrap the website for this info.

@sholladay Can you use that package and release a new version of squatter so we can close this issue?

I have fixed this in<EMAIL_ADDRESS>(release notes here). Note that I had to release it as a breaking change, because scra (a subdependency of check-npm-dependents) requires Node 8+, whereas squatter previously supported Node 7.6+. That shouldn't be a problem for anyone since Node 7 is EOL and npm-name-cli is already on 8+, but we'll have to upgrade manually here in npm-name-cli.
I opened a PR with the upgrade: https://github.com/sindresorhus/npm-name-cli/pull/13
Unrelated side note: scra relies on a deprecated version of socks, so it prints warnings to the console on installation. Would be great if we could clean that up. @astur.

@sholladay No problem, I can change scra to got if you want it.

Also, in case anyone wonders why we were using a CouchDB view in the first place, it was officially supported...

Because npm cares deeply about backwards compatibility, as the npm regsitry grows out of its CouchApp and CouchDB origins, all of the original endpoints and functionality of the original API will continue to be supported.

😞

@sholladay Now npm-name-cli uses got instead scra. Does it works well on your task?


Add Github contributor

Hi, I'd like to help maintain this cookbook and merge pending PRs. I've started using this at work and would rather maintain my fixes in a canonical place and not maintain a fork.
@NOX73 thoughts?

[x] Github collaborator
[ ] Supermarket collaborator (?) to upload new releases

Cheers!

Welcome )

Will appreciate your help

Thanks @NOX73!


New version of Bundle API

We have already discussed some breaking changes we are considering making to the Bundle API. This issue is proposed as an umbrella issue to agree on what to do and how to proceed. Browsing through our currently open issues, I can find the following candidates:

[ ] #4
[ ] #39
[ ] #63
[ ] #243
[ ] #44

Our first decision should be if we want to do #63 - as it suggests renaming the kind from Bundle to ClusterBundle. And AFAIK it is not possible to have any conversion webhook to convert between kinds. A conversion webhook can only convert between versions of the same kind. Doing #63 will create space to eventually fix #131 in the future. I am not saying we should do #131, but without #63 it will not be possible to do #131 with good naming of resources. If we decide to go for a new kind, I think we should try to keep both kinds around for a couple of releases - to allow users to migrate.
Over to how I think we should introduce a version (or kind). Either way, I suggest starting by introducing a new version (in a dedicated PR) as an exact copy of the existing API version - making the new version unserved. As long as the new version is unserved we can now proceed with changing the new version (and/or kind) in multiple follow-up PRs - without blocking for releases of trust-manager.

@erikgb We created a CertificateBundler CRD and operator that is nearly identical to trust manager's basic Bundle with a couple major differences that help support rotation.
The operator for the bundler reads sources, builds PEM & JKS bundles and then creates ConfigMaps in target namespaces. We create Certificate style Secrets only (tls.crt with PEM) for ease and it fits our use cases.
1. Append Certificates
The status of CertificateBundler caches the current set of certs (as a PEM bundle). When reconciling the CRD (e.g. due to change in a source Secret) we scan the sources and append any new certificates, leaving old ones in place.
2. Filter Expired Certificates
During reconciliation, when building the certificate bundle, any expired certificates are excluded. Additionally, we schedule an appropriately timed reconciliation if any certificates expire sooner than the normal 10hour drift reconcile.
3. Deduplication
Duplicate certificates are removed by comparing Issuer + Subject + Serial Number; although Issuer + Serial Number seems to actually be the right unique key.
Implementation
Our actual implementation goes like this:

Scan sources for certificates
Append current certificates (from cached)
Filter expired certificates
Deduplicate certificates
Cache bundle in status
Generate or update config maps in target namespaces
Schedule reconcile for earliest expiring certificate (if needed)

Taken together these features allow rotation in almost any form without any extra work; specifically simple reissues and key rotations. It works for cross signing as well by using multiple sources (although we currently don't have that setup or test it).
Example
A bundler is created with a single source secret generated by cert-manager's issuance of a Certificate. It will create the matching ConfigMap as expected. When cert-manager reissues the Certificate the associated Secret is updated and that triggers a reconcile for the bundler, which has the net effect of updating the ConfigMap with the previous and new certificates. Services will now trust both. Finally, at some point the bundler will remove the previous certificate when it expires.
Clusters can use Reloader, wave or similar to detect changes in the bundle ConfigMap and ensure services are restarted.
Back to trust-manager
What are your thoughts on including these features in trust-manager?
These features could be behind a feature flag or flags but it seems like sensible default behavior without really affecting current functionality.

@kdubb This looks very interesting. It's late here, so I will only answer shortly now.

Deduplication was added to trust-manger in https://github.com/cert-manager/trust-manager/pull/184.
Regarding the caching until certificate expiry, even those removed from the sources, I'll have to think a bit more. It sounds a bit strange to me now - just after reading it. What do you do if you need to remove a CA from the bundle before it expires?
I also think it's questionable to remove certificates based on expiry. Why shouldn't targets reflect sources - even if some certificates have expired?

Pretty sure @SgtCoDFish should read ☝.

What do you do if you need to remove a CA from the bundle before it expires?

This is missing from my explanation. If the source is removed, the certs it contributed are explicitly removed during reconciliation. If you had a compromised, or otherwise invalid, certificate you can immediately reissue by deleting and re-creating the certificate.

Why shouldn't targets reflect sources - even if some certificates have expired?

The goal with the bundler isn't an accurate depiction of sources but rather a "correct" depiction of trust, while supporting rotation.

The idea for this came from production topic cert-manager integration ntentionally copying CA Certificates
If you think about it, we're doing this. We're just copying it to the status field of the bundler and automating it.

Super interesting to read, thanks @kdubb ! The implementation of "remembering" previously trusted CAs has (sort of) been discussed before, some of that in #144 (which proposes a different method - I'm linking that issue for visibility).
I definitely see the benefit of it - it obviously helps with rotation. My immediate concern with "remembering" certs is that it doesn't generalise to multiple clusters in a predictable way. The semantics of a trust-manager Bundle today are crystal clear: you'll get a de-duped list of all CA certificates present in all sources. Different sources means different bundles, but if the sources are identical across 10 clusters the bundle will be identical too.
If we add caching or "remembering", then the exact same bundle spec changes in meaning after it's been deployed. The longer it lives, the more it remembers and if it's deleted and recreated it won't be the same. A bundle created before a rotation trusts more than a bundle created after a rotation.
I think the behaviour that the semantics don't change over time is valuable to preserve, and I'd be nervous about adding this kind of thing to the CRD for that reason. My gut reaction is that an external tool which watches a resource and tracks changes in it in a new resource would be the way to go. E.g. my watcher component is set to watch the key "tls.crt" in Secret A. Every time Secret A is changed, the watcher reads "tls.crt" and appends the value to the ConfigMap "my-history". "my-history" could then by used as a trust-manager source. I'd be interested to hear your thoughts on that!

Duplicate certificates are removed by comparing Issuer + Subject + Serial Number; although Issuer + Serial Number seems to actually be the right unique key.

This is a total drive-by comment, but I wouldn't personally go for this approach. Comparing any of these attributes ignores the signature on the cert, which is by far the most important thing for determining uniqueness. It's perfectly possible for two certs to have the same issuer, subject and serial number yet for them to be signed by different private keys.
Comparing on those attributes means that if an attacker can create a CA which looks like yours but with a different private key and they can get it into your trust store, your cert might be deduped rather than theirs.
The safest way to de-dupe is to use the fingerprint (hash of the entire cert). That's what trust-manager does: https://github.com/cert-manager/trust-manager/blob/01bd331abb8ee071025e2b8989930a2eb3b1d8e9/pkg/util/cert_pool.go
I'd strongly suggest changing your de-duplication logic as a priority to compare hashes!

First, a bit of background, the name CertificateBundler (notice the verb) was chosen to be explicit that it is not spec'ing a "bundle" but a bundling mechanism. Maybe that changes things a bit, trust-manager could keep Bundle and add a Bundler (or maybe BundleGenerator given the name similarity).

My gut reaction is that an external tool which watches a resource and tracks changes in it in a new resource would be the way to go.

This is exactly what a CertificateBundler is.

E.g. my watcher component is set to watch the key "tls.crt" in Secret A. Every time Secret A is changed, the watcher reads "tls.crt" and appends the value to the ConfigMap "my-history". "my-history" could then by used as a trust-manager source

This seems to be adding a second step with more configuration to achieve a similar result. I'm fine with the idea but it seems like your "watcher" is just our CertificateBundler without the ability to project bundle ConfigMaps into target namespaces; might as well just have the one CRD be able to do everything.
As you eluded to, I can agree some really advanced setups might use a CertificateBundler to generate a dynamic bundle ConfigMap (in the trust namespace) and then use a Bundle to build and project a compound bundle from the dyanamic bundle and some other sources, and project that compound bundle into targets.
That being said, I think a lot of users would be more easily served by not requiring the use of both a CertificateBundler and a Bundle; allowing them the ability to just use a CertificateBundler would ease configuration.
The end result would to have a Bundle and Bundler, each with their specific semantics and each could be used stand alone or piggy backing on each other.

This is a total drive-by comment, but I wouldn't personally go for this approach.

Thank you so much for this information. I was already questioning whether we were using the core deduplication "key" and your suggestion makes total sense. I will correct this in our implementation.

Alternatively, a preserveHistory and possibly a filterExpiredCertificates options could be added to the bundle, disabled by default. Enabling both would achieve the semantics I laid out.

@nan-coupa, thanks for your comment, but is it relevant for a new API version? We have https://github.com/cert-manager/trust-manager/issues/183 suggesting a system bundle based on Debian bookworm. Removing expired certificates from the trust bundle as an opt-in sounds good to me - do you mind opening an issue for it? I think this has been mentioned/discussed in another issue/PR in this project, but right now I cannot find it. 🤔 @SgtCoDFish WDYT?

@erikgb, I commented on this ticket directly because it mentioned how to handle expired certificates and you asked in an earlier comment:
https://github.com/cert-manager/trust-manager/issues/242#issuecomment-1841735713

I also think it's questionable to remove certificates based on expiry. Why shouldn't targets reflect sources - even if some certificates have expired?

I can create a new issue if you still think it should be separated rather than discussed here.

I can create a new issue if you still think it should be separated rather than discussed here.

Ahhh, thanks! I wasn't smart enough to search within this issue. This comment was added in the context of the CertificateBundler  suggested by @kdubb. I think an opt-in to remove expired certificates from a bundle could make sense as a separate feature. Please create an issue for it! TIA!

I've created #272 to track potentially filtering out expired certs - I see the use case!

/remove-lifecycle stale
/lifecycle frozen


Improvement set grpc channel's keepAliveTime and remove proxy on InterruptedExcep…


Updating migrations

Adds optional argument support to migrations as well and also escapes all of the input so that #11 is resolved.
Putting this in draft until I have a solution in place for ALTER statements as well and also until we have integration tests for migrations.

I was able to get the select migrations to work properly but I'm running into some weird issues with the ALTER migration. That may have to be pushed off into another PR.


Admin menu items are not visible when logging back after a log out

Log in with an admin user
The user will be redirected to the admin page
Log Out.
Log in again with the same user
The admin menu is not visible

Expected:
The admin should be able to see the admin menu after login back in

Fixed


WIP: counties init, census routing init

WIP, edit later...

Fixes #234
Fixes #202

@rperlin-ela
Many questions
much WIP. but good progress and enough for basis of Zoom so let me know if you're around tomorrow.
big things are that counties don't feel useful as a dediated Explore, the queries for it are not the same concept as Neighbs or Macros or any of the others, popups aren't wired up for counties yet (i don't think there will be a good subheading for those), and i got a good start on making census routeable (e.g. /Census/puma/F1600__Greek/3604103), but i'm thinking nested census routes are pretty overkill, at least for changing the panel view nesting. my idea for changing the dynamic symbology based on the URL is not good because we don't want the colors to change when user goes to different URL. so probably better to just show the number of speakers in a popup like we planned. let's forego stuff like "/Census/puma/F1600__Greek" and "/Census/puma" and save it for another scope. lots of work and haven't even touched the legend gradient yet.

Sure, thanks for the update, moving around a bit today but could either Zoom soon (say 9:45 my time) or else probably after 2 pm or so.
Census is definitely the priority so let’s focus on that.  It’s all about just showing the information in a clear and meaningful way, whether that means pop-ups or nesting, with legend.
We can forego Explore/Counties if it doesn’t make sense or takes us off track.
Seems like all Explore/Something/Something cards, except /Explore/Language are now showing up as endonym-only?

On Apr 1, 2021, at 11:54 PM, Jason Lampel @.***> wrote:
@rperlin-ela https://github.com/rperlin-ela
Many questions
much WIP. but good progress and enough for basis of Zoom so let me know if you're around tomorrow.
big things are that counties don't feel useful as a dediated Explore, the queries for it are not the same concept as Neighbs or Macros or any of the others, popups aren't wired up for counties yet (i don't think there will be a good subheading for those), and i got a good start on making census routeable (e.g. /Census/puma/F1600__Greek/3604103), but i'm thinking nested census routes are pretty overkill, at least for changing the panel view nesting. my idea for changing the dynamic symbology based on the URL is not good because we don't want the colors to change when user goes to different URL. so probably better to just show the number of speakers in a popup like we planned. let's forego stuff like "/Census/puma/F1600__Greek" and "/Census/puma" and save it for another scope. lots of work and haven't even touched the legend gradient yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/pull/236#issuecomment-812302827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5GLWHH6BBS5VX3QIUDTGU5XVANCNFSM42IGJLJQ.

Ross-
solid progress, deploy on its way.
one annoying thing i'm not going to fix any time soon is when you change the census dropdown, it currently has to clear the route in order to clear any popups, which triggers our normally-useful panel animation/transition effect. but it's just annoying since it's not needed here, but i did try to fix it, just saw a rabbit hole happening.
big stuff left:

ideally highlight the selected census poly. shouldn't be terrible but might save it for later, would rather do higher priority UI things like...
...census legend or moving the layer toggles into new menu.
county field hidden in table
tooltip on point hover
#210 (can't WAIT to do this one)

whoops, removed something from timeline code then brought it back, but not quite...

Census pop-ups are game-changingly great. Things shaping up nicely!

On Apr 2, 2021, at 8:20 PM, Jason Lampel @.***> wrote:
whoops, removed something from timeline code then brought it back, but not quite...
https://user-images.githubusercontent.com/4974087/113459232-0a4a7880-93d2-11eb-88cb-f112e09abf1f.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/pull/236#issuecomment-812763053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5EY5RJNQNYLOEOCCEDTGZNMLANCNFSM42IGJLJQ.

@rperlin-ela i'm fine to merge this when you are. plenty of remaining small todo's as always, but it was a productive day and it's pretty stable.

ah shoot except for the timeline 🙃

fixed, deploying now

Affirmative, it's relying on something to be selected in the census search. I was reloading the page a lot during development and it was annoying to see the pretty name undefined, so I figured the non-pretty name￼ was better than nothing. In order to get the pretty name without selecting something in the drop-down￼, It would require a second Airtable query, which I figured was a bit overkill for this edge case. If we had share buttons for that route, absolutely, but I figure most people won't be starting the page from a census pop up. Worst case, they do, it doesn't break and they still see something that at least has the language name kinda sort of in it for puma.￼￼￼

Understood, makes sense!

On Apr 2, 2021, at 10:53 PM, Jason Lampel @.***> wrote:

Affirmative, it's relying on something to be selected in the census search. I was reloading the page a lot during development and it was annoying to see the pretty name undefined, so I figured the non-pretty name￼ was better than nothing. In order to get the pretty name without selecting something in the drop-down￼, It would require a second Airtable query, which I figured was a bit overkill for this edge case. If we had share buttons for that route, absolutely, but I figure most people won't be starting the page from a census pop up. Worst case, they do, it doesn't break and they still see something that at least has the language name kinda sort of in it for puma.￼￼￼
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Additional reading for zero trust

Hi,
When talking about zero trust, I was wondering if it could be a good idea to add this Microsoft resource to the "further reading".
https://learn.microsoft.com/en-us/security/zero-trust/zero-trust-overview
If the reader is interested in learning more or diving into the process of deploying zero trust in an organization 😊
https://github.com/microsoft/Security-101/blob/main/1.5 Zero trust.md#further-reading

Great suggestion! added.


Playbooks/Send-UrlReport - fix deploy to Azure buttons, readme typos

Fixes #
Proposed Changes

Fix Deploy to Azure buttons in ReadMe.md for Playbooks/Send-UrlReport
Fix a few typos, add point about it being for the VirusTotal v2 API

Ohh yeah

access


Subfeature/bds 336 fix attributes support

Jira
N/A (see #835)
Summary
This is a "sub-feature" PR with cleanup/fixes for #835
Details
In addition to various minor cleanup, this fixes a regression where the ability to pass attributes besides classes to the video component was lost.  To see the regression:

Go to the video w inline script and email share demo on the master branch for #835 (https://bolt-design-system.com/pattern-lab/?p=components-video-w-inline-script-and-email-share).
Play the video, then click to share.  You should see an email share button based on data attributes passed in.
Now go to the video w inline script and email share demo on the feature branch for #835 (https://fix-bds-336-enable-utilities-on-video.bolt-design-system.com/pattern-lab/?p=components-video-w-inline-script-and-email-share).
Play the video, then click to share.  You should not see the email share link (this is the regression)

How to test

Now go to the video w inline script and email share demo from this PR
Play the video, then click to share.  Confirm that the share details have been populated the same as on the master branch.

That is all it's doing, but It's still an attributes object.  I think the naming works best as-is.  @sghoweri, any thoughts on this?

For what it's worth, I do think any time we're managing classes (not to mention other attributes), we should use attributes objects rather than arrays for consistency.  I suppose that's a part of the cleanup in this PR I didn't explicitly call out.

@remydenton The reason for that is Ratio still has its own set of attributes, right? Just don't want the name to mislead.


Custom content disapear for a random time when a change is made to custom content

Custom content is disappearing whenever there is a change to a playlist, with a random time for the content to show up again, from 2 mn to more than 10 mn

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
This is happening even in the lastest 2.0.15 version.
Screen refresh doesn't do anything. This is a show stopper for creating custom content for an important MS client bank !
Thks

Can you please share the browsers console log?

Hi Julie,
How do I get the console log ?
Thks
Raphael Monnot
+33 620723451
From: Julie Turner<EMAIL_ADDRESS>Sent: 06 June 2019 18:41
To: pnp/custom-learning-office-365<EMAIL_ADDRESS>Cc: Raphael Monnot<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [pnp/custom-learning-office-365] Custom content disapear for a random time when a change is made to custom content (#72)
Can you please share the browsers console log?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpnp%2Fcustom-learning-office-365%2Fissues%2F72%3Femail_source%3Dnotifications%26email_token%3DAMEMRB66M5JXSBMRNCYFZDDPZE425A5CNFSM4HVEVYLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDOLHQ%23issuecomment-499574174&data=02|01|Raphael.Monnot%40microsoft.com|6c791f388c2149c9febd08d6ea9dcd28|72f988bf86f141af91ab2d7cd011db47|1|0|636954360807223375&sdata=K%2BPQNXEnVLkBTCSQrx4WqO0VgwpXvKm5mK%2F8hBp%2FUP4%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMEMRB2JOHMAQ22LE3EXEPTPZE425ANCNFSM4HVEVYLA&data=02|01|Raphael.Monnot%40microsoft.com|6c791f388c2149c9febd08d6ea9dcd28|72f988bf86f141af91ab2d7cd011db47|1|0|636954360807233379&sdata=%2BVxW5twy5WfC2ZeW2%2BfbOFgOyqw3LZ%2BWryDwLTiwWLc%3D&reserved=0.

Julie,
Here is a copy of what I found in the log file for the browser (EDGE) where no content displayed
Raphael Monnot
0620723451
From: Raphael Monnot
Sent: 07 June 2019 11:45
To: pnp/custom-learning-office-365<EMAIL_ADDRESS>Subject: RE: [pnp/custom-learning-office-365] Custom content disapear for a random time when a change is made to custom content (#72)
Hi Julie,
How do I get the console log ?
Thks
Raphael Monnot
+33 620723451
From: Julie Turner <notifications<EMAIL_ADDRESS>Sent: 06 June 2019 18:41
To: pnp/custom-learning-office-365 <custom-learning-office-365<EMAIL_ADDRESS>Cc: Raphael Monnot <Raphael.Monnot<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [pnp/custom-learning-office-365] Custom content disapear for a random time when a change is made to custom content (#72)
Can you please share the browsers console log?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpnp%2Fcustom-learning-office-365%2Fissues%2F72%3Femail_source%3Dnotifications%26email_token%3DAMEMRB66M5JXSBMRNCYFZDDPZE425A5CNFSM4HVEVYLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDOLHQ%23issuecomment-499574174&data=02|01|Raphael.Monnot%40microsoft.com|6c791f388c2149c9febd08d6ea9dcd28|72f988bf86f141af91ab2d7cd011db47|1|0|636954360807223375&sdata=K%2BPQNXEnVLkBTCSQrx4WqO0VgwpXvKm5mK%2F8hBp%2FUP4%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMEMRB2JOHMAQ22LE3EXEPTPZE425ANCNFSM4HVEVYLA&data=02|01|Raphael.Monnot%40microsoft.com|6c791f388c2149c9febd08d6ea9dcd28|72f988bf86f141af91ab2d7cd011db47|1|0|636954360807233379&sdata=%2BVxW5twy5WfC2ZeW2%2BfbOFgOyqw3LZ%2BWryDwLTiwWLc%3D&reserved=0.

Log.docx
Copying again the log file from the failing page (not sure attachment worked last time)

New copy of the log file after following exactly the instructions:
Log 2.docx

Thanks @Rafou2 ... by seeing the screen shot it provided me enough to figure out how and try to reproduce the error and I was able to.  The issue seems to be a bug when updating the custom playlist that corrupts the cache.  By refreshing the admin page after making a change that will fix the cached data and the viewer should work correctly.  We'll try and get a fix created as soon as we can.

Please update to Build 2.0.16. My testing shows this bug has been corrected. If you have further issues please submit a new issue.


[BUG] OpenSearch operator panics and crashes when adding an OpenSearchISMPolicy

What is the bug?
When adding an OpenSearchISMPolicy while the OpenSearch cluster is getting created, the controller panics resulting in a container crash
2024-05-06T18:19:54.202Z	INFO	Reconciling OpensearchISMPolicy	{"controller": "opensearchismpolicy", "controllerGroup": "opensearch.opster.io", "controllerKind": "OpenSearchISMPolicy", "OpenSearchISMPolicy": {"name":"sample-policy","namespace":"test"}, "namespace": "test", "name": "sample-policy", "reconcileID": "adc1b967-662a-42d0-9c17-95e048ad0ad6", "tenant": {"name":"sample-policy","namespace":"test"}}
2024-05-06T18:19:54.279Z	DEBUG	events	error creating opensearch client	{"type": "Warning", "object": {"kind":"OpenSearchISMPolicy","namespace":"test","name":"sample-policy","uid":"abab26b9-2ca0-4882-a167-4cf37994dcb9","apiVersion":"opensearch.opster.io/v1","resourceVersion":"463314"}, "reason": "OpensearchError"}
2024-05-06T18:19:54.284Z	INFO	Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference	{"controller": "opensearchismpolicy", "controllerGroup": "opensearch.opster.io", "controllerKind": "OpenSearchISMPolicy", "OpenSearchISMPolicy": {"name":"sample-policy","namespace":"test"}, "namespace": "test", "name": "sample-policy", "reconcileID": "adc1b967-662a-42d0-9c17-95e048ad0ad6"}
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x11f2d64]

goroutine 442 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:115 +0x1a4
panic({0x141dec0?, 0x27073d0?})
	/usr/local/go/src/runtime/panic.go:770 +0x124
github.com/Opster/opensearch-k8s-operator/opensearch-operator/opensearch-gateway/services.(*OsClusterClient).GetISMConfig(0x0, {0x18fcd30, 0x4000e77dd0}, {0x4000c5a410?, 0x0?})
	/workspace/opensearch-gateway/services/os_client.go:314 +0x44
github.com/Opster/opensearch-k8s-operator/opensearch-operator/opensearch-gateway/services.PolicyExists({0x18fcd30?, 0x4000e77dd0?}, 0x4001436700?, {0x4000c5a410?, 0x7?})
	/workspace/opensearch-gateway/services/os_ism_service.go:31 +0x4c
github.com/Opster/opensearch-k8s-operator/opensearch-operator/pkg/reconcilers.(*IsmPolicyReconciler).Reconcile(0x40008d5d00)
	/workspace/pkg/reconcilers/ismpolicy.go:159 +0x72c
github.com/Opster/opensearch-k8s-operator/opensearch-operator/controllers.(*OpensearchISMPolicyReconciler).Reconcile(0x400051abe0, {0x18fcd30, 0x4000e77dd0}, {{{0x4001558638, 0x4}, {0x4001558640, 0xd}}})
	/workspace/controllers/opensearchism_controller.go:53 +0x2ec
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0x18fcd30?, {0x18fcd30?, 0x4000e77dd0?}, {{{0x4001558638?, 0x1348fc0?}, {0x4001558640?, 0x4000677e08?}}})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:118 +0x8c
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0x400028a640, {0x18fcd68, 0x400051b630}, {0x149b600, 0x40002689e0})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:314 +0x294
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0x400028a640, {0x18fcd68, 0x400051b630})
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:265 +0x198
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:226 +0x74
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2 in goroutine 129
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:222 +0x404

The operator pod will crash several times and then continue running.
How can one reproduce the bug?

Install the operator

helm install opensearch-operator opensearch-operator/opensearch-operator --version 2.6.0 -n test

Create an OpenSearch cluster using kubectl apply. This is the cluster definition I used

apiVersion: opensearch.opster.io/v1
kind: OpenSearchCluster
metadata:
  name: my-first-cluster
  namespace: test
spec:
  general:
    serviceName: my-first-cluster
    version: 2.11.1
  dashboards:
    enable: false
    version: 2.11.1
    replicas: 0
  nodePools:
    - component: nodes
      replicas: 3
      diskSize: "5Gi"
      nodeSelector:
      resources:
         requests:
            memory: "1Gi"
            cpu: "500m"
         limits:
            memory: "1Gi"
            cpu: "500m"
      roles:
        - "cluster_manager"
        - "data"

Apply the following ISM policy using kubectl apply

apiVersion: opensearch.opster.io/v1
kind: OpenSearchISMPolicy
metadata:
   name: sample-policy
   namespace: test
spec:
   opensearchCluster:
      name: my-first-cluster
   description: Sample policy
   policyId: sample-policy
   defaultState: hot
   states:
      - name: hot
        actions:
           - replicaCount:
                numberOfReplicas: 4
        transitions:
           - stateName: warm
             conditions:
                minIndexAge: "10d"
      - name: warm
        actions:
           - replicaCount:
                numberOfReplicas: 2
        transitions:
           - stateName: delete
             conditions:
                minIndexAge: "30d"
      - name: delete
        actions:
           - delete: {}

At this point, the operator pod would exit with an error
What is the expected behavior?
EXpected the ISM Policy to be added without an issue
What is your host/environment?
Kubernetes 1.25
OpenSearch 2.11.1
OpenSearch operator 2.6.0
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
If I do step 2 above and wait for the OpenSearch cluster to complete getting created (i.e. the 3 nodes come to a running state and the cluster health is green) and then do step 3 (add ISM policy), the panic does not happen.
But if I do step 3 immediately after step 2, then the operator panics and crashes several times and.
However, when using deployment pipelines, we cannot control the delay between resources

Hi @nilushancosta. Thanks for reporting this. This is clearly a bug and the operator should just wait if the cluster is not yet correctly reachable.


Add uconv APIs

Hi!  Thanks for the great package.  I'm a user of this.
Sometimes, I wanted to use this converting for formatted haskell strings.
Would you like to add these APIs?

This library is now maintained at haskell-jp/unicode-show.
The news of this maintainer's death is now broken link. The web archive is here.


Redirect to main home screen on registration

Overview

Redirect to main home screen on registration
Show an alert that the user needs to verify their email address on the home screen

With a link to resend the verification email

Demo

Notes

This is just using the default <Alert> styling, I haven't made any attempt to match the wireframes as the whole Home screen needs a design pass
The copy could use a look by @tgilcrest

Testing Instructions

Register a new user
Observe the alert banner
Try using the "Resend email" button
Verifying your email should make the banner go away

Closes #246

Looks good. The one change I would make is to the error text. I think it should say: "Error resending email. If this error persists, please contact us at<EMAIL_ADDRESS>One other question: if they click Resend email a second time while the error message is showing, will it give any indication that it's been clicked again? If not, it may seem like it's not responding. Even if we just close and re-open the error message I think that would be sufficient.

One other question: if they click Resend email a second time while the error message is showing, will it give any indication that it's been clicked again? If not, it may seem like it's not responding. Even if we just close and re-open the error message I think that would be sufficient.
It does close & reopen the error message :+1:


[Sema] Error if ObjC interop is needed when disabled

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - e3a16ceea739626bbfd16d4ae87b182297811e58

@swift-ci please smoke test

I added -disable-objc-interop to sil-opt. I couldn't find a "tristate" mode for llvm::cl, so I went with the naive solution.
@swift-ci please smoke test

Thanks @davezarzycki for the work on this!


feat(lsp): allow function rename

Description
Problem*
Resolves
Rename function Symbol with LSP #4192
Summary*
Allows to rename function symbol.
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Here's the rename in action:
https://github.com/noir-lang/noir/assets/209371/184d9b96-1ddc-4d70-b35c-af583faa2004

Here's the rename in action:

If I try this compile using this branch, restart the LSP and then repeat these steps I get an error tooltop saying "this element cannot be renamed"

Ah, highlighting the relevant name and then rightclicking that results in the above error. If I just rightclick the name without highlighting then it works.

Let's say I have the program below
fn main()  -> Field {
    foo::bar()
}

mod foo {
    fn bar() -> Field {
        1
    }
}

I now want to rename the function bar to baz. I then click on either the function definition or the call and rename it. I would expect to then get the program
fn main()  -> Field {
    foo::baz()
}

mod foo {
    pub fn baz() -> Field {
        1
    }
}

Instead I get the program below
fn main()  -> Field {
    baz()
}

mod foo {
    pub fn baz() -> Field {
        1
    }
}

We've removed the path information in the call to foo::bar and so this now doesn't compile. Ideally we'd just rename the last segment of the path rather than replacing the whole thing.

We do correctly update import statements so the above works as expected so it's just qualified paths which are the issue.
use foo::bar;

fn main() -> pub Field {
    bar()
}

mod foo {
    pub fn bar() -> Field {
        1
    }
}

@asterite I've pushed a commit which separates checking that the hardcoded ranges correspond to what we expect from testing the lsp response. We can then just iterate through all of the instances of another_function and check that we can initiate a renaming of all the other instances.

We could likely remove the other two tests now as we're checking that we can rename a symbol from any instance of it.

Ah, highlighting the relevant name and then rightclicking that results in the above error. If I just rightclick the name without highlighting then it works.

Strange! I can't reproduce that. But it also didn't work for me the first time... for some reason I had two lsp servers runnings, so maybe it was using the old one that didn't have that functionality.


OpenGL rendering

For a while, there has been divergent development on this branch, "shaders", aimed at shifting manim to build on OpenGL, via the library moderngl.  This makes things run real time, and introduces an interactive window to help with development and presentations.
This also includes meaningful changes in the underlying structure of Mobjects, Scenes and Animations, along with many shifts in the syntax.
The old version is still available on the branch cairo-backend.

Maybe we need to draft a release for the current master branch and release it to pypi as the last stable version using CPU.

Maybe we need to draft a release for the current master branch and release it to pypi as the last stable version using CPU.

That seems like a good idea.  I just made a cairo-backend branch off of master, shall we point the release to that?

That seems like a good idea.  I just made a cairo-backend branch off of master, shall we point the release to that?

That seems like a good idea. I just made a cairo-backend branch off of master, shall we point the release to that?

Yes, but I'm not sure whether pypi support to do this or nor.

That seems like a good idea. I just made a cairo-backend branch off of master, shall we point the release to that?

Yes, but I'm not sure whether pypi support to do this or nor.


Add GitHub action for web deployment

Related to https://github.com/mlcommons/mobile_app_open/issues/817

This is cool. Let's merge this and let's all create a personal account and upload some results.
@mohitmundhragithub, @AhmedTElthakeb, @freedomtan


Convert from FT to M

Is your feature request related to a problem? Please describe.
It's great that now we can translate the modules and effects but a bunch of non-us players play with meters instead of feet.
Describe the solution you'd like
Create an option in the module setting to select between feet or meters for unit of distance or a checkmark to simply convert them.
Describe alternatives you've considered
For now, I'm editing each effect that uses fts to the right number used for meters.
Additional context
In the official system translation WotC converted 5 ft. to 1.5m, so a torch for example would have 12 meters of dim light and 6 of bright light instead of 40~20ft (something like = x * 0.3).

Appreciate the context. So here's how CE works... when you first load a world for a game that has defined effects (like dnd5e), it creates all the effects in a huge batch and then runs any migrations. So it will set torches to the radius in feet on load, before you get a chance to set it to meters.
Before I consider a solution, are there any effects other than light based ones that this really applies to?

Oh, thanks for considering. Looks like is gonna be more complicated.
Maybe a popup with an option in the first load or an option to reset the effects with metric units?
Either way, I did a quick check for the ones I changed manually:
Light based:

Candles
Torches
Lanterns
Light cantrip
Faerie Fire
Fire Shield
Holy Aura
Sacred Weapon

Other effects:

Fly
Dark Vision

May it's help, this module convert feet to meter (https://github.com/adgranger/foundryvtt-dnd5e-lang-fr-fr)
See the file : https://github.com/adgranger/foundryvtt-dnd5e-lang-fr-fr/blob/4.0.x/babele-register.js


Implement stall timeout

wip: start removing stall timeout from _hdffile and put it higher up the stack
fixes https://github.com/bluesky/ophyd-async/issues/76

Dropped re: TC


Update machine-controller to v1.15.3

What this PR does / why we need it:
Update machine-controller to v1.15.3. This release includes a fix for the machine-controller's NodeCSRApprover controller refusing to approve certificates for the GCP nodes.
Does this PR introduce a user-facing change?:
Update machine-controller to v1.15.3. This release includes a fix for the machine-controller's NodeCSRApprover controller refusing to approve certificates for the GCP nodes.

/assign @kron4eg

/retest


New business page

Description

Checklist:

[ ] Have you documented your changes in the pull request description?
[ ] Does the change present any security considerations?
[ ] Is any gem functionality overloaded? Eg: Devise controller methods being overloaded.
[ ] Has acceptance criteria been tested by a peer?
[ ] Has the CHANGELOG been updated? (If change is worth telling users about.)

General testing (author)

[ ] Test without JavaScript
[ ] Test on small screen

Accessibility testing (author)

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable CSS - does content make sense and appear in a logical order?

Codecov Report

Merging #1951 (fa8b2fe) into master (685f271) will decrease coverage by 28.41%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##           master    #1951       +/-   ##
===========================================
- Coverage   88.86%   60.45%   -28.42%
===========================================
  Files         398      398
  Lines        8777     9361      +584
  Branches     1277     1149      -128
===========================================
- Hits         7800     5659     -2141
- Misses        782     3499     +2717
- Partials      195      203        +8

Impacted Files
Coverage Δ

app/helpers/investigations/display_text_helper.rb
39.39% <66.66%> (-35.21%)
:arrow_down:

app/forms/alert_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/jobs/send_alert_job.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/remove_user_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/reset_password_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/remove_business_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/controllers/teams_controller.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/notifying_country_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/controllers/account_controller.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/controllers/searches_controller.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 171 more

Continue to review full report at Codecov.

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


PR: Add spyder-terminal plugin to macOS installer

Description of Changes
Added spyder-terminal plugin to macOS installer.

Issue(s) Resolved

Fixes #17202 partially
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @mrclary

@mrclary, is this one ready for review? Also, please update it to fix the merge conflicts.