npm update

Hello, the version on NPM doesn't work for me.
However, your git master has been working fine.
Could you make a new release on NPM?
Thanks!

Most changes after latest release are just dependency version update - what doesn't work exactly?

Only issue was that dependencies were outdated, npm didn't want to install my app.

Actually you're right.
It was a security issue in one of your dependencies that prompted me to use your master where this dependency was updated to mitigate the security issue. Specifically, your package depended on pacote 6, which unless updated to 7 depended on a insecure version of ssri :

sounds fair. publihsed 0.0.3.


Can't reference JSON data using a variable

Hi, I've been pulling my head apart trying to find a way to access JSON data within a helper, such {{#each}} by using a variable as a reference.
Example:
JSON
{   "lang" : "en",   "story": {     "en" : {         "intro": "Before the jump",         "body": "After the jump"     },     "fr" : {         "intro": "Before le jump",         "body": "After le jump"     }   } }
TEMPLATE
{{#each story[lang]}} ... {{/each}}
I'm working on a multi-lingual site, and we're experimenting being able to have a single JSON and Handlebars template for each of our pages, then when compiled – output an HTML file for each language.
Pretty much, we would itterate over each of our supported languages when compiling and pass the "lang" variable accordingly for each one (lang: fr, lang: de, and so on...)
I've played around with different syntax but it seems like this method of referencing isn't supported... Am I wrong?
Just let me know if you need more info!
Cheers,
Will

Use lookup to handle this. Example:
Template:
{{#each (lookup . foo)}}{{.}}!{{/each}}

Data:
{
  foo: 'a',
  a: [1, 3, 5],
  b: [2, 4, 6],
  c: [1, 2, 3]
}

Output:
1!3!5!

Other reference: Handlebars: Built-in helper - lookup

Thanks for the great answer, @zordius. Closing this. Please reopen if the suggested solution doesn't meet your needs.


added vedant.json

I have added mine part

When it will be merged?

When it will be merged?

It depends on the project maintainer


How to extract structures and relevant properties after recon, gen and opt tasks?

Could you please explain how to extract data from the outputs of recon, gen and opt tasks? @txie-93
How will we control the number of generated structures? example: If someone wants to generate 100 structures

Hello, did you figure it out?

Could you please explain how to extract data from the outputs of recon, gen and opt tasks? @txie-93

How will we control the number of generated structures? example: If someone wants to generate 100 structures

Could you find a solution for it?

I found an alternative way to extract the generated structures. You can load the files as torch tensors. Then you can extract the related tensors like cell parameters, fractional coordinates etc and  then using ASE you can create your generated structure using the extracted tensors or the informations. @SourinDeyUW

I found an alternative way to extract the generated structures. You can load the files as torch tensors. Then you can extract the related tensors like cell parameters, fractional coordinates etc and then using ASE you can create your generated structure using the extracted tensors or the informations. @SourinDeyUW @yqq2022

Thanks for your response. I have tried.
Could you tell me about how good the reconstructed structures were? Did you have to tune hyperparameters yourself?
I simply ran their code and reconstructed to match with ground truth, resulting cifs look very different. I tried for mp-20 data.

2. How will we control the number of generated structures? example: If someone wants to generate 100 structures

Dear chiku-parida,
Can you solve this problem? When I running cdvae, I only can get 11 structures. However, sometimes I can get 1100 structures.  @chiku-parida

@JHWang1001 Hii... Are you able to solve the issue? Sorry for late reply. The generation part is working fine for me. I don't understand how it is just generating random samples irrespective of the user input. Can you provide some more details or generation inputs?

Sorry, I can't solve this issue yet.
When I use task gen, I can find up to 50,000 structures from the tensor! But when I use task opt, this amount seems to depend on the training data. The pervo provided by the author generated 345 structures, while the training set I built myself generated only 11 structures. I still don't seem to understand what is the difference between the gen and opt parameters?
If you want to specify how many structures to output (such as cdvae generates 10,000 structures and you want to produce 50 structures) you can write a loop that extracts just 50 structures. Do you need the code?@chiku-parida
Best wishes
Jiahui Wang

@JHWang1001
The opt task is a part of supervised learning in CDVAE for conditional generation. Somehow I didn't understand the last part you mentioned about the loop that extracts structures. Can you please elaborate? I will look into it again, though I am not using the CDVAE now.

@JHWang1001 The opt task is a part of supervised learning in CDVAE for conditional generation. Somehow I didn't understand the last part you mentioned about the loop that extracts structures. Can you please elaborate? I will look into it again, though I am not using the CDVAE now.

Here is my code for generating structures.
`import numpy as np
import torch
file_path = './eval_opt.pt'
data = torch.load('./eval_opt.pt',map_location='cpu')
data_dict = {}
for key in data.keys():
data_dict[key] = np.array(data[key])
print(data_dict)
for key, value in data_dict.items():
array_size = value.shape
print(f"{key}: {array_size}")
import os
from tqdm import tqdm
from pymatgen.core.structure import Structure
from pymatgen.core.lattice import Lattice
from pymatgen.io.cif import CifWriter
save_dir = ''
os.makedirs(save_dir, exist_ok=True)
start=0
for i in tqdm(range(11)):
end=start+data_dict['num_atoms'][0][i]
frac_coords = data_dict['frac_coords'][0][start:end]
atom_types = data_dict['atom_types'][0][start:end]
a, b, c = data_dict['lengths'][0][i]
alpha, beta, gamma = data_dict['angles'][0][i]
lattice = Lattice.from_parameters(a, b, c, alpha, beta, gamma)

structure = Structure(lattice, species=atom_types, coords=frac_coords, coords_are_cartesian=False)

start=end
mol_name = f"{i}_{structure.formula.replace(' ', '')}"
cif_file_path = f"{save_dir}/{mol_name}.cif"
structure.to(filename=cif_file_path, fmt='cif')`

First code you can get M (number of materials) in eval_recon.pt, eval_gen.pt, eval_opt.pt are pytorch pickles files containing multiple tensors that describes the structures of M materials batched together. Each material can have different number of atoms, and we assume there are in total N atoms. num_evals denote the number of Langevin dynamics we perform for each material.
for i in tqdm(range(11)): in second code can control the number of outputs structures (this number has to be less than or equal to M)
My problem is also here, as you said, we can't control how many structures will be generated, especially task opt, because the number is often not fixed, can only output structures less than or equal to M, but the total number is uncontrollable. And task
gen produces a huge amount of structure.


Added Issue Templates.

Fixes Add Issue Templates #2

Please make the necessary changes.

Please make the necessary changes.

Commited the suggested changes.

Thank you for your contribution. 😃


Add "find all reassignments/mutations" feature

"find all references" is good, but I only care about reassignments/mutations to a property sometimes.

closing as dupe of #74237

For C/C++ we're tracking this with https://github.com/microsoft/vscode-cpptools/issues/4043 .
It's not really a "type" of reference, but an additional property/column that only applies to variable references, so I don't think https://github.com/microsoft/vscode/issues/74237 is really the same issue, i.e. in VS, the "type" and Read/Write are separate.


Post release automated changes for openai releases

Post release automated changes for azure-openai-assistants

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


Multiple servers

Hi I have multiple server which have different IPs and ports.
I would like to connect to all of them from the same angular client.
Is that possible?

Please see #9 .

Hi, this is not the same.
I have multiple connections on different servers not the same server as in that post.

+1

Maybe you can help me with a related issue:
I need to connect to one host. If it fails (with unreachable), I want to open another connection to another host. Problems are that I have to

open a second connection
don't know the IP of the second connection on startup time, because the user has to select one of many.

Is this possible with the current $wamp implementation?
Thank you!

Multiple connections is now supported in v0.2.1


Migrate defaultLanguage(for:) and filesDependenciesUpdated to BSP and use InitializeRequest from BSP to communicate static options

@swift-ci Please test


https://jira.hyperledger.org/login.jsp

Sorry, your username and password are incorrect - please try again.

cannot login?

i meet the same problem.

Same too!

@CocoaWang @xiejunan you need an LF ID to login. https://identity.linuxfoundation.org


MDagPath: remove irrelevant isinstance check in tests.

This should make the tests run on python 2, I've simply removed the isinstance check against str as it wasn't really relevant.

One note actually: I've noticed that some tests used six and failed on my end on anything prior to 2022 (six is included in 2022 for both python 2 and 3)
This seems to work fine on the CI but I don't see where six is installed. Unless I'm missing something, I feel like six is only available because it gets installed by another library.
Might be good to explicitly install it.

Looks like six is coming from sphinx. I'll add that to master post merge.


[WIP] compute next version from ../dmd/VERSION

allows to build changelog preview during beta

As the changelog folders are currently only purged when the release is out, the changelog preview on master will contain stuff that's going to be released earlier.
To fix that, we'd want to update the changed.d tool to support incremental updates so that we can purge changelogs right away, see https://trello.com/c/Lu1mDNYO/336-rework-changelog-generation-at-dlangorg?menu=filter&filter=@dawg.

Think, we should do this with proper targets and dependencies, instead of unconditional execution.
It's really annoying that the clean target clones repos.

(rebased to merge, merge-conflicts were trivial and only in changelog/index.dd)

Okay as I want to see this moving forward, I used the core bit of this PR and put it into another PR (https://github.com/dlang/dlang.org/pull/1944/), which should be a lot easier to merge. Afterward, moving forward with this PR, should become easier as well.


handle binding patterns correctly when getting script lexical structure

Fixes #1791

Vlad, this looks too simple to work.
:+1:

:+1:

:+1:


Add emergetools integration for fastlane

Description
This PR adds https://www.emergetools.com/ to our CI pipeline.
It tracks our app size over time and gives interesting insight.
Allowing us to improve/optimize it.
For now it uploads the nightly and production builds.
Next: there's also a GitHub integration which gives this information for each PR.
Results
See the screenshots for some pretty interesting results.
We have one low hanging fruit: stripping symbols on iOS would reduce the app size by ~20%.
Also the light client is taking a non negligible part, ~25% on both iOS and Android.
Also see how the app size is calculated and understand why it looks very different between iOS and Android: https://docs.emergetools.com/docs/what-is-app-size
iOS

Android

Tested
Tested on a nightly workflow triggered manually: https://github.com/valora-inc/release-automation/actions/runs/1991901261
How others should test
N/A
Related issues

Discussed on Slack

Backwards compatibility
Yes

This is super cool, I love all these new tools that we are adding to help us understand the app better!! 🚀 can everybody be added to the emergetools dashboard to see the results?

Yep I've asked them to enable SSO for our account, hopefully should happen soon!


Docs for keystone.prepare should mention it returns a promise

The docs for keystone.prepare don't mention it returns a promise. You need to look at the Custom Server page for that. It's also not immediately clear on that page that middlewares is the returned object property name, not an arbitrarily chosen variable name.

Great catch!
If you're able, it'd be great to see a PR which updates these docs. The easiest way is to click the "Edit" button at the bottom of the specific page on v5.keystonejs.com 👍


Add a --random flag to render any random page

Basic random page rendering.
 Feel free to reject it is not acceptable.
Thanks!

Thanks, but this is pretty easily achievable using tldr --list and other tools.
Try tldr --list-all | shuf -n1 | xargs tldr.
I'll wait for some other maintainers, but I honestly think things like that are better handled using shell pipelines and other commands.

I don't see why its a problem to implement this here so long as it isn't incompatible with the client spec.
Different clients having special features isn't a problem I don't think.
I do also see @acuteenvy's point here. In this particular case you can do this with an external shell script. The question is whether there would be a benefit to integrate the feature into the main client vs asking people to rely on shell scripts. There's a fine balance to be had here.
What use-cases to you see for --random, @mycroft?

Thanks for the feedback.
I've the feeling this PR is meeting some resistance, even by rustfmt or clippy, for this feature which, as everyone will agree, is not going to revolutionize the way this tool work.
Therefore I'll close it. Thanks for your attention and happy new year nevertheless!


⚠ Fortnite has degraded performance

In 223d0b7, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1621 ms

Resolved: Fortnite performance has improved in 4aef472.


Missing Implementation of tanh in __create_model_from_tf2

I'm trying to take a sequential model through the Vitis AI quantizer and compiler. One of the layers in my model uses tanh as an activation function.
In the implementation for creating an xmodel from a TensorFlow2 model (located in /opt/vitis_ai/conda/envs/vitis-ai-tensorflow2/lib/python3.7/site-packages/xnnc/translator/tensorflow_translator.py in the container that I'm using), there is missing support for the tanh activation function in the __create_model_from_tf2 member function of class TFTranslator.
In the if/elif/else statements that check for op_types, there is support for other activation functions like relu
elif op_type in ["relu", "ReLU"]:
...
    xnode = XModelNodeRelu(wrapper_name)
...

and sigmoid:
elif op_type in ["sigmoid", "Sigmoid"]:
...
    xnode = XModelNodeSigmoid(wrapper_name)
...

but for some reason, tanh is not there.  Can someone add the implementation for this?
Thanks!

Hey @cabreraam I have the same problem.
Do you know if there is a solution or a workaround right now.
I am also searching how I can implement a TF2 model with 'tanh' activation function?
Thanks!

Hi @konegen
I found out that, unfortunately, tanh is not supported in the Tensorflow flow of Vitis-AI 2.5. I was directed to try the Custom OP workflow, but I never tried doing that. Instead, I changed my activation function just to get something running (which is not ideal but it's what I did to make forward progress). Hopefully this is helpful!

Hi @cabreraam and @konegen ,
Currently the compiler does not support tanh. Even if tanh is supported through the Custom Op Workflow, ultimately tanh will still be deployed to the CPU.

Hi @cabreraam and @konegen ,
This issue is open for a long time, we will close it , if you still have some problem about this issue, you can reopen it, Thank you.


Desktop version for portfolio project

I just completed the desktop version for my portfolio and I added the following :

Added markup file (HTML)
Added a stylesheet file (CSS)
Added a gitignore file
SetUp  HTML, CSS linters
Added a descriptive Readme file

Thank you


Issue19 user defined stat functions

closes #19 if merged

@FWuellhorst thanks, I revised the docstring of the user function example in the optimization example. now it reflects the right measures I guess


Docker logging deamon using too much memory, 1.11.2

Hi,
I am using Dokku and running a single app, but looks like a docker deamon is using too much memory and I can't create any more containers :
Here is the output of htop

I think the daemons at the bottom are what's causing the issue.
Any help is appreciated.
Thanks

Hello @Hamada92 thanks for your report.  Can you provide more info in order to make easier for us to replicate?

Can you copy paste output of docker version command
Can you copy paste output of docker info
Where are you running the daemon? CPU, Memory are good info in this case

In this way, we can also know how many containers are you running when you get this issue.
Thanks

Hi @gianarb , sure thing :

docker version :

[Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:47:50 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:47:50 2016
 OS/Arch:      linux/amd64](url)

docker info :

Containers: 23
 Running: 12
 Paused: 0
 Stopped: 11
Images: 27
Server Version: 1.11.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 102
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 3.13.0-85-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 994 MiB
Name: dokku-1gb-tor1-01
ID: NSAJ:BUNI:DNM7:25WK:VOQD:NJ6I:BFTB:GXDD:3N2Z:72OC:VVQP:KWGF
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/

also the fact that 23 containers, 12 of them are running is worrying, I only have one app that has 2 instances only, is that normal with Dokku?

From what I can see, docker is using 2.4% of your memory, 2.7 if you include containerd.
Best to hide userland threads (which is all shared memory) when looking at htop.
What sort of error are you getting when you try to start a container?

The problem was due to too many running containers, thanks for the help. closing.


Extension issue

Issue Type: Bug
Extension Name: python
Extension Version: 2021.6.944021595
OS Version: Windows_NT x64 10.0.19042
VS Code version: 1.57.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Thanks for the bug report, but unfortunately we need some more information from you in order to triage this issue appropriately. Please edit your opening comment by providing a filled-in copy of our issue template. Once you are done please leave a comment to that effect.

python extension is not loading after installation. but the same code is working on other IDE

We still need you to fill our issue template as asked in the earlier comment.


Metaclass conflict with Keras 2.3.0

Using HyperparameterHunter with the recently released Keras version 2.3.0 raises metaclass conflict error, breaking Keras compatibility
TEMPORARY WORKAROUND: Use Keras 2.2.5

Error Traceback

From executing examples/keras_examples/experiment_example.py

Traceback (most recent call last):
  File "keras_examples/experiment_example.py", line 1, in <module>
    from hyperparameter_hunter import Environment, CVExperiment
  File "/Users/Hunter/hyperparameter_hunter/hyperparameter_hunter/__init__.py", line 29, in <module>
    from .environment import Environment
  File "/Users/Hunter/hyperparameter_hunter/hyperparameter_hunter/environment.py", line 27, in <module>
    from hyperparameter_hunter.keys.makers import CrossExperimentKeyMaker
  File "/Users/Hunter/hyperparameter_hunter/hyperparameter_hunter/keys/makers.py", line 28, in <module>
    from hyperparameter_hunter.library_helpers.keras_optimization_helper import initialize_dummy_model
  File "/Users/Hunter/hyperparameter_hunter/hyperparameter_hunter/library_helpers/keras_optimization_helper.py", line 52, in <module>
    from keras.callbacks import Callback as base_keras_callback
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/__init__.py", line 3, in <module>
    from . import utils
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/utils/__init__.py", line 26, in <module>
    from .vis_utils import model_to_dot
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/utils/vis_utils.py", line 7, in <module>
    from ..models import Model
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/models.py", line 10, in <module>
    from .engine.input_layer import Input
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/engine/__init__.py", line 8, in <module>
    from .training import Model
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/engine/training.py", line 14, in <module>
    from . import training_utils
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/engine/training_utils.py", line 17, in <module>
    from .. import metrics as metrics_module
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/keras/metrics.py", line 34, in <module>
    class Metric(Layer):
  File "/Users/Hunter/hyperparameter_hunter/env/lib/python3.7/site-packages/six.py", line 849, in wrapper
    return metaclass(cls.__name__, cls.__bases__, orig_vars)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/abc.py", line 126, in __new__
    cls = super().__new__(mcls, name, bases, namespace, **kwargs)
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Bug Hunt Notes

Updating tracers.ArgumentTracer to descend from ABCMeta does resolve the metaclass conflict, but leads to different errors regarding the usage of __deepcopy__ in TensorFlow:

NotImplementedError: __deepcopy__() is only available when eager execution is enabled.

Further changes to the Keras API cause some unrelated tests to fail
Noteworthy changes in Keras 2.3.0 that will require HH fixes:

Introduced class-based losses
Introduced class-based metrics
Renamed lr to learning_rate for all optimizers
Deprecated decay argument for all optimizers
Changed how metric names are reported to use the exact string given by the user ("acc" vs. "accuracy")

Subclassing ArgumentTracer(abc.ABCMeta) in hyperparameter_hunter.tracers.py, then applying the following fixes yields the error shown toward bottom -- also shown output for print(self.name) inserted right above the breaking code.

# keras_helper.py
# AttributeError: 'LossFunctionWrapper' object has no attribute '__name__'
try:
    compile_params["loss_function_names"] = [_.__name__ for _ in compile_params["loss_functions"]]
except:
    compile_params["loss_function_names"] = [_.name for _ in compile_params["loss_functions"]]

# AttributeError: 'Sequential' object has no attribute 'weighted_metrics'
try:
    compile_params["weighted_metrics"] = get_keras_attr(model, "weighted_metrics")
except:
    print('WARNING: could not fetch "weighted_metrics" attribute"; skipping...')

Full error trace:
total:0 # print(self.name) outputs
count:0
UnreadVariable

Traceback (most recent call last):

  File "<ipython-input-1-1226ec5313a7>", line 56, in <module>
    execute()
  File "<ipython-input-1-1226ec5313a7>", line 49, in execute
    shuffle=True,
  File "C:\hyperparameter_hunter\hyperparameter_hunter\experiment_core.py", line 165, in __call__
    return super().__call__(*args, **kwargs)
  File "C:\hyperparameter_hunter\hyperparameter_hunter\experiments.py", line 749, in __init__
    target_metric=target_metric,
  File "C:\hyperparameter_hunter\hyperparameter_hunter\experiments.py", line 595, in __init__
    target_metric=target_metric,
  File "C:\hyperparameter_hunter\hyperparameter_hunter\experiments.py", line 302, in __init__
    self.preparation_workflow()
  File "C:\hyperparameter_hunter\hyperparameter_hunter\experiments.py", line 354, in preparation_workflow
    self._generate_hyperparameter_key()
  File "C:\hyperparameter_hunter\hyperparameter_hunter\experiments.py", line 450, in _generate_hyperparameter_key
    self.hyperparameter_key = HyperparameterKeyMaker(parameters, self.cross_experiment_key)
  File "C:\hyperparameter_hunter\hyperparameter_hunter\keys\makers.py", line 367, in __init__
    KeyMaker.__init__(self, parameters, **kwargs)
  File "C:\hyperparameter_hunter\hyperparameter_hunter\keys\makers.py", line 90, in __init__
    self.parameters = deepcopy(parameters)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 215, in _deepcopy_list
    append(deepcopy(a, memo))
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 180, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 280, in _reconstruct
    state = deepcopy(state, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 240, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 150, in deepcopy
    y = copier(x, memo)
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 215, in _deepcopy_list
    append(deepcopy(a, memo))
  File "D:\Anaconda\envs\test_hh\lib\copy.py", line 161, in deepcopy
    y = copier(memo)
  File "D:\Anaconda\envs\test_hh\lib\site-packages\tensorflow_core\python\ops\resource_variable_ops.py", line 464, in __deepcopy__
    name=self._shared_name + "_copy",
  File "D:\Anaconda\envs\test_hh\lib\site-packages\tensorflow_core\python\ops\variables.py", line 1155, in _shared_name
    return self.name[:self.name.index(":")]

ValueError: substring not found


How do I use it?

First of all thank you for the mods, but i'm really sorry, I'm not a tech savvy user. how do I use them on windows? Where should I put the .jar files

Hey, sorry for the prolonged silence, that's none of your fault that you couldn't launch this on Windows, in fact, this whole project is mostly work in progress, I still haven't figured out a lot of stuff , launching mods on Windows included. I thought I'd quickly make a script for that and that's it, but since I haven't done anything for Windows in quite a while I forgot that doing something quickly isn't about Windows. The launching will be somewhat arcane because of all the decisions i made but the script will be there sometime in the near future.

I see, thank you! I also found some other code-mods from this repo: https://github.com/spiralstudio/mods , they are working fine with a knightlauncher fork version that support code-mods. For some reason your mods don't work with it. Will be waiting for your future progress!

Hey there, I've modified mods to compile for JRE 1.6 and as a result they should now work fine with JVM that Spiral Knights is shipped with for Windows and perhaps even with launcher from yihleego's fork. I've also added a python script that launches Spiral Knights with mods, check readme for details.


fix build with OpenSSL1.1.1+ on Windows

Fixes https://github.com/grpc/grpc/issues/21293
Also see https://github.com/grpc/grpc/issues/19483

@jtattermusch FYI 1.27 branch cut is planned for tomorrow

Known failures:
https://github.com/grpc/grpc/issues/21626


How custom the class .gmainleft

I need custom the width of the chart, in  FULL DOCUMENTATION of jsgantt-improved said that in css i can edit the class .gmainleft, but when i try to edit the width it not change.

DId u try to use !important tag?

Yes, i try big it doesn't work

Could you please provide a link stackblitz or some other place where we can investigate together?


Support image in experimental Leadspace with search

Hi.
We would like the experimental Leadspace with search component to also support background image.
This is the Leadspace with Search component:
https://ibmdotcom-react-experimental.mybluemix.net/?path=/story/components-leadspacewithsearch--default
we would like to have a possibility of passing in background image, just like here:
https://ibmdotcom-react.mybluemix.net/?path=/story/components-leadspace--default-with-image
Thank you

This work should be considered in the Lead space investigation.


Update program when changes take place on back end

Goal: Make ConClár load program changes during convention, if internet connection available.
Steps to achieve this:

[x] 1. Refactor App component from class to function component. Not essential, but will simplify context handling below.
[ ] 2. Move Program and People from state to Context. This will allow them to be shared across components without having to be passed as props.
[ ] 3. Add react-hooks-timer to project, and add timer component called periodically.
[ ] 4. Add config.json setting to set interval.
[ ] 5. On timer, attempt to fetch data, and if successful update Program and People in context. Use navigator.online to detect if internet connection available.
[ ] 6. Possibly compare data to active data, and only update context if changed, to avoid unnecessary update to screen.
[ ] 7. Future enhancement: flag changed program items in user interface.

Logging an issue, partly so the plan is clear in my head.

As of task 1, I get a error on the console and a blank page when navigating directly to http://localhost:3000/myschedule.  I happen to have some schedule items selected.  I can get to them with the internal nav.

Any details on the error you get?

ProgramList.js:14 Uncaught TypeError: Cannot read properties of null (reading 'length')
    at ProgramList (ProgramList.js:14:1)
    at renderWithHooks (react-dom.development.js:14985:1)
    at mountIndeterminateComponent (react-dom.development.js:17811:1)
    at beginWork (react-dom.development.js:19049:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
    at invokeGuardedCallback (react-dom.development.js:4056:1)
    at beginWork$1 (react-dom.development.js:23964:1)
    at performUnitOfWork (react-dom.development.js:22776:1)
    at workLoopSync (react-dom.development.js:22707:1)
ProgramList @ ProgramList.js:14
renderWithHooks @ react-dom.development.js:14985
mountIndeterminateComponent @ react-dom.development.js:17811
beginWork @ react-dom.development.js:19049
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
beginWork$1 @ react-dom.development.js:23964
performUnitOfWork @ react-dom.development.js:22776
workLoopSync @ react-dom.development.js:22707
renderRootSync @ react-dom.development.js:22670
performSyncWorkOnRoot @ react-dom.development.js:22293
(anonymous) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
flushSyncCallbackQueue @ react-dom.development.js:11309
scheduleUpdateOnFiber @ react-dom.development.js:21893
dispatchAction @ react-dom.development.js:16139
processData @ App.js:187
(anonymous) @ App.js:204
Promise.then (async)
(anonymous) @ App.js:200
invokePassiveEffectCreate @ react-dom.development.js:23487
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
flushPassiveEffectsImpl @ react-dom.development.js:23574
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushPassiveEffects @ react-dom.development.js:23447
(anonymous) @ react-dom.development.js:23324
workLoop @ scheduler.development.js:417
flushWork @ scheduler.development.js:390
performWorkUntilDeadline @ scheduler.development.js:157
react-dom.development.js:20085 The above error occurred in the <ProgramList> component:

    at ProgramList (http://localhost:3000/static/js/bundle.js:2426:5)
    at Outlet (http://localhost:3000/static/js/bundle.js:44614:26)
    at Routes (http://localhost:3000/static/js/bundle.js:44706:5)
    at div
    at ScrollToTop (http://localhost:3000/static/js/bundle.js:2591:77)
    at Router (http://localhost:3000/static/js/bundle.js:44639:15)
    at BrowserRouter (http://localhost:3000/static/js/bundle.js:44119:5)
    at App (http://localhost:3000/static/js/bundle.js:62:74)

Consider adding an error boundary to your tree to customize error handling behavior.
 Hopefully the latest pull request will fix it.

That seems to have fixed it.  So should selections not be chock full of null?
localStorage.selections
'[null,true,null,null,null,false,null,true,false,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,true,null,null,null,null,null,null,true,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,true,null,null,null,null,null,null,null,null,null,null,null,true,null,null,null,null,null,null,null,null,null,null,null,null,true,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,true]'

It's not really a problem, but I might change it to an associative array, which should stop elements that haven't been explicitly set from being stored. The nulls are elements that haven't been set to true or false.

Why not just the selected IDs?

That's a very sensible way to do it. :-)

Okay, so merged pull request #44, which is a huge change.
Not much has changed in the display, but a lot has changed behind the scenes.
The major change is it uses Easy Peasy, which is a layer on top of Redux, for state management. I was looking at using the built in Context, but this wasn't workable as when context changes, it updates the entire display (which would be fine for occasional updates like refreshing the program, but not workable for things like selecting program items).
This means that a lot few properties are passed between components, and leaves me ready to move on to the actual task of making it load program changes.
I've also changed how program selections are stored. First, it now just stores an array of the selected IDs. I've also added an "APP_ID" property, which is used when storing the selection. This will be useful for multi-year events. It doesn't really matter what it's set to, but it should change for each year's event, otherwise, if the previous year's selection is still in local storage, it will cause this year's items with matching ideas to be set.
Finally, I've added "Expand All" and "Collapse All" buttons. These could really do with styling. Not sure if buttons are the best control to use. I'd be happy to change to links or something else if it would make styling easier.

Does "APP_ID" have to be an integer?

No, it can be any string. I've used "O2021" for last year's Octocon. It's only purpose (for now at least) is to prevent items with the same IDs as the previous year from being selected if you still have them in your local storage.

Ah, I thought it was 02021...

Yes, easy mistake to make.
On my to-do list is create a set of fictional sample programme data.
The key isn't very important in itself, it's just there to differentiate selections, so that if the con site gets pointed at another convention, the selections don't get carried over (as has happened when I've used different datasets in testing).
Anything specific to the current convention should have the App ID appended to the key when storing in local storage.
However, settings (like 12 hour clock) shouldn't since it's reasonable to expect that users will want the same settings for another event.
Note that local storage is only accessible by the app when running on the same server, so there won't be any conflict between the Capricon instance and the Boskone instance (for example).
At the moment, the only convention specific stored is the "My Schedule" selections. However, something I'd quite like to add is an option for members to add personal comments to items.

I've always wanted to add my own personal items, like lunch plans or party info.

That's a cool idea. Maybe for the future.

I was going to use a dependency, react-hooks-timer, but it seems overkill and at present a regular JavaScript setInterval timer appears to be sufficient.
Also, I've done most of my testing on FireFox, so I didn't realise that Chrome is caching the data sent to Fetch(), even after a page reload. Changing the call to fetch(url, { cache: "reload" }) forces it to ignore cached data.

Also, I've done most of my testing on FireFox, so I didn't realise that Chrome is caching the data sent to Fetch(), even after a page reload. Changing the call to fetch(url, { cache: "reload" }) forces it to ignore cached data.

Can you check that bit in now?  It sounds useful.

I've now pulled the changes into main.
It will count down a timer, then refresh the program and people data, with the above setting to force a reload.
At present it's a bit "brute force", refreshing the entire program on every download.
I would like to make it compare program entries with the previously stored data, so it would only refresh changed items that have changed. However, that will probably make minimal difference from a user perspective.

What is the user experience when the data refreshes?

In my testing, if a program item has changed, the item just gets replaced with the new version. It will also hide any items that have passed their start time (plus ADJUST_MINUTES). There's no noticable change to unchanged items (even though they are replaced under the covers).


Improve Thermals?

Amazing project btw, helped me solve a bunch of issues including Airport Wi-Fi. I used a different EFI repo before this one and noticed that it ran significantly cooler than this one. Is there something done there that could be applied here to result in better thermals? Where with that one the device would be lukewarm or not at all, this one is noticeably warm.

Hey, thanks for your feedback!
I released Version 1.5.1. Does the issue still exist in this version?

Even in version 1.4.0, the system always ran toasty. To give you a perspective, running the Intel Power Gadget tool will always run a CPU average of 55 degrees celsius, even when it is idle.

I am having the same issue, thermals are worse compared to Windows or Linux.

Could you try version 1.5.2 and tell me if the problem still occurs?

I tried it, and it still occurs, in my case the thermals are the same as the image but the heat seems to be concentrated in the HDD section/palmrest

I have found a temporal solution, you can control manually the fans without a problem using https://github.com/zhen-zen/YogaSMC 's app.
YogaSMC is already include in the kexts, you only need to install the APP and the panel config.

Even in version 1.4.0, the system always ran toasty. To give you a perspective, running the Intel Power Gadget tool will always run a CPU average of 55 degrees celsius, even when it is idle.

Edit: I am currently on EFI version 1.5.1 Heliport running macOS Big Sur 11.4

what processor are you using? I am using i7-4810MQ and can't keep my processor temp under 70 deg c.

what processor are you using? I am using i7-4810MQ and can't keep my processor temp under 70 deg c.

I am using an i5-4210M so that's probably why my temperatures are lower than yours.

I have your latest EFI for Big Sur working. My only issue is the fan is constantly running for literally any task such as opening any browser or just checking email.  It's very noisy and runs hot compared to my Mojave Clover setup. Have you been able to improve the thermals? Any idea what is causing it ?

is this issue still not solve?
In my case, fan always run even in idle. temperature at 55-70c


Add scenario tests documentation

Codecov Report

Merging #2555 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2555   +/-   ##
=======================================
  Coverage   72.13%   72.13%
=======================================
  Files         362      362
  Lines       19776    19776
  Branches     2920     2920
=======================================
  Hits        14266    14266
  Misses       4589     4589
  Partials      921      921

Continue to review full report at Codecov.

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


Problem parsing :is()

Expected Behaviour
The content of the :is() is a selector itself ( https://developer.mozilla.org/en-US/docs/Web/CSS/:is )
Actual Behaviour
Currently, parsing selector as in the following code split the selector with the , which doesn't work
Reproduce Scenario (including but not limited to)
Using a :is() with a , inside the parenthesis
Steps to Reproduce
Platform and Version
Linux, Node 18
Sample Code that illustrates the problem
import {parse} from "@adobe/css-tools";
console.dir(await parse('.klass:is(:nth-child(1), :nth-child(2)) {margin: 0 !important}'), { depth: 4 });

Logs taken while reproducing problem
yarn node test.js
{
  type: 'stylesheet',
  stylesheet: {
    source: undefined,
    rules: [
      {
        type: 'rule',
        selectors: [ '.klass:is(:nth-child(1)', ':nth-child(2))' ],
        declarations: [ [Object] ],
        position: $0865a9fb4cc365fe$export$2e2bcd8739ae039 {
          start: [Object],
          end: [Object],
          source: ''
        }
      }
    ],
    parsingErrors: []
  }
}

Hi @christophe-ledu ,
Thanks for that report. A fix is on the way and will be released very soon.
Thanks for your patience.

Please ignore my previous message. To prevent another ReDos I found a better implementation that will handle all the depth of parentheses.


Application now draws!

Image erosion and dilation added. Better detection capabilities. Drawing enabled. Colour changing not yet done.

Lifting ability, kernel UI, clear screen features added.

Lifting ability, kernel UI, clear screen features added.


traeffik suddenly requires access to k8s secrets?

Do you want to request a feature or report a bug?
bug

What did you do?
Install the latest version of the official traeffik docker container in kubernetes
What did you expect to see?
traeffik processing k8s ingress rules. Our current k8s yaml files used to work until last week to deploy traeffik as k8s ingress controller
What did you see instead?
this message:
github.com/containous/traefik/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Secret: the server does not allow access to the requested resource (get secrets)
Wy would traefik suddenly require access to the secrets resource? This is nowhere mentioned in the official rbac rules either: https://github.com/containous/traefik/blob/master/examples/k8s/traefik-rbac.yaml
Output of traefik version: (What version of Traefik are you using?)

We run it inside k8s 1.6.6
No toml file used.
This is the k8s yaml file:
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: traefik-ingress-controller
  namespace: kube-system
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: traefik-ingress-controller
rules:
  - apiGroups:
      - ""
    resources:
      - pods
      - services
      - endpoints
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - extensions
    resources:
      - ingresses
    verbs:
      - get
      - list
      - watch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: traefik-ingress-controller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: traefik-ingress-controller
subjects:
- kind: ServiceAccount
  name: traefik-ingress-controller
  namespace: kube-system
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
  name: traefik-ingress-controller
  namespace: kube-system
  labels:
    k8s-app: traefik-ingress-lb
spec:
  replicas: 1
  selector:
    matchLabels:
      k8s-app: traefik-ingress-lb
  template:
    metadata:
      labels:
        k8s-app: traefik-ingress-lb
        name: traefik-ingress-lb
    spec:
      serviceAccountName: traefik-ingress-controller
      terminationGracePeriodSeconds: 60
      containers:
      - image: traefik
        name: traefik-ingress-lb
        resources:
          limits:
            cpu: 200m
            memory: 30Mi
          requests:
            cpu: 100m
            memory: 20Mi
        args:
        - --web
        - --kubernetes
---
apiVersion: v1
kind: Service
metadata:
  labels:
    kubernetes.io/cluster-service: 'true'
    kubernetes.io/name: traefik-ingress-controller
  name: traefik-ingress-controller
  namespace: kube-system
spec:
  type: NodePort
  ports:
  - port: 80
    nodePort: 30080
    name: http
  selector:
    k8s-app: traefik-ingress-lb

If applicable, please paste the log output in debug mode (--debug switch)

I have another k8s cluster, that is setup identically (also kubernetes 1.6.6), and there we don't have that issue. However, it's a different version:
Version:      v1.3.1
Codename:     raclette
Go version:   go1.8.3
Built:        2017-06-16_11:21:48AM
OS/Arch:      linux/amd64

seems our issue started with v1.3.2. Will do some more tests to verify this.

confirmed.
Downgrading to v1.3.1 solves the issue on our affected cluster.

I'm looking at the pull request here, which was merged in 1.3.2: https://github.com/containous/traefik/pull/1798
I think the following remark might have something to do with it:

Wait for secret controller to finish synchronizing.

@jeroenjacobs1205 thanks for the bug report.
I'm surprised to hear that you supposedly cannot observe permission access failure log messages on 1.3.1: Traefik 1.3.0 added a feature to support basic auth on Kubernetes (#1488) which started to watch for Secrets objects unconditionally (i.e., regardless of whether basic auth was used or not). To verify, I just started a copy of that Traefik version with Secrets-restricted RBAC permissions locally and saw the very same error in my logs. Are you running the Alpine or non-Alpine Traefik container?
I have filed #1784 a few days ago to make Traefik reach out for Secrets objects only when it really needs to. Until then, the possible workarounds are to relax the RBAC permissions or ignore the error -- while being noisy, it's also harmless.
A PR for the documentation update lives in #1707, though I expect it to be superseded as soon as #1784 lands.

It's not harmless at all. That something I forgot to mention: Traefik 1.3.2 returned 404 on every request. Once I gave access to secrets OR downgraded to 1.3.1, Traefik was working as expected.
It seems Traefik 1.3.2 doesn't process Ingress rules as long as it doesn't have access to secrets.

The behavior you're describing should be the one observed on 1.3.1 and fixed on 1.3.2: The earlier version returned an error while the latter just logs it.
I'll double-check. Maybe I got one bug out and another one in. :-)
Just in case we need the information: could you tell me if you use the regular Docker image or the Alpine one?

Since I'm pulling the "traefik:latest" tag (which is installed traefik 1.3.2) and now "traefik:v1.3.1" for the working version, I assume those are the regular ones, and not the alpine ones.

Just to be certain: are you positive that latest matches 1.3.2 in your case? Having latest cached to a previous version while not forcing re-pulls can lead to unintended versions sometimes.

@jeroenjacobs1205 another question: do you actually try to use basic auth in any of your Ingresses?

Nope, no basic authentication at all.

And I'm sure the version that has this behaviour is version 1.3.2. This issue occured when I deployed a new cluster yesterday, on a fresh server. No docker image caching involved at that point.

I can confirm the behavior now. Let me see if I can find the root cause quickly.

@jeroenjacobs1205 I have filed a PR to fix the problem and also pushed a custom image timoreimann/traefik:rbacsecrets including the fix. If you have time and the possibility, I'd love to hear your feedback on whether that one works for you.
Thanks!

I have a few days off, so I can test this next Monday at the earliest.

@jeroenjacobs1205 no worries appreciated!

Closed by #1828

Still seeing this in 1.4.2 version
time="2017-11-06T05:16:47Z" level=info msg="Traefik version v1.4.2 built on 2017-11-02_01:47:46PM" time="2017-11-06T05:16:47Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc420055620} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s" time="2017-11-06T05:16:47Z" level=info msg="Starting provider *web.Provider {"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Path":"/","Auth":null,"Debug":false,"CurrentConfigurations":{},"Stats":{"Uptime":"2017-11-06T05:16:47.017278876Z","Pid":1,"ResponseCounts":{},"TotalResponseCounts":{},"TotalResponseTime":"0001-01-01T00:00:00Z"},"StatsRecorder":null}" time="2017-11-06T05:16:47Z" level=info msg="Starting server on :80" time="2017-11-06T05:16:47Z" level=info msg="Starting provider *kubernetes.Provider {"Watch":true,"Filename":"","Constraints":[],"Trace":false,"DebugLogGeneratedTemplate":false,"Endpoint":"","Token":"","CertAuthFilePath":"","DisablePassHostHeaders":false,"Namespaces":null,"LabelSelector":""}" time="2017-11-06T05:16:47Z" level=info msg="Creating in-cluster Provider client " E1106 05:16:47.057350       1 reflector.go:199] github.com/containous/traefik/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Secret: the server does not allow access to the requested resource (get secrets) time="2017-11-06T05:16:47Z" level=info msg="Server configuration reloaded on :80" E1106 05:16:48.060892       1 reflector.go:199] github.com/containous/traefik/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Secret: the server does not allow access to the requested resource (get secrets) E1106 05:16:49.064083       1 reflector.go:199] github.com/containous/traefik/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Secret: the server does not allow access to the requested resource (get secrets) E1106 05:16:50.067017       1 reflector.go:199] github.com/containous/traefik/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Secret: the server does not allow access to the requested resource (get secrets)

@raja-gola is Traefik actually stopping servicing Ingresses for you or "just" spamming the logs? I'd bet it's the latter, in which case you'd actually be affected by #1784.


DO NOT REVIEW - Test DeprecatePythonPath

For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #10829 into master will decrease coverage by 0.12%.
The diff coverage is 66.53%.

@@            Coverage Diff             @@
##           master   #10829      +/-   ##
==========================================
- Coverage   60.64%   60.51%   -0.13%
==========================================
  Files         583      581       -2
  Lines       31558    31679     +121
  Branches     4488     4507      +19
==========================================
+ Hits        19137    19172      +35
- Misses      11449    11534      +85
- Partials      972      973       +1

Impacted Files
Coverage Δ

src/client/activation/serviceRegistry.ts
83.54% <ø> (-0.61%)
:arrow_down:

src/client/common/application/types.ts
100.00% <ø> (ø)

...erpreter/configuration/pythonPathUpdaterService.ts
23.07% <0.00%> (ø)

src/client/interpreter/configuration/types.ts
100.00% <ø> (ø)

src/client/common/interpreterPathService.ts
12.24% <12.24%> (ø)

src/client/common/configuration/service.ts
18.00% <15.38%> (+0.50%)
:arrow_up:

src/client/common/application/workspace.ts
36.66% <40.00%> (+5.89%)
:arrow_up:

...ication/diagnostics/checks/macPythonInterpreter.ts
80.80% <66.66%> (-1.96%)
:arrow_down:

src/client/interpreter/interpreterService.ts
63.24% <73.68%> (+1.97%)
:arrow_up:

...ter/configuration/services/globalUpdaterService.ts
85.71% <80.00%> (+73.21%)
:arrow_up:

... and 46 more

Continue to review full report at Codecov.

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


kubescape: 2.3.2 -> 2.3.3

Diff: https://github.com/kubescape/kubescape/compare/refs/tags/v2.3.2...v2.3.3
Changelog: https://github.com/kubescape/kubescape/releases/tag/v2.3.3
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.


Provide operation history to TRE users via API

Description
As an TRE Administrator I want to be able to view the operation history for all resources so that I can see who created/updated/deleted what, when and the outcome of the operation.
As an Researcher I want to be able to view the operation history for my resources so I can see when I created/updated/deleted resources and the outcome of the operation.
As an Workspace Owner I want to be able to view the operation history for all resources in a workspace so that I can see who created/updated/deleted what, when and the outcome of the operation.

Proposal:

Update resource document in Cosmos to include operations: [] (structure below)
An operation is a create / update / delete of the resource
API adds a new entry in list each time
Each operation has a unique Id and newest ones are appended to the top of the list, so clients can query for the outcome of a specific operation if needed
This replaces the current deployment object

{
  "id": "guid....",
  ...,
  "operations": [
    {
      "id": "guid-here",
      "status": "waiting",
      "message": "etc",
      "type": "update",
      "triggered_by": "...",
      "triggered_when": datetime,
      "completed_when": datetime
      ...
    },
    {
      "id": "guid-blah",
      "status": "complete",
      "type": "create",
      ...
    }
  ]

@damoodamoo Are operations always associated with a resource?
Should these operations live under a resource or as a new collection in cosmos, referencing the resources.
Other than that, looks good.

ok good question - my thinking was that operations would always relate to a resource - an operation being 'an action that happens to a resource'. If 'Add User' was an operation, would that not also relate to a resource, or not?

also relevant is how do you see this data being surfaced - I was assuming a client would navigate to a resource and then view the operations history for that resource. Do you see there being an /operations API endpoint that would surface all operations across the TRE regardless of resource?

I think you are probably correct as far as there would always be a TRE resource mirrored. with any "deployed" or configurable resource. It's not the case for shared services at the moment but will be. How about "tre start" or "tre stop"...
As for surfacing the data - see the user stories above in this issue. Queries will not always be done at a resource level. For example in time might want to see what VMs were deployed in the TRE (or workspace) over a period of time.

ok to summarise:

New cosmos collection for operations
At the point of enqueueing the message, and updating the status - instead of updating the deployment:{} block, we create/update a doc in the operations collection
Each operation in the collection is a single doc, referencing the type, status, resourceId etc
New API endpoints on top of the resources - such: /user_resources/1234567890/operations
deployment block gone
Resource Processor to get and return the Operation Id as well as the ResourceId - this will also support future work on multiple updates

Looks good, you need to add updating the operations doc when the job completes.


Structured tool chat broken in latest update

Since the latest update, the approach provided in the documentation on "Structured tool chat" with "initializeAgentExecutorWithOptions" is resulting in error.
Error:
No overload matches this call.   Overload 1 of 2, '(tools: StructuredTool<ZodObject<any, any, any, any, { [x: string]: any; }>>[], llm: BaseLanguageModel<any, BaseLanguageModelCallOptions>, options: InitializeAgentExecutorOptionsStructured): Promise<...>', gave the following error.     Argument of type '(Calculator | DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>>)[]' is not assignable to parameter of type 'StructuredTool<ZodObject<any, any, any, any, { [x: string]: any; }>>[]'.       Type 'Calculator | DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>>' is not assignable to type 'StructuredTool<ZodObject<any, any, any, any, { [x: string]: any; }>>'.         Type 'DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>>' is not assignable to type 'StructuredTool<ZodObject<any, any, any, any, { [x: string]: any; }>>'.           Property '_call' is protected but type 'DynamicStructuredTool<T>' is not a class derived from 'StructuredTool<T>'.   Overload 2 of 2, '(tools: Tool[], llm: BaseLanguageModel<any, BaseLanguageModelCallOptions>, options?: InitializeAgentExecutorOptions | undefined): Promise<...>', gave the following error.     Argument of type '(Calculator | DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>>)[]' is not assignable to parameter of type 'Tool[]'.       Type 'Calculator | DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>>' is not assignable to type 'Tool'.         Type 'DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>>' is not assignable to type 'Tool'.           Types of property 'schema' are incompatible.             Type 'ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { high: number; low: number; }, { high: number; low: number; }>' is missing the following properties from type 'ZodEffects<ZodObject<{ input: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { input?: string | undefined; }, { input?: string | undefined; }>, string | undefined, { ...; }>': innerType, sourceType

Documentation:
https://js.langchain.com/docs/modules/agents/agent_types/structured_chat

Seems to work ok on my end - what version of LangChain, TypeScript, and possibly @langchain/core do you have installed?

I had the same issue: the bug was obvious in langchain code with a bad class inheritance of  DynamicStructuredTool forcing it to only have input? as a parameter.
However, upgraded langchain package to latest (0.0.211) and the bug is now fixed.
=> seems like this bug can be closed as fixed

Odd - I don't think this changed but if it's now fixed will close.


Default items.csv contains exploitable single vs stack prices

There are multiple instances in the default items.csv where buying a stack of an item and reselling as singles results in gil printing.
As a quick fix for the base file, I modified the price01 column to be floor(price12 / 12).  If the stack price was 1, the price01 column remained unchange.  This gives server admins a peace of mind that they can tune prices without having easily exploitable price conditions on the AH out of the box.  (There is still a risk of things being sold under NPC price).
items-NoStackExploits.csv
Edit: How can I export the CSV from google sheets with that nice tabs to make columns in a text editor?

Edit: How can I export the CSV from google sheets with that nice tabs to make columns in a text editor?

I've used textFx plugin in notepad++ to align by comma, then shift the whitespace to the correct side of the comma/word

The idea behind the items.csv was that you edit it up however you want.  Creating one from ffxiah.com was just meant to be starting point.
  I wrote all kinds of unnecessary custom parsing logic because I did not know better at the time.
I would like to make the CSV simpler and load it with pandas.

If you want you can make a PR to update the default items.csv with prices that are not exploitable.  For now I will close this issue.


How to remove reveal glow?

How to remove reveal glow?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 32d2fea4-b5fc-a9ea-0635-314e233c6de7
Version Independent ID: 40e8a5e8-cb08-5ccb-0ddc-48fd7a9d23c0
Content: Reveal Focus - UWP applications
Content Source: windows-apps-src/design/style/reveal-focus.md
Product: uwp
Technology: design
GitHub Login: @hickeys
Microsoft Alias: hickeys

Thanks for reaching out with your feedback. GitHub issues in this repo are for documentation bugs only, and unfortunately this seems more like a support request than a documentation bug.
The best way to get support is by asking the community on Microsoft Q&A or StackOverflow
For completeness' sake, here is a list of developer resources:

Microsoft Q&A offers relevant and timely answers to your technical problems from a community of experts and Microsoft engineers.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

If you receive assistance via any support resource and you believe that information would help us improve the docs, then please let us know or consider submitting a pull request.
Thanks,
Shawn


Create a new database index for search-suggestions

Creates an index designed to store metrics for search suggestions,
with initial design relying on search terms, unique search occurrences
and search exit percentage.
./spec/integration/search/batch_search_spec.rb tests fail currently for an unknown reason, likely not registering something correctly as it's not seeing the new index.
PR made purely for feedback and suggestions.

Closing for clarity as suggestions are being worked on separately by another team at the moment


update def cleavage furrow

Current def:
In animal cells, the first sign of cleavage, or cytokinesis, is the appearance of a shallow groove in the cell surface near the old metaphase plate. A contractile ring containing actin and myosin is located just inside the plasma membrane at the location of the furrow. Ring contraction is associated with centripetal growth of the membrane that deepens the cleavage furrow and divides the cytoplasm of the two daughter cells. While the term 'cleavage furrow' was initially associated with animal cells, such a structure occurs in many other types of cells, including unicellular protists. Source: ISBN:0805319409
Does not really say what the "cleavage furrow" is ;)
The cleavage furrow is a membrane invagination that.....etc?
https://github.com/geneontology/go-ontology/issues/12546

From its parentage, "A cell surface furrow that appears in animal cells as a first sign of cleavage, or cytokinesis.  It is a shallow groove in the cell surface near the old metaphase plate. ........."

Cleavage furrow is currently defined.
In animal cells, the first sign of cleavage, or cytokinesis, is the appearance of a shallow groove in the cell surface near the old metaphase plate. A contractile ring containing actin and myosin is located just inside the plasma membrane at the location of the furrow. Ring contraction is associated with centripetal growth of the membrane that deepens the cleavage furrow and divides the cytoplasm of the two daughter cells. While the term 'cleavage furrow' was initially associated with animal cells, such a structure occurs in many other types of cells, including unicellular protists.
Suggest:
The cleavage furrow is a plasma membrane invagination at the cell division site. The cleavage furrow begins as a shallow  groove and eventually deepens to divide the cytoplasm.
NTR: Cleavage furrow rim PMID:27082518
The part of the cleavage furrow closest to the  cell surface.
NTR: Cleavage furrow leading edge PMID:27082518
The 'trough' of the cleavage furrow. This is the part of the cleavage furrow closest to the contractile ring.
(I checked these proposed  defs with the authors of this paper PMID:27082518, and they have been approved by them)

Changed def for 'cleavage furrow', moved one section of old def to comment.
-def: "In animal cells, the first sign of cleavage, or cytokinesis, is the appearance of a shallow groove in the cell surface near the old metaphase plate. A contractile ring containing actin and myosin is located just inside the plasma membrane at the location of the furrow. Ring contraction is associated with centripetal growth of the membrane that deepens the cleavage furrow and divides the cytoplasm of the two daughter cells. While the term 'cleavage furrow' was initially associated with animal cells, such a structure occurs in many other types of cells, including unicellular protists." [ISBN:0805319409]
+def: "The cleavage furrow is a plasma membrane invagination at the cell division site. The cleavage furrow begins as a shallow groove and eventually deepens to divide the cytoplasm." [GOC:vw, ISBN:0805319409]
+comment: While the term 'cleavage furrow' was initially associated with animal cells, such a structure occurs in many other types of cells, including unicellular protists.
Added terms:
[Term]
+id: GO:0090688
+name: cleavage furrow rim
+namespace: cellular_component
+def: "The 'trough' of the cleavage furrow. This is the part of the cleavage furrow closest to the contractile ring." [GOC:vw, PMID:27082518]
+is_a: GO:0044464 ! cell part
+relationship: part_of GO:0032154 ! cleavage furrow
+[Term]
+id: GO:0090689
+name: cleavage furrow leading edge
+namespace: cellular_component
+def: "The part of the cleavage furrow closest to the cell surface." [GOC:vw, PMID:27082518]
+is_a: GO:0044464 ! cell part
+relationship: part_of GO:0032154 ! cleavage furrow

Thanks Tanya!


Deeper model structures for external parameters

To avoid using too long parameter names, they can be instead organized in trees.

Codecov Report

Merging #51 into master will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   80.41%   80.57%   +0.15%
==========================================
  Files          40       40
  Lines        3401     3434      +33
==========================================
+ Hits         2735     2767      +32
- Misses        666      667       +1

in particular, this can be used to structure the nuisance parameters. currently they are obliged to obey:
 assert dataset.name in parameter_name

i.e. just a contain name substring. this might even happen by accident.

@volodymyrss I like this a lot. Can you give me an example on how to use it?
Did you fix the read and write? If yes, can you add a parameter like the one you are already testing for to the read/write tests so we will not break it in the future?
I was thinking that we could use it to store nuisance parameters of plugins. Instead of using the name of the plugins in the name of the parameter, we could use it as the root of the tree.

@volodymyrss this is cool. Any update?

@volodymyrss any chance on you merging back into this branch? We will soon be updating to py3

I'm closing this due to inactivity. If you still would like to add these changes, please reopen. Thank you for your contribution!


Add an experiment to load the AWS SDK for s3 operations

Currently the agent doesn't respect AWS_PROFILE or the shared credentials files in ~/.aws. This is because this wasn't initially supported in the AWS SDK.
I think this would probably be a breaking change, although the impacted folks would likely be very few.
Added behind an experiment, I think this would make a sensible future default.
Closes #1729.

this lgtm, but i probably wouldn't even bother with putting it behind an experiment - i don't think adding support for profiles is a breaking change. If they already exist on the agent machine then that's probably what the user was expecting the agent to use anyway.

Updated to remove the experiment @moskyb


Update README.md

Fix typo in documentation

check is failing, but this is because our secret token is invisible for branches outside this repo.
I accept and merge this PR.


Xamarin System.NotSupportedException after obfuscation

Hello!
Android app crashes when places a Renderer in a folder and obfuscate it then build APK and deploy. If the Renderer is in a project folder then App works correctly.
App without obfuscation works correctly.
I created a small repository with error.
Log with error
Visual Studio 2022 Version 17.4.0
How can I fix this error?

https://docs.obfuscar.com/tutorials/xamarin#troubleshooting
You might follow the guide to debug on your own.
The rule of thumb is that you cannot obfuscate everything and certain names must be kept due to dependency injection, XAML/AXML references, or other possible ways.


When label text overflow it gets aligned to the left

Actually this is the wrong project the issue belongs to "morteza/bootstrap-rtl". My bad


add map follow with leaflet 'flyto'

Hey! This is good, but the experience is a bit jarring I think at the current settings.
Partially that's because of the fireworks not being moved when the map is moved and partially it's because the flyTo seems to be quite aggressive in its movements.
I'm not sure if I have any immediate suggestions, but just thought I'd put in my thoughts on that.

I definitely want this feature but I agree need to be able to smooth it out a bit! I will think about how to maybe do that. One diea would be to move the map more slowly with a nice interpolation in between each round of fireworks.

I definitely want this feature but I agree need to be able to smooth it out a bit! I will think about how to maybe do that. One diea would be to move the map more slowly with a nice interpolation in between each round of fireworks.


Create READ ME-HINDI.md

hindi translation
Related Issue

Your solution

How Has This Been Tested?

Screenshots (if relevant):

Hi @Sumindar,
thank you for your contribution, but unfortunately, we can't merge this PR. At this moment we don't plan to introduce Hindi translations to the repo.
For future PRs, I suggest you either open an issue and provide details of your contribution before proceeding, just to save yourself time before investing in doing the work. This way the team can provide timely feedback and guidance.


Post Quantum Readiness

Creating an issue to begin discussing post-quantum (PQ) readiness for the EJBCA Vault PKI Engine

EJBCA has PQC support today from Bouncy Castle. Applications that use Bouncy Castle can issue test PQC certificates. Once NIST finalizes the standards then EJBCA would support due to having the OID's finalized by NIST. Once Golang has support for PQC it should be trival to add this key type as option to use for enrollment with EJBCA. EJBCA REST integration already supports PQC.


Make the @yamada-ui/alert component headless

script: make-component-headless
package: @yamada-ui/alert
Description
Currently, the @yamada-ui/alert component has minimal styles set within the component's source code.
We want to make this style transferable to the theme and make the component headless, enabling more flexible UI customization.
Problem Statement/Justification
By making the @yamada-ui/alert component headless, we can achieve more flexible styling tailored to the project.
Proposed Solution or API
The styles within the component are mostly defined by css: CSSUIObject and set to a prop named __css. We will transfer these styles to the packages/theme/src/components.
The code below is just an example and not the actual code.
packages/components/input/src/input-group.tsx
const css: CSSUIObject = {
- width: "100%",
- display: "flex",
- position: "relative",
  ...styles.container,
}

packages/theme/src/components/input.ts
baseStyle: {
  container: {
+   width: "100%",
+   display: "flex",
+   position: "relative",
  },
  field: {
    width: "100%",
    minWidth: 0,
    outline: 0,
    position: "relative",
    appearance: "none",
    transitionProperty: "common",
    transitionDuration: "normal",
    _disabled: {
      opacity: 0.4,
      cursor: "not-allowed",
    },
  },
  element: {
    color: ["blackAlpha.600", "whiteAlpha.700"],
  },
},

[!TIP]
In cases where the styles within the component are dynamically changed, there may be instances where it is not possible to transfer the styles to the theme.
In such cases, it needs to be discussed in this issue. Please feel free to send comments to this issue.

Additional Information
The @yamada-ui/alert component exists in packages/components/alert/src. You need to check all the components in this folder and if they contain styles internally, you need to modify them.
This change could have a significant impact on projects using Yamada UI, so we will work on it within the scope of v2.0.
Please create the branch for working on this issue from the remote branch v2.0, and direct your pull requests to the v2.0 branch as well.
Please select major for the changeset and create a pull request.

I will try it.

@ShionTerunaga
Hi, thanks for the comment!
Yes, pls.

Fixed #1949


Add Default Options for Color Picker Custom Element Class

We are experiencing an error when the custom element for the Color Picker is being cloned. It's a bit of a long story, but we are using Turbo Drive which calls cloneNode and we cannot easily prevent it. Since this is a custom element, I think it's a reasonable expectation it should support the HTMLElement helpers.
This error can be reproduced in a browser by selecting the xy-color-picker custom element in the respective "Elements" tab. Then going to the JavaScript "Console" and typing $0.cloneNode() where $0 is a reference to that element (Chrome devtools).

This errors because cloneNode is constructing the element without any arguments, which this constructor assumes.
This PR addresses this error by defaulting options to {} which avoids options being undefined.

@flaming-cl let me know if there's anything else I can do to help get this merged, thanks!

Can it be merged and published?


Sandbox home directory write violation

Hi,
I've been facing an issue running a web app in an Azure App Service that other users apparently faced as well and can't find in the documentation any evidence that this is not allowed.
When spawning a subprocess that eventually writes a single file anywhere under the home directory (d:\home), the whole sandbox gets into a state where it can't find files causing lots of random errors such as not finding web.config or cshtml files in the app.
Writing to the home directory from the w3wp (or cmd) process doesn't seem to cause the same issue but since the subprocess technically inherits some of the parent processes limitations in the sandbox I'm wondering what could cause this. When I repeat the same steps from within a cmd process, spawning the same subprocess that writes to the home directory, then the cmd process loses access partially to the file system, ie: trying to change directories causes a "system cannot find the path specified" error.
Any ideas if this is by design and where to find documentation for such restriction/side effect?

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


FYI: PCM based BitStream

Can you create a new PR against github.com/google/periph?

I will divide the change smaller ones and create PRs one by one after cleanup.
My branch should work for:

PCM driven StreamOut (ex. ws2812)
DMA driven StreamOut for usual GPIO pins. (up to 1MHz)
StreamIn (smoketest worked)

Feel freel to discard this PR (or should I?)


update collection.find to support nested fields

db.collection().find(...) was previously not working for nested fields
Happy to go with an alternative solution if there's an easier way

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.94%. Comparing base (8e6aaca) to head (e4b5652).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (8e6aaca) and HEAD (e4b5652). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (8e6aaca)
HEAD (e4b5652)

3
1

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #354       +/-   ##
===========================================
- Coverage   95.94%   83.94%   -12.00%
===========================================
  Files          26       26
  Lines        4296     4299        +3
===========================================
- Hits         4122     3609      -513
- Misses        174      690      +516

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Install walk-through

Now that IML is an open source project, we should make sure users can go from a blank slate to a working filesystem easily.
Currently there is not a guided install and users need to know the steps to setup a fs.
Instead, we can present a walk-through when there are no filesystems created (or when creating a new one) to ease this process.

Storyboard guided walk-through
Add servers
Verify networking is correct
Setup power control
Create filesystem
Create generic walk-through engine

Hi Joe,
Is there any recommendation for upgrading existing IEEL 2.5 install base to Lustre 2.10.x?
Regards,
Otto

I think that you've already made this enquiry via support channels :-)

Sorry about that ... just read the email from the support channel ... Thank you Peter!


Install Pod Restart Metric + Status

Builds on @ShivamChamoli 's PR and adds storing the count on status as well.

Updated. That integration test is failing a bit too much.

/test integration

/lgtm

/retest

/test e2e

/test e2e

/test e2e

@dgoodwin the e2e failure seems legit... the job is never created by the controller which tells me that the controller might be failing to start. Most likely due to a permissions issue. Did we add pods to the manager role?

Nope I did not, thank you, should have noticed that was failing too much, will check if there's an rbac issue.

/retest

@dgoodwin looks like you need to run make generate again

nm, that passed
/lgtm
/retest


Correlation metrics keras2.10 fix

Fix the unit tests for correlation metrics when using keras v2.10.

@sorensenjs
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


Basic Auth support

It would be great, if it would be possible to authenticate a upstream server with basic auth.
--upstream-username=foobar
--upstream-password=supersecret

I've tried --headers but it's failing:
--headers "authorization=Basic <redacted>"
[error] invalid tag 'authorization=Basic <redacted>=' should be key=pair

hi @totallyunknown  ... what version were you using? ..


Test gpt on something hard to know

/chatgpt Hello, Please use C# implement morph which transform player into duck in tModLoader.

/chatgpt Hello, Please use C# implement morph which transform player into duck in tModLoader.

@CSUwangj 555修好了  vercel serverless 计算只有10秒 麻了

/chatgpt Can you tell me a bedtime story?

/chatgpt Hello, Please use C# implement morph which using a buff transform player into duck in tModLoader.

/chatgpt mysql备份和还原脚本


[（live．free ®！）] 2024 16th Tirnavia Ice Cup Live Streams Free On Tv Channel 03 NOV 2024 #202452522

16th Tirnavia Ice Cup 2024
16th Tirnavia Ice Cup 2024 International 2024
The 2024 Tirnavia Ice Cup ISU international competition Trnava
Tirnavia Ice Cup Figure Skating Competition 2024

vcbcf


Remove engine deprecations

Hi, I fixed the library to support the latest API changes:

Engines -> Models
Removed deprecated search endpoint

Related #2

@mmacia thank you for doing this!
@sferik any chance you can merge this? Would love to ensure the OpenAI client for Crystal is up to date since this is the shard that's referenced from the OpenAI docs


Added all solutions to CodeChef Starters 26

Have you read the Contributing Guidelines?

[*] YES
[ ] NO

Project URL

What is the current behavior?

Issue Number: #...

Category

[ ] 𝑨𝑺𝑲 𝒀𝒐𝒖𝒓 𝑫𝒐𝒖𝒃𝒕𝒔
[ ] 𝑴𝒊𝒔𝒄𝒆𝒍𝒍𝒂𝒏𝒆𝒐𝒖𝒔 𝑺𝒕𝒖𝒇𝒇.
[ ] 𝑫𝑺𝑨
[*] 𝑪𝒐𝒎𝒑𝒆𝒕𝒊𝒕𝒊𝒗𝒆 𝑷𝒓𝒐𝒈𝒓𝒂𝒎𝒎𝒊𝒏𝒈
[ ] 𝑻𝒆𝒄𝒉𝒏𝒊𝒄𝒂𝒍 𝑺𝒖𝒃𝒋𝒆𝒄𝒕
[ ] 𝑳𝒐𝒘 𝑳𝒆𝒗𝒆𝒍 𝑫𝒆𝒔𝒊𝒈𝒏
[ ] 𝑷𝒓𝒐𝒋𝒆𝒄𝒕𝒔
[ ] 𝑰𝒎𝒑𝒐𝒓𝒕𝒂𝒏𝒕 𝑩𝒐𝒐𝒌𝒔 𝒂𝒏𝒅 𝑹𝒆𝒔𝒐𝒖𝒓𝒄𝒆𝒔
[ ] 𝑩𝒆𝒉𝒂𝒗𝒊𝒐𝒖𝒓𝒂𝒍 𝑰𝒏𝒕𝒆𝒓𝒗𝒊𝒆𝒘 𝑸𝒖𝒆𝒔𝒕𝒊𝒐𝒏𝒔

Changes

Description of changes

Screenshots

(Add Runnig Work Demo Image)

Checklist

[*] I've read the Contributing Guidelines.
[*] I've checked the issue list before deciding what to submit.
[*] I've follow Tree of Index.
[*] I've add work in proper folder
[*] I've not delete/modify previous codes.

Done Changes. Added code files into their respective divisions.


Create APK file using Github Actions

After each push to the repo, a new version of the app should be built and stored.

will be researching for GitHub actions. app files will be stored on google drive and the file will be replaced after each version. let me know if you have any suggestions. @SWE574-Fall2023-Group1/mobile

@mert-aydin We are already creating an apk file in workflow, you may research unzipping and uploading to gdrive in pipeline step

@mert-aydin at the end of the pipeline, there exists an apk file under mobile/build/app/outputs/flutter-apk folder:
https://github.com/SWE574-Fall2023-Group1/SWE574-Fall2023-G1-mobile/blob/397d406383e57e1cd320d1f46ab112460bee04a4/.github/workflows/build_and_upload_apk.yml#L32-L42


Henchman should return exit code of the task it returned.

If a task fails with non-zero exit code, Henchman still returns zero. It should actually return the exit code of that failed task.

While it should return a non-zero code, I feel it should be independent of the executed task code. In a multi-machine scenario, a given task can fail only on a certain subset of nodes.

I agree with sudharsh. The tasks are run on a remote machine. Henchman should return code should be base off henchmans execution

Why this was closed? Resolution?


feature: add bundle libraries script for build host image

这个 PR 实现什么功能/修复什么问题:
feature: add bundle libraries script for build host image
是否需要 backport 到之前的 release 分支:
NONE
/cc @swordqiu @zexi @yousong

Codecov Report

Merging #3998 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #3998   +/-   ##
======================================
  Coverage    6.94%   6.94%
======================================
  Files         505     505
  Lines       85073   85073
======================================
  Hits         5906    5906
  Misses      78666   78666
  Partials      501     501

Flag
Coverage Δ

#aFlag
6.94% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/lockman/fifo.go
80% <0%> (-10%)
:arrow_down:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

Continue to review full report at Codecov.

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

/area utils

/cc @swordqiu @zexi @yousong

/lgtm

/lgtm


Witness the Arctic article re: portals

Write an article for Witness the Arctic about the portals feature

[x] Email<EMAIL_ADDRESS>about a deadline
[ ] Write article
[ ] Get feedback on article

Betsy got back to me: spring issue of Witness the Arctic is scheduled to be published in late June with a deadline to submit drafts on Monday, 15 June.
Your article could include:

A brief overview of the focus of the Arctic Data Center and how it is funded,
A reader-friendly description of the new portal services,
Any specific news you want to share,
A clear definition of terms to help engage readers who are unfamiliar with data disciplinary jargon, and
A few high resolution photos or images with explanatory captions to enhance information in the text.

It should also include:

A link to an informational website and your contact info for readers seeking further information, and
A short biographical sketch and photo of you to include in our “About the Authors” section.

@mbjones @aebudden First draft is done - please check it out and give me any feedback you have!
https://docs.google.com/document/d/1xbpU3ErVLaMCHBgnMFDgqpvSWYUEUdxHOhCmdMFH0-4/edit

Jeannette gave me some good feedback - up to you next, @aebudden! :)

Sent this morning at like 7:30 am since I was OOO on the 15th....hopefully we'll still make it into this month's edition of Witness the Arctic.


config: move config.rs files to src/config

What have you changed?
Currently config struct of each module on tikv are separated seating at some config.rs files that under nested directory  or inside src/config.rs, which make it hard to find a config struct of some module and also make src/config.rs large. This pr aim to solve this by moving rocksdb related config and read pool config out of src/config.rs and also moving all config.rs files to src/config directory (i.e src/server/config.rs -> src/config/server.rs).
What is the type of the changes?

Engineering (engineering change which doesn't change any feature or fix any issue)

How is the PR tested?

Manual test

cargo check
make clippy

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No

/run-unit-test

/run-all-tests

/run-unit-test

/run-unit-test

I don't know whether this is a good idea, but it seems that nearly now all the modules depend on Config and the Config knows the above modules too, a little circular dependency.
What do you think? @BusyJay @nrc

I don't think it's a good idea. All configuration should be in its own module. This change prevents extracting modules as components.

I don't think it's a good idea. All configuration should be in its own module. This change prevents extracting modules as components.

I think extracting modules as components will just like before i.e moving code and change import path.

seems that nearly now all the modules depend on Config and the Config knows the above modules too, a little circular dependency.

It looks to me like the modules depend on config, but config does not know about any of the modules. So the dependency graph here is a tree, not circular.
I think there is a benefit to having all the config handling in one place - it means we don't have similar code scattered around the whole tree (contributing to making each module look big and complex). I hope that by putting all the config together, there will be opportunity to reduce code dup.
I also think it is nice if the config code matches the user-facing config more closely than the implementation, but that is a trade-off against keeping config local.

... graph here is a tree, not circular.
I think extracting modules as components will just like before..

@nrc @NingLin-P you are right.

...have similar code scattered around...

Can you give some examples that will be reduced when unify them in one place?

...config code matches the user-facing config more closely...

I think code is about implement not the way how users use. For latter purpose, users should read the documents or configuration template instead.
In my opinion, we should put configurations definitions and validation close to the module implements, as the module knows why each configuration entry is defined and what's correct value. It's just meaningless to construct an arbitrary configuration.
Anyway, whether it's close to the module doesn't block this PR. The configuration file can still be moved to the module when extracted.


Fix Content's Link metadata description

The Content item's Link metadata description seemed to be a copy of its Visible metadata, though it really has the same meaning as in other items like None.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/msbuild/common-msbuild-project-items.md
:white_check_mark:Succeeded

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.

@rainersigwald - does this look ok to you?


Name issue with Vasa Nistirio

In Chambers of Xeric, when you first see Vasa Nistirio and he's still a pile of rocks, his name is "Rocks". The problem is what's displayed above his head is:
<col=ooffff>Rocks

I have now fixed this by adding a config option Strip tags which removes everything surrounded by < and >. The updated plugin version 1.3.1 will be live in the client in a few weeks once the review is completed.


Defer smartctl until after discovery

This PR does several things:

Most importantly, it defers smartctl -a until the child process, after discovery data is returned to the server.  This fixes timeouts on systems with many disks.
merges init.py and sender_wrapper.py
Enforces the Python >= 3.3 requirement using setuptools
Removes some dead code.

Sorry, got carried away. Will check soon.


Schema evolution

Append-only schema evolution is a widely-requested feature. Some of the work has already been done in protoss but it needs to be refreshed and finished.

Hi,
Please see if this and this give you an idea of what can be required/considered.

Schema evolution is a work in progress, but some of the plans have been given an initial write-up in my crate ideas. It looks like protoss is very similar to what you suggested in the previous issue. It is likely that rkyv will support multiple versioning solutions so that end users can choose the one that best fits their use case.

Not to add much, just wanted to say this is something I'm very interested in to use in our codebase - https://github.com/swc-project/swc/discussions/3540. We use rkyv as main serialization mechanism for our plugin communication, and would like to ensure version compatibility when we change (mostly adding) some of structs we pass through.

Thanks for the interest! Schema evolution can be done partially right now, but it's not as capable as a full solution. I added an example of how to do backwards compatibility  to the examples directory.
The primary difficulty for true schema evolution is providing forward compatibility as well. In terms of technical blockers, the only real technical blocker is that custom DSTs are not supported. To expose a forward-compatible version of a type, protoss would ideally expose a DST that has a version number as its pointer metadata. Then it would determine its size and whether fields are available dynamically using that version number. That's not currently possible because custom DSTs are not supported in Rust.
There are ways to work around this, but it takes some time to figure out how to build types that have similar performance and ergonomics. Currently, the only possible way I know of is to use trait objects, but that risks creating a large amount of vtable bloat if your types have multiple versions.

Thanks, example helps me to understand where we at. It looks like forward compat is key features we'd need.

risks creating a large amount of vtable bloat if your types have multiple versions

Will it linearly increase depends on the counts of the multiple versions? or as soon as having any multiple versions (say, only having v1 / v2)? Curious if this can be up to consumer's decision to keep N versions only to suppress within acceptable threshold.

The number of vtables would increase linearly with the number of versions. I could technically produce synthetic vtables, but I think that might be pushing the boundary of undefined behavior. The only other alternative would be to codegen one struct per version, which would result in a lot of code bloat.

I am interested in using rkyv for a database implemenatation i am working on, and was wondering if it was possible to add enum discriminants to add versions ?

The examples has moved to https://github.com/rkyv/rkyv/blob/main/rkyv/examples/backwards_compat.rs
And I assume DST = https://doc.rust-lang.org/reference/dynamically-sized-types.html


request: a stream with the layers

It would be great if there was a way to inspect the keyd state and show it with an extension.
That way you could have an indicator of which layout and layers are active.
How about a unix socket that when you open it, you get the current layout and layers, and every time a change happens it gets pushed?

This is already implemented via keyd listen :)

well, minus the layout message on connection :)

Which version are you on? The layout message (as /layout) was added in https://github.com/rvaiya/keyd/commit/44d0864ef122c24329f8830c9fa4b1cea23afac1

ah cool! I'm on nixos with version 2.4.3. I see there's not been a release with it yet.
Should nixos follow master instead?

Should nixos follow master instead?

Probably not :P

ah cool! I'm on nixos with version 2.4.3. I see there's not been a release with it yet.

Yes, a 2.x release is long overdue. I need to shore up a few things and will hopefully have something out by the end of the month, after which I intend to start work on the next major version.


Dead links to api.mongodb.org in the documentation

This crate's documentation often links out to mongodb's C driver docs.  It looks like at some point these links broke.  One example is http://api.mongodb.org/c/current/mongoc_query_flags_t.html has should be http://mongoc.org/libmongoc/current/mongoc_query_flags_t.html

Fixed in 87effd5dc27cae1a50fda94aa06cb154714da18e