working with VLLM

I'm wondering if I can get an easier pipeline by loading the awq weights with vllm:
from vllm import LLM, SamplingParams

prompts = [
    "Hello, my name is",
    "The president of the United States is",
    "The capital of France is"
]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
model_id = 'Efficient-Large-Model/VILA1.5-13b-AWQ'

llm = LLM(model=model_id, quantization="awq", dtype="half")

outputs = llm.generate(prompts, sampling_params)

# Print the outputs.
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")

The first issue seems to be that the config.json is trying to use a model type called llava_llama, which transformers doesn't know about.
/home/ray/anaconda3/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
Traceback (most recent call last):
  File "/home/ray/anaconda3/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 945, in from_pretrained
    config_class = CONFIG_MAPPING[config_dict["model_type"]]
  File "/home/ray/anaconda3/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 647, in __getitem__
    raise KeyError(key)
KeyError: 'llava_llama'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "//testvllm.py", line 13, in <module>
    llm = LLM(model=model_id, quantization="awq", dtype="half")
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 123, in __init__
    self.llm_engine = LLMEngine.from_engine_args(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 272, in from_engine_args
    engine_config = engine_args.create_engine_config()
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/engine/arg_utils.py", line 520, in create_engine_config
    model_config = ModelConfig(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/config.py", line 121, in __init__
    self.hf_config = get_config(self.model, trust_remote_code, revision,
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/transformers_utils/config.py", line 38, in get_config
    raise e
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/transformers_utils/config.py", line 23, in get_config
    config = AutoConfig.from_pretrained(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 947, in from_pretrained
    raise ValueError(
ValueError: The checkpoint you are trying to load has model type `llava_llama` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

if I change the type in config.json to just llava I get:
/home/ray/anaconda3/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
WARNING 05-09 09:38:26 config.py:205] awq quantization is not fully optimized yet. The speed can be slower than non-quantized models.
INFO 05-09 09:38:26 llm_engine.py:100] Initializing an LLM engine (v0.4.2) with config: model='Efficient-Large-Model/VILA1.5-13b-AWQ', speculative_config=None, tokenizer='Efficient-Large-Model/VILA1.5-13b-AWQ', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.float16, max_seq_len=2048, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=1, disable_custom_all_reduce=False, quantization=awq, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), seed=0, served_model_name=Efficient-Large-Model/VILA1.5-13b-AWQ)
Traceback (most recent call last):
  File "//testvllm.py", line 13, in <module>
    llm = LLM(model=model_id, quantization="awq", dtype="half")
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 123, in __init__
    self.llm_engine = LLMEngine.from_engine_args(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 292, in from_engine_args
    engine = cls(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 150, in __init__
    self._init_tokenizer()
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 328, in _init_tokenizer
    self.tokenizer = get_tokenizer_group(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/transformers_utils/tokenizer_group/__init__.py", line 20, in get_tokenizer_group
    return TokenizerGroup(**init_kwargs)
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/transformers_utils/tokenizer_group/tokenizer_group.py", line 23, in __init__
    self.tokenizer = get_tokenizer(self.tokenizer_id, **tokenizer_config)
  File "/home/ray/anaconda3/lib/python3.10/site-packages/vllm/transformers_utils/tokenizer.py", line 92, in get_tokenizer
    tokenizer = AutoTokenizer.from_pretrained(
  File "/home/ray/anaconda3/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 880, in from_pretrained
    return tokenizer_class_fast.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
  File "/home/ray/anaconda3/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2073, in from_pretrained
    raise EnvironmentError(
OSError: Can't load tokenizer for 'Efficient-Large-Model/VILA1.5-13b-AWQ'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'Efficient-Large-Model/VILA1.5-13b-AWQ' is the correct path to a directory containing all relevant files for a LlamaTokenizerFast tokenizer.

Which seems to suggest that the LLama tokenizer isn't in the llm directory? Do we need a tokenizer.json in the repo? Even if I add that, it seems to have trouble loading the tokenizer.

Hi @kousun12 , thanks for your interest in VILA! For the first question, I am wondering what is the version of your transformers, and how do you install VILA? The model arch llava_llama should be already defined if you have installed VILA and the right version of transformers. For the second question, tokenizer.json is here, under the llm folder rather than the root of the model. You may need to modify the code for loading VILA to solve the problem. And please note that you need to make sure that the VILA model is served with newest TinyChat backends.

@ys-2020 Can you point out the key differences between the modelling falcon used in VILA vs the modelling falcon in the transformer library?


You are a player that can move
Your goal is to push the box to the button
Once the box has been pushed to the button, you will advance to the next level
There are different game mechanics such as spikes and togglable walls that can be toggled by pushing the box on a toggle button
If you or your box touches a spike it will restart the level
There are 15 levels that I think are kind of puzzling
How do you play your game?
Press WASD to move, J to restart the level if you are stuck, and i (only in the beginning where there is text)
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo"). (hopefully)
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

I heard about sprig from engineering club that I have at school, they said it was their sponsor so I decided to make this game

Fill out the form at https://hack.af/slack and  check your email! Let us know if you encounter any issues along the way.


[do not merge] Allow separate pulp instances for pulp_push and pulp_sync

Allow different pulp instances for pulp_push and pulp_sync. New configuration parameters pulp_sync_secret and pulp_sync_registry_name allow separate configuration for pulp_sync
plugin. If not set, it will use the pulp_secret and pulp_registry_name values.

To make this easier to review, I'll re-factor the commits.

In fact, I'll put the fixes in a separate pull request, and this pull request here can be for having multiple pulp instances.

looks good to multipulp

I've re-based this, but let's hold off on merging it unless it seems to be needed.

LGTM

Dropping this as it's not needed.


change occurrences of "Semantic Search" to "semantic ranking"

API change check
API changes are not detected in this pull request.


Take user_id into account for studio routes

This adds a new user_id column to the studios table and will thus drop all existing studios to avoid a table with null IDs.

Merging without review as per offline discussion with @stunningpixels


image classification  code

the image classification  code could not found

Hi,
The official implementation for image classification will be released at https://github.com/microsoft/DaViT (under Microsoft policies). Please stay tuned, thanks!
However, we have released the pretrained classification models, you may have a try.
Regards
Mingyu

Looking forward to the code..

Looking forward to the classification code.

Hi,
The official implementation for image classification will be released at https://github.com/microsoft/DaViT (under Microsoft policies). Please stay tuned, thanks! However, we have released the pretrained classification models, you may have a try.
Regards Mingyu

Hi @dingmyu . I was wanting to test the pretrained classification models, but the README is unclear on how exactly to do that.  How do I prepare the data?  How do I run the model?

This classification code can't find , why?

This classification code  can't find , why? https://github.com/microsoft/DaViT

Looking forward to the code for classification!

Looking forward to the code for classification!

This classification code can't find , why? https://github.com/microsoft/DaViT

Hi,
The official implementation for image classification will be released at https://github.com/microsoft/DaViT (under Microsoft policies). Please stay tuned, thanks! However, we have released the pretrained classification models, you may have a try.
Regards Mingyu

When will the official implementation for image classification be released? Is there an exact time?


[stable/sonatype-nexus] add annotations for proxy-svc

What this PR does / why we need it:
when we change the service type to LoadBalancer, we need to add annotations to set up LoadBalancer information from Cloud Provider like aws
dns.alpha.kubernetes.io/external:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

Please sign the commit: https://www.helm.sh/blog/helm-dco/index.html


bug: working toggle button

#6 Added Toggle button functionality
put on headphones to hear the difference
stereo
https://user-images.githubusercontent.com/96474794/193430655-822a08fe-1cb0-4d32-85ad-7a0f59972c7c.mp4
mono
https://user-images.githubusercontent.com/96474794/193430653-0b868b13-c551-4968-991d-e3569db72b5b.mp4
src/components/ToggleButton.js

Added a prop in ToggleButton called onChange which is a function that gets called with true or false as inputs, when the checkbox is checked and not checked respectively when the input toggle changes
Also made the checkbox be checked by default

src/components/AudioWaveform.js

Added handleToggle function that handles the toggle functionality
This function uses inbuilt wavesurfer methods to set filters

wavesurferObj.backend.ac.createChannelSplitter creates a channel splitter node
wavesurferObj.backend.ac.createChannelMerger() creates a channel merger node

LGTM!


how to convert wav stereo to mono file when input payload as BLOB IN .Net. Please suggest any example

Any help much appriciated.

You should be able to use MediaFoundationReader with the Uri of the blob as input. Then you can convert to mono in the same way you would a regular file


Handle services that use subdomains after login

There are many services that switch to using a subdomain after the user logs in.
Example:

dash.cloudflare.com vs www.cloudflare.com
ap.www.namecheap.com vs www.namecheap.com

2FA Notifier does not correctly notify on these subdomains because they are not in our dataset. Not only does it not notify, but it actively sets the 2FA Notifier icon to the "No 2FA" state, which is misleading and often incorrect.
We could update the dataset on a case-by-base basis to handle these scenarios by entering all of the subdomains in addition to the main domains that are likely already in the dataset. However, that would require a huge amount of manual maintenance and isn't scalable. For example, think about all of the Google services that exist on sub-domains...there are a ton of them and it wouldn't be a good use of time to keep track of services as they are introduced, retired, removed, etc. Most (all?) Google services rely on the same authentication flow and therefore the same 2FA, so they will have the same notification, the same docs, etc.
We should consider a more scalable approach that minimizes manual maintenance.
Ideas:

Automatically match on just the root domain for all entries in the data set

Pro: very flexible and can handle lots of scenarios
Con: possibility for false positives. The user might get a notification for a site that doesn't actually support 2FA if the service for some reason allows login on different subdomains and some of those subdomains support 2FA and some don't. I cannot think of an example off-hand, but perhaps a service that sets up URLs for customers like customer.someservice.com and some customers allow 2FA while others don't?
Con: possibility for different documentation for enabling 2FA on a subdomain compared to the main domain? Related to the previous con, but

Manually update entries in the dataset to allow for a flag that indicates that we should match on just the root domain

Cons: similar to previous idea
Con: way more work than just doing it automatically
Pro: by manually setting this flag, we can first do some research to make sure that the service doesn't fall into the trap of those cons

It was pointed out to me that vanguard.com has this same issue because they use many different subdomains for login depending on which type of investor you are. The domain www.vanguard.com is in the 2FA.org data set, but the other subdomains are not, so they show up as "2FA not supported".

Note: if/when we update to support all subdomains, make sure to update the wording in the "I already enabled 2FA" screen. Currently, it says "You've enabled 2FA for something.exmaple.com" and if we support subdomains, then it should likely use the root domain here (example.com) instead of the full subdomain (something.example.com).


virtmanager: 1.5.1 -> 2.0.0

Motivation for this change
Now uses python 3.  Will merge tomorrow.
cc @qknight @offlinehacker @fpletz
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build virtmanager

Success on x86_64-linux (full log)
Attempted: virtmanager
Partial log (click to expand)
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-convert-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-clone-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-manager-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-xml-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-clone: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-convert: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-xml: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-install: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-manager: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
checking for references to /build in /nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0...

Success on aarch64-linux (full log)
Attempted: virtmanager
Partial log (click to expand)
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/share/virt-manager/virt-install: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/16wqq9ihrkdim3x8xs1lkxa3f4l3p3ir-python3-3.6.6/bin/python3"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/share/virt-manager/virt-manager: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/16wqq9ihrkdim3x8xs1lkxa3f4l3p3ir-python3-3.6.6/bin/python3"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/share/virt-manager/virt-xml: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/16wqq9ihrkdim3x8xs1lkxa3f4l3p3ir-python3-3.6.6/bin/python3"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/bin/.virt-xml-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/bin/.virt-manager-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/bin/.virt-install-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/bin/.virt-convert-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0/bin/.virt-clone-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0...
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0

Success on aarch64-linux (full log)
Attempted: virtmanager
Partial log (click to expand)
/nix/store/d7a68103pri7447bhyvfd131dc5jl0fr-virt-manager-2.0.0

Success on x86_64-linux (full log)
Attempted: virtmanager
Partial log (click to expand)
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-install: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-manager: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/share/virt-manager/virt-convert: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-install-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-convert-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-clone-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-xml-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0/bin/.virt-manager-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0...
/nix/store/q2z76gnlwpy8b2rikvdv375mpcy4sqmz-virt-manager-2.0.0


manifest.json unavailable

Somehow after the netlify deployment the manifest.json is broken and can't be fetched by the client browser.
site-config.js
`
const path = require('path');
module.exports = {
siteTitle: Eiskarussell - Alles dreht sich ums Eis.,
siteTitleShort: Eiskarussell,
siteDescription: Alles dreht sich ums Eis.,
siteUrl: https://www.eiskarussell.at,
themeColor: #FFEB93,
backgroundColor: #FAFAFA,
pathPrefix: null,
logo: path.resolve(__dirname, 'src/images/icon.png'),
social: {
twitter: nichtkunst,
fbAppId: ``,
},
};`

Make sure that Netlify is running a build script that includes yarn build:favicons (plus yarn build:dir), it's the one that should create the manifest and all needed icons.

Make sure that Netlify is running a build script that includes yarn build:favicons (plus yarn build:dir), it's the one that should create the manifest and all needed icons.

How can I ensure Netlify includes it?

It has to be inside the static folder before the build, or inside the public folder after the build.

Thanks for the fast reply.


Send CCAM incidents to SilentTest when limited support

When a CHGM alert fires due to missing credentials (CCAM service), a limited support reason is posted. This PR will also send this CHGM alert to SilentTest escalation policy so Primary will not get unnecessary pages.

/lgtm


Update metadata to YAML

convert html to yaml format
ignore contributor (conceptdev) in docfx.json
update github usernames as required

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

cordovadocs/build-deploy/app-lifecycle-management.md
:white_check_mark:Succeeded

cordovadocs/build-deploy/ci-guide.md
:white_check_mark:Succeeded

cordovadocs/build-deploy/get-started-with-ci.md
:white_check_mark:Succeeded

cordovadocs/build-deploy/jenkins.md
:white_check_mark:Succeeded

cordovadocs/build-deploy/tfs2015.md
:white_check_mark:Succeeded

cordovadocs/build-deploy/using-gulp-build-tasks.md
:white_check_mark:Succeeded

cordovadocs/build-deploy/visual-studio-team-services.md
:white_check_mark:Succeeded

cordovadocs/debug-test/appium-setup.md
:white_check_mark:Succeeded

cordovadocs/debug-test/appium-ui-sequences.md
:white_check_mark:Succeeded

cordovadocs/debug-test/basic-tests-with-jasmine.md
:white_check_mark:Succeeded

cordovadocs/debug-test/debug-using-visual-studio.md
:white_check_mark:Succeeded

cordovadocs/debug-test/debugging-ui-tests.md
:white_check_mark:Succeeded

cordovadocs/debug-test/debugging-unit-tests.md
:white_check_mark:Succeeded

cordovadocs/debug-test/designing-ui-tests.md
:white_check_mark:Succeeded

cordovadocs/debug-test/test-driven-development.md
:white_check_mark:Succeeded

cordovadocs/debug-test/ui-testing-on-device-farms.md
:white_check_mark:Succeeded

cordovadocs/debug-test/ui-testing-prerequisites.md
:white_check_mark:Succeeded

cordovadocs/debug-test/ui-testing-with-appium.md
:white_check_mark:Succeeded

cordovadocs/debug-test/unit-test-mocking.md
:white_check_mark:Succeeded

cordovadocs/debug-test/unit-test-primer.md
:white_check_mark:Succeeded

cordovadocs/debug-test/unit-testing-environments.md
:white_check_mark:Succeeded

cordovadocs/debug-test/visual-studio-unit-testing-with-chutzpah.md
:white_check_mark:Succeeded

cordovadocs/docfx.json
:white_check_mark:Succeeded

cordovadocs/first-steps/build-your-first-app.md
:white_check_mark:Succeeded

cordovadocs/first-steps/develop-with-typescript.md
:white_check_mark:Succeeded

cordovadocs/first-steps/get-started-with-ionic2.md
:white_check_mark:Succeeded

cordovadocs/first-steps/installation.md
:white_check_mark:Succeeded

cordovadocs/first-steps/ios-guide.md
:white_check_mark:Succeeded

cordovadocs/first-steps/migrate-from-visual-studio-2015.md
:white_check_mark:Succeeded

cordovadocs/first-steps/simulate-in-browser.md
:white_check_mark:Succeeded

cordovadocs/first-steps/toolsets.md
:white_check_mark:Succeeded

cordovadocs/first-steps/using-bower.md
:white_check_mark:Succeeded

cordovadocs/index.md
:white_check_mark:Succeeded

cordovadocs/publishing/publish-to-a-store.md
:white_check_mark:Succeeded

cordovadocs/run-your-app/deploy-and-run-app.md
:white_check_mark:Succeeded

cordovadocs/run-your-app/run-app-android.md
:white_check_mark:Succeeded

cordovadocs/run-your-app/run-app-ios.md
:white_check_mark:Succeeded

cordovadocs/run-your-app/run-app-windows.md
:white_check_mark:Succeeded

cordovadocs/run-your-app/simulate-in-browser.md
:white_check_mark:Succeeded

cordovadocs/samples/cordova-samples.md
:white_check_mark:Succeeded

cordovadocs/security/authentication.md
:white_check_mark:Succeeded

cordovadocs/security/best-practices.md
:white_check_mark:Succeeded

cordovadocs/security/data-encryption.md
:white_check_mark:Succeeded

cordovadocs/security/detect-security-threats.md
:white_check_mark:Succeeded

cordovadocs/security/fix-security-issues.md
:white_check_mark:Succeeded

cordovadocs/security/transmit-data-securely.md
:white_check_mark:Succeeded

cordovadocs/security/whitelists.md
:white_check_mark:Succeeded

cordovadocs/take-further/add-analytics.md
:white_check_mark:Succeeded

cordovadocs/take-further/add-azure-mobile-app.md
:white_check_mark:Succeeded

cordovadocs/take-further/add-platform-specific-content.md
:white_check_mark:Succeeded

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


Publish PR artifacts using OpenShift CI

Right now we are using appveyor to publish PR builds.
Not sure if it is possible but it would be good to use OpenShift CI to do this

done.
you can find binaries in unit test job in artifacts folder
/close


Support caret and implicit caret in dependency version

The dependency version check checks for an exact match.
https://github.com/katyo/publish-crates/blob/b9f892948cc44179a7d686293d2277fa2e958f15/src/package.ts#L194
It should instead allow for implicit and explicit caret versions, which crates.io supports.

Potentially duplicate of #78

Semver match is unsafe for internal dependencies for some reasons.

@adlerjohn For now semver is used for check. Could you test it?

Yes, it works now. Thank you!


EmptyLineBetweenDefs doesn't register offense for multiline methods with comment headers

diff --git a/spec/rubocop/cop/style/empty_line_between_defs_spec.rb b/spec/rubocop/cop/style/empty_line_between_defs_spec.rb
index 84d2da1..6c400fb 100644
--- a/spec/rubocop/cop/style/empty_line_between_defs_spec.rb
+++ b/spec/rubocop/cop/style/empty_line_between_defs_spec.rb
@@ -6,6 +6,30 @@ describe RuboCop::Cop::Style::EmptyLineBetweenDefs, :config do
   subject(:cop) { described_class.new(config) }
   let(:cop_config) { { 'AllowAdjacentOneLineDefs' => false } }

+  it 'finds offenses for adjacent multi-liners' do
+    source = ['  class J',
+              '    def n',
+              '    end',
+              '    def o',
+              '    end',
+              '  end']
+    inspect_source(cop, source)
+    expect(cop.offenses.size).to eq(1)
+  end
+
+  it 'finds offenses for adjacent multi-liners with comments' do
+    source = ['  class J',
+              '    # checks something n-related',
+              '    def n',
+              '    end',
+              '    # checks something o-related',
+              '    def o',
+              '    end',
+              '  end']
+    inspect_source(cop, source)
+    expect(cop.offenses.size).to eq(1)
+  end
+
   it 'finds offenses in inner classes' do
     source = ['class K',
               '  def m',

The first spec passes, but the second fails.

HI guys! I've fixed this issue as well before I found out that it's already fixed. I've fixed it a bit differently and did some refactoring.

Discuss this with @lumeet on the existing PR.

Got it


Safe tensors cannot be easily freed!

System Info
Hi,
I am using the safetensors for loading Falcon-180B model. I am loading the ckpts one by one on CPU, and then try to remove the tensors by simply calling del function. However, I am seeing that CPU memory keeps increasing until it runs out of memory and system crashes (I am also calling gc.collect() after deleting tensors). Is there any good way to release the safetensor memory.
Thanks,
Reza
Information

[ ] The official example scripts
[ ] My own modified scripts

Reproduction
from safetensors.torch import load_file
sd_ = load_file(ckpt_path)
lens = len(sd_.keys())
for _ in range(lens):
       data = sd_.popitem()
        del data
del sd_
gc.collect()

Expected behavior
release the memory after calling gc.collect()

It's using torch own internal there, nothing safetensors is responsible for.
Torch uses UntypedStorage to back the file up, meaning the entire file storage will be allocated regardless of how many tensors you clean (tensors are like pointers into the file if you will).

sounds good, then it might be an issue with my environment/torch version. BTW, I did load the checkpoints on all devices and take the portion that I need and that works fine and it does not run OOM, I only see the problem on CPU!

It's using torch own internal there, nothing safetensors is responsible for.
Torch uses UntypedStorage to back the file up, meaning the entire file storage will be allocated regardless of how many tensors you clean (tensors are like pointers into the file if you will).

I also get this problem
do you kwnow how to clean the memory of UntypedStorage？


Several Errors when importing

import markdown
html = markdown.markdown("# hello")

The above is the example given on https://pypi.org/project/Markdown/ with the only change being I've entered an h1 with hello written within it.
The example code gives the following error:
Traceback (most recent call last):
  File "markdown.py", line 1, in <module>
    import markdown
  File "/mnt/storage/markdown+docs/markdown.py", line 2, in <module>
    html = markdown.markdown("hello")
TypeError: 'module' object is not callable

After having a look into the module files, I noticed the class markdown is actually Markdown with a capital M.
import markdown
html = markdown.Markdown("# hello")

However that raises a new error:
Traceback (most recent call last):
  File "markdown.py", line 1, in <module>
    import markdown
  File "/mnt/storage/markdown+docs/markdown.py", line 2, in <module>
    html = markdown.Markdown("hello")
AttributeError: partially initialized module 'markdown' has no attribute 'Markdown' (most likely due to a circular import)

The same error occurs when I import any of the standalone functions, from markdown import *, or any other work around I can think of.
After uninstalling then reinstalling markdown via pip3, I repeated everything above and the same issues arise.
Python version: latest 3.8

The problem is that you named your file markdown.py which is causing a conflict with the markdown module. By default, Python will try to import a module from the current working directory first, and it if doesn't find a file by that name it will then look at the locations listed in your pythonpath. Because your file is named markdown.py, when you import markdown you are simply importing your own code which does not define markdown.markdown or markdown.Markdown. Therefore, both errors are correct.
Simply rename your file to something unique and things will work correctly.


Adds ovos service api

Move all ovos service api registeration and get session logic to ovos utils

needed for https://github.com/OpenVoiceOS/ovos-skill-weather/pull/4


Move more inspector functions to InspectorShared.js

Cesium3DTilesInspector and VoxelInspector had their own copies of makeRangeInput and makeButton.
This PR moves that functionality into a common location in InspectorShared.js.

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @lilleyse!


feat: Extend axios-extension services

Feat for #1957

Extend axios-extension services

I am still unsure about the transportcheck-service. The existing functionality looks so similar to your new functionality that I think we need to consolidate both.

@longieirl & @GDamyanov please work together on consolidating this functionality. I did a bit of testing and noticed that the parameter package is not required for the existing check for apps, if you remove it, it becomes even clearer that the implementations need to be consolidated. You can use https://github.com/SAP/open-ux-tools/compare/feat/1957/extend-axios-extension...feat/1957/extend-axios-extension-proposal?expand=1 as a starting point.
@longieirl that would be a breaking change for the existing function, but I am ok with it since we have a 0.x version and it simplifies the API for future usage
Afterwards, please consolidate the parsing. The existing one (for apps) has an additional feature of also listing available & valid transport requests if the object is not yet locked on a request. @GDamyanov I am pretty sure that is also valuable for adaptation projects.
@longieirl the new functionality (for ADP) also returns the package name which is useful if the consumer then offers creating a new transport afterwards since it is required for new transports and must match the existing one.
Therefore, please, bring both functionality into one instead of having two separate half-complete implementations.


builder#456 -5 rename scene(index) property

builder#456 -5 rename scene(index) property : stage costume / scene -> backdrop

https://github.com/goplus/builder/issues/456
stage costume / scene -> backdrop


Missing cardano-cli conway governance drep retirement-certificate

There is a deregistration certificate missing for Dreps.
cardano-cli --version
cardano-cli <IP_ADDRESS> - linux-x86_64 - ghc-9.2
git rev dd4333fa841b415fb9d153c9106aa1c3e2874c10

 cardano-cli conway governance drep
Usage: cardano-cli conway governance drep
                                            ( key-gen
                                            | id
                                            | registration-certificate
                                            )

  DRep member commands.

Available options:
  -h,--help                Show this help text

Available commands:
  key-gen                  Generate Delegate Representative verification and
                           signing keys.
  id                       Generate a drep id.
  registration-certificate Create a registration certificate.

Assigning to @carlhammann since his PR https://github.com/input-output-hk/cardano-cli/pull/316/ solves this issue


Uncaught error

While I am performing the profanity filter on the text it is getting uncaught error and closing , do we need any plugin for profanity filter.

Do you have jquery available?

@SaiKishore2  can you please post some example code for me? Otherwise, if you've sorted this out, we can close the issue.

Didn't hear back. Closing.


dockerfile: iperf3 inside container by default

Thanks! How about to start it by default or with env variable?

Please use systemd config. Example: https://iperf.fr/iperf-servers.php#host-iperf3
Systemd can restart services and all logs from systemd are redirected to docker logs.
Put it here: https://github.com/xtrime-ru/antizapret-vpn-docker/tree/master/rootfs/etc/systemd/system

new version to come


Publish as a custom integration

Hello @uvjustin thanks for your and aechelon work. Unfortunately, HA is trying to avoid scrapping as a official integration because of their arch. decision.
Could you kindly provide your package and official integration as a custom integration.
Thanks for your all help.

@akinomeroglu I put the custom component here https://github.com/uvjustin/alarmdotcomajax


PFS: Move filter buttons up on protein family sorter?-beta

Users might not realize that they have to hit the filter button after entering text in.    Just by hitting return, they might think that they are going to be able to do it, and find that nothing happens.  They have to scroll down to see that there is a filter button.  If it was was above the text box, then they could see that button.

Harry tried to reduce the number of genomes displayed and changed the family selection to dropdown to reduce size.
However, the filter button is still below the fold and may not be visible to user without scrolling. We need to revisit this after the florida workshop.

#996 duplicate.


#327 eslint config

Quick Description of the PR
Enable ESLint extension
Closes #327
An Overview of the Changes

Added eslintrc.json which extends the react-app presets to add or override rules, just added one rule for example no-var to warn not to use the var keyword
Set the EXTEND_ESLINT environment variable to enable ESLint configuration (see Create React App)
Updated npm scripts to revert back to react-scripts and added separate lint script
Added lint to pre-commit hook

Tested locally with cross-env but doesn't seem to work on Windows, neither setting in .env file, but the file does work in Docker and probably on Unix-based OS, and this setting is not needed for enabling the config in editors with ESLint plugin so seems ok to me.
Now I think the other PR's that depend on this can just update the config file and possibly add plugins if needed

@TenNga and @aelnahas can you guys check this and see if it will work for the other 2 tickets?

just need to make small adjustments on my end but otherwise this is in line with what I had


Why is there no sound sometimes when using the 5_HP-Karaoke-UVR.pth model?

I found that it may be related to the parameters, please help me
`
from pathlib import Path
from audio_separator.separator import Separator
def main():
input_audio = "/home/geek/workspace/TestSample/Tom_Holland.wav"
output_dir = "/home/geek/workspace/TestSample/"
model_file_dir = "/home/geek/.cache/audio-separator-models"
vocal_separation_model_filename = "UVR-MDX-NET-Voc_FT.onnx"
de_reverb_model_filename = "5_HP-Karaoke-UVR.pth"
output_format = "wav"
vocal_separation_separator = Separator(
    model_file_dir=model_file_dir,
    output_format=output_format,
    output_dir=output_dir,
    output_single_stem="Vocals",
    sample_rate=44100,
    mdx_params={"hop_length": 1024, "segment_size": 256, "overlap": 0.25, "batch_size": 16, "enable_denoise": False},
    vr_params={"batch_size": 16, "window_size": 320, "aggression": 10, "enable_tta": False,
               "enable_post_process": False, "post_process_threshold": 0.2, "high_end_process": False},
)

vocal_separation_separator.load_model(model_filename=vocal_separation_model_filename)

vocal_separation_output_file_path = vocal_separation_separator.separate(input_audio)[0]
print(vocal_separation_output_file_path)

vocal_separation_separator.load_model(model_filename=de_reverb_model_filename)

de_reverb_output_file_path = \
vocal_separation_separator.separate(Path(output_dir) / vocal_separation_output_file_path)[0]
print(de_reverb_output_file_path)

if name == "main":
main()
`
When I set the parameters as follows：
        mdx_params={"hop_length": 1024, "segment_size": 256, "overlap": 0.25, "batch_size": 16, "enable_denoise": False}, vr_params={"batch_size": 16, "window_size": 320, "aggression": 10, "enable_tta": False,                    "enable_post_process": False, "post_process_threshold": 0.2, "high_end_process": False},
the de_reverb_output_file_path is no sound：
https://github.com/Lixi20/audio_separator_test/blob/main/TestSample/enable_tta_false/Tom_Holland_(Vocals)UVR-MDX-NET-Voc_FT(Vocals)_5_HP-Karaoke-UVR.wav
And then I set the parameters as follows：
       mdx_params={"hop_length": 1024, "segment_size": 256, "overlap": 0.25, "batch_size": 16, "enable_denoise": False}, vr_params={"batch_size": 16, "window_size": 320, "aggression": 10, "enable_tta": True,                     "enable_post_process": False, "post_process_threshold": 0.2, "high_end_process": False},
the de_reverb_output_file_path has sound：
https://github.com/Lixi20/audio_separator_test/blob/main/TestSample/enable_tta_true/Tom_Holland_(Vocals)UVR-MDX-NET-Voc_FT(Vocals)_5_HP-Karaoke-UVR.wav
I didn't set the enable_tta parameter before, and there was sound, but now it doesn't work. Why is this?

@beveradb

Sorry @Lixi20 but I don't know, I didn't train that model or write the original implementation for the VR architecture!
If you really want to figure it out, you can investigate what the code is doing and try to debug it:

https://github.com/nomadkaraoke/python-audio-separator/blob/main/audio_separator/separator/architectures/vr_separator.py#L279
https://github.com/nomadkaraoke/python-audio-separator/blob/main/audio_separator/separator/architectures/vr_separator.py#L326

Good luck! If you find a fix, please raise a PR and I'll test & merge it :)

here
Hope it helps you! !! !!
@beveradb

Thank you so much @Lixi20 - this fix is now live in audio-separator version 0.19.2 🎉


docs: autocrlf false docker windows installation

When docker-compose build --no-cache
error :
[4/5] RUN /usr/src/carto_app/cartoview/scripts/docker/setup.sh
/usr/src/carto_app/cartoview/scripts/docker/setup.sh no such a file
solution is to set autocrlf to false because the /docker/setup.sh script is Unix-style line endings instead of Windows.
git config --global core.autocrlf false

Windows 11
Docker 4.7.1 (77678)

Pull Request Test Coverage Report for Build 913

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

Totals

Change from base Build 912:
0.0%

Covered Lines:
1798

Relevant Lines:
2898

💛  - Coveralls

The master branch of Cartoview is not stable as we're upgrading to GeoNode 4.0. Please use the 1.33.x branch.


Disallow to create non-reserved files in internal repositories

Motivation

#633

Modifications

Checks a commit not to create non-reserved files in internal repositories (dogma and meta).
Create RepositoryNotAllowedException which is raised in this case.

Results

Close #633
Users can't create a file except for mirrors.json in the internal repositories.
The HTTP API will respond 403 Forbidden with the RepositoryNotAllowedException in this case.
The Thrift API will respond BAD_REQUEST in this case due to backward compatibility.

Great work, @ghkim3221!
Glad that you are also becoming familiar with this project. 😆
Thanks, reviewers also. 🙇♂


Save Selected Tab

Detecting navigation events
https://blazor-university.com/routing/detecting-navigation-events/

https://blazored.github.io/LocalStorage/

WIP Branch: https://github.com/AlexHedley/Utility-Blazor/tree/localstorage


Database connection error on a wordpress installation integration

Technical details

YOURLS version: 1.7.1
PHP version: 5.4.45
wordpress: 4.4.1
plugin: yourls-wordpress-to-twitter

Reproducible Bug Summary
there is an installation of wordpress, bbpress and buddypress in which a plugin named yourls-wordpress-to-twitter is active to make auto short links of newly created topics and place this shortlink beside the name of each topic. every thing was good till we changed the host server.
in the plugin settings page, I had set the installation type to "remote, on another web server", however the installation was on the same server. but as I had less knowledge those days, I could'nt find the correct path to the config.php file. by these settings everything worked great till we changed the server. I noticed there are some times that server cannot be reached by itself!!! so the plugin cannot produce shortlinks automatically. so I changed the installation type to local and placed the correct path to confg.php file. and the test was OK.
but when installation is set on local, I get the error "Incorrect DB config, or could not connect to DB" immediately by creating a topic. (meanwhile, the script itself works normal in standalone, and no database error accures.)
I'm not a developer, But I think there is some issues about $wpdb.
I need this, please help me fix it.

The plugin yourls-wordpress-to-twitter is no longer maintained, sorry for that, and another one is recommended.

I know, this plugin is too old and is no longer maintained, but I don't think this is a plugin related issue.
look at class-mysql.php at the line 71
`function yourls_db_connect() {
global $ydb;
if (   !defined( 'YOURLS_DB_USER' )
	or !defined( 'YOURLS_DB_PASS' )
	or !defined( 'YOURLS_DB_NAME' )
	or !defined( 'YOURLS_DB_HOST' )
) yourls_die ( yourls__( 'Incorrect DB config, or could not connect to DB' ), yourls__( 'Fatal error' ), 503 );

// Are we standalone or in the WordPress environment?
if ( class_exists( 'wpdb', false ) ) {
	/* TODO: should we deprecate this? Follow WP dev in that area */
	$ydb =  new wpdb( YOURLS_DB_USER, YOURLS_DB_PASS, YOURLS_DB_NAME, YOURLS_DB_HOST );
} else {
	yourls_set_DB_driver();
}

return $ydb;

}`
correct me if I'm wrong. but I thing the problem must be there.


Softmax in the evaluation stage

Hi,
I've found that you are explicitly applying log_softmax in your criterion.py file. Isn't is necessary to explicitly apply the softmax function on the output of the network in the evaluation stage? that is, before getting the maximum index for each class?
Thanks

Hey,
yes, I think you are right. Could you test what happens if you add F.log_softmax(labels) here and make a PR out of it?


Adding initialData

Can partially help in resolving the issue: #11 in the interim
(worded weirdly to avoid a auto-close)

BTW, can you add this new option to the readme?


Capsule builds are always .dirty

We're having this output log that is useful when debugging Capsule to understand if the binary has been built with noncommitted changes that could lead to issues.
https://github.com/clastix/capsule/blob/2ea36db5d6a38cf15d777c2e34e4f9494ed0664b/main.go#L68
This variable is set at build-time, as following.
https://github.com/clastix/capsule/blob/2ea36db5d6a38cf15d777c2e34e4f9494ed0664b/Dockerfile#L21-L32
However, all the images are marked with dirty field, even the ones built using clean git status or through the CI system.
{"level":"info","ts":"2021-03-04T07:31:44.732Z","logger":"setup","msg":"Capsule Version v0.0.5-rc1 737b6ce.dev.dirty"}

Hi @prometherion! I would like to work on this issue!
Thanks!


[Hidden Power Mod] Hidden power mod isn't staying changed

Describe the bug
Using a hidden power mod doesn't seem to stay in place long term. It still shows the hidden power you selected if you use another mod to check the interface, but it isn't actually using that new hidden power type. I used it to change my Ninetales from Dark to Ice hidden power and it seemed to work at first. At this point it is 100% Dark type again. Still shows Ice in the interface, but is definitely Dark. It's also notable that the command to check hidden powers, /hiddenpower, was still showing Dark type immediately after use of the mod.
To Reproduce

use a hidden power mod to change the type
use /hiddenpower to check it and see that it still displays the old type
use another hidden power mod to double check interface
wait for the hidden power to revert fully to the original type

Expected behavior
I expected the hidden power to fully change to the new one and not reset.
Screenshots

Username:
Dracten
Server name (all applicable):
Titan

Hi ! :) I Used a Hidden Power mod on my 100% Zygarde to change is hidden dragon to grass. In the interface thats said i do with success but when i do ./hiddenpower still be dragon and definitly is...i left the game and reloag to see if that was just a lagg and saddly see that doesnt change anything...what can i do in that case ... please help me ! :/

Thank you for reporting this, it is now fixed from the next server reboot :)


Fix missing this (described in #843)

Describe the purpose of the pull request.
Breaking changes
none
Fixes / Enhancements

Fixed #843

:tada: This PR is included in version 5.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Wiki to Docusaurus

[ ] Wiki

Move current wiki(s) to Docusaurus

Would you mind if I looked into this for Hacktoberfest?

Sure! @ajchili , please send a PR! Let me know if you need guide

Any suggestions or requirements would be great! I am assuming you want this to be under the gh-pages branch?

You can check https://github.com/antonybudianto/cra-universal/tree/master/docs, gh-pages is auto updated using docusaurus deploy script

Gotcha, thanks for the starting point and information!


I found a broken link

Link on this page : https://docs.docker.com/v1.7/userguide/dockerizing/  pointing to https://docs.docker.com/v1.7/userguide/userguide/userguide/usingdocker
results in a 404

Archived documentation; fixed in current version. Closing ticket.


fix typo in pilot/cmd/pilot-agent/status/ready/probe.go

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: abel123
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: zackbutcher
If they are not already assigned, you can assign the PR to them by writing /assign @zackbutcher in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @abel123. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

I signed it!

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abel123, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [ymesika]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abel123: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abel123: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abel123: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abel123: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
3c69900fe7793ec34e7731f753bded76b43a3cf5
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: changing LGTM is restricted to assignees, and assigning you to the PR failed.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abel123, linsun, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [linsun,ymesika]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


fix(schema): Fix Required metadata with schema inheritance

Required field is correctly generated when there is inheritance with a mixin
Closes: #1030
it("should keep required meta from inherited class", () => {
    // WHEN
    const AutoUUID = <T extends Type<any>>(Base: T) => {
      class AutoUUIDMixin extends Base {
        @Property() //showing up in swagger as a property
        @Format("uuid") //showing up as a uuid in swagger
        @Required(true)
        id: string;
      }

      return AutoUUIDMixin;
    };

    const WithDates = <T extends Type<any>>(Base: T) => {
      class WithDates extends Base {
        @Property() //showing up in swagger as a property
        @Format("datetime") //showing up as a uuid in swagger
        @Required(true)
        created_at: string;

        @Property() //showing up in swagger as a property
        @Format("datetime") //showing up as a uuid in swagger
        @Required(true)
        updated_at: string;
      }

      return WithDates;
    };

    class Model {
      @Required()
      name: string;
    }

    const DefaultMixins = <T extends Type<any>>(Base: T) => AutoUUID(WithDates(Base));

    class EmailTemplate extends DefaultMixins(Model) {
      @Required()
      engine: string;
    }

    // THEN
    expect(ancestorsOf(EmailTemplate).map(nameOf)).to.deep.equal(["Model", "WithDates", "AutoUUIDMixin", "EmailTemplate"]);
    expect(getJsonSchema(EmailTemplate)).to.deep.equal({
      properties: {
        created_at: {
          format: "datetime",
          minLength: 1,
          type: "string"
        },
        engine: {
          minLength: 1,
          type: "string"
        },
        id: {
          format: "uuid",
          minLength: 1,
          type: "string"
        },
        name: {
          minLength: 1,
          type: "string"
        },
        updated_at: {
          format: "datetime",
          minLength: 1,
          type: "string"
        }
      },
      required: ["name", "created_at", "updated_at", "id", "engine"],
      type: "object"
    });
  });

/rebase

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

v6.1.3
GitHub release

Your semantic-release bot :package::rocket:


using-api/health-checks.md: use consistent casing

This commit updates two instances so that the casing of HTTP and API is consistent throughout the document.

/lgtm 😊

/lgtm
😊


JavaScript linting

Description
Non-implementation updates, purely comment and indention amendments.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This is great!
I still see
storage.js
  37:27  error  Missing space before function parentheses                              space-before-function-paren
  37:29  error  Missing space before opening brace                                     space-before-blocks
  38:9   error  Expected an assignment or function call and instead saw an expression  no-unused-expressions
  38:29  error  Unexpected use of comma operator                                       no-sequences


Add example of advanced form

Based on the comment I left of #407 regarding a more advanced form component, I put together an example. Right now the whole thing is in the example file but ideally we'd be able to move some/all of this logic into the Form itself.
The goals here are:

being able to describe a form's structure as data and have it be rendered automatically
have the form track it's own state outside of the DOM
automatically handle advanced functionality like adding/removing items

The schema is basically just an array of form subcomponent props, which can be continually nested.
The following schema:
[
  {
    type: 'group',
    schema: [
      { type: 'text', name: 'firstName' },
      { type: 'text', name: 'lastName' }
    ]
  },
  { type: 'text', name: 'title' },
  { type: 'text', name: 'company' },
  {
    type: 'nested',
    name: 'emailAddresses',
    schema: [
      { type: 'text', name: 'label', label: null },
      { type: 'text', name: 'value', label: null }
    ]
  },
  {
    type: 'dropdown', name: 'gender', options: [
      { text: 'Male', value: 'male' },
      { text: 'Female', value: 'female' }
    ]
  },
  {
    type: 'checkbox', name: 'newsletter', label: 'Interested in receiving newletter'
  },
  { type: 'submit', name: 'Submit' }
]

produces:

The component can almost certainly be cleaned up a little, I just whipped this together this morning. It also doesn't have provide a way for an outside component listen for onChange, but that would be pretty straightforward. I'd imagine in the setValue call we'd just pass those same arguments to a onChange.

Cool, will pull this and offer some feedback.

In the forms my company use, there are a lot of "duplicators" where an entry has an array of objects
{
    "Supplies":[
	    {
	    	"Name":"Thing1",
	    	...
	    },
	    {
	    	"Name":"Thing2",
	    	...
	    },
    ]
}

Which looks like this when rendered
<Grid>
	{fields.map((field, index) =>
	<Grid.Row key={index}>
		<Grid.Column>
			<Input name={`Supplies[${index}].Name`}>
		</Grid.Column>
		...
		<Grid.Column verticalAlign='middle'>
			<Button type="Button" icon='remove' onClick={() => fields.remove(index)}/>
		</Grid.Column>
	</Grid.Row>
	)}
	<Grid.Row>
		<Grid.Column>
			<Button type="button" content={`Add a Supply`} onClick={() => fields.push()} icon='plus' labelPosition='left' ></Button>
		</Grid.Column>
	</Grid.Row>
</Grid>

We use redux-form which handles this, but we'd like to use semantic's version what ever you decide to  implement.

Cool, good info.  Also @UnbrandedTech Grids/Rows/Columns can almost be replaced directly with Forms/Groups/Fields 👍 The layout APIs are somewhat similar.

Closing for housekeeping.


Update to Django 5.0

🛠 Changelog

Updates Django to 5.0 release.

Requires downgrade for django-celery-beat from 2.5.0 to 2.1.0. Relevant issue for fixing this: https://github.com/celery/django-celery-beat/issues/698
Also cannot upgrade django-timezone-field to latest version, since django-celery-beat depends on an older version
Required to backport PickleSerializer, as it was removed due to security issues. django-helusers still requires it.

🧪 Test plan

Automated tests

🎫 Tickets

TILA-####

@vergama Here is the situation for updating to latest major version of Django. Some small things were removed/changed, and one package we use doesn't yet support it (needed to use lower version). Should we update, or wait until this is fixed?

Need to get the pending features to production anyway, so can at least wait a little while. Looks like a new version of django-celery-beat just might be coming in the near future. But let's say, if it doesn't happen in the next few weeks then we'll go forward without it by the downgrade route.

https://github.com/celery/django-celery-beat/issues/680#issuecomment-1891665075 still needs a release to PyPI.

This should be good to go now with django-celery-beat v2.6.0 released. @vergama @ranta


Missing dependencies on WSL based on ubuntu

Hi,
when I try to install with apt I got the following error
 windows-fido-bridge : Depends: windows-fido-bridge-skapiv5 but it is not going to be installed or
                                windows-fido-bridge-skapiv7 but it is not going to be installed

Am I missing something?
THanks in advance

Ok I've checked and I have 8.2 distribution on my WSL, that is the reason


chore: Remove prefix from chart.appversion in helpers.tpl

Fixes #7084
Description
Dropping prefix v from tag from helpers.tpl
How was this change tested?
manually tested
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 83.291%

Files with Coverage Reduction
New Missed Lines
%

pkg/fake/utils.go
2
94.56%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.03%

Covered Lines:
5578

Relevant Lines:
6697

💛  - Coveralls


[Feature request] Option to send single message with graph instead of two.

Current implementation:

proposal:

It was one message, but you don't understand what it is.
It is not message, it is photo with caption, which is not text. It doesn't support code formatting and so on.

It was one message, but you don't understand what it is.

I understand, but it's still looking like two messages isn't it? )

It is not message, it is photo with caption, which is not text. It doesn't support code formatting and so on.

Agree, but it can reproduce more solid notification for those who don't need formatting,
P.S.: I'm asking for the option, not for mandatory implementation.
P.P.S: Thank you for good tool, independently of this request!

In classic ways of messaging you have attachments.
E-mail has attachments, multiple of them.
Facebook/VK messages have attachments.
Ticket systems have attachments.
Telegram doesn't have it, it is completely different methods. Even more: captions for photos are clipped to 120 symbols, it is not enough even for default zabbix action.
P.S. Ok, I will make an option for that.
P.P.S. Thank you for feedback. :)

Thank you!

...photos are clipped to 120 symbols...

200 symbols, based on: https://github.com/ableev/Zabbix-in-Telegram/issues/14 ))

it's is possibly with other tool: https://github.com/sansaoipb/Telegram-Graph-authenticated

@renatodru what is this about?

Most annoying in current implementation is that Telegram clients notification always say "Photo", not the text of alert. The other workaround would be to send the photo first, then the alert message?

@Vanav in the process of bringing back one message option.

Maybe need a separate issue, but if I use this guide https://github.com/ableev/Zabbix-in-Telegram/wiki/Trigger-severity-as-Emoji and set subject line like this: "[Emoji-Severity] [Time] [PROBLEM/OK] [Description]", then option to edit last message doesn't work, because your code expects subject as "[PROBLEM/OK] [Description]".

Confirmed inability to edit messages.

@Vanav @Varrkan82 this feature hasn't worked since the first implementation.
In case you have more then one recipients – it's unable to change previous message.
Plus, there was a lot of strange code for that method.
Will do another way of doing it, but a bit later.
Sorry, guys.


Add messages in kyverno Related table

Add a message column in the related resources table.
Only call fireManagedClusterView for the items on the page.
Restrict the related resources table pagination to 10 items per page when it's a Kyverno policy. (Remove the per page option)
Remove View yaml link, Instead, name link to yaml

Ref: https://issues.redhat.com/browse/ACM-15371

/cc @mprahl @dhaiducek


How to get key alias in a certificate

I am able to parse the key alias from a certificate by keytool. However I don't know how to get it from X509Certificate2. Any one can suggest? Thanks.
─ keytool -list -v -keystore abc.pfx -storetype PKCS12
Enter keystore password:
*****************  WARNING WARNING WARNING  *****************

The integrity of the information stored in your keystore  *
has NOT been verified!  In order to verify its integrity, *
you must provide your keystore password.                  *
*****************  WARNING WARNING WARNING  *****************

Keystore type: PKCS12
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: xxxxx  <-- This is the information I want
Creation date: Nov 19, 2021
Entry type: PrivateKeyEntry

Use another library to achieve it.


Skipping --rm flag instead of --no-rm (deprecated)

Issue: Running ./test-node.bash will result in error:
unknown flag: --no-rm
If --rm flag is simply skipped, it's as good as --no-rm which seems to be deprecated
The build resolves successfully if these flags are removed

 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.


Starting a 2nd Lua Server (sandboxed)

Is it possible to create a 2nd LuaSvr, with everything sandboxed? (no c# classes, only basic math/string api).
If so, how would this be achieved?
Loving this repo btw, runs extremely fast 👍
edit: if this isn't easily possible, I can always just insert a sandbox script in the main stack, and load it using table = luaState.doString("return dofile(path)"), but would prefer to not go down that road 😅

yes , you can create 2nd luaState without any c# class, see multistate demo in Ver1.5


add serialize / deserialize

Addresses #69 and #75. Seems to work. See usage in https://github.com/coolaj86/node-pokemap

Hmm... still needs to be added to documentation...

bump.
Can we merge this please?

Added documentation. Now ready to merge.

What's the hold up on getting this merged in?
It's working well and the docs have been updated accordingly.

Nothing seems to have been merged/closed in awhile.
Project may need some more maintainers


Add AMPI RMA routine tests to megampi

Original issue: https://charm.cs.illinois.edu/redmine/issues/1357

AMPI's RMA routines are not tested at all right now in nightly build or Jenkins.
Add simple tests for correctness to tests/ampi/megampi/test.C and abort on failure.
Definitely need Put, Get, Accumulate, Get_accumulate, plus some of the synchronization routines.
As we add support for more RMA routines to AMPI, we should then add tests for those to this.

Original date: 2017-01-22 22:16:18

This isn't really a bug, update the commit message accordingly: ~~https://charm.cs.illinois.edu/gerrit/#/c/2148/~~ https://github.com/UIUC-PPL/charm/commit/46d1e681239f3ee1f28ecad9217ea0224af4f1bc

Original date: 2017-02-04 18:39:46

We'd like to have this testing in place for the 6.8.0 release.

Original date: 2017-02-04 18:40:13

~~https://charm.cs.illinois.edu/gerrit/#/c/2148/~~ https://github.com/UIUC-PPL/charm/commit/46d1e681239f3ee1f28ecad9217ea0224af4f1bc


[Candidate 4v4 Desert Vortex ZH v7] Terrain and wave artifacts at map border

Observed behavior
There are minor terrain and wave artifacts at the map border.
Expected behavior
Map border is ocean.
Screenshots

fixed

Terrain is fixed. Wave is still there.

Terrain is fixed. Wave is still there.

sadly there is no wave in the worldbuilder ^^

There now is an island instead of a wave. Looks odd.

There now is an island instead of a wave. Looks odd.

you can have an odd looking island not showing on radar or a random wave :D

The wave was smaller, so I would go with that.

Wave is back, but otherwise looks good, closing done.


Create Validation Notebook for DPDD products from DC2 processing

Create a Notebook that takes a given DC2 Object Table and performs both reasonableness checks and some level of science validation.

Make density plots (e.g., hexbin, hist2d, datashader) of

r-i, g-r
u-g, g-r
u-z, g-r
z-y, g-r
ra, dec

Make 1D density plots (e.g., hist, kernel-density-estimation)

N({ugrizy})
Shape parameters

Consider a half-dozen to a dozen summary numbers that are useful sentinels for overall data quality and utility.

The Notebook should be runnable through either the GCR API or direct reading of the DPDD Parquet files.
This issue will trigger the immediate question of how to produce, curate, and save these validation analyse Notebooks for each version of processing.  But that's a mostly largely separate Issue that we can leave for another Issue.
Here I intend the focus to be on combining the right level of high-level science-driven validation.

Closed with #79


Several fixes/improvements

add missing cooling sensors, incl. translations
fix correction calculation in heating thermostat
fix solar detection
fix cooling thermostat showing heating

In my view, the desired behavior of the integration is best reflected by using HVAC_ACTION_MAPPING_HEAT: LuxOperationMode.domestic_water.value: HVACAction.IDLE.value,

This behavior is okay for me. We can take it.
Just for fun you can have a look at the sensors of the underfloor heating (also in summer). In dhw working mode the underfloor heating gets also heated.


Cmd+R causes log out

Environment info

OS: macOS 10.13.6
App Version: 1.6.2

Description of the problem / feature request / question:

Login successfully with GitHub account
Press cmd+R
App is refreshed and logged out.
Appears Login popup again.

@baybatu Thanks for the feedback! cmd + R should definitely disabled in the app.

Maybe cmd+r could be used for shortcut of 'sync'

@baybatu That's a good idea!


mmap() Cannot allocate memory  - memory leak for php and elasticsearch  on Apple M1

Hi
i get an error when i try to perform a simple bin/magento setup:upgrade inside php-fpm.
The error is:
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 70668288) (tried to allocate 5131192 bytes) in /var/www/html/vendor/colinmollenhour/cache-backend-file/File.php on line 202
Fatal error: Out of memory (allocated 70668288) (tried to allocate 5131192 bytes) in /var/www/html/vendor/colinmollenhour/cache-backend-file/File.php on line 202

I've already checked and Docker is set to use 8GB of RAM and 2GB of Swap.
I checked the memory limit configuration and it is set to 2GB. I tried increasing it to 4 but the error didn't change.
Same project with same config works correctly on Old mac intel.

for reference, here is other discussion: https://github.com/docker/for-mac/issues/5204

Reading around a bit it would seem it is necessary to replace the images with specific images for arm architecture.
At this point I think it would be necessary to follow what k4emic has been said here:
https://github.com/davidalger/warden/pull/317

@antoniocarboni  Regarding eleasticsearch I've manage to fix it by using offical elasticsearch image:
https://github.com/davidalger/warden/blob/develop/environments/includes/elasticsearch.base.yml#L5
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0

To fix this memory leak for php arm 64 versions of warden php-fpm imagens needs to be published.

great!
for php-fpm what are specific about warden php images? do they have any particular config?
If we can get some general config, maybe we might be able to have a working stack for m1.

Hello,
I have the same issue. Could you tell me how to fix it? I tried to edit .env file and change elasticsearch version to 7.8/7.12. My configuration for elastisearch is:
 elasticsearch:     environment:       ES_JAVA_OPTS: -Xms64m -Xmx512m       discovery.type: single-node       xpack.security.enabled: "false"     hostname: exampleproject-elasticsearch     image: docker.io/wardenenv/elasticsearch:7.8     labels:       traefik.enable: "true"       traefik.http.routers.exampleproject-elasticsearch.rule: Host(elasticsearch.exampleproject.test)       traefik.http.routers.exampleproject-elasticsearch.tls: "true"       traefik.http.services.exampleproject-elasticsearch.loadbalancer.server.port: '9200'     volumes:     - esdata:/usr/share/elasticsearch/data:rw
But this problem still occurs. Could you help me to fix it?

Hello,
I have the same issue. Could you tell me how to fix it? I tried to edit .env file and change elasticsearch version to 7.8/7.12. My configuration for elastisearch is:
elasticsearch:
    environment:
      ES_JAVA_OPTS: -Xms64m -Xmx512m
      discovery.type: single-node
      xpack.security.enabled: "false"
    hostname: exampleproject-elasticsearch
    image: docker.io/wardenenv/elasticsearch:7.8
    labels:
      traefik.enable: "true"
      traefik.http.routers.exampleproject-elasticsearch.rule: Host(`elasticsearch.exampleproject.test`)
      traefik.http.routers.exampleproject-elasticsearch.tls: "true"
      traefik.http.services.exampleproject-elasticsearch.loadbalancer.server.port: '9200'
    volumes:
    - esdata:/usr/share/elasticsearch/data:rw

But this problem still occurs. Could you help me to fix it?

You have to change the image, to:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0

but how? in .env?

    environment:
      ES_JAVA_OPTS: -Xms64m -Xmx512m
      discovery.type: single-node
      xpack.security.enabled: "false"
    hostname: exampleproject-elasticsearch
    image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
    labels:
      traefik.enable: "true"
      traefik.http.routers.exampleproject-elasticsearch.rule: Host(`elasticsearch.exampleproject.test`)
      traefik.http.routers.exampleproject-elasticsearch.tls: "true"
      traefik.http.services.exampleproject-elasticsearch.loadbalancer.server.port: '9200'
    volumes:
    - esdata:/usr/share/elasticsearch/data:rw

Ok, but what exactly do I need to edit?

@webphpprojects
elasticsearch:
    environment:
      ES_JAVA_OPTS: -Xms64m -Xmx512m
      discovery.type: single-node
      xpack.security.enabled: "false"
   	hostname: exampleproject-elasticsearch
-   image: docker.io/wardenenv/elasticsearch:7.8
+   image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
    labels:
      traefik.enable: "true"
      traefik.http.routers.exampleproject-elasticsearch.rule: Host(`elasticsearch.exampleproject.test`)
      traefik.http.routers.exampleproject-elasticsearch.tls: "true"
      traefik.http.services.exampleproject-elasticsearch.loadbalancer.server.port: '9200'
    volumes:
    - esdata:/usr/share/elasticsearch/data:rw

Ok, maybe my question was not precise enough. Where I can find the file I have to edit? I cannot find it in project folder even in .warden directory.

.warden directory is on in you root folder when you open the terminal.

Yes, I see this directory, but I don't see there warden-env.yml

@webphpprojects
/opt/homebrew/Cellar/warden/0.10.2/environments/includes

@zcuric Thank you :)
What do I need to do after changing the proper file? I did
warden svc restart
and
warden env up -d
but the problem still occurs.

I find the solution. I switched to composer 2 and this problem does not occur.

Today I wanted to finish magento 2 installation and have this error:
 bin/magento cache:clean

mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory
PHP Fatal error:  Out of memory (allocated 64573440) (tried to allocate 5328896 bytes) in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 1161

Fatal error: Out of memory (allocated 64573440) (tried to allocate 5328896 bytes) in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 1161

How can I fix it?

@webphpprojects you can't, not until warden devs update docker images to be compatible with ARM. Because if you read issue from the beginning, we only found solution for elasticsearch.

OK, but in my case changing elasticsearch image did not solve a problem. I see you are using warden 0.10.2. In my case it's 0.11. Maybe I should switch to older version?

@webphpprojects That won't fix your problem. It fixes elasticsearch part of the problem, but php memory issue is up to warden devs.

So I have to wait for a fix, right?

@zcuric I made some research and found this topic and comment:
https://github.com/markshust/docker-magento/issues/396#issuecomment-776854665
I hope it is useful for fixing this issue (I will check also).

let's keep it open

This is still relevant and will be until Warden's PHP images have ARM alternatives. I'm currently trying to rebuild the necessary PHP packages from Remi's repository for as ARM versions, but need some assistance here. Does anyone have experience building RPMs with/without Mock? It's critical to get this running since Remi does not have plans to publish ARM packages any time soon as he doesn't have the necessary hardware. @davidalger, any thoughts?

This is definitely still active and valid. :)

Hi @drpayyne,
Can we re-use your images just by replacing WARDEN_IMAGE_REPOSITORY with your image prefix? Are there any other modifications required?

I doubt that it'll work right OOTB by just using that tag since my images are still "in-beta" as far as I'm concerned so I've tag names which aren't a direct substitution to existing tag names. For example - I have tags ending in -deb to show that the images are Debian based. That said, I think it'd be good to map it directly after verifying that there is nothing else blocking it, @ihor-sviziev.

Ok. So I'm working on adding arm64 support for all the possible images (for now M2 projects only).
The status is following:
Global services:

✅ Portainer already supports ARM64
✅ Traefik already supports ARM64
🟡 DNSmasq - works fine in emulation, TODO
🟡 Mailhog - works fine in emulation, TODO
❌ SSH tunnel - doesn't work, TODO

Mandatory parts for M2 projects:

🟡 Varnish is not working - https://github.com/davidalger/warden/pull/484
🟡 Redis, MariaDB, RabbitMQ - https://github.com/davidalger/warden/issues/485 I think we can switch to official images as we don't have any modifications and the official ones does has support
🟡 Nginx - works fine in emulation, TODO
❌ Php-FPM + xdebug - works very slow, TODO

Optional parts for M2 projects (didn't check status yet):

blackfire - TODO
allure - TODO
selenium + debug - TODO
split sales - TODO
split checkout - TODO
test db - TODO
magepack - TODO

Update after https://github.com/davidalger/warden/pull/505:
Global services:

✅ Portainer already supports ARM64
✅ Traefik already supports ARM64
✅ Mailhog already supports ARM64
🟡 DNSmasq - works fine in emulation, TODO
🟡 SSH tunnel - works fine in emulation, TODO

Mandatory parts for M2 projects:

✅ Varnish already supports ARM64
✅ Redis already supports ARM64
✅ MariaDB already supports ARM64
✅ RabbitMQ already supports ARM64
✅ Nginx already supports ARM64
✅ Elasticsearch - works very slow, https://github.com/davidalger/warden/pull/488
❌ Php-FPM + xdebug - works very slow, TODO

Optional parts for M2 projects (didn't check the status yet):

blackfire - TODO
allure - TODO
selenium + debug - TODO
split sales - TODO
split checkout - TODO
test db - TODO
magepack - TODO

Note: as a temporary workaround, you can use php-fpm images from @drpayyne by creating .warden/warden-env.darwin.yml file with the following content:
version: "3.5"
services:
  php-debug:
    image: ghcr.io/drpayyne/warden-php-m2-xdebug3:${PHP_VERSION}-deb
  php-fpm:
    image: ghcr.io/drpayyne/warden-php-m2:${PHP_VERSION}-deb

All the magento commands in Warden are very, very slow on my M1 Pro and also the online store is slow. Do you know what could be the reason?

@Vitaliy-Lazarev I can recommend switching from Warden to Den (fork of Warden), which fully supports Apple Silicon CPUs https://github.com/swiftotter/den/

PHP Arm64 images are available in beta: https://github.com/orgs/wardenenv/discussions/616

@Vitaliy-Lazarev I can recommend switching from Warden to Den (fork of Warden), which fully supports Apple Silicon CPUs https://github.com/swiftotter/den/

Now I can recommend using new images and keep using original warden thanks to https://github.com/orgs/wardenenv/discussions/616


Add configuration options for calico-node-image and calico-policy-image

Untested, maybe probably works. It's identical to the changes here, at least: https://github.com/juju-solutions/layer-canal/pull/9.

LGTM+1


Release Android build as APK, not ZIP?

Hi, this looks interesting, as there aren't many options for Android, but I can't easily install it right now because the Android release is a .zip file, and my device can't unzip zip files once downloaded. Neither does Obtainium which is how I'd ideally install this. Currently, I'd have to download the zip file on my computer, unzip it, and then use adb to transfer the apk over to my device. Can you modify the CI pipeline to release the Android build as just an apk?

Thanks for the heads up! Yeah, there shouldn't be an archive step for the Android builds. I'm just travelling at the moment, will fix as soon as I have a stable connection.


[SPARK-38228][SQL] Legacy store assignment should not fail on error under ANSI mode

What changes were proposed in this pull request?

When using legacy store assignment for table insertion, Spark SQL force using the default cast which doesn't fail on error.
Why are the changes needed?

As the ANSI store assignment policy force using ANSI cast, the legacy store assignment should force using the default cast which doesn't fail on error.
See discussions in https://github.com/apache/spark/pull/35511#discussion_r807529783 as well.
Does this PR introduce any user-facing change?

Yes, when using legacy store assignment for table insertion, Spark SQL force using the default cast which doesn't fail on error.
How was this patch tested?

Unit test

Merging to master

how to fix

set set spark.sql.storeAssignment=ANSI; is not use


Removed name field from paper component

Issue  📐

I Gabriel Warner have worked for Issue #70

Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

**My pull request closes #70 **

Screenshots 📷
Here are the pictures of changes that i have made 🔽

  BEFORE

AFTER

The name must be visible below the icon.
It must only be removed from the paper component.

Oh ok I will fix this

Correct!. Now make sure if this PR is being shown in your hacktoberfest profile, so that I can add hacktoberfest-accepted tag

Is this what you are talking about? This is literally my first contribution to open source :) This is the PR that it is linkinng to

Great! Accepting

Is this what you are talking about? This is literally my first contribution to open source :) This is the PR that it is linkinng to

Yes it is being shown, now after I accept the PR it would Waiting 7 Days.
Great Job ⭐ on your first contribution.


Chrome supports calc() in image-set

Chromium now passes all tests, making all browsers fully spec-compliant 🥳
This change is likely to land in Chrome 114, but I will be testing this when 114 beta->stable lands, just in case they choose to delay the implementation.

v114: 130/130 - https://wpt.fyi/results/css/css-images/image-set/image-set-parsing.html?label=master&label=experimental&product=chrome-114.0.5735.6 dev&aligned
v113: 116/130 - https://wpt.fyi/results/css/css-images/image-set/image-set-parsing.html?label=master&label=beta&product=chrome-113.0.5672.53 beta&aligned
v112: 40/130 - https://wpt.fyi/results/css/css-images/image-set/image-set-parsing.html?label=master&label=stable&product=chrome-112.0.5615.165&aligned

Thanks!


Debug hover does not use AST

This is a current limitation of the debug hover that it does not have a full language understanding and due to that tries to find the hovered expression in the variables view. If the hovered expression is not present in the variables view or has duplicates the hover will not show anything.
To improve this the debug hover would need to have an AST understanding of the language which is a feature request and not yet on the plan.
An alternative is that a debug adapter extension can choose to evaluate expressions on hover but this has the downside of potentially mutating the state of the program without the user being aware. Currently node debug is not doing this.

Even just providing the source location info (as in #36000) would be incredibly helpful. The language I'm supporting uses word rules that don't fit vscode's regex (containing -, ?, ., ,), so I can't get much use out of debug hover as it is, but I could easily reuse the code I've written for other editor features to locate the expression surrounding the cursor.

We could potentially add source location to the evalaute hover request.
fyi @weinand

I am working with a language that has a postfix operator on identifiers to determine type, e.g.
string$
currently the hover in the debugger fails to return these.
source location would be great, or a simple hover provider that lets me do the work of parsing. I'm already doing the work for the normal IHoverProvider for the language anyway, doing it for the debugger is not much extra.

Another adjust might be to allow the user to select text, and pass that in the hover. Visual Studio used to allow you to select part of an expression and use that for the lookup...

/duplicate #89084


patch: security patch

🥇 Generic Pull Request 🥇
Elizabeth Consulting International Inc
Purpose & Objective

[ ] This PR satisfies the PR checklist.

Addressed in #9

Addressed in #9


Bundled schema and $id

It seems that when bundling a schema $id attributes aren't considered which makes the output incompatible with other JSON Schema tools, for example:
a.json:
{
  "$id": "https://schema.example.com/a.json",
  "b": {
    "$ref": "b.json"
  }
}

b.json:
{
  "$id": "https://schema.example.com/b.json",
  "properties": {
    "bar": {
      "$ref": "#/definitions/thing"
    }
  },
  "definitions": {
    "thing": {
      "type": "string"
    }
  }
}

Some code:
const RefParse = require('json-schema-ref-parser');

RefParse.bundle('a.json')
  .then(s => {
    console.log(JSON.stringify(s, null, 2));
  });

Outputs:
{
  "$id": "https://schema.example.com/a.json",
  "b": {
    "$id": "https://schema.example.com/b.json",
    "properties": {
      "bar": {
        "$ref": "#/b/definitions/thing"
      }
    },
    "definitions": {
      "thing": {
        "type": "string"
      }
    }
  }
}

The issue is that in JSON Schema b.properties.bar.$ref is resolved against the nested b.$id giving https://schema.example.com/b.json#/b/definitions/bar which doesn't actually exist.
This breaks other tools, like trying to use the bundled schema in Ajv.
I saw the comment on #22 that the aims of this library do not include supporting JSON Schema and the $id keyword, but it's confusing as the first line of the README says: "Parse, Resolve, and Dereference JSON Schema $ref pointers" 😄  Latest JSON Schema has it's own definition of $ref and no longer uses the expired JSON Reference spec 😮
Any chance of an option to consider $id when bundling?

Hi @paulwib - Thanks for opening this issue.  As you pointed out, I've said before that this library is an implementation of the JSON Reference specification and the JSON Pointer specification, not the JSON Schema specification. Thus, the id keyword isn't supported, because that's not part of JSON Reference or JSON Pointer.
That said... the name of this library is (perhaps inappropriately) json-schema-ref-parser, so it's easy to see why many people have been confused by its lack of support for the JSON Schema spec.  So, yeah, I will probably end up adding support for id and $id at some point, to eliminate the confusion and because multiple people have now requested it.
No promises on timeframe though.  I have lots of other obligations competing for my time and attention, and this change is likely to be pretty complicated and require a lot of thought and thorough testing.

Linking #22 and #95 here, for future reference

Also related to #145.

Also related to #145.

Let's leave #145 to handle this topic.


Monitor Documentation Update - Make it Easier to Understand

While learning how to interact with monitor configuration, I encountered many posts of people also confused about this section of documentation.
I suggest making it more clear regarding the calculations that are actually happening in docs, it is very ambiguous right now, especially if one assumes multiplication and not division is used for scaling operation. It was a good learning point to understand logical pixels, but it is not clear in docs.
Some potential calculation examples (apologies if mistakes, just a starting point)
Centering a Display Above another display:
-ve y
^
|
|_  _  > +ve x

# bottom display
monitor = eDP-1, 2560x1440@60, 0x0, 2

# centered top display (with various scale and resolution options (-ve is up on y and left on x axis)
# (displayAx-axis/displayAscale - displaybx-axis/displayBscale)/2  "x"  -(displayby-axis/DisplayBscale) = (2560/2-3850/1.25)/2 x -2160/1.25
monitor = HDMI-A-1, 3840x2160@30, -900x-1728, 1.25
# monitor = HDMI-A-1, 3840x2160@30, -320x-1080, 2 # (2560/2-3840/2)/2 x -2160/2
# monitor = HDMI-A-1, 2560x1440@60, -640x-1440, 1 # (2560/2-2560/1)/2 x -1440/1

Moral is have a few example with varying resolutions, scales, and positions and hopefully diagrams so it is easier to determine what is being done. The language and examples right now are rough to understand.

For simple usecases of "I want my monitor up/down/left/right" there already exists the simpler auto-{up/down/left/right}. But it's not very visible in the wiki.
But we can also include examples such as yours to clarify things.

I noticed the auto options, and even tried them. They are wonderful, but they do not work well for those with varying size monitors where one may want to be more explicit about where a mouse transition across displays occurs (which is why I was playing with centering).
I as also shown wdisplays which may also be nice to mention in wiki if it has not been. I don't recall seeing it, but it could be somewhere.

I think a few diagrams here would be really powerful, especially since they can be language agnostic.

We could probably integrate Mermaid.

I was also shown wdisplays which may also be nice to mention in wiki if it has not been. I don't recall seeing it, but it could be somewhere.

It isn't mentioned currently, but it could be mentioned in Useful Utilities/Other, along with kanshi, shikane, wlr-randr, nwg-displays.

Cool, I am new to the tiling and wayland world, will need to look into those too!
I like Mermaid as well, but there are also a few other options now too like d2: https://d2lang.com/.
In Rust there is a project called aquamarine that makes it easier to integrate mermaid diagrams into Rustdocs - I don't know much about C++ world, but maybe there is something similar.

Our wiki uses hugo, and mermaid is pretty easy to integrate, that's why I mentioned it. Also, the wiki is not generated from doxygen or the like.
D2 looks nice, I'll look into what we can do.


fixed the variational notebook

@karlnapf
From now on, I will focus on re-factoring the optimization framework.
For GP, the next new features will be structured GP from Andrew's works. I am waiting for his KISS-GP code.

@yorkerlin before jumping in alone, could we have like a design session (irc,gdocs, gist) where we can agree on the optimization framework refactoring?

yes. Maybe Monday after the GSOC meeting?
Some ideas:

using variadic templates
add parallel coordinate descent solver from https://github.com/uclaopt/TMAC

my pain points:

kkt solver
use the linalg backend so we can use various linalg backends.
maybe instead of directly addign TMAC (looks great) work on a more general design?

I merge this PR.


Avast antivirus blocked execution

Avast claimed that the SyncThing has a virus inside and quarantined the app.
Now the app show this error:
Version: <IP_ADDRESS>; Variant: Installed; Arch: X86
Path: C:\Program Files (x86)\SyncTrayzor\SyncTrayzor.exe
System.UnauthorizedAccessException: Access is denied.
at Pri.LongPath.File.Copy(String sourcePath, String destinationPath, Boolean overwrite)
at SyncTrayzor.Services.FilesystemProvider.Copy(String from, String to)
at SyncTrayzor.Services.Config.ConfigurationProvider.Initialize(Configuration defaultConfiguration)
at SyncTrayzor.Bootstrapper.Configure()
at Stylet.BootstrapperBase.Start(String[] args)
at Stylet.BootstrapperBase.b__9_0(Object o, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

There's not a lot I can do about your AV I'm afraid. Tell it to restore the things it deleted. If you can't, you might have to run the installer again.

It says has Win32.Magic.WooDoo-C inside.

Not a lot I can do about that: AVs randomly decide that various bits of SyncTrayzor have something wrong with them (it's normally the embedded browser). This version had been out for months.
You'll have to tell it to live with SyncTrayzor.

OK. Thanks!


Incompatibility with Ember 2.7.0 due to relative paths

Since Ember deprecated the baseURL option and removed the <base> tag entirely (http://emberjs.com/blog/2016/04/28/baseURL.html) this addon stopped working for me.
I tested that this is an issue by

create a new Ember 2.7.0 app
ember install ember-intl
enable the polyfill autoPolyfill: true, in config/ember-intl.js
start up the app
create a route that's at least two slashes deep (i.e. /name/:id)
navigate to that route and observe that the asset files are referenced without a leading slash leading the browser to attempt to retrieve them from something like http://localhost:4200/name/:id/assets/intl/intl.min.js.

I was able to work around this issue by overriding app.intl in ember-cli-build.js but I only guessed to do this after reading the source code and seeing that the plugin looks for this value then reading documentation about creating ember-cli addons and where things like their included gets its arguments. I suggest that the documentation be improved to mention this option on this page https://github.com/jasonmit/ember-intl/wiki/Intl.js-Polyfill and that the page be updated to not display relative paths by default once this is fixed.

2.13.1, thanks


⚠ 366.ru has degraded performance

In 3bf3fe9, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1830 ms

Resolved: 366.ru performance has improved in 57dea76.