[core] Can't use DBFS as a filesystem in distributed

What happened + What you expected to happen
I'm trying to run https://nixtlaverse.nixtla.io/neuralforecast/examples/distributed/distributed_neuralforecast.html sample on databricks. As a storage for partitions I'm using dbfs. My first issue was that I can't pass additional arguments needed for dbfs to work (instance and token) which i've worked around by:
from fsspec.implementations.dbfs import DatabricksFileSystem
from fsspec.registry import register_implementation, known_implementations

class CustomDatabricksFileSystem(DatabricksFileSystem):
    def __init__(self, *args, **kwargs):
        kwargs['instance'] = ''
        kwargs['token'] = ''
        super().__init__(*args, **kwargs)

register_implementation('dbfs', CustomDatabricksFileSystem)

Then the second issue was from the fsspec.ls which in case of dbfs returns a list of dicts:
fs.ls(dist_cfg.partitions_path)
# [{'name': '/sop.tmp_partitions/_committed_168021060626075119',
#   'type': 'file',
#   'size': 421},
#  {'name': '/sop.tmp_partitions/_committed_6601671783478124078',
#   'type': 'file',
#   'size': 224}...
# ]

And so I get the error:
AttributeError: 'dict' object has no attribute 'endswith'
File <command-4284095506577098>, line 9
      1 nf = NeuralForecast(
      2     models=[
      3         NHITS(h=24, input_size=48, max_steps=2_000, **exogs, **distributed_kwargs),
   (...)
      7     freq=1,
      8 )
----> 9 nf.fit(spark_train, static_df=spark_static, distributed_config=dist_cfg, val_size=24)
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-37c23ccc-4284-4774-8441-26032f968357/lib/python3.10/site-packages/neuralforecast/core.py:432, in <listcomp>(.0)
    427     if isinstance(protocol, tuple):
    428         protocol = protocol[0]
    429     files = [
    430         f"{protocol}://{file}"
    431         for file in fs.ls(distributed_config.partitions_path)
--> 432         if file.endswith("parquet")
    433     ]
    434     self.dataset = _FilesDataset(
    435         files=files,
    436         temporal_cols=temporal_cols,
   (...)
    441         min_size=df.groupBy(id_col).count().agg({"count": "min"}).first()[0],
    442     )
    443 elif df is None:

Versions / Dependencies
Click
Python - 3.10.12
system='Linux',
release='5.15.0-1061-azure',
version='#70~20.04.1-Ubuntu SMP Mon Apr 8 15:38:58 UTC 2024',
machine='x86_64'
databricks runtime = '14.3 LTS (includes Apache Spark 3.5.0, Scala 2.12)'

adagio==0.2.4
aiohttp==3.9.5
aiosignal==1.3.1
alembic==1.13.2
anyio==3.5.0
appdirs==1.4.4
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asttokens==2.0.5
async-timeout==4.0.3
attrs==22.1.0
backcall==0.2.0
beautifulsoup4==4.11.1
black==22.6.0
bleach==4.1.0
blinker==1.4
boto3==1.24.28
botocore==1.27.96
certifi==2022.12.7
cffi==1.15.1
chardet==4.0.0
charset-normalizer==2.0.4
click==8.0.4
cloudpickle==3.0.0
colorlog==6.8.2
comm==0.1.2
contourpy==1.0.5
coreforecast==0.0.10
cryptography==39.0.1
cycler==0.11.0
Cython==0.29.32
databricks-sdk==0.1.6
dbus-python==1.2.18
debugpy==1.6.7
decorator==5.1.1
defusedxml==0.7.1
distlib==0.3.7
distro==1.7.0
distro-info==1.1+ubuntu0.2
docstring-to-markdown==0.11
entrypoints==0.4
executing==0.8.3
facets-overview==1.1.1
fastjsonschema==2.19.1
filelock==3.13.1
fonttools==4.25.0
frozenlist==1.4.1
fs==2.4.16
fsspec==2024.6.0
fugue==0.9.1
googleapis-common-protos==1.62.0
greenlet==3.0.3
grpcio==1.48.2
grpcio-status==1.48.1
httplib2==0.20.2
idna==3.4
importlib-metadata==4.6.4
ipykernel==6.25.0
ipython==8.14.0
ipython-genutils==0.2.0
ipywidgets==7.7.2
jedi==0.18.1
jeepney==0.7.1
Jinja2==3.1.2
jmespath==0.10.0
joblib==1.2.0
jsonschema==4.17.3
jupyter-client==7.3.4
jupyter-server==1.23.4
jupyter_core==5.2.0
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
keyring==23.5.0
kiwisolver==1.4.4
launchpadlib==1.10.16
lazr.restfulclient==0.14.4
lazr.uri==1.0.6
lightning-utilities==0.11.3.post0
llvmlite==0.43.0
lxml==4.9.1
Mako==1.3.5
MarkupSafe==2.1.1
matplotlib==3.7.0
matplotlib-inline==0.1.6
mccabe==0.7.0
mistune==0.8.4
more-itertools==8.10.0
mpmath==1.3.0
msgpack==1.0.8
multidict==6.0.5
mypy-extensions==0.4.3
nbclassic==0.5.2
nbclient==0.5.13
nbconvert==6.5.4
nbformat==5.7.0
nest-asyncio==1.5.6
networkx==3.3
neuralforecast==1.7.2
nodeenv==1.8.0
notebook==6.5.2
notebook_shim==0.2.2
numba==0.60.0
numpy==1.23.5
nvidia-cublas-cu12==<IP_ADDRESS>
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==<IP_ADDRESS>
nvidia-cufft-cu12==<IP_ADDRESS>
nvidia-curand-cu12==<IP_ADDRESS>
nvidia-cusolver-cu12==<IP_ADDRESS>
nvidia-cusparse-cu12==<IP_ADDRESS>
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.5.40
nvidia-nvtx-cu12==12.1.105
oauthlib==3.2.0
optuna==3.6.1
packaging==23.2
pandas==1.5.3
pandocfilters==1.5.0
parso==0.8.3
pathspec==0.10.3
patsy==0.5.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.4.0
platformdirs==2.5.2
plotly==5.9.0
pluggy==1.0.0
prometheus-client==0.14.1
prompt-toolkit==3.0.36
protobuf==4.24.0
psutil==5.9.0
psycopg2==2.9.3
ptyprocess==0.7.0
pure-eval==0.2.2
pyarrow==8.0.0
pyarrow-hotfix==0.5
pycparser==2.21
pydantic==1.10.6
pyflakes==3.1.0
Pygments==2.11.2
PyGObject==3.42.1
PyJWT==2.3.0
pyodbc==4.0.32
pyparsing==3.0.9
pyright==1.1.294
pyrsistent==0.18.0
python-apt==2.4.0+ubuntu3
python-dateutil==2.8.2
python-lsp-jsonrpc==1.1.1
python-lsp-server==1.8.0
pytoolconfig==1.2.5
pytorch-lightning==2.3.0
pytz==2022.7
PyYAML==6.0.1
pyzmq==23.2.0
ray==2.30.0
requests==2.28.1
rope==1.7.0
s3transfer==0.6.2
scikit-learn==1.1.1
scipy==1.10.0
seaborn==0.12.2
SecretStorage==3.3.1
Send2Trash==1.8.0
six==1.16.0
sniffio==1.2.0
soupsieve==2.3.2.post1
SQLAlchemy==2.0.31
ssh-import-id==5.11
stack-data==0.2.0
statsforecast==1.7.5
statsmodels==0.13.5
sympy==1.12.1
tenacity==8.1.0
tensorboardX==<IP_ADDRESS>
terminado==0.17.1
threadpoolctl==2.2.0
tinycss2==1.2.1
tokenize-rt==4.2.1
tomli==2.0.1
torch==2.3.1
torchmetrics==1.4.0.post0
tornado==6.1
tqdm==4.66.4
traitlets==5.7.1
triad==0.9.7
triton==2.3.1
typing_extensions==4.12.2
ujson==5.4.0
unattended-upgrades==0.1
urllib3==1.26.14
utilsforecast==0.1.11
virtualenv==20.16.7
wadllib==1.3.6
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==0.58.0
whatthepatch==1.0.2
widgetsnbextension==3.6.1
yapf==0.33.0
yarl==1.9.4
zipp==1.0.0

Reproduction script
import logging
import os

import numpy as np
import pandas as pd

from neuralforecast import NeuralForecast, DistributedConfig
from neuralforecast.auto import AutoNHITS
from neuralforecast.models import NHITS, LSTM
from utilsforecast.evaluation import evaluate
from utilsforecast.losses import mae, rmse, smape
from utilsforecast.plotting import plot_series

from fsspec.implementations.dbfs import DatabricksFileSystem
from fsspec.registry import register_implementation, known_implementations

class CustomDatabricksFileSystem(DatabricksFileSystem):
    def __init__(self, *args, **kwargs):
        kwargs['instance'] = ''
        kwargs['token'] = ''
        super().__init__(*args, **kwargs)

register_implementation('dbfs', CustomDatabricksFileSystem)

# Configuration required for distributed training
dist_cfg = DistributedConfig(
    partitions_path='dbfs:///tmp_partitions',  # path where the partitions will be saved
    num_nodes=2,  # number of nodes to use during training (machines)
    devices=1,   # number of GPUs in each machine
)

# pytorch lightning configuration
# the executors don't have permission to write on the filesystem, so we disable saving artifacts
distributed_kwargs = dict(
    accelerator='gpu',
    enable_progress_bar=False,
    logger=False,
    enable_checkpointing=False,
)

# exogenous features
exogs = {
    'futr_exog_list': ['exog_0'],
    'stat_exog_list': ['stat_0'],
}

# for the AutoNHITS
def config(trial):
    return dict(
        input_size=48,
        max_steps=2_000,
        learning_rate=trial.suggest_float('learning_rate', 1e-4, 1e-1, log=True),
        **exogs,
        **distributed_kwargs
    )

nf = NeuralForecast(
    models=[
        NHITS(h=24, input_size=48, max_steps=2_000, **exogs, **distributed_kwargs),
        AutoNHITS(h=24, config=config, backend='optuna', num_samples=2, alias='tuned_nhits'),
        LSTM(h=24, input_size=48, max_steps=2_000, **exogs, **distributed_kwargs),
    ],
    freq=1,
)
nf.fit(spark_train, static_df=spark_static, distributed_config=dist_cfg, val_size=24)

Issue Severity
High: It blocks me from completing my task.

Hey. Is it possible for you to use a remote storage like S3? DBFS is weird in the sense that you access it differently from spark than from pandas and in the training stage we read the partitions with pandas, so even if you manage to use it it'll break there.

Ok, I understand. I'm on Azure, so I'll try with ADLS

If you have experience with DBFS we could also give it a shot, I got stuck trying to define a path that could be written by spark and then retrieved by fsspec such that pandas would understand it.

Oh by the way, we recently fixed a bug in the distributed implementation which hasn't been released, you'll see only one executor training and the others will be idle. We'll make a release soon.

If you have experience with DBFS we could also give it a shot, I got stuck trying to define a path that could be written by spark and then retrieved by fsspec such that pandas would understand it.

I think I will try - it might be very convenient to use with dbfs for databricks users.
Thank you for improving distributed implementation, I'll let you know about the results after the release

We just released 1.7.3 with the distributed fix.

Ok, it works with adls!
Is it possible to use autoLSTM with distributed config?

It should be. Note that what will be distributed is the training of each model, so the search will be sequential. If you want to distribute the search instead you can try setting up ray on databricks, once you've done that ray should be able to distribute the trials on the cluster using the regular interface (no spark dataframes).


怎么做到实时的语音合成

能否告诉生成一句话的时候，你那边tacotron2 model 和waveRnn 的用时分别是多少吗

tacotron2耗时几乎不计，WaveRNN实时比达到10:1

能解释一下 'WaveRNN实时比达到10:1' 吗？不是太理解你说的意思

就是1分钟音频花费6秒钟合成

OK，谢谢。目前感觉wavernn耗时还是比较长的，有什么解决方案吗

’1分钟音频花费6秒钟合成‘是说的按照gpu的标准，还是cpu？

我是GPU，所以你还可以用TensorRT，CPU就难了，其它效果都不如WaveRNN

好的，后面我去尝试一下；非常感谢

Now here is the new solution for real time synthesis. Please match it with the latest version of T2.

This is interesting... Is it compatible with the output of this repository?
Do you plan to make a single repository with both the multispeaker spectrogram generation and the real time synthesis?
Thanks in advance!

Could you tell me the cuda and torch version?

could you tell me which is faster ,  tensorflow tacotron2 inference speed  and your pytorch tacotron2?  and How much faster

The larger synthesized batch size, the faster the synthesis speed.

Is your cuda version 10.1?

Of course.


TinyTUYA: Device read failed

Hello,
i have got a lot of errors about reading a device, what else can I do to ignore or dig in?
The error is:
"TinyTUYA: Device read failed:"
The device is a pool heater.

Hi @shakisha  - Try to power cycle the device if it was working in the past.  Also, you can turn on debug mode to help troubleshoot:
For command line functions:
python3 -m tinytuya scan -debug

For scripts:
import tinytuya

tinytuya.set_debug(True)

d = tinytuya.OutletDevice(
      dev_id=DEVICEID,
      address=DEVICEIP,
      local_key=DEVICEKEY,
      version=3.3)
print(d)

print(" > Fetch Status < ")
data = d.status()
print(data)


Code works but test doesn't pass - [React: Use a Ternary Expression for Conditional Rendering]

Describe your problem and - if possible - how to reproduce it
Code works in the preview pane, doesn't pass test - in both Chrome and Firefox.
I type in a number and press that button after code initializes - and I get the right text change as required by the challenge, but when I run the tests, it says I haven't met two requirements.
Add a Link to the page with the problem
https://learn.freecodecamp.org/front-end-libraries/react/use-a-ternary-expression-for-conditional-rendering
Gist of code: https://gist.github.com/numoonchld/d4034aeed58637dccb3b02aa6d4c09ae
Tell us about your browser and operating system

Browser Name: Firefox
Browser Version: 61.0.1
Operating System: macOS

If possible, add a screenshot here

@numoonchld Your code is surely incorrect.
Try this:

Input 18 and click on button // correct output
Input 18 and click on the button again // incorrect output
In case 1, button correctly reads Submit before input and You may enter after input is submitted.
In case 2, button reads you shall not pass before input and You shall not pass after input is submitted.

Thanks - My code was wrong.


Wappalyzer slowing down loading time on websites by 3/4

Platform
Which platform does the bug apply to?

WebExtension (Mozilla Firefox)
Website

Description
When visiting a website (e.g. wordpress.com; fast-resolving) without wappalyzer enabled the loading-time is reduced by ~70%.
This can be easily measured using the development-tools.
Expected behavior
Wappalyzer analyses the loaded content and doesn't intercept.

Hi, can you show me what metrics you're looking at? Like a screenshot.

Hi! I have noticed a similar problem. I'm using Chrome 86.0.4240.75 (64 bits) and Wappalyzer 6.3.9
I have a folder in my bookmarks with 10 subreddits that I usually open all at once. This has never been a problem, but recently, I have noticed that Chrome is completely unresponsive for a couple of seconds if I do this with Wappalyzer activated. However, if I disable the extension, the 10 tabs load just fine.
So, it looks lke the latest versions of Wappalyzer are affecting the loading times significantly.

Please let me know if this is still an issue in today's update, v6.4.14.

This is still an issue for me with v6.4.14.  For reference, I found that either removing and re-installing Wappalyzer or deleting all its data in Extension Storage improve load time significantly.
(I'm able to reliably reproduce the issue using a profile backup if that would be helpful.)

The problem was solved for me. Pages load as fast as always with v6.4.14 👌

The issue may have been two-fold, the next release should hopefully fix the storage issue as well.

Closing for now as the issue seems resolved, unless additional information is provided.

Closing for now as the issue seems resolved, unless additional information is provided.


Slots for Cells in Monthly view

Slots for Cells in Monthly view
Actually im using fullcalendar, I hope to migrate to quasar-ui-qcalendar.
My requests are so simple:

Divide the day Cell in three sections, Title, Body and Footer and make Slots for each one.
Permit to change Background Color of entire Cell using an All Day event.

This is what im trying to reproduce with :

Thank you in advance!!!

here is an example, how to use the day - slot:
https://qcalendar.netlify.app/examples/month-slot-day
adding some buttons to the first line, is possible by using the day-of-year slot for example like that:
 <q-calendar-month
  date-align="left"
  showDayOfYearLabel
  showMonthLabel="false"
  ......other options
  >
  <template #day-of-year="{ scope: { timestamp } }">
      <q-btn flat round padding="none" color="primary" icon="info" :to="'/events/day/' + timestamp.year + '/' + timestamp.month + '/' + timestamp.day"/>
  </template>

</q-calendar-month>


Archived locale files

Looks alright to me.

Do any scripts/deploy things need to change to avoid webmaker-download-locales?
@simonwex this approach look alright to you?

@alicoding could you walk me through this?

@simonwex we want to remove popcorn source file from Transifex so people don't have to translate the project since we are going to archive it here. So, @secretrobotron and I thought we might want to keep the copy of all the translated strings of all languages somewhere and github seems to be the right place for it.

Ah, perfect. Could you also include that somewhere in the README? Something that starts the section "If someone were to adopt Popcorn,  how would they resume where we left off?"


do not fail if there is a golint violation

golint output is just suggestion. Show output, but don't fail.
This also remove unnecessary bash script that is no longer needed.

LGTM


timeScale.fitContent is not working correctly

Lightweight Charts Version: 3.7.0 (but 3.5.0 is working OK)
Code to reproduce: https://jsfiddle.net/iksent/8akv3x59/
Actual behavior: executing .timeScale().fitContent() (after changing series data) sometimes not fitting the chart fully.
Screen recording:
https://user-images.githubusercontent.com/32956521/148347730-4f0dbccd-5e5a-4104-8db8-30fc4b64f5f3.mov
Expected behavior: fitContent must fit the content correctly.

Very annoying problem 😫 This is what it looks like on our project:
https://user-images.githubusercontent.com/32956521/148349175-24e43beb-5bcc-4524-a682-5f488d98bed0.mov
Chart is not fitted every time on series-data change.

It seems that it is related and quite similar to #943. Is it possible to check #959 locally with your case?

It seems it doesn't help. We'll investigate the issue.


XMLHttpRequest cannot load https://sts.xxxxxxx.xxx/adfs/.well-known/openid-configuration.

Hello,
I am trying to implement oAuth2 in a single pages application (Developed in React Mobx) against on-premise ADFS (ADFS 2016) with the help of oidc-client-js.
Here is the exact error message I am getting.
XMLHttpRequest cannot load https://sts.xxxxxxx.xxx/adfs/.well-known/openid-configuration.
Redirect from 'https://sts.xxxxxxx.xxx/adfs/.well-known/openid-configuration' to 'https://sts.xxxxxxx.xxx/my.policy' has been blocked by CORS policy:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:12345/ is therefore not allowed access.
I don't know how I can enable Access-Control-Allow-Origin on my adfs metadata endpoint.
https://sts.xxxxxxx.xxx/adfs/.well-known/openid-configuration.
It seems the problem is only with my adfs endpoint, sample is otherwise working and it also works if I pointed to Azure Activie directory endpoint.
Kind Regards,
Yasar

You have to allow this on your authorization server. I followed the directions here for PingFed successfully http://community.unboundid.com/t5/Data-Broker/Configuring-CORS-in-Ping-Federate-so-that-Data-Broker-s-Sample/ta-p/324.

We have Big-IP server and our infrastructure guys are looking into it. I will update once we find out a solution.

I don't think ADFS supports CORS.

@brockallen,
Does it means we cannot implement authentication in a single page application against ADFS (2016) as it will send XMLHttpRequest to ADFS and CORS is not supported by ADFS?
Just need to confirm as we will then consider other options.

I don't know -- I've not evaluated ADFS2016, so I don't know how much or little of OIDC it implements.


what exactly does it remove

this isnt a retarded issue, i understand that sigma is a miner. But id like to know exactly what it deletes?

read the code, it's open source :)

			File sigmaDataDir = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/sigma");
			File sigmaFiveDataDir = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/sigma5");
			File jelloDataDir = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/jello");
			File sigmaCapitalizedDataDir = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/Sigma");
			File sigmaVerDir = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/versions/Sigma");
			File sigmaNewVerDir = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/versions/Sigma5");
			File jelloprelauncherthingy = new File(FileUtils.getUserDirectoryPath() + prefix + "minecraft/SigmaJelloPrelauncher.jar");

In other terms, it deletes
minecraft/sigma
minecraft/sigma5
minecraft/jello
minecraft/Sigma
minecraft/versions/Sigma
minecraft/versions/Sigma5
minecraft/SigmaJelloPrelauncher.jar


Swift 1.2, NSCalendarUnits

I updated the syntax of the demo project to Swift 1.2 and updated uses of the NSCalendarUnit struct to the new units :)

Sorry I missed this pull request. I had already included this changes.


Render audio with AkAudioEvents (Sequencer) (Unreal + PA)

Hi All,
I’m trying to render a scene using a level sequencer and project acoustics (WWISE). Once the rendering process is finished it generates two files avi (video) and wave (audio) files but when I play the wav file I can hear only the sounds cues but not the audio acoustics (AkAudioEvents). How can I make UE render the audio acoustics in addition to the sound cues?
Adding AkAudioEvent to the sequencer didn’t help either.
OS:
UE 4.26
wwise 2<IP_ADDRESS>01
Windows 7 pro
@dvirsamuel
Thank you!

Hi @AvivSham ,
I'm a little confused by the setup. A few questions for you...
You mention you're using both sound cues and AkAudioEvents -- does that mean you're using Unreal's audio engine alongside Wwise?
Project Acoustics requires you to use Acoustics Audio Components on the same Actor as the AkAudioEvents. Can you confirm you have Acoustics Audio Components on your actors?
How are you rendering the whole scene? Does your rendering process support Wwise without Project Acoustics?
The Project Acoustics Wwise mixer plugin is incompatible with Wwise 2021 at this time. It is possible to use Project Acoustics in Wwise without that mixer plugin, but I wanted to call that out specifically in case that's the source of the problem.

Hi @MikeChemi, thank you for your reply.
I am working with @AvivSham on the project.
TLDR: How can we render a simple scene (with ue and project acoustics) so we could hear the Acoustic Component actors in the final audio file (generated after rendering).
Our end goal is to render videos and record the audio in a ue4 environment. One common way to do that is with the Sequencer (which render scenes into movies and export a wav file with the audio).
We would like to record the audio that was computed and generated using project acoustics for the best sound experience and realistic audio.
We started by following the tutorial (here) and playing with the Sample Project (with SunTemplat level map).
We then created a simple scene with the Sequencer and added Acoustic Component with their AkAudioEvents into the Sequencer (see image below).
The problem is that no audio is being recorded and the generated wav file we get after rendering is silent.
For sanity check, we replaced the Acoustic Component with a simple Sound cue (which does not belong to wwise or project acoustics) and could hear the sound in the find audio file.

What could be the problem?

Thanks for the additional information. We've never tried to use UE's Sequencer before, so you probably know more here than we do :)
It sounds like a problem with hooking up Wwise to UE's Sequencer. I can't tell from your screenshot -- have you gone through AK's documentation about how to do this? In particular, I'm wondering if the audio events are being triggered and have a long enough duration.
https://www.audiokinetic.com/library/edge/?source=UE4&id=using_features_sequencer.html
If you're confident that your Sequencer setup is correct, try replacing the Acoustics Audio Components with AK Components (in essence, disabling Project Acoustics but still using Wwise) and see if you get audio that way.


