Plotting confusion matrix producing Disk quota exceed error

Hello,
I recently started using the wandb.plot.confusion_matrix functionality inside of a compute cluster and noticed that this causes me to disk quota errors. Specificially, if I run something like this:
# Other code previously

print("Prediction of shape", prediction.shape, "with range [", np.min(prediction), ",", np.max(prediction), "]")
print("Expected of shape", expected.shape, "with range [", np.min(expected), ",", np.max(expected), "]")
print("Have", len(labels), "with values", labels)

'''
if upload:
    wandb.log({ key_name : wandb.plot.confusion_matrix(y_true = expected, preds = prediction,
                        class_names = list(labels), title = key_name)})
'''

# More code afterwards

My runs work properly and complete. However, if I comment the wand.log and wandb.plot.confusion_matrix call then I get an output as such:

I searched for this error and came across #4143 which recommended to update the WANDB_CACHE_DIR environment variable. I updated the environment variable and I noticed that the error was still showing up. In order to verify that the environment variable had been set correctly I ran an echo command right afterward when the error showed up and got the following output:

Since I am working on a remote compute cluster with usage limits, I wanted to make sure that I didn't actually hit limit. Thus, I used scp to move a 2.5 GB zip file of my training data from my laptop to /gscratch/ubicomp/devess/wandb, the wandb cache dir, in the remote cluster and I noticed I was able to do that without any error. Thus, this indicates that there is plenty of storage in disk so I am really not sure what is causing this issue. I have attached a zip file of the run logs for this run as well: run-20230714_154249-ztewmypp.zip

Internal GitHub User commented:
Hello,
I recently started using the wandb.plot.confusion_matrix functionality inside of a compute cluster and noticed that this causes me to disk quota errors. Specificially, if I run something like this:
# Other code previously

print("Prediction of shape", prediction.shape, "with range [", np.min(prediction), ",", np.max(prediction), "]")
print("Expected of shape", expected.shape, "with range [", np.min(expected), ",", np.max(expected), "]")
print("Have", len(labels), "with values", labels)

'''
if upload:
    wandb.log({ key_name : wandb.plot.confusion_matrix(y_true = expected, preds = prediction,
                        class_names = list(labels), title = key_name)})
'''

# More code afterwards

My runs work properly and complete. However, if I comment the wand.log and wandb.plot.confusion_matrix call then I get an output as such:

I searched for this error and came across #4143 which recommended to update the WANDB_CACHE_DIR environment variable. I updated the environment variable and I noticed that the error was still showing up. In order to verify that the environment variable had been set correctly I ran an echo command right afterward when the error showed up and got the following output:

Since I am working on a remote compute cluster with usage limits, I wanted to make sure that I didn't actually hit limit. Thus, I used scp to move a 2.5 GB zip file of my training data from my laptop to /gscratch/ubicomp/devess/wandb, the wandb cache dir, in the remote cluster and I noticed I was able to do that without any error. Thus, this indicates that there is plenty of storage in disk so I am really not sure what is causing this issue.

Hello,
It turns that I had in fact reached my allocated storage capacity and coincidentally rerunning it with the code uncommented made the issue show up. Thus, I am closing this issue as it was not a problem with the API.

Hi @sarda-devesh thanks for the update and glad to hear you've resolved this issue! This is an OSError that you've reached your disk quota, which seems was triggered when writing artifacts to your cache directory. Under the hood, the Custom Charts create a wandb.Table which is stored as an artifact. I hope this helps, but please feel free to reopen the ticket if you had any more questions related to this and we will be happy to investigate this more!


build: add option for example to run

This reverts back to a zig build example step but sets up a flag to facilitate running all of them without the need to edit build.zig or add each as it's own step.
Example:
zig build example -Dexample=table

Thanks! I was wondering the best way to do this and this looks great!


Remove super_admin role

Given that I decided to leave just one auto MTurking evaluator instead of making it a group, there's no need in it anymore.

It's not so cool to manually set an evaluator user, and due to the fact that roles are currently hierarchical, I decided to leave the super_admin role after all. It does not differ from a usual admin, except for the ability to evaluate auto MTurk batches.


OOM wav2vec finetuning multi-gpus

❓ Questions and Help

What is your question?
I'm getting oom while training wav2vec with multi-gpus environments and it freeze I guess. It recovers when I run with single gpu.
NCCL_P2P_DISABLE=1 fairseq-hydra-train
task.data=/my/path/to/transcriptions
checkpoint.save_dir=/save/dir/
distributed_training.distributed_world_size=4
dataset.num_workers=20
dataset.max_tokens=1280000
common.tensorboard_logdir=/log/dir/
common.empty_cache_freq=100
common.memory_efficient_fp16=True
model.w2v_path=/checkpoint/path/checkpoint_best.pt
--config-dir config/finetuning
--config-name vox_960h.yaml
What's your environment?

fairseq Version (e.g., 1.0 or main): 1.0.0a0+c8a0659
PyTorch Version (e.g., 1.0) : 1.10.2+cu113
OS (e.g., Linux): linux
How you installed fairseq (pip, source): pip
Build command you used (if compiling from source):
Python version: 3.8.10
CUDA/cuDNN version: 11.3 / 8.2.1
GPU models and configuration: NVIDIA RTX A6000 / 49140MiB *4
Any other relevant information: nvidia driver 510.47.03

I don't know why it gets oom in multi gpus but I've reduced gpu memory usage by reducing dataset.data_buffer_size=3 which is 10 by default. then it uses about 20gb while training in device 1,2 in the pictures. I'm assuming it could be the shm issue. because I'm running the command with nccl_p2p_disable=1