Bug: this.inputField has its style.align set to center regardless of the align property

When using inputs, the .style property of this.inputField has its .align always set to center. While this is not a problem for single-line text, we're grafting multi-line support into things and this causes issues.
To confirm:

Create a new input with align: left
Check input.inputField.style.align

Environment

version: 2.0.1
Browser & Version: Chrome 124
OS & Version: Fedora 39

Hi! Not to be annoying, but I'm noticing that this is still an issue on 2.1.5!

This component's input field is a helper for reading keys and fake input behavior on mobile.
We never show it, so applying styles will not do anything.


Show date instead of datetime

Would be awesome if we would have a way to only show date instead of date + time in Lovelace as only date is really relevant 🤔
Since I migrated from openhab I have no clue if this can easily done or we would have to implement it here.
Anyways, thanks for the great integration :)

Hi! Thanks for your feedback. I will check and get back.

#3

Fixed in version 0.24 with PR #3  . Thanks for the feedback. I hope, this integration is useful for you.

Yes, I was so excited to find this ❤


Theme request:  Docs theme with client side search

I'm not a UX person and I like gatsby and love the themes here.  Was looking for a document site theme with client-side search using elasticlunr.js or lunr.js

Thanks for opening an issue! I'm not sure I understand the requests. Could you give a detailed explanation as to what you are looking for. An example or a demo is often worth 1000 words ☺

@mrcasablr have you found any examples?


400 (Bad Request) trying to add card with "new" account?

I tried to add a card using my forum account.
It gave me a 400 in the console.
I've never made a post with the account but it is definitely on there.
enigmatic-dawn-95873.herokuapp.com/api/v1/posts:1 POST https://enigmatic-dawn-95873.herokuapp.com/api/v1/posts 400 (Bad Request)
App.js:125 Error: Request failed with status code 400
    at e.exports (http://pairboard.surge.sh/static/js/main.183da825.js:3:30962)
    at e.exports (http://pairboard.surge.sh/static/js/main.183da825.js:6:17222)
    at XMLHttpRequest.d.(anonymous function) (http://pairboard.surge.sh/static/js/main.183da825.js:3:29719)

It works for me.

Can you provide more details? Were you doing this on a local server or the live app? What exactly did you enter for each of the form fields?

The age of the user account is a red-herring, since we don't do any checking - we just assume the user exists if you say it does. (Obviously the links and images won't work in those cases though)

Hmm.. Seems to be working.
I was probably getting caught by #87
This time I chose a default pairing and it worked.

closing :+1:


Update index.js

-n 1 isn't a valid command. It is just -n. With the -n 1 the GitHub Action can throw an error.

Please take a look at the PR in the original repo for this github action for more details. https://github.com/brandedoutcast/publish-nuget/pull/78


[BUG] - Problem with changing the editor theme

Describe the bug
As you can see from the video when the editor theme is changed, it does not change the setting immediately, but you have to close all open files to make it happen.
Screenshots
https://user-images.githubusercontent.com/20476002/160202727-1716484b-5e00-45fa-a634-207ccd52a974.mov
Desktop (please complete the following information):

OS: macOS 12.3
Xcode: 13.3

@austincondiff : Could you check if you have this problem too?

I can confirm this is a problem


footer; update data.js links

[ ] added footer background image
[ ] changed content in footer to css in Sigma

Nice to Have:

[ ] external links have underline
[ ] Individual Routes for Beginner, Intermediate, and Advanced Tips for the Footer links


Change default session name

Resolves #767

Thanks for the PR, I've requested a review from Adam and other security experts.

And if it's "joind.in" or "joind.in-session". It's not the default but anyone looking at the code will know what it is either way. But this way people at least know what the cookie is there for.

Sorry, I didn't know what's an appropriate name for the session. Please feel free to change it.

Thanks @Isopach and all, we've merged #855


Fix bugs in message edit section of organization settings.

This PR fixes bugs in changing message edit and delete limit setting introduced in #21837.

First commit is to fix the bug of the save-discard widget not hiding when changing edit/delete limit setting in the following order- Any time -> Any other option -> Anytime.
Second commit is to fix the bug of save button being disabled even after custom input having valid value when changing the setting from Any time to custom.
Third and fourth commit is save button not being re-enabled when changing setting in following order - Any time -> Custom -> Any option other than above two.
Last commit is to set the custom input box to the original setting value when hiding it.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

This is still not ready for merging. I want to do thorough testing one more time to avoid any more bugs.

I tested again and all works fine. And this is now ready for review.
I am working on improving some code in settings_org.js especially related to these two settings to avoid future bugs like this along with working on remaining parts of #21739.

This is great, merged, thanks @sahil839!


314 Follow up clean up

:tada: This PR is included in version 2.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add quickfix for describe lines

describe lines in rule avoid_use is the only one that can have simple quick fix
I don't think adding it into avoid_use rule is good idea, because it is only one option out of many.
DESCRIBE TABLE foo LINES bar.
will be changed to
bar = lines( foo ).

the quick fixes are linked to the issues, so it will only be suggested in connection with those specific issues

the quick fixes are linked to the issues, so it will only be suggested in connection with those specific issues

Yeah, but from the documentation point of view the whole avoid_use will be flagged as quickfix, but only in one out of X options the quickfix actually exists.
But it is up too you, I don't have a problem with moving this into avoid_use.

Yeah, but from the documentation point of view the whole avoid_use will be flagged as quickfix, but only in one out of X options the quickfix actually exists.
But it is up too you, I don't have a problem with moving this into avoid_use.

for now, suggest moving it into the avoid_use rule, and then don't add the metadata flag
note that the quickfix will still work, it just wont show as quickfixable on https://rules.abaplint.org/avoid_use/

for now, suggest moving it into the avoid_use rule, and then don't add the metadata flag
note that the quickfix will still work, it just wont show as quickfixable on https://rules.abaplint.org/avoid_use/


Setup for opam packaging.

Just came across this library looking for something like async_parallel but for lwt.
I've just created most of what's required for an opam package minus pushing it up to opam. For that I'd need a tag created matching the version number of the library 0.1.0.

Oh, thanks. I was striving to do it myself, but never got a good kick for goodness. I will push it into opam.

Done https://github.com/ocaml/opam-repository/pull/4215

Thanks :+1:


Core :: Optimize CI pipeline

Based on this PoC #8465 refactor our CI pipeline to include a single test and build job with caching.
DoD
New CI based on PoC :

[ ] Docker images are built in the same job as the tests
[ ] caching
[ ] test directly run in the action

Clean ups :

[ ] Dockerfiles do not contain any test stages

Acceptance Criteria

[ ] Everything runs faster and green
[ ] Verify that all Unit Tests and Bridge tests run in the pipeline

Hi! I would like to work on that.

Thank you @philipp-hinteregger! I'll assign the ticket to you :)


bug(MatDialog): MatDialog causes Memory Leak with  element

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When using MatDialog with button and also some material elements, the dialog never gets removed by garbage collector. There still is a reference by Angular (or maybe zone.js) which is never freed. I believe this the same issue like https://github.com/angular/components/issues/10188 and https://github.com/angular/angular/issues/25744
It says the problem was fixed in 9.0.0-rc.7 but the problem still exists. I tested this in version 9.1.15, 10.0.14, 13.3.5 and also an older version (6.0.3).
Reproduction
Steps to reproduce:

Create new angular project
Create dialog component (like this: https://material.angular.io/components/dialog/overview)
put a  element in the dialog-component.html
compile
open dev tools -> memory
open and close the dialog multiple times, use the garbage collctor afterwards
in edge browser you can also inspect the detached dom nodes under dev toosls -> detached nodes

Expected Behavior
The DOM nodes should be the same before and after opening/closing the button, or at least not go up after the first opening/closing.
Actual Behavior
DOM nodes afterwards are much more than before.
Environment

Angular: 13.3.5
CDK/Material: 13.3.5
Browser(s): Google Chrome(Version 100.0.4896.127), Microsoft Edge(Version 99.0.1150.39)
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 (Version 19044.1645)

Apparantly this problem only occurs when I use the device toolbar in the developers tools

Hmm, I reproduce in Chrome only if the device toolbar is open too.
Here is what I found without the device toolbar.

![Uploading Screen Shot 2022-05-06 at 9.49.18 AM.png…]()


mode prop

Feature Request

Thanks for Giscus and making this super clean component API! 💪
I would love to have access to a "mode" prop (or similar)

I was just trying to create a custom theme so I could seamlessly incorporate giscus—as it is AWESOME! 🙏
I have implemented dark and light modes for the site in which I use Giscus.

Can we add a "mode" prop?
But first, do you already recommend a happy path for adding dark and light modes with custom themes? 🤔

Current Solution
Currently I pass in isDarkMode context and toggle the Giscuss theme based on that:
export default function SomeComp() {
  const { isDarkMode } = useContext(GlobalState);
  const theme = isDarkMode ? 'dark' : 'light';
  return (

          <Giscus
            {...propsNotRelevantToQuestion }
            theme={theme}
          />

  )
}

Desired Solution
Mode context is added to the iframe so I can style like so:
/* mytheme.css */
.some-css-class {
  color: #000;
}
[mode=dark] .some-css-class {
  color: #fff;
}

export default function SomeComp() {
  const { isDarkMode } = useContext(GlobalState);
  const mode = isDarkMode ? 'dark' : 'light';
  return (

          <Giscus
           {...propsNotRelevantToQuestion }
            mode={mode}
            theme='mytheme.css'
          />

  )
}

Happy to learn rather than add an uneeded feature if I'm missing something in my understanding! 🙏

Couldn't you have two CSS files and change the theme value to point to the correct file based on mode?

@laymonage thanks for your hasty response!
Yes! But I'd prefer to leverage the CSS cascade vs making/managing unneeded requests and .css files.
Happy to leave the conversation at that, though.
The API is super clean so I trust in the architect. 🙏

Ah, I understand.

The API is super clean so I trust in the architect! 🙏

Thanks, but honestly this would've been so much easier had I introduced the custom CSS support using a different config (e.g. themeUrl instead of using the same theme for both built-in and custom themes). That way, you could've specified one themeUrl with different theme values (like the mode prop you described here) and used the [data-theme="mycustomtheme"] CSS selector (ref) to use the appropriate styles. Right now the data-theme attribute just resolves to custom if you're using a custom theme, which isn't very useful.
Changing this now would break existing users with custom themes. Though, I did add a warning that the custom CSS support is experimental, so it's to be expected.
Another option would be to add a new prop like you suggest here, but I'm not convinced it's worth adding yet.  Thanks for keeping the api clean ✨


Fix database import SQLite not closing connections

Fixes #6922
Changes proposed in this pull request:

Closes SQLite connections remaining open (and db file in use)

Do you mind me changing it to this syntax in this PR? I think it would simplify the code a bit.

@wetneb sure thing.

@wetneb good now?

Looks great, thank you :) one round of linting and it'll be good to go


Odd behavior in the settings menu

What happened?
When I try to change the storage type of my repository to S3, reposilite asks me if I want to proceed, what I want, but it then deletes all the other options.
See attached video
https://github.com/dzikoysk/reposilite/assets/67484093/4c9049ee-a180-49ec-bb1d-5addc956b9d5
This instance runs on a Kubernetes cluster using the reposilite chart 1.3.0
Reposilite version
3.x
Relevant log output
No response

Sadly, it's an issue directly related to the library we use to generate these forms from a json scheme:

https://github.com/dzikoysk/reposilite/issues/1320

I'm afraid that I'm unable to fix that at this moment. Hopefully, we can get rid of it in Reposilite 4.x (or at least a new frontend impl). I'll close it, because it's already linked with the root issue + that's something I can't really change in the current state of the impl :/


Add codebeat badge

This service will track code smells to give a code healt score

Current coverage is 4.63% (diff: 100%)

Merging #12 into develop will not change coverage

@@           develop       #12   diff @@
========================================
  Files            5         5
  Lines          496       496
  Methods          0         0
  Messages         0         0
  Branches        78        78
========================================
  Hits            23        23
  Misses         463       463
  Partials        10        10

Powered by Codecov. Last update 9b7e5eb...6a5acca


fix(blockifier): typo in infinite_gas_for_vm_mode

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2704  👈 (View in Graphite)
#2153
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


"maven:3.5-jdk-8 as BUILD" is not a valid repository/tag

I ran:
docker image build -f Dockerfile -t people:multistage .
and got:
Sending build context to Docker daemon 164.9 kB
Step 1/6 : FROM maven:3.5-jdk-8 as BUILD
Error parsing reference: "maven:3.5-jdk-8 as BUILD" is not a valid repository/tag: invalid reference format
Here is my docker version:
docker --version
Docker version 17.03.1-ce, build c6d412e

This feature was introduced in Docker version 17.05.0-ce-rc1, build 2878a85.
Can you update the build?


PR: Suggestion for improvements and bugfixes

Suggestions/bugfixes from issue https://github.com/CAREamics/careamics-napari/issues/4.
All 4 commits were approved by jdeschamps.
https://github.com/CAREamics/careamics-napari/issues/4#issuecomment-2551845792

I found an error in _reshape_prediction for axes ZYX. I have to further investigate this


Move activity data up to galaxy, pass down via props

This way, activity data gets persisted in between component mounts/unmounts

Done


Regression: TabContainer takes a frame too long to set up in 4.3

Tested versions
v4.3.stable.official [77dcf97d8]
Works fine in v4.2.2 (and before)
System information
Windows 10
Issue description
When instantiating TabContainer children via code the TabContainer is not set up properly when one of the children is ready. Compare these two outputs:
v4.2.2

v4.3

This forces users to call_deferred any logic that relies on these properties, which is pretty inconvenient.
Steps to reproduce

Instantiate a TabContainer
Instantiate a Control node as a child of the TabContainer
Connect the ready signal of the child
Check state of the TabContainer within the connected function

Minimal reproduction project (MRP)
TabContainerCurrentTab.zip
This is a 4.2.2 project which can easily be converted to 4.3

Bisecting points to #87194 as the culprit:

This is just because the default changed in 4.3, from 0 to -1.
The child needs to become ready before the TabContainer can handle it, this is true in 4.2 as well. The child's ready notification is not a good place to use its parent TabContainer's methods.
If you print immediately after the add_child call, you can see that the current tab is set immediately and doesn't need to wait a frame.

@kitbdev You are right, the state of the TabContainer in 4.3 and 4.2.2 is not really different. current_tab as you said just defaults to -1 now instead of 0. If I print get_tab_count() both in 4.2.2 and 4.3 0 is being printed, so 4.2.2 is actually the inconsistent one with get_current_tab_control() not being null while get_tab_count() is 0.
The problem is from the perspective of the user I think it is a fair assumption that a TabContainer should be useable when its children are ready.  Workarounds are possible, but not very convenient.
I'll leave this issue open for the responsible people to decide whether the current behaviour has to be changed/can be changed or if this is how it should be.

Probably caused by call_deferred in the Godot code. I really dont understand why this method is used that often.
Deferring something should only be used when needed, e.g. there must be a good reason.

In GDScript, it's easier to deal with this, since you can use await get_tree().process_frame to solve many issues. However, sometimes you need to use it twice in a row, possibly because a deferred method is called somewhere after using call_deferred(), which makes it harder to solve this issue in C++.


winPB: Update ccert role to get windows.p12 from vendor_files

Fixes: #1558
ref: #1556
In draft until #1560 is merged.
Retrieve the windows.p12 file from the vendor files that are retrieved from the Get_Vendor_Files role that is put in with #1560 . Update the place in which the windows.p12 file is located, to C:/openjdk

@Willsparker not sure if that ansible lint check failure is really related but probably needs looking at regardless

@karianna Can't say I've seen the error before- I'll run ansible-lint locally just to confirm :-)

@Willsparker good to go?

Yup :-)


Remove activation log

I love the font, but as an extension developer myself this "Congratulations" message showing up on every single reload gets to be fairly bothersome. I've suggested just deleting it here, but let me know if it would be better to have it display only on the first install instead of each reload, and I'd be happy to alter my PR to do this.
Thanks!

Thank you for your contribution.


Multiple Resource Group Support --> Unable to deploy Azure Function app

Output from az dev version
azd version 0.0.1-beta.1588565 (commit 1b0d7eba856333b956b09e929666838dbf2df5e9)
Describe the bug
Unable to deploy code to Azure Function app.
To Reproduce

Execute azd init on existing project.
Add content to the azure.yaml filename: gridwich-ocw22
services:
fn:
   project: src/Gridwich.Host.FunctionApp/src
   resourceName: gridwichfxn${GRIDWICH_ENVIRONMENT}
   language: csharp
   host: function

Azure Function code is located at C:\source\msft\gridwich-ocw22\src\Gridwich.Host.FunctionApp.
Execute azd deploy --debug from C:\source\msft\gridwich-ocw22 via a Visual Studio Code terminal.

Expected behavior
Azure Dev CLI should successfully deploy code to a provisioned Azure Function app.  If the deployment is unsuccessful, the Azure Dev CLI should return an actionable error message (clear error message, suggestions to resolve, suggestions to learn more, etc.)
Environment
Information on your environment:
* .NET version: 3.1.417
* Windows: Version 22H2 (OS Build 22621.1)
* PowerShell: 7.2.4
* Azure CLI: 2.36.0
Additional context
Running the azd deploy --debug command produces the following output:
2022/05/20 14:17:39 executil.go:235: Cmd: az account list --output json --query [].{name:name, id:id, isDefault:isDefault} --debug
Out:[
  {
   // List of Azure subscriptions removed.
  }
]

Err:DEBUG: cli.knack.cli: Command arguments: ['account', 'list', '--output', 'json', '--query', '[].{name:name, id:id, isDefault:isDefault}', '--debug']
DEBUG: cli.knack.cli: __init__ debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x03D28CD0>, <function OutputProducer.on_global_arguments at 0x03EED610>, <function CLIQuery.on_global_arguments at 0x03F0B268>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'account': ['azure.cli.command_modules.profile', 'azure.cli.command_modules.resource']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands
DEBUG: cli.azure.cli.core: profile                   0.007         2         9
DEBUG: cli.azure.cli.core: resource                  0.012        43       197
DEBUG: cli.azure.cli.core: Total (2)                 0.019        45       206
DEBUG: cli.azure.cli.core: Loaded 44 groups, 206 commands.
DEBUG: cli.azure.cli.core: Found a match in the command table.
DEBUG: cli.azure.cli.core: Raw command  : account list
DEBUG: cli.azure.cli.core: Command table: account list
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x0499C190>]
DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\mcollier\.azure\commands\2022-05-20.14-17-39.account_list.62144.log'.
INFO: az_command_data_logger: command args: account list --output {} --query {} --debug
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x049D3F10>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x049E3028>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x049EB4F0>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x03EED658>, <function CLIQuery.handle_query_parameter at 0x03F0B2B0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x049EB538>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x049D31D8>, <function _x509_from_base64_to_hex_transform at 0x049D3220>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnFilterResult [<function CLIQuery.handle_query_parameter.<locals>.filter_output at 0x04AE45C8>]
DEBUG: cli.knack.cli: Event: Cli.SuccessfulExecute []
DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x0499C2B0>]
INFO: az_command_data_logger: exit code: 0
INFO: cli.__main__: Command ran in 0.841 seconds (init: 0.766, invoke: 0.075)
INFO: telemetry.save: Save telemetry record of length 2929 in cache
INFO: telemetry.check: Returns Positive.
INFO: telemetry.main: Begin creating telemetry upload process.
INFO: telemetry.process: Creating upload process: "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\mcollier\.azure"
INFO: telemetry.process: Return from creating process
INFO: telemetry.main: Finish creating telemetry upload process.