I just found a post about pytorch 1.10 oom issue (links. could it be one of the reasons of oom?
Although I reduced the data_buffer_size, the log still shows oom issue.
So I'm trying to set environment variable from the warning I get,
2022-03-01 02:43:23 | WARNING | fairseq.trainer | OOM: Ran out of memory with exception: CUDA out of memory. Tried to allocate 508.00 MiB (GPU 1; 47.54 GiB total capacity; 42.24 GiB already allocated; 117.56 MiB free; 45.23 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
I would like to know the valid max_split_size_mb to limit the gpu memory usage of my device. should I use it in the code os.environ["PYTORCH_CUDA_ALLOC_CONF"]="max_split_size_mb:50000" ?
does max_split_size_mb means mb per gpu?(In my case 50000) or (# of gpu used for training) * 50000?

@ddoron9 Are you able to solve it?

Have you tried to reduce max_tokens?`

@olafthiele
hey! i don`t understand why i have to use max_tokens, not batch_size
PLZ, could you mind to explain it?


Update syn related dependencies to 1.0 and bump version

Ping ?

Review nag? Building two versions of syn is not great, and a lot of crates have already updated.

Sorry for my late response. Thank you for your contribution, it's much appreciated!


[Applications] Writer close bug

If you make changes in writer then click close it will show a dialog asking if you would like to save your changes. However you can click the close button again and another dialog will show. If you click 'Yes' then 'Yes' on the second dialog it throws an error.
Of course it throws an error because the window no longer exists to delete. Set up a way for the application not to open multiple confirmation dialogs.
Stack trace in case anyone is interested:
TypeError: Cannot read property 'style' of null
    at Window._toggleDisabled (http://localhost:8000/osjs.js:3389:20)
    at null.<anonymous> (http://localhost:8000/osjs.js:11321:14)
    at closeCallback (http://localhost:8000/osjs.js:3681:16)
    at DialogWindow.onClose (http://localhost:8000/osjs.js:3715:10)
    at UIElement.<anonymous> (http://localhost:8000/osjs.js:3706:12)
    at HTMLButtonElement.<anonymous> (http://localhost:8000/osjs.js:827:18)

Oh. Ill fix that one.
I notice you are using "dist" and not "dist-dev". Using the latter will
save you from rebuilding every time you change something... FYI
Den tirsdag 25. august 2015 skrev Ryan Riffle<EMAIL_ADDRESS>følgende:

If you make changes in writer then click close it will show a dialog
asking if you would like to save your changes. However you can click the
close button again and another dialog will show. If you click 'Yes' then
'Yes' on the second dialog it throws an error.
Of course it throws an error because the window no longer exists to
delete. Set up a way for the application not to open multiple confirmation
dialogs.
Stack trace in case anyone is interested:
TypeError: Cannot read property 'style' of null
at Window._toggleDisabled (http://localhost:8000/osjs.js:3389:20)
at null. (http://localhost:8000/osjs.js:11321:14)
at closeCallback (http://localhost:8000/osjs.js:3681:16)
at DialogWindow.onClose (http://localhost:8000/osjs.js:3715:10)
at UIElement. (http://localhost:8000/osjs.js:3706:12)
at HTMLButtonElement. (http://localhost:8000/osjs.js:827:18)
—
Reply to this email directly or view it on GitHub
https://github.com/andersevenrud/OS.js-v2/issues/151.

--
Anders F. Evenrud
Software Developer
Blog: http://tinyurl.com/cjfrfx8

I can't get it to register the new file. I added it to 200-compile.json

And then "grunt dist-dev-index" to update which files to load :)
Den tirsdag 25. august 2015 skrev Ryan Riffle<EMAIL_ADDRESS>følgende:

I can't get it to register the new file. I added it to 200-compile.json
—
Reply to this email directly or view it on GitHub
https://github.com/andersevenrud/OS.js-v2/issues/151#issuecomment-134430643
.

--
Anders F. Evenrud
Software Developer
Blog: http://tinyurl.com/cjfrfx8

I am having some problems with the PanelItem settings stuff. And I know this isn't the right place for this information but I have the code pushed. I am getting a random circular dependency in the setting dialog from the "CoreWM" pool. Here is a link maybe you can see something I'm not? https://github.com/andersevenrud/OS.js-v2/compare/master...RyanRiffle:PanelItem_Settings

I will import that branch when I get up again. In bed with my pad at the
moment :p will have to pull out the good old debugger and step over the
stack
Den tirsdag 25. august 2015 skrev Ryan Riffle<EMAIL_ADDRESS>følgende:

I am having some problems with the PanelItem settings stuff. And I know
this isn't the right place for this information but I have the code pushed.
I am getting a random circular dependency in the setting dialog from the
"CoreWM" pool. Here is a link maybe you can see something I'm not?
master...RyanRiffle:PanelItem_Settings
https://github.com/andersevenrud/OS.js-v2/compare/master...RyanRiffle:PanelItem_Settings
—
Reply to this email directly or view it on GitHub
https://github.com/andersevenrud/OS.js-v2/issues/151#issuecomment-134434736
.

--
Anders F. Evenrud
Software Developer
Blog: http://tinyurl.com/cjfrfx8

I found the problem. It comes down to windowmanager.js:491
It gave null for the key name and my SettingsFragment.set() just wasn't ready for it. However I do have the problem of the save feature. The SettingsFragment has no idea what pool it's in so it can't tell the SettingsManager to save that pool.


Publish to Pypi with Travis.

@jzoldak you could start provisional review. I have a ticket out to DevOps to get credentials.

@jzoldak Ready for your review now.
Thanks @fredsmith

:+1: :rocket:


Allow to build Synlig as Python module

Now Synlig can be build as Python module.
It can be installed by running:
make install@pysynlig -j $(nproc)

after installation it can be used in Python:
from PySynlig import libsynlig as synlig
synlig.run_pass("read_systemverilog counter.sv")

I noticed recently some project migrating from older scripting languages to Python:

here,
openlane2 has a branch (I cant find it right now) with TCL scripts recoded in Python (I remember it was using run_pass),
verilator migrating test scripts from Perl to Python.

I like this trend.
My questions are:

Is this a coordinated effort across yosys related projects?
Can I start using Python instead of TCL scripts?
Is there documentation on how to use Python with yosys? I could only find an old article from 2019.
Are there more examples to learn from? I will look at the ones from openlane2 again.

Thank you for asking! This is not coordinated in any way, but we also do like this trend, that's why we're going this way.
You are of course most welcome to start using our python support, but please note that it is highly experimental at the moment. We expect that not everything will work right away and we cannot yet guarantee that the API will be stable. That being said, if you do have any feedback, please let us know, in the end we want to make it useful for our users so all feedback is welcome (although of course no promises on adding changes upon request, but we're open to hearing what users think/want)


Edit COS DayNight.ipynb

Hi @TheRealZoidberg and @dulude,
We have encountered a PEP8 error related to using %%capture to store string output in the "cap" variable. However, the "cap" variable is undefined in our CI, and I am unsure how cell outputs are handled for the cap. We would appreciate immediate suggestions on how to proceed.


corrections second assignment

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

172 of 172 (100.0%)  changed or added relevant lines in 12 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
486

Relevant Lines:
486

💛  - Coveralls


Failed building wheel for fairseq

Describe the bug
Always when I start installation I see this problem. I have python 3.10.11. I instal Microsoft C++ Build Tools and Windows SDK. I don't know what to do
To Reproduce
Steps to reproduce the behavior:

Go to audio-webui
Click on run.bat
installing procces
See error

running build_ext
building 'fairseq.libbleu' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fairseq
ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.0.1 -> 24.1
[notice] To update, run: python.exe -m pip install --upgrade pip
You need to have visual studio C++ build tools installed. https://visualstudio.microsoft.com/visual-cpp-build-tools/.
Please read the error above carefully.
If you are unsure, please create an issue at https://github.com/gitmylo/audio-webui/issues.
When creating an issue, please include your full autodebug message.
Exit code: 1

Error seems self explanatory

This might help

ehhh i give up. I dont know what im doing wrong


ModuleNotFoundError: No module named 'torchvision.models.segmentation.segmentation'

I get the following error:
Traceback (most recent call last):
File "/home/bellman/Documents/abhishek/face/MaskFaceGAN/main.py", line 7, in
from trainer import Trainer
File "/home/bellman/Documents/abhishek/face/MaskFaceGAN/trainer.py", line 7, in
from model_module import batch_mse_loss
File "/home/bellman/Documents/abhishek/face/MaskFaceGAN/model_module.py", line 6, in
from models import BranchedTiny, FaceParser, Generator
File "/home/bellman/Documents/abhishek/face/MaskFaceGAN/models/init.py", line 2, in
from .face_parser import FaceParser
File "/home/bellman/Documents/abhishek/face/MaskFaceGAN/models/face_parser/init.py", line 1, in
from .face_parser import FaceParser
File "/home/bellman/Documents/abhishek/face/MaskFaceGAN/models/face_parser/face_parser.py", line 7, in
from torchvision.models.segmentation.segmentation import deeplabv3_resnet50
ModuleNotFoundError: No module named 'torchvision.models.segmentation.segmentation'
conda list gives:

I also checked the directory: anaconda3/envs/mfg/lib/python3.10/site-packages/torchvision/models/segmentation and didn't find segmentation.py file

Please help!

Also, I am using the converted weights file from Hugging Face: stylegan2-ffhq-config-f.pt

tried running on google colab as well, I get the same error.

turns out a few modules are depreciated in newer versions of torchvision, please specify the versions (again?) in the requirements.txt file.
/usr/local/lib/python3.9/site-packages/torchvision/models/segmentation/segmentation.py:7: UserWarning: The 'torchvision.models.segmentation.segmentation' module is deprecated since 0.12 and will be removed in 0.14. Please use the 'torchvision.models.segmentation' directly instead.
  warnings.warn(
/usr/local/lib/python3.9/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and will be removed in 0.15, please use 'weights' instead.
  warnings.warn(
/usr/local/lib/python3.9/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and will be removed in 0.15. The current behavior is equivalent to passing `weights=None`.
  warnings.warn(msg)
Downloading: "https://download.pytorch.org/models/resnet50-0676ba61.pth" to /root/.cache/torch/hub/checkpoints/resnet50-0676ba61.pth
100% 97.8M/97.8M [00:04<00:00, 23.7MB/s]
Traceback (most recent call last):
  File "/content/MaskFaceGAN/main.py", line 39, in <module>
    models = ModelsModule(attribute_subset=cfg.attributes, update_shape=cfg.models.update_shape,
  File "/content/MaskFaceGAN/model_module.py", line 24, in __init__
    self.face_parser = FaceParser(blend_option=blend_option)
  File "/content/MaskFaceGAN/models/face_parser/face_parser.py", line 43, in __init__
    self.load()
  File "/content/MaskFaceGAN/models/face_parser/face_parser.py", line 49, in load
    ckpt = torch.load(os.path.join(thisdir, 'state.pt'), map_location='cpu')
  File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 699, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "/usr/local/lib/python3.9/site-packages/torch/serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/content/MaskFaceGAN/models/face_parser/state.pt'

Correct, fixed the face_parser.py and added versions to the requirements.txt to fix the error.


Add ability to override webpack plugins

I need the ability to customize the HtmlWebpackPlugin to add a content security policy meta tag, as well as to customize the behavior of the DefinePlugin.

When do you think you'll publish an update to lwc-services so I can get this change?

It's not live with version 3.1.0, sorry for the delay.


add sbt-gcs to community plugins

add sbt-gcs to the community plugins.

Please include my plugin to the community plugin list!
This has been linked to community repository in bintray.

Hi @saint1991,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
http://www.lightbend.com/contribute/cla


feat: switch database to PostgreSQL

PlanetScale has recently retired its free tier, so we switched to neon.tech which uses PostgreSQL.

Cool, can you also change README.md's MySQL to Postgres as well?

You are right. I just changed that.


include revocation commitment params in challenge builder

The generators used in the formation of the revocation lock commitment should be included in generating the challenge.
https://github.com/boltlabs-inc/libzkchannels-crypto/blob/e290b53184f16078fa079a62db2e15ef2753ade2/zkabacus-crypto/src/proofs.rs#L423

This will be fixed by #190!


Update data-connectors-reference.md

Updating links and naming to Delinea from Thycotic

@cwatson-cat - Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@cwatson-cat - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
@MicrosoftDocs/public-repo-pr-review-team

@jagger This article has been refactored and we're now auto-generating the data connectors from the source files in the Azure-Sentinel repo. This data connector has its own page that you can find here: https://learn.microsoft.com/azure/sentinel/data-connectors/delinea-secret-server.  #please-close


Error while using UI for tracking results

System information

Have I written custom code (as opposed to using a stock example script provided in MLflow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.13.3
MLflow installed from (source or binary): using pip
MLflow version (run python -c "from mlflow import version; print(version.VERSION)"): 0.1.0
Python version: 3.6
**npm version (if running the dev UI):
Exact command to reproduce:

Describe the problem
Hi, I receive the following error while opening the terminal for tracking results
Source code / logs
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

What URL were you accessing?

I'm wondering if you should use pip3 install mlflow? After using pip install mlflow, I got the same problem. The server looks working good, but I can't connect to it.

I was using http://localhost:5000

Can you also do which mlflow? This would normally happen if you've tried to build it from source and have that ahead of the pip-installed one on your path. Or it may be that your pip is from a different Python installation than your python.


[Feat] JavaSDK support for ExecAll

@jeroiraz Did the JavaSDK 1.0 solve it?

@jeroiraz Did the JavaSDK 1.0 solve it?

No, execAll was not included.
execAll may become obsolete when supporting read-write KV transactions.


Command like option --openai-api-key seems borked

When I start aider with aider --openai-api-key sk-{the rest of my key} it errs with:
usage: aider [-h] [--openai-api-key OPENAI_API_KEY] [--model MODEL] [--skip-model-availability-check SKIP_MODEL_AVAILABILITY_CHECK]
             [-3] [--voice-language VOICE_LANGUAGE] [--openai-api-base OPENAI_API_BASE] [--openai-api-type OPENAI_API_TYPE]
             [--openai-api-version OPENAI_API_VERSION] [--openai-api-deployment-id OPENAI_API_DEPLOYMENT_ID]
             [--openai-api-engine OPENAI_API_ENGINE] [--edit-format EDIT_FORMAT] [--map-tokens MAP_TOKENS]
             [--input-history-file INPUT_HISTORY_FILE] [--chat-history-file CHAT_HISTORY_FILE] [--dark-mode] [--light-mode]
             [--pretty | --no-pretty] [--stream | --no-stream] [--user-input-color USER_INPUT_COLOR]
             [--tool-output-color TOOL_OUTPUT_COLOR] [--tool-error-color TOOL_ERROR_COLOR]
             [--assistant-output-color ASSISTANT_OUTPUT_COLOR] [--code-theme CODE_THEME] [--show-diffs] [--git | --no-git]
             [--gitignore | --no-gitignore] [--aiderignore AIDERIGNORE] [--auto-commits | --no-auto-commits]
             [--dirty-commits | --no-dirty-commits] [--dry-run | --no-dry-run] [--commit] [--version] [--apply FILE] [--yes] [-v]
             [--show-repo-map] [--message COMMAND] [--encoding ENCODING] [-c CONFIG_FILE]
             [FILE ...]
aider: error: unrecognized arguments: --open-api-key=sk-{the rest of my key}

Interesting is that the usage says to use --openai-api-key and the error says I used --open-api-key when in fact I used --openai-api-key.

This also happens if I set my api key using environment variables.

Figured it out! It was because my .aider.config.yml file had the key name misspelled. I think the cli too could probably be made more rubust (or just have better error messages) so maybe I'll keep this open for now. Thank you!

It looks like the problem is that you included an equal sign between the switch and the value. You just need to separate them with a space.

@paul-gauthier - it ended up being caused by my .aider.config.yml file. The contents were:
open-api-key: sk-{the rest of my key}

Which was totally my fault and hard to find!


Add Sorted Empirical CDF CRPS algorithm

Modulus Pull Request
Description
This PR adds another method for computing the Continuous Ranked Probability Score. It lifts the implementation from Earth2MIP, https://github.com/NVIDIA/earth2mip/blob/main/earth2mip/crps.py, at the request from @nbren12.
Closes #455
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[x] An issue is linked to this pull request.

/blossom-ci

/blossom-ci


Build slides for making your first contribution

We need a slide deck to walk event attendees through making their first contribution to an open source project using CubeFlyer.
This would need to cover:

Forking

Explaining forks
Dividing the attendees into small teams (3/4 people), and nominating one person to 'own' the golden source repo. Teams are important as we are teaching how to collaborate, but if folks don't want to be in a team they can listen to learn about merge conflicts.
Having the owner create a new repo from https://github.com/open-source-bootcamp/CubeFlyer
Getting the rest of the team to fork this repo
A brief walkthrough of the code
A demo showing how to run the code

Hands on time

Getting attendees to play the game

Issues

Explaining issues in GitHub
Getting the owner to create a new issue asking for new greetings
Showing the issue exists only in the original repo, not the fork

Hands on time

Getting attendees to add one or more greetings
Testing the greetings

Pull requests and merging as a team

Getting a first pull request in and merged
Getting a second pull request in and seeing it blocked by a merge conflict

Merge conflicts

Explaining merge conflicts with examples
Showing how to fix merge conflicts in VS Code by editing the file
Pushing the fixed version into the Pull Request
Getting everyone to get their PRs in

I typically build my slides in Reveal JS using Markdown. Is this OK or is there a standard library you want us to use?

This will require the presenter to be familiar with and have Node installed it seems. Is that OK?
If so, maybe we should host these slides in a static site so alt-text and notes are accessible.

I don't think that's too much to ask for a presenter to install Node if they don't already have it.
We could host them locally, but that would remove the ability to customize with presenter details.

FYI - fixed the mermaid issues. Needed some version bumps on packages. There is a weird issue now with the latest version where in presenter view the SliDev logo is enormous, but this is a known issue and hopefully will be fixed soon!

Closed by #24


IDE: Differentiate Sorbet autocomplete suggestions from other extensions

Problem
Users may use Sorbet in an editor that has other autocomplete extensions enabled for Ruby. These other extensions are not aware of Sorbet types, and their suggestions are (nearly always) less precise. Users would like to see at a glance which suggestions are bankable Sorbet suggestions, and which are from other extensions.
We've had issues internally where folks believe there is a bug in Sorbet's autocomplete feature when the issue is with some other extension providing bogus autocomplete suggestions.
Primarily, we see this issue in VS Code.
Proposed solution
This isn't a solution so much as an open problem: Can we differentiate our autocomplete suggestions (at the least, in VS Code) somehow?
If we can't, we'll want some easy way to help users of VS Code configure their editor so that they only receive autocomplete suggestions from Sorbet (if they want it that way). This will be doubly useful for helping folks who open bug reports regarding this feature ("if you're getting weird autocomplete results does this fix the problem?").

We already differentiate them by displaying type information and proper icons for the autocomplete type. The language-agnostic plugins just show an 'abc' icon.


Upgrade Ubuntu to 22.04 from 20.04

What:
Upgrade Ubuntu to 22.04 from 20.04
Why:
We want to upgrade Ubuntu base image to 22.04.

Preview is available here:http://laboratory-pr727.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr727.previews.kube001.services.stellar-ops.com/

Hi @quietbits Can you merge this PR?


chore: update deps

Dependabot had trouble with the CI due to separate PRs for each package. It also included a breaking change in the manager configuration. This bumps all packages together and fixes the config.

@adrianreber PTAL

Thanks. Let's use this PR.


[Navigation Material] bottomSheet backstack not work

When upgrading androidx.navigation:navigation-compose:2.6.0 to androidx.navigation:navigation-compose:2.7.2 bottomSheet backstack does not work.

Hi, i have got the same issue.

This was fixed in [d1b2afd3a9bd7923b13bbbc1b04d3ccc4ee7bdaf], which is part of Accompanist 0.32.0 and higher. What version of Accompanist are you using?

This was fixed in [d1b2afd], which is part of Accompanist 0.32.0 and higher. What version of Accompanist are you using?

I am using the latest updated version. The problem is not the version, there is a bug.

This was fixed in [d1b2afd], which is part of Accompanist 0.32.0 and higher. What version of Accompanist are you using?

Thanks, fixed.


ZF3 assumes that the folder with the module's controllers has to be named Controller

After migrating to ZF3 from ZF2 found out an issue. It seems internally, ZF3 assumes that the folder with the module's controllers has to be named Controller (singular). If that's not the case, like I named Controllers (plural), it lets the namespace YourModule/Controllers/ControllersName/ to be transferred to the path your-module/controllers/controllers-name/ instead of your-module/controllers-name (then attaching the action). All this happens in the InjectTemplateListener's mapController() method. I guess it's a bug because things worked for ZF2 without a problem.

I also find a bit uncomfortable the following thing. In ZF2, there shouldn't have been an exact correspondence between the path to the controller and the resulting view script path. I mean the following: if a path to a specific controller is MyModule/Controllers/SomeFolder/SomeFolder2/DesiredController, the view script's path could have been like my-module/some-folder/desired, whereas now the view script path should have been exactly the same my-module/some-folder/some-folder2/desired. It's not a big issue, though, I find it a bit uncomfortable when you want to provide some structure in the controllers' folder (multiple nesting folders) and still keep the urls simple.

Something is wrong with your code for sure it is not the zend obligadno any kind of nameclatura pattern ...
My folder with the controllers is called Services and works perfect on zf3 heheh

I'm not sure it's my fault. :-) if you look at InjectTemplateListener you'll see what i mean. By the way, can you tell me the full path to your controller folders?

@ddodz can this be moved to zendframework/zend-mvc? A test case with your current scenario would also be needed to verify if ZF2->3 caused a regression.

@ddodz Both zf2 and zf3 does not support this transformation. But there is a simple way to perform this by yourself. You can attach an event listener, that will inject template following your name transformation rules before InjectTemplateListener will do the same. Docs telling us, that InjectTemplateListener is attached to SharedEventManager with Zend\Stdlib\DispatchableInterface context. Just add your template name resolver listener using higher (e.g. 91) priority.

For me it will be even better to store controller views within controller folder. In my case one module can provide not only controller templates, but viewhelpers, form elements, navigation and other templatesю


Metrics and Logging name changes

These are some metrics and logging name changes based off discussions in #539
These are not set in stone, but I thought implementing the changes would trigger final decisions

IMO we should follow the OTel guides:

https://opentelemetry.io/docs/specs/semconv/
https://opentelemetry.io/docs/specs/semconv/http/http-metrics/

So I've followed the conventions for HTTP metrics
There is very little detail when it comes to log attributes. I've used an hb prefix everywhere to ensure we aren't adding to namespaces we don't own.


Only run necessary CI jobs

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

I love this idea, thoughts of what also should trigger tests:

cmd/  changes
schutzbot/ changes should trigger everything
vendor/ changes
distribution/ changes
container/ changes should trigger regression tests where we spin up the container (and in future the api tests)
*spec changes
dnf-json changes should trigger base tests or image-tests or something where we depsolve

After wondering why it's not working, and debugging, it seems this is not possible with the current setup :disappointed:

Use only:changes without pipelines for merge requests
Without pipelines for merge requests, pipelines run on branches or tags that don’t have an explicit association with a merge request. In this case, a previous SHA is used to calculate the diff, which is equivalent to git diff HEAD~. This can result in some unexpected behavior, including:
When pushing a new branch or a new tag to GitLab, the policy always evaluates to true.
When pushing a new commit, the changed files are calculated by using the previous commit as the base SHA.

Source: https://docs.gitlab.com/ee/ci/jobs/job_control.html#use-onlychanges-with-scheduled-pipelines

It can work but the effect is limited, the bigger the effect the more information about test<->code dependencies that we need to keep/update in .gitlab-ci, I'll close it for now and we can revisit it later if needed.


app landing page

Look at test2.html for the best version of the landing page. Currently the page is too wide for the screen. I need help figuring out why it's doing this

I like how it is looking as a webpage. For mobile, it is not responsive. I see you created your own container, row, column classes, is there a reason you are not using Bootstrap for these? Bootstrap has responsive rows and columns built-in.

Ok I think I made all of the changes!

Looks good! Let's move index2.html to index.html, and then get it up for now!


[TVMC] Autotuning - Hardware configs not default

This PR adds an argument to the parser which sets on default, the hardware configurations to be off. Now experienced users can still toggle with hardware settings but the novice user will experience the same settings as using tvm in another context.

@jwfromm @comaniac @leandron
Thought that this change would make tvm look better to an average user. Please let me know your thoughts.

Just to add a little more context, the reason for this change is that we recently had someone try out TVMC and get very confused why it was producing different tuning results than autoscheduling the traditional way. It turns out it was due to num_cores defaulting to 4 in TVMC. We think this behavior could throw off a lot of new users and the default hardware params should be those of the system being run on.


Fix merging segments regarding textlines

[x] Concatenate textlines from merged segments into newly created segment
[ ] Assign textlines to the newly created segments when splitting a segment

Postpone handling behavior in splitting regions with textlines to a later release.


Bug:I download vibe software for audio transcription it gives me error which says a bug happen

What happened?
vibe transcription software gives an error message says a bug happen although i tried to reinstall the software and reset it but nothing, but the error still exists
Steps to reproduce

i also tried to download different model which is large model, but it keeps on 0% then crash

What OS are you seeing the problem on?
Window
Relevant log output
failed to open model

Caused by:
    Failed to create a new whisper context.

Location:
    core\src\transcribe.rs:37:65

Duplicate. see more info here
https://github.com/thewh1teagle/vibe/issues/370


Use mica in the SUI if mica is enabled in the theme

Does what it says on the tin!

Moved from body

From discussion yesterday:

@msftbot merge this in 1 minute


python3Packages.codecov: 2.1.11 -> 2.1.12

Motivation for this change
Update to latest upstream release 2.1.12
Change log: https://github.com/codecov/codecov-python/releases/tag/v2.1.12

enable tests

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 135640 at 5a877797 run on aarch64-linux 1

2 packages marked as broken and skipped:

python38Packages.stumpy
python39Packages.stumpy

9 packages failed to build:

python38Packages.qiskit-aer
python38Packages.qiskit-ibmq-provider
python38Packages.qiskit-terra
python38Packages.rl-coach
python39Packages.qiskit-aer
python39Packages.qiskit-ibmq-provider
python39Packages.qiskit-ignis
python39Packages.qiskit-terra
python39Packages.rl-coach

10 packages skipped due to time constraints:

home-assistant
python38Packages.nipype
python38Packages.qiskit
python38Packages.qiskit-aqua
python38Packages.qiskit-ignis
python38Packages.slack-sdk
python39Packages.nipype
python39Packages.qiskit
python39Packages.qiskit-aqua
python39Packages.slack-sdk

23 packages built successfully:

errbot
opsdroid
python38Packages.codecov
python38Packages.h3
python38Packages.ibm-cloud-sdk-core
python38Packages.ibm-watson
python38Packages.kubernetes
python38Packages.line_profiler
python38Packages.openshift
python38Packages.pc-ble-driver-py
python38Packages.scikit-build
python38Packages.slackclient
python38Packages.tweedledum
python39Packages.codecov
python39Packages.h3
python39Packages.ibm-cloud-sdk-core
python39Packages.ibm-watson
python39Packages.kubernetes
python39Packages.line_profiler
python39Packages.openshift
python39Packages.scikit-build
python39Packages.slackclient
python39Packages.tweedledum

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Result of nixpkgs-review pr 135640 run on x86_64-linux 1

8 packages failed to build:

python38Packages.nipype
python38Packages.qiskit
python38Packages.qiskit-aqua
python38Packages.rl-coach
python39Packages.nipype
python39Packages.qiskit
python39Packages.qiskit-aqua
python39Packages.rl-coach

36 packages built:

errbot
home-assistant
opsdroid
python38Packages.codecov
python38Packages.h3
python38Packages.ibm-cloud-sdk-core
python38Packages.ibm-watson
python38Packages.kubernetes
python38Packages.line_profiler
python38Packages.openshift
python38Packages.pc-ble-driver-py
python38Packages.qiskit-aer
python38Packages.qiskit-ibmq-provider
python38Packages.qiskit-ignis
python38Packages.qiskit-terra
python38Packages.scikit-build
python38Packages.slack-sdk
python38Packages.slackclient
python38Packages.stumpy
python38Packages.tweedledum
python39Packages.codecov
python39Packages.h3
python39Packages.ibm-cloud-sdk-core
python39Packages.ibm-watson
python39Packages.kubernetes
python39Packages.line_profiler
python39Packages.openshift
python39Packages.qiskit-aer
python39Packages.qiskit-ibmq-provider
python39Packages.qiskit-ignis
python39Packages.qiskit-terra
python39Packages.scikit-build
python39Packages.slack-sdk
python39Packages.slackclient
python39Packages.stumpy
python39Packages.tweedledum


Can you embed SEO solutions?

Can you embed seo solutions？
Can you embed seo solutions？
Can you embed seo solutions？


Grid Renders All Non-Visible Rows

I have an issue where after updating a grid after a dynamic row height changes all subsequent rows get re-rendered (past visible range).
I believe this section may be responsible.
https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/utils/updateScrollIndexHelper.js#L55
I'm debugging and it seems Grid.componentDidUpdate calls updateScrollIndexHelper which sets scrollToIndex to list.length (see linked section) so that CellSizeAndPositionManager.getUpdatedOffsetForIndex re-renders everything from lastMeasuredIndex to the end

Good catch @iChip. This logic was written before CellMeasurer existed and so the underlying assumption was that it would be cheap/fast to query sizes for remaining cells. I should be able to relax this a lot though. It really isn't necessary to measure to the end of the collection, only to the end of the viewport. I'll try to get a patch release made sometime today.

Thanks @bvaughn, appreciate the prompt response!

@iChip Check out 7.22.2~ hot off the press. Hopefully it will improve performance for you? :)


update for Brandywine School District

please commit your domain with a separate entry, we verify pull requests individually, so  I can't check this one for validity


Adds environment variables to auth service

I ran into an issue where I couldn't sign up users because the auth service wasn't able to connect to mailhog.
That caused the auth service to not send an email and not respond to the HTTP request.
fixes #499
I'm wondering if anyone else had this issue. If I'm the only one then maybe this PR is obsolete.

Hello Christian,
Correct, these environment variables were missing. Thanks for this addition!


J makes Xamarin Studio (OS X) freeze

When I use J (Shift+J), Xamarin Studio freezes and I eventually have to force close. Being a Vim user, pressing this is a habit and I keep making it freeze. Not sure if it's this add-in's fault or if J is even implemented, but I thought it was appropriate to post it here.

I think this happens when the line endings of a file doesn't match what is expected. Can you check what line endings you have in your solution settings and if the file has the exact same endings and not mixed ones?

Thank you that was the problem. For some reason I think I had Windows line endings, even though both Xamarin and the solution was set to have "Native" line endings. Not sure why it switched. Maybe git did it, even though I don't think I had it set to. Idk, I just started working across platforms. It might be out of the scope of this issue, but are there any settings I should set in both Xamarin Studio and/or git?

Personally I prefer keeping either Unix or Windows line endings depending on the project and ensuring that no tool does any conversion between them, be it git or an IDE. The "native" option of project files is something I avoid because it depends on the platform you're on.
However, this is an actual bug that the add-in can't cope with mixed line endings. It should probably detect any line ending combination properly when searching for the next line.


Generate and implement new ideas for Discourse group "tags"

On the discourse forum, we are able to have tags as shown below. We can create any tag and give people tags on certain occasions or conditions etc. (eg. donated to ethmagicians = doner, or active member = no-lifer)

These tags can be made from text along with any icons from the font-awesome set.
Would love for this thread to be a place of grace peace and joyous come together for us to brain storm some ideas for new and spicy tags for people.

Project/group affiliations? Possible to put in links to Twitter/Peepeth profile?

@pet3r-pan just clarifying that those "tags" are group affiliations.
We can create Discourse groups at will, and make them public / private or something in between. The public ones can be ones that users can join.
@MadeofTin wrote this up before, see https://github.com/ethereum-magicians/scrolls/issues/14
I would like to see this turned on. Probably this is actually a dupe of #14 -- what do you think Peter?

@bmann Yeah I think that these tag are for group affiliations (categorised rings) but also potentially for any other purpose eg. for MVP volunteers of councils (they get a cool unique tag such as Prague '18).
I just dug through metacartel's admin panel and yes, you can create groups where members automatically get the option using a new tag (or title) next to their username.

Using groups for Rings means mailing list mode for ring owners which is a little more effective than hoping people see category posts.
And, open groups for Rings means people can self select what they want to show they are involved with.
It also would mean we could identify people who are actually organizers of a group / Ring — which isn’t captured anywhere.
Groups don’t really do categorization unless you send group PMs. I agree that categories as they are is fine.

For ring organisers, we can manually give them a badge or title.


Unable to vars and assertions from yaml file

I am trying to load vars and assertions for a testcase from the same yaml file. But getting the below error
throw new Error(`Test case must have either assert, vars, or options property. Instead got ${JSON.stringify(testCase, null, 2)}`);
Config:
prompts: [prompts.txt]
providers:
  - id: azureopenai:chat:gpt-35-turbo
    config:
      temperature: 0.0
tests: tests.yaml

Yaml content:
- question: 'abcd'
  entity: abcd
  entity_type: abcd
  topic: abcd
  context: '''abcd'''
  __expected: 'similar(0.9):abcd'

Found a solution

@ishikagoel5628 how did you resolve this?

tests.yaml is expected to be in testcase format, not CSV
For example:
- vars:
    question: 'abcd'
    entity: 'abcd'
  assert:
    - type: similar
      threshold: 0.9
      value: abcd

If you're running into issues, please share your config and I can help troubleshoot!

Below is my config yaml. Note i have custom modles that I am evaluating. But it somehow does not like the tests part in the yaml
# This configuration compares LLM output of 2 prompts x 2 GPT models across 3 test cases.
# Learn more: https://promptfoo.dev/docs/configuration/guide
description: 'My first eval'

prompts:
  - "Write a tweet about {{topic}}"
  - "Write a very concise, funny tweet about {{topic}}"

providers:
  - id: 'python:eval.py'
    config:
      additionalOption: llama
  - id: 'python:eval.py'
    config:
      additionalOption: phi

tests:
  - vars:
      topic: bananas


Adjust timeouts in deletion kyma

Description
Changes proposed in this pull request:

adjust time settings for waiting for kyma deletion

Related issue(s)

/retest


mark commodity’s formatted description as html safe

in declarable’s heading, so that we properly render descriptions

 [TARIFF16] Commodity code descriptions should be marked as html safe, and displayed


Repeating Task not working

The title may be a bit misleading, it may in fact be working an I am just misunderstanding how to use repeating.
Info

Skedule Version 1.2.6
Kotlin Version 1.4.21

Expected Behavior
Start a repeating task that waits 60 seconds, then runs every 60 seconds calling the two methods

saveAllData(playerDataCache)
"&aSaved Cache".log()

Actual Behavior
A task starts, waits 60 seconds, runs the two methods then stops repeating.
My Code
    override val updateTask: CoroutineTask = plugin.server.scheduler.schedule(plugin, SynchronizationContext.ASYNC) {
        waitFor(20 * 60)
        repeating(20 * 60)
        saveAllData(playerDataCache)
        "&aSaved Cache".log()
    }

What I have tried

Adding a yield() after the last log.
Removing the waitFor
Copying the countdown example from the Readme (which worked fine)

Steps to Reproduce

Make a minecraft plugin
Inside onEnable, start the above task.
Cancel it in the onDisable

The last step is probably unnecessary but that is the only time I ever do anything relating to the updateTask variable.
Please advise, Thanks!

Having the same issue, I sortof made it work somewhat.
plugin.server.scheduler.schedule(plugin, SynchronizationContext.ASYNC) {
    do {
        waitFor(20 * 60)
        repeating(20 * 60)
        saveAllData(playerDataCache)
        "&aSaved Cache".log()
        yield()
    } while (true)
}

Having the same issue, I sortof made it work somewhat.
plugin.server.scheduler.schedule(plugin, SynchronizationContext.ASYNC) {
    do {
        waitFor(20 * 60)
        repeating(20 * 60)
        saveAllData(playerDataCache)
        "&aSaved Cache".log()
        yield()
    } while (true)
}

@JanTuck Yeah, that's how you'd do it. repeating does spawn a repeating task, but you have to drive it using yield. To call yield is essentially to wait for the next iteration of the repeating task before continuing.
Honestly, I think that particular API was a mistake, as it's just awkward to use. Defaulting to use the CoroutineDispatcher approach is probably a good idea, and is likely to be more intuitive in general. Plus it'll be consistent with most other async Kotlin code that way. If I were more active in maintaining this library, that's probably the part I'd focus the most on.

@JanTuck Yeah, that's how you'd do it. repeating does spawn a repeating task, but you have to drive it using yield. To call yield is essentially to wait for the next iteration of the repeating task before continuing.
Honestly, I think that particular API was a mistake, as it's just awkward to use. Defaulting to use the CoroutineDispatcher approach is probably a good idea, and is likely to be more intuitive in general. Plus it'll be consistent with most other async Kotlin code that way. If I were more active in maintaining this library, that's probably the part I'd focus the most on.

To be clear, the idea with repeating is to be able to create an async flow without having the library reschedule tasks at every suspension point. In hindsight it's a premature optimisation unlikely to be of much use.
Things like the example in the OP, where you're just doing one thing on a repeating timer, isn't something Skedule is gonna simplify much, if at all, and it's probably a better idea just to use regular Bukkit task scheduling. Skedule is more useful with more complex async flows where you want to do something, wait for a while, do something else, etc.

To be clear, the idea with repeating is to be able to create an async flow without having the library reschedule tasks at every suspension point. In hindsight it's a premature optimisation unlikely to be of much use.
Things like the example in the OP, where you're just doing one thing on a repeating timer, isn't something Skedule is gonna simplify much, if at all, and it's probably a better idea just to use regular Bukkit task scheduling. Skedule is more useful with more complex async flows where you want to do something, wait for a while, do something else, etc.

That makes sense. Appreciate the responses!

That makes sense. Appreciate the responses!


brew autoremove can't recognize dependencies of casks

brew config output
HOMEBREW_VERSION: 3.3.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 537036ab3627b65d71dfa920b98d43774f861dec
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1c6e59b46ec53b202791115136dd7b5ab15034ea
Core tap last commit: 26 seconds ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.32.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.1-arm64
CLT: <IP_ADDRESS>.1.1638488800
Xcode: N/A
Rosetta 2: false

brew doctor output
Your system is ready to brew.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
I was trying to run brew autoremove to uninstall any unneeded dependencies.
What happened (include all command output)?
% brew autoremove
==> Uninstalling 1 unneeded formula:
autoconf
Error: Refusing to uninstall /opt/homebrew/Cellar/autoconf/2.71
because it is required by mactex, which is currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies

What did you expect to happen?
I expected brew autoremove to ignore autoconf because it is a dependency of mactex (a cask). This issue seemed to be fixed (#11417 and 12660 were closed) but I still have this issue.
Step-by-step reproduction instructions (by running brew commands)
1) Ensure that `autoconf` is not already installed
2) Run `brew install --cask mactex`
3) Run `brew autoremove`

@hyuraku Mind taking a look? Thanks ❤

@MikeMcQuaid
It doesn't seem to be caused by a bug in the command.
Because mactex does not depend on autoconf, the messages it is required by mactex would not be displayed.
$ brew deps mactex --tree
mactex
└── ghostscript
    ├── fontconfig
    │   └── freetype
    │       └── libpng
    ├── freetype
    │   └── libpng
    ├── jbig2dec
    ├── jpeg
    ├── libidn
    ├── libpng
    ├── libtiff
    │   └── jpeg
    ├── little-cms2
    │   ├── jpeg
    │   └── libtiff
    │       └── jpeg
    └── openjpeg
        ├── libpng
        ├── libtiff
        │   └── jpeg
        └── little-cms2
            ├── jpeg
            └── libtiff
                └── jpeg

@hyuraku If something had to be built from source: it would be flagged as a dependency. Any ideas on what might be causing this or what the fix/workaround would be?

@MikeMcQuaid
mactex depends on automake in the following steps.

mactex depends on jbig2dec indirectly.
jbig2dec depends on automake  for only build-time.
automake depends on autoconf.

$ brew deps --tree mactex
mactex
└── ghostscript
    ├── fontconfig
    │   └── freetype
    │       └── libpng
    ├── freetype
    │   └── libpng
    ├── jbig2dec
--< omitted >--

$ brew deps --tree jbig2dec --include_build
jbig2dec
├── autoconf
│   └── m4
├── automake
│   └── autoconf
│       └── m4
└── libtool
    └── m4

$ brew deps --tree automake
automake
└── autoconf
    └── m4

I will fix the problem that cask runtime_dependencies includes a build-time only dependency's dependency like autoconf.
cask = Cask::Cask.all.select{|a| a.full_name == "mactex"}.first
CaskDependent.new(cask).runtime_dependencies(ignore_missing: true).map(&:to_formula).map(&:name)
=> ["libpng", "freetype", "fontconfig", "m4", "autoconf", "jbig2dec", "jpeg", "libidn", "libtiff", "little-cms2", "openjpeg", "ghostscript"]

I will fix the problem that cask runtime_dependencies includes a build-time only dependency's dependency like autoconf.

Great, thanks 🙇🏻. I think the main issue here is the inconsistency; however brew autoremove and brew uninstall evaluate dependencies they should be the same/consistent.

@MikeMcQuaid
I thought CaskDependent#runtime_dependencies showed only the dependency's runtime_dependencies instead of their recursive_dependencies. Would I like to change like below?

before

class CaskDependent
  #--< omitted >--

  def runtime_dependencies(ignore_missing: false)
    recursive_dependencies(ignore_missing: ignore_missing).reject do |dependency|
      tags = dependency.tags
      tags.include?(:build) || tags.include?(:test)
    end
  end

after

class CaskDependent
  #--< omitted >--

  def runtime_dependencies(ignore_missing: false)
    self.deps.flat_map{|deps| deps.to_formula.runtime_dependencies}.uniq

That sounds like it would be wrong if a CaskDependent itself depended on another cask.

if a CaskDependent itself depended on another cask.

The current CaskDependent#runtime_dependencies returns only formulae list and doesnt include any casks`.

@hyuraku Yes, the after looks more correct, thanks 👍🏻

@MikeMcQuaid

@hyuraku Yes, the after looks more correct, thanks 👍🏻

Could you review https://github.com/Homebrew/brew/pull/12795 because I applied https://github.com/Homebrew/brew/issues/12749#issuecomment-1033761472 to it?


fix: typo in zh-cn rush change commands

"公公文件见"->"公共文件夹" (lit. common folder)

Thanks @Tanimodori! ✅


Hi team, Do you have some install docs on this repo

we are working on it, and found the docs is not easy to reading. anyone can guide me?

just like PR https://github.com/msopentechcn/open-hackathon/commit/d13e6f8e1412f434b50079bd187071b7d4c62fd9
we would like someone can guide our team to collaboration on this open project

I'm sorry that the document is outdated. I will update it today and this weekend. Hope it helps.

@juniwang Cool. Thanks


Mention limitations of Eclipse m2e with executing "archetype-post-generate.groovy"

Eclipse m2e does not support executing archetype's "archetype-post-generate.groovy": https://bugs.eclipse.org/bugs/show_bug.cgi?id=514993.
This should be mentioned in the readme.

Hi @kwin , so workaround would be to switch to your own maven installation here:

correct ?

No, I am referring to File -> New -> Maven Project. That will aways use the embedded archetype version from m2e (which is 2.x). So the only workaround is to use command line!

Sorry, my mistake, mixed up maven with maven-archetype-plugin :) I added a comment in the README.md (https://github.com/adobe/aem-project-archetype/commit/acf3622c5974d0efab3a4eb3a61fa2c8a8270cac) under the Known Issues section.
@kwin ok like that ?

LGTM, thanks


feat: add improved types

Description
This PR revamps the editor types by introducing a whole host of TypeScript helpers for extracting the useful types from and extension. It also works toward better type inference from an extension list as the generic parameter.
This is probably the last remaining major structural change I'll be making and going forward the focus will be on adding new features.
Checklist

[x] I have read the contributing document.
[x] My code follows the code style of this project and yarn fix runs successfully.
[x] I have updated the documentation where necessary (inline code)
[x] New code is unit tested and all current tests pass when running yarn test .

Screenshots
Action types automatically inferred with comments and clickthrough

Schema is aware of all nodes and marks just from the list of extensions

Oh, this is so cool. Way to go on figuring this out. Looking forward to trying it out.


Add support for internal classes

Side effect: This PR raises the Kotlin requirement to 1.3 or newer. Since then, the @kotlin.Metadata annotation has been accessible through the standard library. With the help of a companion library, kotlinx-metadata-jvm, we can inspect the flags of an annotated class and see if it's internal or not. In case it is, the generated permission methods for Kotlin will also have the same modifier applied to them.
So far, I verified this change through a manual test. Where would we put a unit test for this? There don't seem to be any tests against androidx.fragment.app.Fragment in the codebase anymore (I haven't checked out that part in a while, haha).
Resolves #605.

There don't seem to be any tests against androidx.fragment.app.Fragment in the codebase anymore

Is this the one?
https://github.com/permissions-dispatcher/PermissionsDispatcher/blob/master/processor/src/test/java/permissions/dispatcher/processor/data/Source.java#L758
You can also add test cases to test module

Source.java only has Java-based tests. I added a test to KtProcessorTestSuite.kt now!


AG:  add driver support for create-or-update

Should be fixed now, @iychoi.  Pass "put" to gateway.make_metadata_command to do a create-or-update.

Thanks!
2016년 3월 9일 수요일, Jude<EMAIL_ADDRESS>작성한 메시지:

Should be fixed now, @iychoi https://github.com/iychoi. Pass "put" to
gateway.make_metadata_command to do a create-or-update.
—
Reply to this email directly or view it on GitHub
https://github.com/jcnelson/syndicate/issues/145#issuecomment-194620489.


Web.Internal.Types not found

For context: I am using Idris v0.4.0 on Ubuntu 20.04
After installing dom.ipkg I get the following error:
Error: Module Web.Internal.Types not found

Main:8:1--8:15
 6 |
 7 | import JS
 8 | import Web.Dom
     ^^^^^^^^^^^^^^

I was able to fix it by adding all Web.Internal.* packages to the modules section of dom.ipkg. I guess idris2 doesn't look for re-exported modules when deciding which modules to install, e.g. in Web.Dom.

Thanks for reporting this. I will look into it tonight.

Would it be worth just implementing @benjaminflin's workaround for now? I went ahead and did that in https://github.com/falsifian/idris2-dom/commit/4bf603d9a95c6cf532812f902c40eb4904118027. (I didn't open a PR because it includes a commit from a different PR: https://github.com/stefan-hoeck/idris2-dom/pull/7.)

Yes, this is the way forward. If you find the time to commit a PR, I'd be grateful, as I'm rather busy with other project's right now. For instance, all these discussions about tail call optimization in monadic code have triggered my interest. :-)


@extend issue combining :last-child with :after

The following:
.block:after { content: "abc"; }
    .test:last-child {
   @extend .block;
}

Generates:
.block:after, .test:after:last-child { content: "abc"; }

The :last-child pseudo-class and the :after pseudo-selector need to be reversed for this to be valid.

+1
This also makes it impossible to use Compass’ pie-clearfix as a global extendable class:
.pie-clearfix { @inlcude pie-clearfix; }
.something:last-child { @extend .pie-clearfix; }

I believe this is fixed now.


Smarter MoreComments Algorithim

If we basically wait on a bunch of MoreComments, why could we not add up all of the MoreComments into one big MoreComment and then replace as needed? It would make the replace_more algorithm much faster.
PR #1402 implements a queue, so we could theoretically combine and get a lot at once. If it's a matter of linking the new comments to match with their parent comments, we could use a dict of some sort, and have the new objects go to the Comment key.

The last time I tried this approach (a few years ago) it didn't work. It'd be good to see if it works now, but my guess is that it won't work with the way the comment builder works on Reddit's end.

So far, the greatest issue with this kind of task is linking parents. It's easy enough to put all of the IDs into one big comment and request information of all of them, but it's hard to link them with their parent Submission/Comment instances.


API/Resources: Add examples for retrieving API Keys & updating their expiry date

Change-type: minor
See: https://jel.ly.fish/support-thread-1-0-0-front-cnv-essp2od

4 commands, 4 review comments :facepalm:

I self-certify!


Make a release

The last release was over two months ago, and a lot of new APIs have been added, as well as bumping libc to 0.2.x. Not sure whether this should be a 0.4.3 or a 0.5.0 release. The changes that make me think it might be better as 0.5.0 are:

a number of flags became bitflags, changing argument types (though maybe not calling code?), eg in https://github.com/nix-rust/nix/pull/256, https://github.com/nix-rust/nix/pull/253
the type of SigAction::new changed: https://github.com/nix-rust/nix/pull/241

A concern: we have #230 that has been dormant pending discussion in #221 (also dormant!). Depending on when and how that is resolved, it could be we'll have another backwards incompatible change fairly soon. I still think making a release sooner than later is worthwhile.

I'd say the libc change bumps it up to 0.5.0 alone. There've been quite a few changes all around, it certainly warrants it. If there's a 0.7.0 a few weeks later then so be it.

That makes sense. Now we need to figure out how to make a release... @carllerche, hi!

We have a 0.5.0!


Tweak template to avoid duplicate OnParametersSet calls when using auth

This comes out of investigating https://github.com/aspnet/AspNetCore/issues/13720.
It's a consequence of trying to avoid having <CascadingAuthenticationState> in the template and having it emitted implicitly by <AuthorizeRouteView>. Consider the default template App.razor:
<Router AppAssembly="@typeof(Program).Assembly">
    <Found Context="routeData">
        <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
    </Found>
    <NotFound>
        ... not important ...
    </NotFound>
</Router>

The problem is: every time the user navigates, we're re-rendering the implicit CascadingValue for authentication state, so it notifies all the receiving components regardless of whether the authentication state has actually changed, even the receiving components that are about to be disposed due to navigation.
In the original bug #13720, this was phrased entirely about layouts, but the problem is more general. If, say, both the Index and Counter components receive a [CascadingParameter] for the authentication state, then navigating from Index to Counter will re-render Index before disposing it and rendering Counter (and vice-versa). Basically, it's an bad interaction between cascading values and navigation. Most of the time nobody would notice, but it's at the very least inefficient, and could be worse in some cases.
Solution
I can imagine a sophisticated solution that involves deferring the notification of cascaded values until the end of the renderbatch so we can avoid notifying anything that was getting disposed anyway. That solves the problem at a very general level, but is most likely unnecessary since I'm unsure this situation is going to occur in other cases.
For the specific case of cascading-auth-state-plus-routing, there's a much easier solution. We can go back to wrapping a <CascadingAuthenticationState> around the whole of App.razor, i.e.,
<CascadingAuthenticationState>
    <Router AppAssembly="@typeof(Program).Assembly">
        <Found Context="routeData">
            <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
        </Found>
        <NotFound>
            ... etc ...
        </NotFound>
    </Router>
</CascadingAuthenticationState>

This eliminates the problem because now the <CascadingAuthenticationState> isn't rerendered on each navigation, so it no longer notifies subscribers on navigation. It now only notifies when the authentication state genuinely changes.
I propose this small template change is worth doing in 3.1 because it's an LTS release and we want to avoid this sort of weirdness sticking around for years.

PR: https://github.com/aspnet/AspNetCore/pull/14567

Done in https://github.com/aspnet/AspNetCore/pull/14567


[Minor] Bambo Height config not working/broken

I set bamboo to grow up to 24
The mod: (crap, creeper blew me up before I could get the shot, so take this shot of how much I got when I broke the 2 bamboo plants I planted)

nuff said lel

This is supposed to be the tiny module with no issues aaaa
will be fixed.

Finally (really really late) fixed it in 1.19


Installs fails due to missing linters

I assume this is due to something wrong with my setup, I'm new to golang, and was hoping to use gometalinter to improve my code.
I see the Travis builds are green, however I don't see it trying to install
go get github.com/alecthomas/gometalinter

~/gocode/src/github.com/alecthomas/gometalinter (master)$ gometalinter --install --update
Installing:
  structcheck
  gocyclo
  ineffassign
  interfacer
  golint
  errcheck
  varcheck
  deadcode
  dupl
  gotype
  goimports
  aligncheck
package github.com/opennota/check/cmd/structcheck
	imports github.com/kisielk/gotool
	imports go/types: unrecognized import path "go/types"
WARNING: failed to install one or more linters. Falling back to individual installs.
%!(EXTRA *exec.ExitError=exit status 1)package github.com/opennota/check/cmd/structcheck
	imports github.com/kisielk/gotool
	imports go/types: unrecognized import path "go/types"
WARNING: failed to install github.com/opennota/check/cmd/structcheck: exit status 1
package github.com/mvdan/interfacer/cmd/interfacer
	imports github.com/mvdan/interfacer
	imports go/types: unrecognized import path "go/types"
WARNING: failed to install github.com/mvdan/interfacer/cmd/interfacer: exit status 1
package github.com/kisielk/errcheck
	imports github.com/kisielk/errcheck/internal/errcheck
	imports go/types: unrecognized import path "go/types"
WARNING: failed to install github.com/kisielk/errcheck: exit status 1
package github.com/opennota/check/cmd/varcheck
	imports github.com/kisielk/gotool
	imports go/types: unrecognized import path "go/types"
WARNING: failed to install github.com/opennota/check/cmd/varcheck: exit status 1
package github.com/opennota/check/cmd/aligncheck
	imports github.com/kisielk/gotool
	imports go/types: unrecognized import path "go/types"
WARNING: failed to install github.com/opennota/check/cmd/aligncheck: exit status 1
gometalinter: error: failed to install the following linters: github.com/opennota/check/cmd/structcheck, github.com/mvdan/interfacer/cmd/interfacer, github.com/kisielk/errcheck, github.com/opennota/check/cmd/varcheck, github.com/opennota/check/cmd/aligncheck

ls ~/gocode/bin/
deadcode  dupl  gocyclo  godep  goimports  golint  gometalinter  goreportcard  gotype  ineffassign

What version of Go are you on? I would try upgrading to latest Go (1.5.3) and reinstalling gometalinter + tools.
From memory, go/types used to be an external package, but was pulled into the stdlib around 1.5. Linters  that updated to the new import are no longer usable on < 1.5.

Hi,
Thanks for the quick response. You were spot on. I was on 1.3.3. Works fine on 1.5.3


Incorrectly localized accelerators

I'm in en-us and it shows as "Ctrl+Mayus+I" instead of "Ctrl+Shift+I" for Toggle Developer Tools
related to #38

This is still an issue...

https://puu.sh/E1qRd/975c0891d7.png

looks like it just hasn't been published on npm since the update.

Yup. Looks like it: https://github.com/AlexTorresSk/custom-electron-titlebar/blob/7f76cbd2f46e36b9ddab6fd4bb006695013f5855/src/menu/menuitem.ts#L190

You can use this with beta version 3.1.0-beta.0
npm i custom-electron-titlebar@beta


should not have additional properties?

Question
I've been adding to my dashboard for a little while now and noticed that I'm getting some errors on some of the widgets? "should not have additional properties" To get them to go away, I refresh the page. What can I do to fix this? I'm attaching several screen shots.

Category
Setup and Deployment
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Same issue.  I have tried deleting Filtered Properties and they just come back.

Did you ever figure this out?

Duplicate, please close this # 1361


Jk truncated jsons adding

Adds JK fixes, please confirm they work

gonna check that version out after work


[Create workshop] No validation in the ‘Назва’ field when SP creates a workshop

Environment: Win10 v21H2 64-bit, Chrome v 101.0.4951.54
Reproducible: always
Build found: frontend: gcp-0.0.75, backend: gcp-0.0.130
Preconditions

Follow the link https://oos.dmytrominochkin.cloud/#/
Log into OoS website as SP (e.g<EMAIL_ADDRESS>'Password'="Qwerty123!")
Select «Мої гуртки» in the menu bar at the top right corner
At least 1 workshop has already been registered or not
Click on the “Додати гурток” button

Steps to reproduce
Set the invalid value into the ‘Назва’ field: length 61 characters, e.g. ‘Назва гуртка 61 символ_L3GtjSa5QHAqGN4nJL3GtjSa5QHAqGN4nL3Gtj’
Actual result
No error message appears, user can register a workshop with title length more than 60 characters.
The same bug appears when entering 100 or 257 or 3000 chars.

Expected result
The field is highlighted with red, the error message ‘Це поле має містити від 1 до 60 символів’ appears
User story and test case links
User story #55
Validation Rules For All the Forms
Test case OS-351
Labels to be added
"Bug", "pri: medium", "severity: low"

Please, verify changes according to this doc!
https://github.com/ita-social-projects/OoS-Frontend/wiki/Validation-Rules-For-All-the-Forms
PS: it was discussed with BA and new rules are applied for all the forms. Validation is simplified.

Verified and closed


Margins broken after 2024.8 update

Describe the bug
Margins broken after 2024.8 update
To Reproduce
Steps to reproduce the behavior:

Go to any view that is using the bubble-card
See error

Expected behavior
Previously the margins worked fine, expected space between cards within a section.
Screenshots

YAML
type: custom:bubble-card
card_type: button
button_type: slider
entity: light.dining_area
name: TV Area
force_icon: false
show_icon: true
show_name: true
show_state: false
show_last_changed: false
show_attribute: false
scrolling_effect: true
card_layout: large
sub_button:
  - entity: switch.living_room_plug
    icon: mdi:power-socket-uk
    tap_action:
      action: toggle
    double_tap_action:
      action: more-info

Informations (please complete the following information):

OS: All devices
Browser/App: All browsers
Bubble Card version: 2.1.1
Home Assistant version: 2024.8.0

Thank you! 🍻

Can confirm. 2024.8 introduced smaller padding inside cards, which results in this issue.

This issue is my priority, sorry for not working on it sooner!

@Clooos do you accept contributions on this? Happy to take a look if so. Couldn't find any contrib guides so assumed not. I did fork and fix locally but again I think I've missed something on how to test the changes locally so I created a small React app to just see the changes in the browser without having to create a build. I'm new to HA if you can't tell 🤣

@Clooos do you accept contributions on this? Happy to take a look if so. Couldn't find any contrib guides so assumed not. I did fork and fix locally but again I think I've missed something on how to test the changes locally so I created a small React app to just see the changes in the browser without having to create a build. I'm new to HA if you can't tell 🤣

Hi! Of course I do accept contributions, you can open a pull request with your fork then I will take a look at it! Thank you so much in advance!

This new HA change is tricky. The cards now have to be 10px shorter, so I’m not even sure if I’ll be able to keep the 2 rows layout.
However, I’m planning to add a new layout where the sub-buttons are below the name/state and the icon. This way, there will be much more space.
I'm waiting for your PR @danewhitfield, and don't worry if it's not finished, I can work on it as well.

This is now fixed in the new beta:
https://github.com/Clooos/Bubble-Card/releases/tag/v2.2.0-beta.1

@Clooos awesome work! Sorry for the late response, been caught up with all sorts at work 😭 The changes I had only fixed it in ceratin scenarios and it was hacky - so I'm intrigued to see your solution. Will have a look now 👀

Don't worry, that was easier than what I thought hopefully.
But never hesitate to contribute, my time is more limited these days so any help is more than welcome!


JetStream consume error notifications

Notify users of events like timeouts while consuming messages.
/cc @Jarema

Since the API is all IAsyncEnumerable driven right now, something doesn't feel quite right about using callbacks for notifications.  It may ultimately be the right solution but I am trying to think about a practical example.
For example, what if I am running a Consume loop.  Now I receive a notification that I want to respond to, and break out of my loop.  It would be useful if the Notification callback could return a decision, such as whether to continue iterating or not.
Also should the handlers have cancellation support?  They are async handlers.

For example, what if I am running a Consume loop. Now I receive a notification that I want to respond to, and break out of my loop. It would be useful if the Notification callback could return a decision, such as whether to continue iterating or not.

Good point. An exception can be thrown to signal failure which would be propagated to the async iteration to be caught by the user code.

Also should the handlers have cancellation support? They are async handlers.

Yes! Added.


Don't merge, just running tests

fixed by https://github.com/paketo-buildpacks/bundle-install/commit/80b4ed5815aa5a29f2050f7009c339932769cd8e


Add pipelines newsletter

Suggest an Edit
What it says now:
There's a list of places to advertise on the OSF communications page (which hasn't been moved over yet?).
What it should say:
Should add the libraries pipelines newsletter (maybe send directly to Jeff Oliver?)

There's a PR to move it over here: https://github.com/cct-datascience/group-procedures/pull/23

maybe just add this in a PR review?

I'll add it to the spreadsheet, although it's not clear how to contribute to it.


create_node.jstree event not triggered with lazy load

Hello,
I need to catch the event create_node.jstree but I'm using lazy load:
$myTree.jstree({
        core: {
            // ....
            data: function(node, cb) {
                var nodes = [];
                // Create nodes ...

                cb.call(this, nodes);
            }
            // ...
        }
    })
    .on("create_node.jstree", function (node, parent, position) {
        console.log("Node created");
        // Need to do stuff with the new created node
    });

The problem is that the create_node.jstree is never triggered.
Is there any solution ?

create_node only fires when a node is created by user interaction. You are probably looking for the load_node.jstree event or the more general model.jstree event.


Update setup-dapr-development-env.md

If you set GOPATH to C:\go as displayed you can't install Delve. You will get the following error:
C:\go is a GOROOT, not a GOPATH. For more details see: 'go help gopath'

After installing go with the MSI from the go site, GOPATH is already set to %USERPROFILE%\go which is what the go help gopath says it should be.
Description
I used a clean Windows 10 virtual machine to test the steps described.

After building both a Windows and Linux machine using these directions I found on the Delve site the instructions to set GOPATH. However, those are only for Linux machines. For Windows machines, it makes no mention of setting GOPATH to C:go that I could find.
Also found from reading the Go docs that GOPATH if not set as an environment variable has a usable default value.
So you might be able to remove this step altogether. Will have to continue to test.

After building both a Windows and Linux machine using these directions I found on the Delve site the instructions to set GOPATH. However, those are only for Linux machines. For Windows machines, it makes no mention of setting GOPATH to C:go that I could find.
Also found from reading the Go docs that GOPATH if not set as an environment variable has a usable default value.
So you might be able to remove this step altogether. Will have to continue to test.


Consider using rustls

It's worth reading the basis and history of ring. It's essentially a careful port of BoringSSL. Lots of crates use ring, and there is an easy-to-use implementation of TLS over ring called rustls. While they do need a proper security audit, they have investigated getting a grant for one.
If it's a goal of quiche to be considerate of the Rust Ecosystem, it would be worthwhile to investigate.

This is unlikely to happen I'm afraid, as we run BoringSSL in our production TLS and QUIC services, and supporting both would mean that the rustls port would always be second-class to the BoringSSL one, as well as add additional complexity to the codebase that we can do without.


Added marathi translation for Hello World

Accnt# c52424dacafed79abc730139eff7eec612873d650e938864b1c765fb5282d2fd

ISO: correct
Translation: correct
Review required
Please arrange your addition in alphabetical order of ISO. Thank you.
@angle943

@Niekon01 Updated as per alphabetic order of ISO.

@odetolataiwo I have paid this earlier. Don't send coins. Can you make sure this is logged into the system?

@odetolataiwo I have paid this earlier. Don't send coins. Can you make sure this is logged into the system?

done


Minor cleanups to the API documentation

Description
I've made a few clean ups to the UI Toolkit API documentation based upon the work I did in the Pattern Library doc:

updated the footer based upon the new design from @lamagnifica (see https://github.com/edx/edx-ui-toolkit/blob/master/doc/_includes/footer.html)
fixed a bug where the "Introduction" link didn't highlight appropriately
added the NPM version banner to the introduction page

I've created a preview site here: http://ux-test.edx.org/andya/api-doc-refinements/
Post-review

[ ] Squash commits into discrete sets of changes with descriptive commit messages.

Reviewers
TODO: In this section, tag specific reviewers you know will want to have a look at this PR. You can use the checklist below for organization:

[ ] @bjacobel
[ ] @lamagnifica

If you've been tagged for review, please check your corresponding box once you've given the :+1:.
We'll also automatically suggest reviewers for this PR based on the code it touches.

Coverage remained the same at 93.356% when pulling 6e0ae20ac0dcdc3f5dbb4f9036ef5b5385bb8442 on andya/api-doc-refinements into 418df7e9d45c3ef7573e145417c7875535d49872 on master.

👍

:smile: :+1:  thanks Andy


nginx_proxy: Add Option to disable/enable listening of IPv6

Even with proper configuration of "trusted_proxies", some users will see an IPv6 translated address on NGINX and Home Assistant IP Ban/Notification. This address is simply an IPv4 that has been translated, however this can cause issues with trusted_networks as well.
The fix in this pull should add the ability to tell the NGINX instance to listen on IPv6 or to disable listening. The change is done via run.sh, with sed replacing all instances of "[::]:". However this is fully reversible by setting the flag to true if desired.
This issue has been seen here: https://github.com/home-assistant/hassio-addons/issues/471

Hi @blacktirion,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

The question will be, should be that the default setting? @frenck you are better on Nginx as I, what are you IMHO?

Do you have to test this? Because it's an internal Add-on and docker IPv6 support is mostly not that was people think about it, I'm not sure if this work

IMHO, we should disable IPv6.
In the past I made add-ons configurable for this, in the end, I've removed it.
Main reason for this, is that it indeed does not work as people expect.

Either way will work. I changed it this way to make it optional to the user, as I don't like removing choice, but I am not terribly familiar with Docker's network stack, so if it is better to just change it hard coded, I can submit another PR.

I agree with @frenck. The host stack run on IPv6 and we map the port from docker to the host stack. The Internal Network don't need have ipv6 because it's a virtual network for internal communication.

Thanks @frenck and @pvizeli
I've opened this up as a PR https://github.com/home-assistant/hassio-addons/pull/991. Should just be removing the "[::]:" sections of nginx.conf


Viz: Dataset as HTML5 movies of z-stacks

First attempt – with VideoWriter – was very blurry, pretty useless but didn't tweak parameters

(I think VideoWriter is part of CV2 imports)

What alternatives to animated GIF are there?

https://www.programcreek.com/python/example/89348/cv2.VideoWriter_fourcc

See snippet: https://colab.research.google.com/drive/1u4SNHbuqtgiwMUUKcZntB5cjQPncJG0Y#scrollTo=VivLxaYxMoVZ
mpl animation to_html5_video()
It's https://stackoverflow.com/q/55163024


UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 117: character maps to

Error when running this code:
import malaya
model = malaya.sentiment.transformer(model = 'xlnet')
Log:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\herpetologist_init_.py", line 100, in check
return func(*args, **kwargs)
File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\malaya\sentiment.py", line 112, in transformer
return classification.transformer(
File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\malaya\supervised\classification.py", line 189, in transformer
tokenizer = TOKENIZER_MODEL[model](vocab_file=path['vocab'], spm_model_file=path['tokenizer'])
File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\malaya\text\bpe.py", line 89, in init
v = fopen.read().split("\n")[:-1]
File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 117: character maps to

solution:
"C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\malaya\text\bpe.py", line 89
Specify the encoding when opening the file:
with open(vocab_file, encoding="utf8") as fopen:

https://malaya.readthedocs.io/en/stable/running-on-windows.html


Support Vertex AI

Add support for Google Cloud Vertex AI API
This PR adds support for using the Google Cloud Vertex AI API as a provider in Claude Dev. Users can now interact with Claude models hosted on Google Cloud Vertex AI.
Key changes:

Added VertexHandler class to handle API requests to Vertex AI
Updated ApiProvider type to include "vertex" option
Added Vertex AI configuration options in ApiHandlerOptions
Implemented Vertex AI model information and default model ID
Updated UI components to include Vertex AI provider and model options

New files:

src/api/vertex.ts: Implements the VertexHandler class

Modified files:

src/api/index.ts: Added Vertex handler to buildApiHandler function
src/shared/api.ts: Added Vertex-related types and configurations
webview-ui/src/components/ApiOptions.tsx: Added UI elements for Vertex AI configuration
webview-ui/src/components/SettingsView.tsx: Updated version display

Testing:

Tested Vertex AI integration with sample project
Verified UI changes for Vertex AI configuration

Notes:

Users will need to provide their Google Cloud Project ID, Region, and Access Token to use the Vertex AI integration
Default region is set to "us-east5" but can be changed by the user

I am not the maintainer or otherwise affiliated with Claude Dev, but I see two obvious issues:

your pull request is not rebased on the current main branch, it basically replaces the whole repository with your version (with 221 commits)
there is already a pull request that implements Vertex AI support for Claude Dev, see here -> https://github.com/saoudrizwan/claude-dev/pull/45 how is your version different or better?

I am not the maintainer or otherwise affiliated with Claude Dev, but I see two obvious issues:

your pull request is not rebased on the current main branch, it basically replaces the whole repository with your version (with 221 commits)
there is already a pull request that implements Vertex AI support for Claude Dev, see here -> Add Vertex AI support #45 how is your version different or better?

Update after looking a bit deeper into both implementations: They seem to be very similar in principle (using the same libraries to authenticate and talk to Vertex AI), but the implementation by @u-minor is more elaborate/secure IMHO, allowing to use Service Account credentials for authentication instead of using the global access token (which potentially gives full access to the main GCP account).
Thank you for highlighting the security concern. I appreciate your attention to detail. I'm currently utilizing the free 90-day Google Cloud credit for this project.

To clarify, the Pull Request (PR) was actually generated automatically by the extension itself. I must admit that my knowledge of TypeScript is limited, which is why I relied on the extension's capabilities.
I will make time to update and rebase the PR in the near future. Additionally, I plan to address some other minor issues I've identified in the codebase.


Stuck at prompt for confirmation....

For some reason since yesterday my TVs except one,although seem available in homekit ,wont respond to any clicks.Homebridge keeps giving me to prompt for confirmation
Can someone assist?

Maybe permissions to your keyFile changed?

The thing is i never had that field included in my config file,and i also currently have one TV working perfectly.Is there something that im missing?

Config example(i have removed macaddress)
"accessories": [
{
"name": "Living Room TV",
"ip": "<IP_ADDRESS>",
"mac": ,
"prefsDir": "~/.webosTv",
"pollingInterval": 5,
"legacyTvService": false,
"showInputButtons": false,
"volumeControl": "true",
"volumeLimit": 100,
"channelControl": true,
"mediaControl": false,
"remoteSequenceButtons": [
{
"sequence": [],
"interval": 500
}
],
"infoButtonAction": "INFO",
"accessory": "webostv"

I do not see any issues with your config. I do not think that this is an issue with the plugin, it has rather something to do with your environment.

I found the solution ,both tvs needed to be switched off entirely as they both didint prompt me to accept the connection,now all is good!Thanks for your help!

👍


Misc docs updates

Probably not done with this, but it's getting late and I'll probably start writing complete nonsense soon... Also, opening this to hopefully avoid anyone changing the same things.

Ah! Good show. You caught a lot of the little straggly bits I'd missed, too. Thank you!


AttributeError: 'SynthesizerTrn' object has no attribute 'enc_p'. Did you mean: 'enc_q'?

This one is related to And this one is related to https://github.com/myshell-ai/OpenVoice/issues/290

I see some of the configuration entries from v1 are left out of v2. Adding them does the trick, but at the end now I'm getting python errors based rep code.
@dosu, AttributeError: 'SynthesizerTrn' object has no attribute 'enc_p'. Did you mean: 'enc_q'?

@dosu, ok I may have the n_speakers in the wrong place. I assume 'n_speakers' is tied to the 'speakers' array? Why not just use the length of the array?

@dosu, I'm setting all of this in the configuration file, not directly in the python code. I would expect the configuration file is the proper way, otherwise we'd have to modify the code and put in a pull request if that needs a permanent change.

@dosu, yes, then this goes back to having the code read the length of the array instead of having to put in the parameter. ;-)

@dosu, more missing parameters. Just FYI, I'm using the example so something is not right when you stray off the path.
'ref_enc' is another attribute missing.


[Docs] Create/Update the MeshSync page in spanish, that goes in the CONCEPT section in the spanish docs site

Current State
The spanish docs site doesn't have the MeshSync page translation to spanish
English page to translate: https://docs.meshery.io/concepts/architecture/meshsync
Desired State
The spanish docs site has the MeshSync page translated to spanish in the CONCEPT section
Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Trabajaré con esta traducción :D


Player error

flutter: RangeError (length): Invalid value: Only valid value is 0: 1
flutter: #0      List.[] (dart:core-patch/growable_array.dart)
#1      NativePlayer._handler. (package:media_kit/src/player/native/player/real.dart:1549:44)
#2      MapBase.map (dart:collection/maps.dart:82:28)
#3      NativePlayer._handler (package:media_kit/src/player/native/player/real.dart:1546:16)
#4      Initializer._callback. (package:media_kit/src/player/native/core/initializer.dart:79:45)
#5      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:31:24)
#6      Initializer._callback (package:media_kit/src/player/native/core/initializer.dart:74:26)
#7      Initializer.create. (package:media_kit/src/player/native/core/initializer.dart)
#8      _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#9      _RootZone.bindUnaryCallbackGuarded. (dart:async/zone.dart:1633:26)
#10     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

I have already experienced that error, it happens that it is taking for granted that there is an element in the list before validating that it is empty or not.


etcdctl: support exec on lock

The lock command is clumsy to use from the command line, needing mkfifo,
wait, etc. Instead, make like consul and support launching a command if
one is given.
(cf. https://github.com/coreos/etcd/issues/2855#issuecomment-294260572)

would like this in 3.2.0 if possible; want to use it for an example

lgtm

There a way to run a command if the lock is lost?


Pause reloading bookmark cell when in editing mode

Fixes https://github.com/OneBusAway/onebusaway-iphone/issues/1124 - Bookmark tab's table cell actions disappear when table reloads

When user is in editing mode, set self.editing = YES to pause reloading data.

When user didEndEditing, set self.editing = NO to resume reloading data.

Looks great.


Support running scripts in a container

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: resolve issue with closing button on the Referanda unlock modal

close #1546

Summary by CodeRabbit

New Features

Updated the review process flow to start from a new initial state, enhancing user navigation.

Bug Fixes

Corrected the state management for the review step, ensuring proper rendering of components based on user actions.

Improvements

Streamlined the logic for displaying the review section, improving the overall user experience during the unlocking process.

one issue solved, but made another issue, I does not work properly after you click on use proxy

@AMIRKHANEF
issue: open modal and then use Proxy, close proxy modal  => now to close the main modal , two clicks are needed!!


fix: Fix compilation error from tests

Ecto.Integration.Order doesn't have :meta key in his struct, instead it has :metadata. Also changing the version of ssl_verify_fun to 1.1.7

Thanks @MiniAppleTheApple !


Evolution of "MESSAGE" event (Snackbar)

We need to be able to customize the button content description. We should add a new optional parameter to the method to set the button content description.
This requirement comes from Vivo https://www.figma.com/design/fjGgzSH1zdCTxAxMfOEUma/Menu-Mais?node-id=1197-324696&t=o0PMTgO238G06o57-0

Current status
nativeMessage: ({
        message: string;
        duration?: 'PERSISTENT';
        buttonText?: string;
        type?: 'INFORMATIVE' | 'CRITICAL' | 'SUCCESS';
        withDismiss?: boolean;
}) => Promise<{
    action: 'DISMISS' | 'BUTTON' | 'TIMEOUT' | 'CONSECUTIVE';
}>;

Proposed solution
Add a new optional field buttonContentDescription:
nativeMessage: ({
        message: string;
        duration?: 'PERSISTENT';
        buttonText?: string;
        buttonContentDescription?: string;
        type?: 'INFORMATIVE' | 'CRITICAL' | 'SUCCESS';
        withDismiss?: boolean;
}) => Promise<{
    action: 'DISMISS' | 'BUTTON' | 'TIMEOUT' | 'CONSECUTIVE';
}>;

Does buttonContentDescription mean the button's accessibility?

Does buttonContentDescription mean the button's accessibility?

If so maybe a name mentioning "accessibility" would be more appropiate (like buttonAccessibilityLabel or something similar)

Does buttonContentDescription mean the button's accessibility?

Yes, it means the text that will be spoken by the device when the accessibility is enabled. In Android, "content description" is the name used for this information. If iOS is different, I'm ok with buttonAccessibilityLabel

Does buttonContentDescription mean the button's accessibility?

Yes, it means the text that will be spoken by the device when the accessibility is enabled. In Android, "content description" is the name used for this information. If iOS is different, I'm ok with buttonAccessibilityLabel

Oh, I thought Android naming included accessibility word. If so, no problem about using buttonContentDescription 😉

No, if "content description" doesn't mean anything in iOS, I prefer to put buttonAccessibilityLabel that is clearer.

No, if "content description" doesn't mean anything in iOS, I prefer to put buttonAccessibilityLabel that is clearer.

Yes please 😍 buttonAccessibilityLabel

Description updated with buttonAccessibilityLabel

lgtm

https://jira.tid.es/browse/WEB-1906

@jeslat, @amegias, @dhidalgofadrique. Do you know the first app version supporting this? we need that to include in the docs