2022/05/20 14:17:39 service.go:33: packing service fn
Deploying service fn -2022/05/20 14:18:45 service.go:40: deploying service fn
Deployed service fn
Error: Command Failed: deploying service fn: deploying service fn package: exit status 3

I've been building an azd template that includes a production ready environment and found that high availability is another scenario that uses multiple resource groups. In that scenario I want my resources.bicep to include the ability to choose production ready SKUs when targeting production and dev resources when deploying to non-prod. As part of the production deployment, I also want to target multiple regions to achieve a higher composite SLA.
Having these requirements makes it harder to use 1 bicep template and 1 azure.yaml to deploy these resources but it's not impossible. To achieve the prod sku selection I can use azd env set IS_PROD true and bicep conditional deployments. But, this decision also impacts the azd deploy and azd up behavior because I need to help azd understand that I want to deploy the same web app twice. Based on the error message there are two options:

Specify the resource group in azure.yaml - my resource group is still named by the user's choice of environment, so I won't be able to hard code this into the azure.yaml
Set the AZURE_RESOURCE_GROUP environment variable - this works for my scenario as the user was already calling azd env set IS_PROD to toggle the new behavior in the template. But, I still need to deploy twice and cannot reduce the operation down to azd up.

It would be nice to have a way to simplify this so I can do a clean checkout and then run azd up. Maybe tags could work as a way to target the correct resource group by service. And, since I'm deploying the same web app to two regions, it would be nice to be able to associate a service with multiple tags so I can simplify back to azd up.

@KSchlobohm in your scenario, maybe I am not entirely understanding your requirements, but it seems that once you configure the production and development environments, the command
azd up --environment production && azd up --environment development

should get the two instances of your app deployed in a way that you want? Or am I missing something?

I was previously using the environment name to trigger the conditional bicep behavior as you're describing but I started preferring parameters to control and describe the outcome vs the magic string behavior achieved by if (startsWith(environment, 'prod') || endsWith(environment, 'prod')). This approach started when I noticed that the resourceGroup name would be "${environment}-rg" and I decided that I wanted the resource group name to describe the solution (e.g.  eshopprod is closer to what my environment name looked like).
The problem with associating a web app (a service in my azure.yaml) with multiple resource groups still remains regardless of environment name because the environment is only multiregional for production.
In this scenario my bicep templates default to the non-prod, single region, deployment. So when I deploy for high availability, I get an error from azd deploy because I only have 1 service described in my azure.yaml file but I want that service deployed to two places. If I changed azure.yaml to describe the same service deployed to two resource groups, then that would not align with the budget plan for the non-prod environments.

Thank you for clarification!
I am not aware in anything in azd today that lets one specify different resource groups for different resources that are part of the application. I think Matt mentioned it would be an enhancement here https://github.com/Azure/azure-dev/issues/328#issuecomment-1205792956
That said, question @KSchlobohm : in your "production" scenario, do the two instances of App Service have to be in different resource groups? Or can they be in the same resource group, but just in different regions? Because if it is the latter, that might be easier to do without changing azure.yaml format. We would just need to make sure that when azd deploys a service, it deploys it to all targets (target being AppService app plan in this case) tagged with corresponding service name.

Deploying to two azure locations within the same resource group works for my scenario. Thanks @karolz-ms

It would be nice to have a way to simplify this so I can do a clean checkout and then run azd up. Maybe tags could work as a way to target the correct resource group by service. And, since I'm deploying the same web app to two regions, it would be nice to be able to associate a service with multiple tags so I can simplify back to azd up.

We have been exploring using tags in this way.  In the tool today we have support for finding a target resource based on a tag.   If you tag the resource for your service with azd-service-name and then the "friendly name" of your service from azure.yaml (that's the name you use as the key under the services section, e.g. fn, in the example above) then the tool should try to use it (we added this in part to support cases like yours where the resource name will be unguessable).
Looking at the code however, it seems like this wouldn't work for you out of the box because we restrict our query to a resource group, but I'm not 100% sure why we decided to that that, possibly performence?
https://github.com/Azure/azure-dev/blob/6792d923cf09c11c8733c7d5fd385d030372b877/cli/azd/pkg/project/service.go#L96-L104
@wbreza Do you have thoughts here?  I wonder if removing the restriction on resource groups in the query would be sufficient?  As an FYI - In the environment proposal I am working on I have added an id value to every environment, so you could imagine having a tag like azd-env-id and using that (combined with `azd-service-name) instead of a fixed resource group.

@ellismg - If you don't filter by RG you'll get resources that have the same azd-service-name tag in two diff rgs and results can be unpredictable.

I ran into this today where I have two services that need to be deployed to two different resource groups.
Can we add "resourceGroup" to services?

@mcollier are you okay closing this issue in favor of: https://github.com/Azure/azure-dev/issues/690

@jongio Yes.


Parallel execution of jobs in primitives

Summary
The context manager blocks the parallel execution of jobs, so removed.
Details and comments
@mrossinek Thank you finding the issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
18 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 84.586%

Files with Coverage Reduction
New Missed Lines
%

qiskit/quantum_info/synthesis/cnotdihedral_decompose.py
9
0%

qiskit/quantum_info/synthesis/clifford_decompose.py
9
30.77%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
63020

Relevant Lines:
74504

💛  - Coveralls

@Cryoris The QFI changes the derivative_type, but by allowing parallelism, the QGT process was running with the change. So I changed the order of processings. I think you are the most familiar with QFI, so could you check this change?

I forgot why I added the following line in line 118. However, the QGT in QFI should run with DerivativeType.REAL. Otherwise, it would run twice as many circuits as the required processing.
temp_derivative_type, self._qgt.derivative_type = (
  self._qgt.derivative_type,
  DerivativeType.REAL,
)


Password manager not working

Hi, I'll try to be clear in my explanation.
I use Thorium in fully portable mode, that is, by transporting the profile to the installation folder. How is this got? By adding some modifiers (flags) in the executable shortcut. Example:
Target: D:\Thorium\thorium.exe --disable-machine-id --disable-encryption --user-data-Dir="D:\Thorium\Profile"
See the attached image. So far so good, it works perfectly, except for one detail: the password manager does not record any password added or imported. It is empty on every startup. Maybe a Chromium bug?
Any help will be appreciated.

https://github.com/Bush2021/chrome_plus/blob/7d6903c77d02d8d2db94ec076937d621e9cdb7b8/src/chrome%2B%2B.ini#L61
You may try setting that option to 0. If the issue persists, it is likely not a chrome++ problem.


Merge waitForElement into wait

What:
We are trying to merge waitForElement into wait.
See https://github.com/kentcdodds/dom-testing-library/issues/57 for details.
Why:
To simplify the API.
Checklist:

[ ] Documentation
[ ] Tests
[ ] Ready to be merged
[ ] Added myself to contributors table

@kentcdodds
Actually it's gonna be more complicated than I thought. We can't rely on container cause then the user would need to pass container every time. The workaround would be returning wait from render().
If we use isElement(), callback(() => null) would run wait() and not waitForElement() so we need to refactor waitForElement.

don't know how to solve the problem - but I do love the idea of merging those two together:)

We can't rely on container cause then the user would need to pass container every time.

Actually I don't think so. Having the container default to document will work 99% of the time. For the rest of the time people can pass a custom container and I think that's fine.

@kentcdodds I agree with you.
Unfortunately we don't have a reliable way to detect if the user is trying to wait for an element, we really need that information from the user itself.


Windows build doesn't work

Hi there. As stated, here's what happens when you start the binary under Windows 10 x64:
panic: Endpoint:  does not follow ip address or domain name standards.

goroutine 1 [running]:
github.com/jack5341/super-dollop/pkg.Connect()
        /home/runner/work/super-dollop/super-dollop/pkg/minio.go:18 +0xa7
github.com/jack5341/super-dollop/cmd.Execute()
        /home/runner/work/super-dollop/super-dollop/cmd/root.go:21 +0x19
main.main()
        /home/runner/work/super-dollop/super-dollop/main.go:8 +0x17

Thank you for your Issue!
Looks like there is a problem with your environments can you show them?

@jack5341 i didn't set any env. i would like to use this only for encrypting/decrypting purpose, without the minio/s3 stuff.


i am not getting apm metrics for golang apps while doing auto-instrumentation sidecard approach , though traces are working well and good

Describe the bug
A clear and concise description of what the bug is.
Environment

OS: linux/amd64
Go Version: [e.g. 1.23]

To Reproduce
otel-collector config
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
  name: otel
  namespace: opentelemetry-operator-system
spec:
  args:
    feature-gates: '-component.UseLocalHostAsDefaultHost'
  config:
    exporters:
      debug: {}
      otlphttp/tempo:
        endpoint: http://<endpoint-to-tempo>:4318
        tls:
          insecure: true
      prometheusremotewrite/victoriametrics:
        endpoint: >-
          http://<endpoint-of-victoriametrics>:8429/api/v1/write
        tls:
          insecure: true
    extensions:
      health_check: {}
    processors: {}
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: <IP_ADDRESS>:4317
          http:
            endpoint: <IP_ADDRESS>:4318
    service:
      extensions:
        - health_check
      pipelines:
        metrics:
          exporters:
            - prometheusremotewrite/victoriametrics
            - debug
          receivers:
            - otlp
        traces:
          exporters:
            - otlphttp/tempo
            - debug
          receivers:
            - otlp

Steps to reproduce the behavior:
deploy the collector and also the animal app
apiVersion: apps/v1 kind: Deployment metadata:   name: animal-bird-app   namespace: opentelemetry-operator-system   labels:     app: animal-bird-app spec:   replicas: 1   selector:     matchLabels:       app: animal-bird-app   template:     metadata:       labels:         app: animal-bird-app     spec:       containers:       - name: autoinstrumentation-go         image: otel/autoinstrumentation-go         imagePullPolicy: IfNotPresent         env:           - name: OTEL_METRICS_EXPORTER             value: otlp           - name: OTEL_GO_AUTO_TARGET_EXE             value: /otel-go-testing-final           - name: OTEL_EXPORTER_OTLP_ENDPOINT             value: "http://apm-collector.opentelemetry-operator-system.svc.cluster.local:4318"           - name: OTEL_SERVICE_NAME             value: "animal-bird-app"         securityContext:           privileged: true           runAsUser: 0       - name: animal-bird-app         image: asia-southeast2-docker.pkg.dev/lip-prod-sre-3a7f/apm-golang/otel-go-testing-final:v1  # Replace with your image repository if you're using a container registry         ports:         - containerPort: 8080
Expected behavior
2024-10-16T16:51:05.305Z	info	TracesExporter	{"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 1, "spans": 5} 2024-10-16T16:56:36.942Z	info	TracesExporter	{"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 1, "spans": 2} 2024-10-16T16:56:41.878Z	info	TracesExporter	{"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 1, "spans": 3}
A clear and concise description of what you expected to happen.
the metrics should also come as the auto-instrumentation behaviour but only traces are coming
below is the collector logs

This auto-instrumentation project is currently for traces only, it will not generate metrics for you. Are you instrumenting your app for metrics some other way?

Are you instrumenting your app for metrics some other way?
no i thought auto-instrumentation could have helped me but was not aware that it doesn't work for metrics
any plan for the same in near future?

It's one of our long term goals, but not for the near future unfortunately


Composition over Inheritance

Composition over inheritance is considered good.
Support for implementing composition over inheritance in EF7.
This can be done now with concrete classes.
But when it comes to implement it using interfaces, it does not go well. The migration does not create tables and foreign key mappings when an interface is used for composition and the concrete classes are created later using those interfaces.

@satyajit-behera could you share some code that shows the pattern you would like to be able to achieve in your entities? This will help us derive what features would be required in EF to enable the scenario.

@rowanmiller Thanks. Sure, I will create an example for the same and upload it here.

@sayedihashimi Ping.

@Zero3 did you mean to ping someone else? :smile:

@divega Oh, right you are. My tab completion skills are clearly not in their final form yet! Sorry. @satyajit-behera was the one!

@rowanmiller Was this issue resolved, since you closed this? Or was it because of the lack of an example?

@Zero3 it was closed because of lack of information.


Opening multiple files with :Clap files wrongly increases buffer numbers

Environment (please complete the following information):

OS: MacOS 10.15.2
Vim version: vim 8.1
vim-clap version: master (cb76765)
Have you reproduced with a minimal vimrc: yes

Describe the bug
When opening multiple files with :Clap files, by running the command for each file, the buffer number of the second file is increased to 7. The third file is given the number 8. This causes :Clap buffers to only list the first file.
To Reproduce
Steps to reproduce the behavior:

Create the minimal vimrc min.vim:

set nocompatible
set runtimepath^=/path/to/vim-clap
syntax on
filetype plugin indent on

Start (neo)vim with command: vim -u min.vim

Use :Clap files to open a random file.

Use :Clap files to open a second random file.

Run :buffers to confirm that the buffer numbers are not incremental, but that all buffers are listed.

Run :Clap buffers to confirm that only the first file/buffer is listed.

Expected behavior
I believe there are two different bugs here: First, the second file/buffer should be given the buffer number 2. Secondly, :Clap buffers should list all buffers regardless of «missing» buffers.
Additional context
Opening the same two files with :e correctly increases the buffer numbers, eliminating this issue.

The buffer number is assigned by vim itself, not by vim-clap, I don't see any problem. Showing the listed buffers is expected, that's how it's designed.

I believe you misunderstood my bug report, so I’ll add some screenshots here to clarify.
I have a test directory with two files: file1.txt and file2.txt. If I open these files in vim using the :edit command (e.g. :edit file1.txt), :buffers will output the following:

And :Clap buffers will list both files/buffers:

If I open the same files by running :Clap files and selecting the files (run the command twice, once for each file), then :buffers outputs the following (notice how file2.txt is suddenly buffer number 7):

And :Clap buffers only lists the first file/buffer:

Do you see the issue now?
Might this have anything to do with how popup windows are created, and the fact that they are buffers?

Every window has to associate with some buffer, so does the popup, hence there is no problem with the buffer number increased.

If there is no problem, then why does :Clap buffers only list the first buffer? Shouldn’t it list the same as :buffers?

I can't reproduce the missing buffer. It should be the same with :buffers, ensure you used the minimal vimrc.

I’m using the minimal vimrc, and I have the same issue regardless of the number of buffers I open. This started happening today, so I’ll roll back to an earlier version and see if that changes anything. I’ll let you know shortly.

You could also check :echo g:clap.provider._().source() when or after opening vim-clap with :Clap buffers. The output should contain all the buffers. If it's not, then there is a problem.

Thank you! The output does indeed contain all buffers (some whitespace removed by me):
['[8]  file3.txt #', '[7]   7B  file2.txt', '[1]   7B  file1.txt', '[9]  file4.txt %’]

However, :Clap buffers still only lists the first buffer (file1.txt), and searching for one of the other buffers gives me «NO MATCHES FOUND». Do you have any other suggestions?
This is all done using the minimal vimrc, and no other plugins or settings are loaded.

Not sure, but you can try upgrading your vim to the latest version to see if that helps.

It's an issue of vim, see https://github.com/vim/vim/issues/5335, upgrade your vim to the latest version.

I confirm that upgrading vim (using Homebrew, the most recent version at this time is version 8.2.0050) solves this issue.


Fixing issue with ruby gem 'activesupport' not found

This fixes issue #211, the Gemfile lacks a gem reference.

Duplicate of #212


[release-1.21] Bump coredns to v1.9.1

Proposed Changes
Bump coredns to v1.9.1
Types of Changes
version bump
Verification
crictl image ls
Linked Issues

#5307

User-Facing Change

The packaged coredns version has been bumped to v1.9.1

Further Comments

Test flaked, merging:
[PARALLEL] Ginkgo ran 1 suite in 9m51.545588073s
[PARALLEL] Test Suite Failed
[PARALLEL] Summarizing 1 Failure:
[PARALLEL]
[PARALLEL] [Fail] [sig-node] Container Lifecycle Hook when create a pod with lifecycle hook [It] should execute poststart http hook properly [NodeConformance] [Conformance]
[PARALLEL] /workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:158
[PARALLEL]
[PARALLEL] Ran 320 of 5773 Specs in 589.279 seconds
[PARALLEL] FAIL! -- 319 Passed | 1 Failed | 0 Pending | 5453 Skipped


Non-replicable Evaluation on PETS09-S2L1

ReST is really a nice work, and I'm very intersting about it. But when I trying to evaluate it on the PETS09-S2L1 dataset using the provided checkpoints in this repository, I got the following results, which  is different from the results reported in your paper. The camera number in the metainfo.json is four, so I want to know which four cameras has been used in this experiments?

         IDF1   IDP   IDR   Rcll   Prcn GT MT PT ML FP FN IDs  FM  MOTA  MOTP IDt IDa IDm
0       67.2% 67.9% 67.2% 100.0% 100.0%  7  7  0  0  0  0  44   0 88.8% 0.005   6  26   0
1       35.4% 36.4% 35.4% 100.0% 100.0%  7  7  0  0  0  0  76   0 76.6% 0.000   9  50   0
2       28.0% 39.2% 28.0% 100.0% 100.0%  7  7  0  0  0  0 171   0 63.8% 0.004  90  70   0
3       32.6% 42.5% 32.6% 100.0% 100.0%  6  6  0  0  0  0 113   0 62.8% 0.000  49  48   1
OVERALL 40.8% 47.8% 40.8% 100.0% 100.0% 27 27  0  0  0  0 404   0 73.0% 0.002 154 194   1

Besides, as shown in the metainfo.json, 90% frames are used to train the models on CAMPUS and PETS09-S2L1 datasets, which is different with other works like LMGP. Why those two datasets are splited in this way?
Thanks for your nice work!

Hi,
We used the first four cameras in our experiment and followed the same setting in Wildtrack for consistency. Feel free to run different experiment settings.
Best

hi，how can i download CAMPUS and PETS09-S2L1 datasets？I find their website can not be opened.

hi，how can i download CAMPUS and PETS09-S2L1 datasets？I find their website can not be opened.


Tag syncing fails silently due to buffer overflow

Description
During the mirroring of a some legacy mirrors hosted in bitbucket. I came across an issue in the process that syncs the git repository tags to the database.
When the contents (i.e. the commit message) of a tag is very large (this particular repository has some tag whose commit message is larger than 100Kb), the internal buffer of the Scanner used to parser the 'git for-each-ref' output overflows. Sadly, there is no message on the log that give a clue as to what is happening. I'm not particular experienced on golang, but it seem that the struct returned by function NewParser (parse.go:30) always returns a nil error no matter what happens.
Gitea Version
1.22.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.46.0
Operating System
Ubuntu
How are you running Gitea?
I ran into the issue in production (docker inside k8s). Nonetheless I was able to reproduce the issue inside visual studio code.
Database
PostgreSQL

I think maybe because the release table has the Note column only 16K varchars.

I think maybe because the release table has the Note column only 16K varchars.

Not quite @lunny :(
At least on PostgreSQL, the type of the Note  is text (see screenshots attached, the first one shows the xorm mapping of the release entity whereas the second one shows the generated database schema)

I was able to process the offending tags by adding the following code to the parser.go file.  However, I it feels like it only sweeps the real problem under the rug (if there is a tag whose message's lenght is greater than 1Mb it will fail regardless). Moreover, it would increase the memory footprint when syncing the tags :(

P.S. According to the docs, we could create a default smaller buffer and allow it to grow  until a certain size. If you guys think it is worthwhile I can create a PR to allow the buffer to grow to a larger size.
P.S. @matera-bs  is my work account, this is why I answered this particular issue


Fix timestamp conversions

The current implementation fails to convert timestamps to dicts and back; To reconstruct simply run:
from geometry_msgs.msg import TransformStamped
from ros2_message_converter import message_converter
t = TransformStamped()
d = message_converter.convert_ros_message_to_dictionary(t)
message_converter.convert_dictionary_to_ros_message('geometry_msgs/TransformStamped', d)

This will throw the following AttributeError:
  File "/home/bbferka/work/ros2/scanning_ws/build/ros2_message_converter/ros2_message_converter/message_converter.py", line 290, in _convert_from_ros_time
    'secs'  : field_value.secs,
AttributeError: 'Time' object has no attribute 'secs'

This PR addresses this issue by first renaming nsecs and secs to nanosec and sec respectively and by actually disabling the check for timestamp field_types. In ROS2 Timestamps are just another type of message, so general conversion works fine.

Hi. Thank you for the pull request. This package was created to handle communication with "rosbridge_suite" using WebSocket and JSON messages. However, it hasn't been maintained for a year and is designed to work with ROS2 Dashing and ROS1 Kinetic in the first place.
The communication using the rosbridge was between ROS1 Websocket server - ROS2 client for an internal project. Therefore, the dictionaries created with convert_ros_message_to_dictionary actually generate the dictionary for ROS1, which is nsecs and secs. Therefore, dictionaries are processed and generated as ROS1 type, and messages are processed and generated as ROS2 type. This might be the cause of that error. Also, the latest updated branch was foxy, not master. It might be fixed on that branch. As I mentioned, this package was for a specific internal project and might not be suitable for all cases.
I might divide the message conversion to be generic, so the generated dictionaries might be configured to be either ROS1 type or ROS2 type. I will get back to this when I have time.
Again, thank you for the PR. I appreciate it.


Huge testing time, over than 30s per one image and memory leak

@YoungminBaek @ClovaAIAdmin  Hello, I have a severe problem here.  I've installed the requirements as exactly in the requirements file (list below using pip freeze), but I'm getting huge testing time, and there's a memory leak.  Below is the elapsed time for each image and the number of rams used after each image (Note: I didn't do any activity on pc will runing)
elapsed time : 30.43714690208435s
5185044480
elapsed time : 53.374886989593506s
5257895936
elapsed time : 44.19151782989502s
5336133632
elapsed time : 56.6980299949646s
5491773440
elapsed time : 56.4984085559845s
5494587392
elapsed time : 59.90393805503845s
5528453120
elapsed time : 18.817126750946045s
5569077248
elapsed time : 45.16413617134094s
5565411328
elapsed time : 43.74738597869873s
5625319424
elapsed time : 30.947966814041138s
5646692352
Process finished with exit code 0
req.txt file generated after pip freeze
certifi==2019.11.28
cloudpickle==1.2.2
cycler==0.10.0
dask==2.10.0
decorator==4.4.1
kiwisolver==1.1.0
matplotlib==3.1.2
networkx==2.4
numpy==1.18.1
opencv-python==<IP_ADDRESS>
Pillow==6.1.0
psutil==5.6.7
pyparsing==2.4.6
python-dateutil==2.8.1
PyWavelets==1.1.1
scikit-image==0.14.2
scipy==1.1.0
six==1.14.0
toolz==0.10.0
torch==0.4.1.post2
torchvision==0.2.1

I did have the same issue and I  used  `

LRU_CACHE_CAPACITY=1 python testDetection.py

This removed the memory leak problem for me and reduced the time almost by  half.This is in reference to this issue.

https://github.com/pytorch/pytorch/issues/27971

@AnoopSaju123 thank you!

This looks like a duplicate of gh-27971 indeed, which is now fixed (in master, not in 1.5.0). So closing.

@rgommers thanks. let's wait for the next pytorch version then!

It seems not a problem on torch 1.4.0, but the test time is slow on torch 1.6.0
I think that adding contiguous operation can improve the test time.
https://github.com/clovaai/CRAFT-pytorch/blob/master/test.py#L77-L85
x = imgproc.normalizeMeanVariance(img_resized)
x = torch.from_numpy(x).permute(2, 0, 1)    # [h, w, c] to [c, h, w]
x = Variable(x.unsqueeze(0))                # [c, h, w] to [b, c, h, w]
x = x.contiguous()

This looks like a duplicate of pytorch gh-27971 indeed, which is now fixed (in pytorch master, not in 1.5.0).

not  fixed in 1,6 i still have this problem

It seems not a problem on torch 1.4.0, but the test time is slow on torch 1.6.0
I think that adding contiguous operation can improve the test time.
https://github.com/clovaai/CRAFT-pytorch/blob/master/test.py#L77-L85
x = imgproc.normalizeMeanVariance(img_resized)
x = torch.from_numpy(x).permute(2, 0, 1)    # [h, w, c] to [c, h, w]
x = Variable(x.unsqueeze(0))                # [c, h, w] to [b, c, h, w]
x = x.contiguous()

dosnt worked for me on pytorch 1.6

@rgommers thanks. let's wait for the next pytorch version then!

did ypu splve the problem by installing pytorch1.6?
i have pytorch1.6 and problem is still in time elapsed


PreferencesWindow: add window to manage preferences

@LAShemilt I got it working for booleans... will look into comboboxes now

@LAShemilt This looks to be working now... I put in an example on how to use it with a yaml file.
Let me know if you need any help making use of this in your code.


dsp.generate self-consistency

I am using dsp.generate for question answer with self-consistency.  When I use dsp.generate with the following code I get varying numbers of completions (sometimes the full n and sometimes less, sometimes even 1).  Would you know why I don't get the full n?
code:
example, completions = dsp.generate(qa_template_with_CoT_context_diag, n=23, temperature=0.7)(example, stage='qa')

Nevermind, found that it was just with large inputs it cuts off

OpenAI seems timo have become less reliable at large n recently — it wasn’t so before


Heads up: Avid avb parser

Here's a project which allows for reading and writing of Avid avb files: https://github.com/markreidvfx/pyavb
Maybe you guys can see a potential in adding this format to OTIO?

Interesting.  Would they become SerializableCollections?

After some discussion, we think a better approach would be to use ALE exports rather than directly manipulating the proprietary data of the AVB. Happy to re-open for further discussion, but going to close this for now.  Regardless, thanks for the heads up!

The problem with modifying an ALE file is it often won't "merge" back into the Avid.  Frame-rate, sample-rate, format – all these things can cause issues with using ALE files to enter metadata.
I can manually enter any metadata for clips in an Avid bin, but there is no way to (for example) paste a column, or correlate data based on another cell's value.   To be able to automate entry of metadata (and import data from text files) would be really useful.  The ALE functionality is somewhat limited.


Upgrade to 1.0?

Are there any plans to update this to use Julia 1.0 syntax?

Done on the notebook side.


Update sdk image

Need updated base image to clear vascan

@bitscuit you also need to delete _helpers.tpl, otherwise the install will fail.
please run make install to test it

@cheewaio make install ran without any errors. Why would it error? Because nothing from _helpers.tpl is being used?

the make install only deploy the operator csv and create a CR .. but you still need to verify actual installation , make sure the deployment and pods are running.
you need to run these commands to check if there any error

oc -n ibm-common-services describe csv ibm-helm-repo-operator.v0.0.1
oc -n ibm-common-services describe helmrepos default-helm-repo
oc -n ibm-common-services describe deployment helm-repo
oc -n ibm-common-services get po | grep helm-repo

closing this PR, as the changes are already merged in PR #6


DROP_WARN logging at debug level

We configured drop.warn but aren't seeing any messages coming through as tombstones,
Should this be set as LOGGER.debug in the below:
https://github.com/aiven/aiven-kafka-connect-transforms/blob/9e819a71ae238b77c5f62f8eb8ea6e50f726d2a9/src/main/java/io/aiven/kafka/connect/transforms/TombstoneHandler.java#L71

Hi,
Thank you for reporting. It should be LOGGER.warn, of course. We'll fix it.

Awesome, thanks!


$ref: internal vs relative determination

Shouldn't you require that internal references require a '#'?  I'm thinking most expect this:
$ref: "Pet.json"

to refer to a file relative to the current document.  The OpenAPI spec has one example of that.

Some context? Where do you see a different behavior?

Sorry, I thought I linked to the relevant code.

This was only a backwards compatibility support.  Please prefix with #/definitions.

#/definitions is not relevant in my case.  I would like this library to treat $ref: ./Pet.json as equivalent to $ref: Pet.json.  It seems you are saying the behavior of $ref: Pet.json as an internal ref is to maintain this (arguably) erroneous behavior across new releases.
If that's correct, hopefully this will one day be fixed.


Application silently fails to launch

Hello, first of all thank you for publishing this!
I have an issue with the application not launching at all after installation. Running the setup just silently places a link in the start menu without any proper installation process and launching the application afterwards results in the app briefly appearing in tasks (32bit) and then disappearing silently without any apparent action. Platform is 64bit Win10 on Asus Zenbook Pro.
Thank you in advance for any kind of advice.

One of the first things PrecisionGaze does is check whether it's running as administrator, and if it isn't, it attempts to relaunch itself as administrator. In theory if this doesn't work, the error is handled and the app should still run, but in practice perhaps this error handling isn't working?
You could see if it works when you right click on the PrecisionGaze executable and Run as administrator manually. You should be able to find the PrecisionGaze executable by searching for a file called PrecisionGazeMouse.exe in C:\Users\YourUsername\AppData\Local\Apps.

Thank you for the speedy response! Actually looking for the executable I discovered a number of crash dumps corresponding to the number of attempted runs and I will attach one of them in case it would be of any use. Running as administrator doesn't help it. Another things I noticed is the files are nested in strange location, e.g. C:\Users\Tobey\AppData\Local\Apps\2.0\ABY39EQR.BM9\G16E4AH4.Y5Y\prec..tion_0000000000000000_0001.000c_fe87e4cbef512a87

Crash dump file: https://file.io/DMU7GL

Oh to be clear, I'm not the main developer (that's @nash8350 !) - I just contribute a patch or two and try to be helpful sometimes.
The oddly named directories are part of the ClickOnce installer used as far as I know.
I'll admit I don't know much about reading dumps, but the only thing I can get out of that minidump is:
System.TypeInitializationException
  HResult=0x80131534
  Message=The type initializer for 'PrecisionGazeMouse.Program' threw an exception.
  Source=<Cannot evaluate the exception source>
  StackTrace:
<Cannot evaluate the exception stack trace>

Inner Exception 1:
DllNotFoundException: Unable to load DLL 'Tobii.EyeX.Client.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

For me, Tobii.EyeX.Client.dll is in the same directory as the app's executable itself (and signed by Tobii with a valid signature). If you have the same, then that's about the limit of my C# debugging.
You could try cloning the repo and opening then debugging it in Visual Studio 2017 itself (just make sure to run VS as administrator or you might not actually be able to do any step debugging) or wait for @nash8350 to chime in.

I see, in that case thank you to both you and @nash8350 !
I checked and yes I have the same signed .dll in the same folder as well.
I'm afraid C# debugging is beyond my skills but might give it a shot.
Any further feedback from you guys would be appreciated.

Hey @cybairfly thanks for trying the app and sorry you ran into this error. Everything @caspark said is correct thanks for helping out! Unfortunately, the dump you made expired and it gives me a 404 error.
Just to confirm do you have Tobii EyeX installed on your computer and it's running successfully? It almost looks like there is an error in the Tobii DLL that is preventing it from loading, but its hard to say without more info. I suspect it gives the same error message even when there is a error encountered while loading the DLL. That is unmanaged and closed-source code so its trickier to debug problems there.

Hey @nash8350 thank you for releasing the app in the first place! My pleasure to help and try it out.
I installed the app without reading instructions and didn't have anything else installed actually. I don't have any Tobii device so I went for the eViacam option instead. Installed it, set it up, enabled hotkey for activation (F11) and then launched your app. Sadly, even when launched as admin it just keeps terminating silently nevertheless. Could UAC have any effect?

@cybairfly Ok well if you don't have a Tobii device installed, that explains why the DLL doesn't load. It shouldn't crash so that's something I need to fix.
I'm curious what is the reason you want to use it without a Tobii device? Right now that is the only eye tracker supported. If you wanted to use eViacam as a mouse, you can use the software directly without Precision Gaze Mouse. You only get a benefit when you use it with an eye tracking device.

@nash8350 Apologies, my bad. I didn't realize a Tobii device was required because from reading the website it sounded to me like eViacam was an alternative to such device... as I don't own any, makes sense that the DLL isn't working. Thank you for the explanation and sorry about wasting your time.

Ok thanks I updated the website to hopefully make it a little more obvious. I'll leave the issue open for now as a reminder to test it without EyeX installed.

I added a better error message when tobii is not installed to v1.13. Hopefully if anyone runs into this again it will help them.


Export Functionalty Removed

Summary
Previously, we were able to export the results into at least CSV to be loaded and analyzed offline and swizzled into various tools and reports. With the launch of the new tool, we cannot find a way to export this data.
Desired Behaviour
While viewing an optimization report, we should at least be able to export the existing view.
Possible Solution
A simple export button to export the current view in a simple format such as CSV
Additional context
We often have to export and analyze this data for various leadership reporting and commentary/planning purposes.

Have added a full raw json export in v3.13.0.
Note the data structure is not a simple flat csv as before since we've expanded to cater for many new entity types which have different attributes/columns in their respective tables, it includes everything including tags for the targeted entities.
The public catalog version should be updated shortly to reflect this change.

Closing as the application has an export json data feature now. Feel free to re-open if any concerns.


Old config is not cleaned from SD card once RPi is updated

If I write the EVE image second time (e.g. without WiFi) and start Eve it can still use my old config.

rm -rf mount | grep /dev/mmcblk0p9 | cut -f 3 -d ' '/*
umount /dev/mmcblk0p?
OR
umount /dev/mmcblk0p?
dd if=/dev/zero of=/dev/mmcblk0 bs=700M count=1

Done


Scripted Installer - README file and documentation

Write a usage document for performing a scripted install, including info on the available options.

Documentation for the scripted installer and the interactive script have been written.  Documentation for pre-seeds and cloud-init will be done later when those scripts are brought more in line with the scripted installer.


Package2 IsDeprecated, IsDeleted fields and unexpected (and undocumented) behaviors

Summary
tl;dr - Package2 and CLI have some unfortunate behaviors.
Just off long call with Support. Learned a few things:

Package2 has undocumented fields. IsDeprecated and IsDeleted (and others)
sf package delete does not delete the package. It marks it as deprecated.
Deprecated packages can be renamed (BAD)
here is reference to undelete in the CLI code (https://github.com/search?q=repo%3Aforcedotcom%2Fpackaging+undelete&type=code)
There is no reference to undeprecate in the CLI code

Expected Behaviors:

We should not be able to rename deprecated packages
We should be able to undeprecate packages so we can, for example, rename them
Salesforce "says" they are deleted, but they are actually deprecated - I'm going to call this a trust violation (drastic, I know, but true with data deletion laws)
The documentation is pretty inaccurate - there are fields in the CLI code for Package2 that are not in the object documentation, and fields in the documentation that are not listed in the code
The difference between delete and deprecate must be clarified

Steps To Reproduce
Create a package (2GP)
Wait a minute or two
Query SELECT Id, Name, NamespacePrefix, IsDeleted, IsDeprecated, SubscriberPackageID FROM Package2 until it actually shows up
Create a package version (may be unnecessary, but that's what we did)
Delete the package version
Delete the package with sf package delete
Run the query again
Expected result
The package you just made should not be there IF it is actually deleted.
Actual result
The package shows up and IsDeleted = false and IsDeprecated = true
System Information
OSX VSCode
Fresh org with fresh namespace registry org
{
  "architecture": "darwin-arm64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.11.0",
  "osVersion": "Darwin 23.3.0",
  "rootPath": "/Users/dschach/.local/share/sf/client/2.29.5-06cd97f",
  "shell": "zsh",
  "pluginVersions": [
    "@jongpie/sfdx-bummer-plugin 0.0.19 (user)",
    "@oclif/plugin-autocomplete 3.0.8 (core)",
    "@oclif/plugin-commands 3.1.3 (core)",
    "@oclif/plugin-help 6.0.12 (core)",
    "@oclif/plugin-not-found 3.0.10 (core)",
    "@oclif/plugin-plugins 4.2.2 (core)",
    "@oclif/plugin-search 1.0.14 (core)",
    "@oclif/plugin-update 4.1.11 (core)",
    "@oclif/plugin-version 2.0.12 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.10 (core)",
    "@oclif/plugin-which 3.0.15 (core)",
    "@salesforce/cli 2.29.5 (core)",
    "apex 3.0.23 (core)",
    "auth 3.3.11 (core)",
    "data 3.0.20 (core)",
    "deploy-retrieve 3.2.14 (core)",
    "info 3.0.24 (core)",
    "limits 3.1.8 (core)",
    "marketplace 1.0.22 (core)",
    "org 3.3.12 (core)",
    "packaging 2.1.7 (core)",
    "schema 3.1.3 (core)",
    "settings 2.0.24 (core)",
    "sobject 1.1.11 (core)",
    "source 3.1.13 (core)",
    "telemetry 3.1.11 (core)",
    "templates 56.0.14 (core)",
    "trust 3.3.8 (core)",
    "user 3.2.8 (core)",
    "@salesforce/sfdx-scanner 3.21.0 (user)"
  ]

Additional information

@mshanemc Issue created as requested


ParameterValidation layer + VK_KHR_descriptor_update_template: Invalid error reported for vkCreateDescriptorUpdateTemplateKHR()

Spec says the following about VkDescriptorUpdateTemplateCreateInfoKHR::pipelineBindPoint:
pipelineBindPoint is a VkPipelineBindPoint indicating whether the descriptors will be
used by graphics pipelines or compute pipelines. This parameter is ignored if templateType
is not VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR

However, for a templateType value of VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR, I'm getting the following error reported at vkCreateDescriptorUpdateTemplateKHR() call time:
vkCreateDescriptorUpdateTemplateKHR: value of pCreateInfo->pipelineBindPoint<PHONE_NUMBER>)
does not fall within the begin..end range of the core VkPipelineBindPoint enumeration tokens
and is not an extension added token. (null)

which is plainly wrong.

This check no longer appears to be present in the parameter_validation_layer (though it is present as of SDK 1.0.68)


Highlight on emojis

Describe the bug
Using Meilisearch's _matches and _formattedInfo of the response should show the searcher the exact text that was found in the search.
I have found that mostly works, but appears to break when an emoji is in the middle of a word. Note to the best of my knowledge the actual search results are still correct, it is just over-highlighting the results.
To Reproduce

Create an index with a searchable attribute text.
Upload a document with the text Go💼od luck.
Perform the following search on the index:

{
  "q": "Go💼",
  "attributesToHighlight": ["text"],
  "matches": true
}

View results:

{
  "hits": [
    {
      "text": "Go💼od luck.",
      "_formatted": {
        "text": "Go💼od luck."
      },
      "_matchesInfo": {
        "text": [
          {
            "start": 0,
            "length": 11
          }
        ]
      }
    }
  ],
  "offset": 0,
  "limit": 20,
  "nbHits": 1,
  "exhaustiveNbHits": false,
  "processingTimeMs": 1,
  "query": "Go💼"
}

Expected behavior
I would expect the same document to be returned, but the  highlighting should only extend to the briefcase emoji (e.g. "text": "Go💼od luck.", and the matchesInfo length should be 6 (2 bytes for plain text + 4 for emoji in UTF-8)
Additional context
Running 0.19.0
I know that is a version behind, but I don't see anything notable in the changelog that I would expect to resolve this: https://github.com/meilisearch/MeiliSearch/releases
Note I am not able to recreate the issue when the text is something like 💼Good💼 luck. and I search for part or all of that word (e.g. 💼Go or 💼Good💼).

Hello, thanks for the report, we will see if it's possible to fix it in the next release.

@JacobLey, it's impossible for the search engine to highlight correctly emojis. The search engine de-unicodes the string and cannot work with emoji in the string when applying the highlight.
The next version will just not highlight any emoji then. Sorry for the inconvenience.
@CaroFG and @meilisearch/docs-team, it might interest you.

will just not highlight any emoji then
That sounds fair to me.

This issue wasn't at all breaking for me, it was just that the behavior felt non-deterministic. I would agree not highlighting an emoji (is "highlighting" even a thing emojis actually support?) is preferable to over-highlighting.
In my personal use case I don't really expect emojis to be used directly in search (although the result sets most definitely can contain them), I was just testing edge cases and ensuring I was properly interpreting _matchesInfo

Sorry for the confusion: we thought we were not able to fix this, but we were 🥲 It will be highlighted but the complete word, here Go💼od instead of just Go💼
Sorry again for the confusion! This fix will be present in v0.21.0!
@meilisearch/docs-team @CaroFG again!

Fixed by #1457

reopening since this is not fixed: the example given in https://github.com/meilisearch/MeiliSearch/issues/1173 still isn't working (this is basically the same issue). The fix provided by @ManyTheFish does not addresses the issue since the length of the highlight returned by the matcher could be on a character boundary, but not the right boundary. This is what happens in the example from #1173.
@Kerollmops @ManyTheFish, milli must return an accurate length since we can't guess the correct length on this end.

closing in favor of #1480


Impossible to install with $RUSTC_WRAPPER set

I've sccache installed and use it actively.
Unfortunately, cargo-chef=v0.1.6 (and v0.1.5, didn't dig deeper) throws an error when trying to
cargo install cargo-chef

Error:
info: cleaning up downloads & tmp directories
 ~ cargo install cargo-chef
    Updating crates.io index
  Downloaded cargo-chef v0.1.6
  Downloaded 1 crate (13.1 KB) in 1.09s
  Installing cargo-chef v0.1.6
error: failed to compile `cargo-chef v0.1.6`, intermediate artifacts can be found at `/tmp/cargo-installWWQz80`

Caused by:
  failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `sccache rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 2)
  --- stderr
  error: Connection to server timed out

Workaround:
unset RUSTC_WRAPPER solves the problem.

I managed to reproduce the problem, but honestly I have no clue on how to solve it :sweat_smile:
cargo-chef, as far as I can see, is not doing anything peculiar that could justify a build failure.
Out of curiosity, I tried to install a bunch of other cargo subcommands and they all fail to install more or less with the same error message: cargo-edit, cargo-tarpaulin, etc.
I would suggest opening an issue on sccache's repository.

I believe this is for the help: command.env_remove("RUSTC_WRAPPER");

I believe this is for the help: command.env_remove("RUSTC_WRAPPER");


Add controller collection store by file id

Create branch from main
issue-70-add-controller-collection-store-by-file-id


Allow configuration of folder(s) to search in

My code base is in a different mounted partition and a specific projects folder.
The run only scanned the vim plugins in home folder and done.
Can tmignore run and scan using the current folder?

tmignore currently searches your $HOME directory for Git repositories (and skips the directories in your whitelist). If I understand you correctly, you'd like an option to look for repos in a directory other than $HOME? It might make sense to add a config entry for this.

Actually my Home has a symlink to my projects root.
Yes a new config entry for searchable folders would work.
Symlinks outside root disk are ignored?
On Sun, 12 Apr 2020, 21:36 Samuel Meuli<EMAIL_ADDRESS>wrote:

tmignore currently searches your $HOME directory
https://github.com/samuelmeuli/tmignore/blob/de721a75b6396ba747920d946792a916243d8d14/Sources/tmignore/Git.swift#L46
for Git repositories (and skips the directories in your whitelist). If I
understand you correctly, you'd like an option to look for repos in a
directory other than $HOME? It might make sense to add a config entry for
this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/samuelmeuli/tmignore/issues/8#issuecomment-612638656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXFSXUP54JGF66KJJUDVDRMHRHDANCNFSM4MGM5PVQ
.

I also have my projects on separate disk partition which is symlinked to my home directory. I would appreciate to have easy configuration for the directories to search in. Another option is support for symlink following.
Great project btw – found this today! 😊

I've just released v1.2 with a searchPaths option :)


remove runtime flag shorthand

-r is already used for flag--remote in cmd vxlan create

I have a feeling that runtime shorthand has a potential to be used more frequently than vxlan remote when we add containerd runtime
Since these flags do not share the scope of the same command/level, maybe we can keep both?

It's not possible to keep both, runtime is a global flag, so it applies to all sub commands, including vxlan create
I removed the last one added, I will switch

thank you!
I somehow thought cobra does checks of flag names and shorthands, but apparently it only happens during runtime of the conflicting command


CI workflow to sync nix flake inputs to submodules

@ehildenb This should fix the sync issue. However, before this can be merged, we need to update deps/plugin to the latest version, as the update operation expects this repo to contain a nix flake

@goodlyrottenapple you'll have to run it manually thefirst time, this update workflow only triggers on the _update-deps branch, to avoid weirdness.

Oh I didn't realise we update the k dep and plugins dep on two different branches. I will move the nix job into its own yaml file and set it to trigger on both branches. Then we can merge that and test by updating deps/plugin?

Let's try it!