failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): GKE with GPU / Ubuntu
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): binary
TensorFlow version: tensorflow-2.0.0-cp38-cp38-linux_x86_64
Python version: 3.8
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.1.168-1 / <IP_ADDRESS>-1
GPU model and memory: Tesla P100-PCIE-16GB major: 6 minor: 0 memoryClockRate(GHz): 1.3285

Describe the problem
The process terminated with theses errors:
2019-12-11 15:23:31 classification-ld8d9 tensorflow[7] WARNING Entity <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7fb870241d60>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: invalid value for "node": expected "ast.AST", got "<class 'NoneType'>"; to visit lists of nodes, use "visit_block" instead
2019-12-11 15:24:12.377087: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2019-12-11 15:24:12.377554: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:24:12.377749: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:24:12.377806: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:24:12.570359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2019-12-11 15:24:28.471575: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:24:28.471626: W tensorflow/stream_executor/stream.cc:1919] attempting to perform BLAS operation using StreamExecutor without BLAS support
2019-12-11 15:24:28.471658: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Internal: Blas GEMM launch failed : a.shape=(32, 25088), b.shape=(25088, 8), m=32, n=8, k=25088
[[{{node model/dense/MatMul}}]]
Traceback (most recent call last):
File "/opt/workspace/app.py", line 83, in
training(config["train"], config["telegram"], config["others"])
File "/opt/workspace/src/training.py", line 40, in training
train_model(dataset_train.dataset, dataset_val.dataset, model, config, n_classes, config_others)
File "/opt/workspace/src/training.py", line 98, in train_model
loss_train, logits, reg_loss = training_step(x_batch_train, y_batch_train)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/def_function.py", line 457, in call
result = self._call(*args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/def_function.py", line 520, in _call
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 1823, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 1137, in _filtered_call
return self._call_flat(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 1223, in _call_flat
flat_outputs = forward_function.call(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 506, in call
outputs = execute.execute(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.InternalError:  Blas GEMM launch failed : a.shape=(32, 25088), b.shape=(25088, 8), m=32, n=8, k=25088
[[node model/dense/MatMul (defined at usr/local/lib/python3.8/dist-packages/tensorflow_core/python/framework/ops.py:1751) ]] [Op:__inference_training_step_9298]
Function call stack:
training_step
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs

@kevin8100, Provide the exact sequence of commands / steps that you executed before running into the problem. Thanks!

@kevin8100, Similar issue comment #33916.

!

Hello  Gadagashwini ,
The sequence for training step:
{ load tfrecords for training)
{...}
x = keras.Input(shape=(224, 224, 3), batch_size=batch_size)
then call
x = resnet18(x, 0.01)
you can find the extracted logs here for more details:
2019-12-11 15:36:42 classification-xbj8h root[8] DEBUG training with option {'tf_record_absolute_prefix_train': '/opt/workspace/tfrecord/tfrecord_train_', 'tf_record_absolute_prefix_val': '/opt/workspace/tfrecord/tfrecord_val_', 'training_preprocessing': 'random_crop', 'validation_preprocessing': 'random_crop', 'log_dir': '/opt/workspace/log', 'save_dir': '/opt/workspace', 'lr': 0.001, 'model': 'resnet18', 'load_model_path': '', 'epochs': 1000, 'steps_between_validation': 100, 'steps_between_save': 1000, 'validation_steps': 50, 'log_images': True, 'classes_names': ['Haribo', 'Champagne', 'Vitakraft', 'Empty', 'Bonduelle', 'Soupe', 'Lipton', 'Dentifrice'], 'gradient': 'ADAM', 'dataset': {'random_crop_size': 224, 'loader_buffer_size': 500000, 'num_parallel_reads': 2, 'num_parallel_calls': 1, 'batch_size': 32, 'shuffle_buffer_size': 1000, 'random_flip_left_right': True, 'random_flip_up_down': True, 'random_rot': True, 'random_hue_delta': 0.0, 'random_contrast': False}}
2019-12-11 15:36:46 classification-xbj8h tensorflow[8] INFO Converted call: <function _create_dataset_reader..read_one_file at 0x7f777c8a2a60>
args: (<tf.Tensor 'args_0:0' shape=() dtype=string>,)
kwargs: {}
INFO:tensorflow:Whitelisted: <function _create_dataset_reader..read_one_file at 0x7f777c8a2a60>: DoNotConvert rule for tensorflow
2019-12-11 15:36:46 classification-xbj8h tensorflow[8] INFO Whitelisted: <function _create_dataset_reader..read_one_file at 0x7f777c8a2a60>: DoNotConvert rule for tensorflow
INFO:tensorflow:Converted call: <bound method ClassificationDataset.map_fn of <src.dataset.ClassificationDataset object at 0x7f777c89dee0>>
args: (<tf.Tensor 'args_0:0' shape=() dtype=string>,)
kwargs: {}
2019-12-11 15:36:46 classification-xbj8h tensorflow[8] INFO Converting <bound method ClassificationDataset.map_fn of <src.dataset.ClassificationDataset object at 0x7f777c89dee0>>
INFO:tensorflow:Source code of <bound method ClassificationDataset.map_fn of <src.dataset.ClassificationDataset object at 0x7f777c89dee0>>:
INFO:tensorflow:Error transforming entity <bound method ClassificationDataset.map_fn of <src.dataset.ClassificationDataset object at 0x7f777c89dee0>>
Traceback (most recent call last):
Start of epoch 0
INFO:tensorflow:Converted call: <function train_model..training_step at 0x7f76e8414040>
args: (<tf.Tensor 'x:0' shape=(32, 224, 224, 3) dtype=uint8>, <tf.Tensor 'y:0' shape=(32, 8) dtype=int64>)
kwargs: {}
2019-12-11 15:37:39 classification-xbj8h tensorflow[8] INFO Converting <function train_model..training_step at 0x7f76e8414040>
INFO:tensorflow:Source code of <function train_model..training_step at 0x7f76e8414040>:
@tf.function
def training_step(x, y):
with tf.GradientTape() as tape:
logits = model(tf.cast(x, tf.float32), training=True)
loss_train = loss_fn(y, logits)
reg_loss = model.losses
loss_train += tf.reduce_sum(reg_loss)
grads = tape.gradient(loss_train, model.trainable_weights)
optimizer.apply_gradients(zip(grads, model.trainable_weights))
return loss_train, logits, reg_loss
INFO:tensorflow:Source code of <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7f77701a6e20>>:
def call(self, x, training=None):
x /= 127.5
x -= 1.
return x
During handling of the above exception, another exception occurred:
ValueError: invalid value for "node": expected "ast.AST", got "<class 'NoneType'>"; to visit lists of nodes, use "visit_block" instead
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/api.py", line 506, in converted_call
converted_f = conversion.convert(target_entity, program_ctx)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 321, in convert
converted_entity_info = _convert_with_cache(entity, program_ctx,
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 239, in _convert_with_cache
nodes, converted_name, entity_info = convert_entity_to_ast(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 471, in convert_entity_to_ast
nodes, name, entity_info = convert_func_to_ast(o, program_ctx)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 669, in convert_func_to_ast
node = node_to_graph(node, context)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 698, in node_to_graph
node = converter.standard_analysis(node, context, is_initial=True)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/core/converter.py", line 384, in standard_analysis
node = activity.resolve(node, context, None)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/static_analysis/activity.py", line 498, in resolve
return ActivityAnalyzer(context, parent_scope).visit(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 480, in visit
result = super(Base, self).visit(node)
File "/usr/lib/python3.8/ast.py", line 360, in visit
return visitor(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/static_analysis/activity.py", line 442, in visit_FunctionDef
node.body = self.visit_block(node.body)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 371, in visit_block
replacement = self.visit(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 480, in visit
result = super(Base, self).visit(node)
File "/usr/lib/python3.8/ast.py", line 360, in visit
return visitor(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/static_analysis/activity.py", line 287, in visit_AugAssign
node.value = self.visit(node.value)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 458, in visit
raise ValueError(msg)
ValueError: invalid value for "node": expected "ast.AST", got "<class 'NoneType'>"; to visit lists of nodes, use "visit_block" instead
2019-12-11 15:38:27 classification-xbj8h tensorflow[8] INFO Source code of <function Function._initialize_uninitialized_variables..initialize_variables at 0x7f76e8796280>:
from future import absolute_import
from future import division
from future import print_function
@function_lib.defun
def initialize_variables():
op_map = object_identity.ObjectIdentityDictionary()
for v, init in initializer_map.items():
with ops.init_scope():
if resource_variable_ops.var_is_initialized_op(v.handle):
# Ignore variables which are already initialized at trace time.
continue
op_map = lift_to_graph.lift_to_graph(
[init], ops.get_default_graph(), op_map=op_map)
v.assign(op_map[init])
2019-12-11 15:38:27 classification-xbj8h tensorflow[8] INFO Converting <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7f77701a6e20>>
INFO:tensorflow:Source code of <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7f77701a6e20>>:
def call(self, x, training=None):
x /= 127.5
x -= 1.
return x
INFO:tensorflow:Error transforming entity <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7f77701a6e20>>
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/api.py", line 506, in converted_call
converted_f = conversion.convert(target_entity, program_ctx)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 321, in convert
converted_entity_info = _convert_with_cache(entity, program_ctx,
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 239, in _convert_with_cache
nodes, converted_name, entity_info = convert_entity_to_ast(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 471, in convert_entity_to_ast
nodes, name, entity_info = convert_func_to_ast(o, program_ctx)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 669, in convert_func_to_ast
node = node_to_graph(node, context)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/impl/conversion.py", line 698, in node_to_graph
node = converter.standard_analysis(node, context, is_initial=True)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/core/converter.py", line 384, in standard_analysis
node = activity.resolve(node, context, None)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/static_analysis/activity.py", line 498, in resolve
return ActivityAnalyzer(context, parent_scope).visit(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 480, in visit
result = super(Base, self).visit(node)
File "/usr/lib/python3.8/ast.py", line 360, in visit
return visitor(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/static_analysis/activity.py", line 442, in visit_FunctionDef
node.body = self.visit_block(node.body)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 371, in visit_block
replacement = self.visit(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 480, in visit
result = super(Base, self).visit(node)
File "/usr/lib/python3.8/ast.py", line 360, in visit
return visitor(node)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/static_analysis/activity.py", line 287, in visit_AugAssign
node.value = self.visit(node.value)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/autograph/pyct/transformer.py", line 458, in visit
raise ValueError(msg)
ValueError: invalid value for "node": expected "ast.AST", got "<class 'NoneType'>"; to visit lists of nodes, use "visit_block" instead
2019-12-11 15:38:27 classification-xbj8h tensorflow[8] INFO Error transforming entity <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7f77701a6e20>>
2019-12-11 15:38:27 classification-xbj8h tensorflow[8] WARNING Entity <bound method ResnetPreprocess.call of <src.model.ResnetPreprocess object at 0x7f77701a6e20>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: invalid value for "node": expected "ast.AST", got "<class 'NoneType'>"; to visit lists of nodes, use "visit_block" instead
2019-12-11 15:39:08.678289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2019-12-11 15:39:08.678746: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:39:08.678892: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:39:08.678931: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:39:08.872722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2019-12-11 15:39:24.970499: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2019-12-11 15:39:24.970554: W tensorflow/stream_executor/stream.cc:1919] attempting to perform BLAS operation using StreamExecutor without BLAS support
2019-12-11 15:39:24.970600: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Internal: Blas GEMM launch failed : a.shape=(32, 25088), b.shape=(25088, 8), m=32, n=8, k=25088
[[{{node model/dense/MatMul}}]]
Traceback (most recent call last):
File "/opt/workspace/app.py", line 83, in
training(config["train"], config["telegram"], config["others"])
File "/opt/workspace/src/training.py", line 40, in training
train_model(dataset_train.dataset, dataset_val.dataset, model, config, n_classes, config_others)
File "/opt/workspace/src/training.py", line 98, in train_model
loss_train, logits, reg_loss = training_step(x_batch_train, y_batch_train)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/def_function.py", line 457, in call
result = self._call(*args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/def_function.py", line 520, in _call
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 1823, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 1137, in _filtered_call
return self._call_flat(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 1223, in _call_flat
flat_outputs = forward_function.call(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/function.py", line 506, in call
outputs = execute.execute(
File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.InternalError:  Blas GEMM launch failed : a.shape=(32, 25088), b.shape=(25088, 8), m=32, n=8, k=25088
[[node model/dense/MatMul (defined at usr/local/lib/python3.8/dist-packages/tensorflow_core/python/framework/ops.py:1751) ]] [Op:__inference_training_step_9298]
Function call stack:
training_step
Thanks & Regards

@kevin8100, Similar issue comment #33916.

Hello,
I've already added these params:
TF_FORCE_GPU_ALLOW_GROWTH=true
PER_PROCESS_GPU_MEMORY_FRACTION=0.8
..and it's still not working

TF 2.0 supports cuda 10.0 Please roll back to cuda 10.0 and try again.
If issue still persists then use limit gpu memory growth parameter.
import tensorflow as tf
gpus = tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_visible_devices(gpus[0], 'GPU')

same issue here, any update?

Just in case you have libcublas10 version <IP_ADDRESS>-1 installed: replacing it with an older version might fix the problem - see #37233

Had the same issue. Resolved by reinstalling GPU Drivers and CUDA as was suggested in https://www.tensorflow.org/install/gpu

Add repos:

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.1.243-1_amd64.deb
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo dpkg -i cuda-repo-ubuntu1804_10.1.243-1_amd64.deb
sudo apt-get update
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
sudo apt-get update

Install drivers:
sudo apt-get install --no-install-recommends nvidia-driver-430

Reboot. Check that GPUs are visible using the command: nvidia-smi

Install cuda and cudnn:

sudo apt-get install --no-install-recommends \
    cuda-10-1 \
    libcudnn7=<IP_ADDRESS>-1+cuda10.1  \
    libcudnn7-dev=<IP_ADDRESS>-1+cuda10.1

Hope it helps someone else :)


after updating v1.0.7 to v1.0.26, started seeing below error and survey won't render.

This error occurs while rendering a coplex survey after I updated the library to v1.0.26, which was working in surveyjs v1.0.7 . If you have any idea on this issue, please redirect to some literature. (Note: The survey gets built dynamically so its very difficult for me to share the surveyjson. )
TypeError: u.getConditionRunner is not a function
    at Function.e.runConditionsForItems (survey.vue.min.js:42)
    at t.runConditionsForItems (survey.vue.min.js:42)
    at t.runItemsCondition (survey.vue.min.js:42)
    at t.filterItems (survey.vue.min.js:42)
    at Object.<anonymous> (survey.vue.min.js:42)
    at t.e.propertyValueChanged (survey.vue.min.js:7)
    at Array.n.push (survey.vue.min.js:7)
    at eval (eval at renderActivity (bet.js:1559), <anonymous>:787:65)
    at Array.forEach (<anonymous>)
    at Object.onCreatedLoader (eval at renderActivity (bet.js:1559), <anonymous>:775:51)

Hello, I've tried our example with conditions and Vuejs https://surveyjs.io/Examples/Library/?id=condition-kids&platform=Vue&theme=default and it looks ok.
Do you use surveyjs editor and error occurs there?
Could you please try older versions, so we could understand wich of them is broken.

Sorry, I forgot to mention I am using Vue version.
I temporarily fixed this issue by following patches to the survey.vue.js
 ItemValue.runConditionsForItems = function (items, filteredItems, runner, values, properties) {
        if (!values) {
            values = {};
        }
        var itemValue = values["item"];
        var hasChanded = false;
        for (var i = 0; i < items.length; i++) {
            var item = items[i];
            values["item"] = item.value;
            console.log(item.runConditionsForItems, item)
            var itemRunner = item.getConditionRunner();
            if (!itemRunner) {
                itemRunner = runner;
            }
            var vis = true;
            if (itemRunner) {
                vis = itemRunner.run(values, properties);
                if (vis) {
                    filteredItems.push(item);
                }
            }
            else {
                filteredItems.push(item);
            }
            if (vis != item.isVisible) {
                hasChanded = true;
                item.setIsVisible(vis);
            }
        }
        if (itemValue) {
            values["item"] = itemValue;
        }
        else {
            delete values["item"];
        }
        return hasChanded;
    };

to
 ItemValue.runConditionsForItems = function (items, filteredItems, runner, values, properties) {
        if (!values) {
            values = {};
        }
        var itemValue = values["item"];
        var hasChanded = false;
        for (var i = 0; i < items.length; i++) {
            var item = items[i];
            values["item"] = item.value;
            console.log(item.runConditionsForItems, item)
            var itemRunner = (!!item.getConditionRunner) ?item.getConditionRunner():false;
            if (!itemRunner) {
                itemRunner = runner;
            }
            var vis = true;
            if (itemRunner) {
                vis = itemRunner.run(values, properties);
                if (vis) {
                    filteredItems.push(item);
                }
            }
            else {
                filteredItems.push(item);
            }
            if (vis != item.isVisible) {
                hasChanded = true;
                if(!!item.setIsVisible)
                    item.setIsVisible(vis);
            }
        }
        if (itemValue) {
            values["item"] = itemValue;
        }
        else {
            delete values["item"];
        }
        return hasChanded;
    };

@omkardusane we've added your fix to our code, thanks.

Thanks @dmitrykurmanov

@dmitrykurmanov
Hi,
I just pulled this fix in 1.0.32 (till now I was using the lib containing my changes) and now I am seeing this error in the console. Though it is not making any functionality broken. but still, it seems like something is wrong.
survey.vue.min.js:6 Uncaught TypeError: Cannot read property 'strChanged' of undefined
    at Function.e.locStrsChanged (survey.vue.min.js:6)
    at t.e.locStrsChanged (survey.vue.min.js:6)
    at t.locStrsChanged (survey.vue.min.js:6)
    at t.locStrsChanged (survey.vue.min.js:6)
    at t.locStrsChanged (survey.vue.min.js:6)
    at t.notifyElementsOnAnyValueOrVariableChanged (survey.vue.min.js:6)
    at t.notifyQuestionOnValueChanged (survey.vue.min.js:6)
    at t.setValue (survey.vue.min.js:6)
    at t.setValueCore (survey.vue.min.js:6)
    at t.setNewValueInData (survey.vue.min.js:6)

survey.vue.min.js:6 Uncaught TypeError: Cannot read property 'strChanged' of undefined
    at Function.e.locStrsChanged (survey.vue.min.js:6)
    at t.e.locStrsChanged (survey.vue.min.js:6)
    at t.locStrsChanged (survey.vue.min.js:6)
    at t.locStrsChanged (survey.vue.min.js:6)
    at t.locStrsChanged (survey.vue.min.js:6)
    at t.notifyElementsOnAnyValueOrVariableChanged (survey.vue.min.js:6)
    at t.notifyQuestionOnValueChanged (survey.vue.min.js:6)
    at t.setValue (survey.vue.min.js:6)
    at eval (eval at renderActivity (bet.js:1611), <anonymous>:964:39)


adds prettier

What's this PR do?
Adds prettier for automated code style formatting
Where should the reviewer start?
package.json precommit

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is 88.88%.

@@          Coverage Diff           @@
##           master     #25   +/-   ##
======================================
  Coverage    82.5%   82.5%
======================================
  Files           4       4
  Lines          80      80
  Branches       13      13
======================================
  Hits           66      66
  Misses          9       9
  Partials        5       5

Impacted Files
Coverage Δ

src/setupTests.ts
100% <ø> (ø)
:arrow_up:

src/validators.ts
100% <100%> (+14.28%)
:arrow_up:

src/FormContainer.tsx
84% <100%> (+0.32%)
:arrow_up:

src/validate.ts
70% <60%> (-5%)
:arrow_down:

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 cb1c64e...98b8abc. Read the comment docs.

Coverage increased (+0.2%) to 82.407% when pulling 98b8abc42e749a582693bb9448fdbb71b33fba88 on feature/prettier into cb1c64e5a14d5a70bea12f86adc15df2e1f2cc37 on master.

Interesting. I've always wondered about using this. Are you using it elsewhere as well?

yes, loving it


Create Uber jar  with sbt assembly and cross compilation

Added Cross compilation across different scala version
Added assembly for creating uber jar
Added steps to publish the uber jar to  maven central

@Rajesh2015, can you please pull and merge latest version of main. I have made changes to build.sbt, so you have to resolve conflicts if it doesn't merge automatically!

@henrikbulldog  Its done I merged the changes from main .Please review and merge this to main


Generic Filters

Motivation
Fixes #119
I did not add the specific DateTime and decimal constructors. I have also kept the original method signatures for all of the filters for backward compatibility.
The issue (#119) calls out that all filters should implement DateTime and decimal constructors, then utilize a new constructor in Filter to accept objects as values. The original issue (#27), has a proposed solution in such a way; however, doing so defeats the purpose of creating a generic filter in the first place. Since, if we were to go the object route, all values would get converted to a string, removing the need for a generic and for GetQueryStringParameter to handle types in a switch.
Instead, I opted to go the route of the generic filter and implemented a switch statement to interpret string, DateTime, and numeric types (int, decimal, float, etc.). The downside here is that we lose the specific constructors for DateTime and decimal values.
Checklist

[x] Code follows coding conventions held in this repo
[x] Automated tests have been added
[x] Tests are passing
[x] Docs have been updated (if applicable)
[x] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
Create queries using the new filters and confirm that results are correctly filtered.

I've been looking into some of the other issues and think it would be better if we combined #56, #163, and #384 into a single issue. Then we can refactor the filters so that they support a Fluent API structure.
@pokornyd Looking for some thoughts on this idea before I close this pull request.

Hello @nkooman and thank you for your contribution, forgive the rather late response. I'll review your proposed changes, as well as the issues you suggested for merging with this PR and get back to you with any comments, thanks for your patience.


Fixes command-line args parsing when one-character argument is followed by ;

Summary of the Pull Request
Changes the way _addCommandsForArg determines if the delimiter was at the beginning of the argument so that it accounts for the fact that match includes the last character of the string before it.
PR Checklist

[x] Closes #13277
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[ ] Schema updated.
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #13436

Validation Steps Performed
wt -p "u"; nt -p "u" does not cause an error

Would it be ok add them to ParseTrickyCommandlines or ParseSimpleCommandline?
Is testing that one-character argument parsed correctly enough or are there more test cases that need to be added?

ParseTrickyCommandlines  seems fine to me ; the wt -p "u"; nt -p "u" test case seems good enough of a test to me 😄

(Future improvement:) Looking at _commandDelimiterRegex, I get the feeling that this code would be a lot more robust if we'd just find(L';') and check if the preceding character is != L'\\'.

Yes and no.
What if the character before the \ is \? \\; is not the same as \;!

What if the character before the \ is \? \\; is not the same as \;!

The regex is currently (^;|[^\];) and described as

Either a ; at the start of a line, or a ; preceded by any non-\ char.

There's nothing in the regex that would handle such a case. If we handle it, it must be elsewhere or not at all...

This vaguely worries me, actually. Why are we using a regex to match a character followed by ; when what we want to know is whether there is a ;? Is it just because we need to match anything except a \?
Leonard's right, we should be using a more direct/implementation-specific string parser rather than a regex. It would give us control over exactly when we match and when we "vend". :)


Multi-page for local data is empty

Backbone.localStorage  multi-page can be used for data storage it?

Sorry, forgot to perform fetch operations。


Pass request

PR for https://github.com/adamghill/django-unicorn/issues/73.

Super messy, but this got merged manually in 19b9d4f4c8e5823eba959152b700906bcbe64fbf (that's what I get for using the GitHub rebase UI).


Error extension on Android Studio and VSCode

Hai there, i have some bug here,, my extension is showing error on as and vscode,
here my doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-ID)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.2)
[✓] Connected device (1 available)

• No issues found!

and here the error on IDE
Android Studio

VS Code

Thanks for help..

@congfandi
for flutter's vs code plugin
following the information on vscode marketplace
the issue should be opened here
for flutter'a android studio / jetbrains plugin
following the information on the plugin's page
the issue should be opened here
not on flutter's githib repo

Hi @congfandi
Cany you please provide your flutter analyze -v and flutter run --verbose from terminal
I can't reproduce this issue on the latest stable

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.3, on Microsoft Windows [Version 10.0.19041.450], locale en-US)
    • Flutter version 1.20.3 at C:\Code\flutter_stable
    • Framework revision 216dee60c0 (6 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.48.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.0

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

It might plugin issue but both IDEs are showing it so I wonder what's going in
Can you also provide  a complete reproducible minimal code sample instead of screenshot
Thank you

Hi @congfandi
Cany you please provide your flutter analyze -v and flutter run --verbose from terminal
I can't reproduce this issue on the latest stable

flutter doctor -v
It might plugin issue but both IDEs are showing it so I wonder what's going in
Can you also provide a complete reproducible minimal code sample instead of screenshot
Thank you

here @TahaTesser
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-ID)
    • Flutter version 1.20.3 at /Users/congfandi/development/flutter
    • Framework revision 216dee60c0 (6 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/congfandi/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.0

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) (mobile) • 4C97FEF2-E3C8-4A85-8B90-D5B4B5BF06F9
      • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)

• No issues found!

[ +380 ms] executing: [/Users/congfandi/development/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[ +250 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 216dee60c0cc9449f0b29bcf922974d612263e24
[   +1 ms] executing: [/Users/congfandi/development/flutter/] git tag --contains
HEAD
[ +250 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.3
[  +12 ms] executing: [/Users/congfandi/development/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/congfandi/development/flutter/] git ls-remote
--get-url origin
[  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +95 ms] executing: [/Users/congfandi/development/flutter/] git rev-parse
--abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +7 ms] executing: sw_vers -productName
[  +27 ms] Exit code 0 from: sw_vers -productName
[   +1 ms] Mac OS X
[   +1 ms] executing: sw_vers -productVersion
[  +17 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.6
[        ] executing: sw_vers -buildVersion
[  +17 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19G2021
[  +71 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +11 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[   +6 ms] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping
update.
[ +969 ms] dart --disable-dart-dev
/Users/congfandi/development/flutter/bin/cache/dart-sdk/bin/snapshots/analysis_s
erver.dart.snapshot --disable-server-feature-completion
--disable-server-feature-search --sdk
/Users/congfandi/development/flutter/bin/cache/dart-sdk
[  +47 ms] ==>
{"id":"1","method":"server.setSubscriptions","params":{"subscriptions":["STATUS"
]}}
[   +2 ms] ==>
{"id":"2","method":"analysis.setAnalysisRoots","params":{"included":["/Users/con
gfandi"],"excluded":[]}}
[   +3 ms] Analyzing congfandi...
[ +566 ms] <==
{"event":"server.connected","params":{"version":"1.28.0","pid":61125}}
[  +36 ms] <== {"id":"1"}

Hi @congfandi
Cany you please provide your flutter analyze -v and flutter run --verbose from terminal
I can't reproduce this issue on the latest stable

flutter doctor -v
It might plugin issue but both IDEs are showing it so I wonder what's going in
Can you also provide a complete reproducible minimal code sample instead of screenshot
Thank you

this is not help me :-(

Have you installed dart extension also in vscode and Android studio ?
Thanks

Hi @congfandi
Yeah doctor -v doesn't show dart extension, can you please make sure you've dart extension in vs code and android studio

This issue doesn't reproduce on my multiple laptops, It must be your setup

Hi @congfandi
Yeah doctor -v doesn't show dart extension, can you please make sure you've dart extension in vs code and android studio

This issue doesn't reproduce on my multiple laptops, It must be your setup

I have been install it
here my SS
Android Studio Side

Visual Studio Side

Have you installed dart extension also in vscode and Android studio ?
Thanks

i have been install it ? is this issue on my mac ?
@Abhishek01039  @TahaTesser  ?? thanks for help..

Hi @congfandi
Can you please try new project flutter create myapp and add this code and make sure you've min sdk 2.7.0
environment:
  sdk: ">=2.7.0 <3.0.0"

oke, a min.

It's work,, can you please tell me what happen?
Thanks @TahaTesser  for help

can i close this issue ?

me and my team got this issue @TahaTesser  and you save my life .. thanksss...

@congfandi
Extensions were introduced in dart 2.7.0, therefore you need min to be at least that  https://dart.dev/guides/language/extension-methods
given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you


Add test for metronome config

Add some tests for MetronomeConfig based on the issue occurred on https://github.com/dcos/metronome/commit/545acd030e34447d957ffcf01bd3fff336cb3fa9
I could not reproduce what the issue could have been so I appreciate if someone could guide into what the test should look like (i.e. what is the value in play.server.http.port that broke the config parsing.
I just saw that there is a suggested (Or required?) commit message pattern. I'll try to update my other PRs (and all from now on) to follow that pattern as well.
Thanks!

@grillorafael that's exactly right... METRONOME_PLAY_SERVER_HTTP_PORT was set to disabled which has been that way for some time and others prefer the readability of that value.

I’m ok with that. Just added some tests (will add more in the future) for the config to make sure at least the behavior is documented somewhere. And again by bad for breaking this.


[Gssoc'21] Scrolling is very fast

Describe the bug
I would like to make the scrolling little bit smooth.
Its just feel good in a website

Okay

@vigneshshettyin kindly review my PR and add same labels to it.


Update kubernetes plugin

The kubernetes plugin that is currently in use is quite old probably many fixes been made since then. Can you update?

At this point unless a security advisory, dependency chain req,  or a support case comes in that cites a specific bug fixed by a newer version of k8s, we are standing pat.
And of course this image is meant to extended for various things including bumping plugin versions or installing new plugins.
thanks


Collapsable filter header

Issue Type

[x] Question

Hello,
Is there any css class attached with the filter header row? I would like have it collapsed by default and then give the user to expand it when needed.
Any suggestion?
Thank you
Sylvain

hey @sylvaincaillot you can now customize header rows using slots:
https://xaksis.github.io/vue-good-table/guide/advanced/grouped-table.html#customizing-header-row
closing.

@sylvaincaillot I was looking to do this as well, and @xaksis provided a method for doing this by setting the filter enabled false, see #355 for details and fiddle


Find/Filter Folders by String

Case:
I have a remote repo I'm working on with ~300 projects. It's a little tedious to scroll down to the one I want.
Proposal:
Was wondering if there was a possibility to add a way to type the first part of the folder string and either go to the matched folder(s) or filter to matched folder(s).
Tried searching, but if I missed an existing issue, I apologize for the dup. Also thanks for the dope plugin, and your consideration.

The Remote-FTP > Navigate to feature could be used for that, but it doesn't seem to scroll to the specified location yet...
And for usability one could add an autocomplete function like you mentioned.
Feel free to submit a PR :)


Mesh for a complicated cross-section of a composite slab

Hello,
I'm Nelly and I'm a student of the Leibniz University of Hannover. I'm using Safir for my final thesis.
I created a cross-section of a composite slab of concrete, steel and reinforcements for a 2D Thermal Analysis and I have some problems with the mesh. I tried to make many sections to have a regular mesh. When I calculate the IN.File, I receive an error for one element (see picture). I checked the surfaces and the order/direction of the lines too, but I can't find the solution. Can you help me? Do you have tips to do a good mesh for this kind of cross-section?
Best Regards
Nelly

Slab.geo.txt
Slab.g4s.txt

Please, correct first the geometry problems mentioned in the log window (in red characters, down right), these might contribute to cause your problem

Thanks for you answer and your tip!
Probably I had an error in the script with the order of the numbers. I think the command "Boolean Difference" was the problem. In the beginning I had two surfaces in the middle - "concrete" and the steel profile. So I used the Boolean Command to cut out the steel profil of the concrete section. But then the mesh didn't work. So I did many surfaces and connected them with the command "physikcal groups". Then it worked well. Maybe that was the fault.


Continue training from a trained model on custom dataset

I have trained the network on custom dataset for a few epochs. But had to stop the training in the middle. How do I go about continuing the training from where I left off?
Thanks!

There is a "--checkpoint" parameter on pix2pix.py tool. It starts from the last saving model operation.

Oh great! Thanks!


chore(build): drop DLL stage

This PR removes dll stage of build because it doesn't provide any performance benefits and massively simplifies webpack's config. Build time was reduced from 01:36 to 01:25.

Released in<EMAIL_ADDRESS>


CS0012 error

trying to follow the documentation of this.  always getting an saying.  it could be a basic hello world project and this error always happens...
Error CS0012: The type 'Unit' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Reactive.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. (CS0012) (

no longer an issue, sorry

mind to tell how you fixed it ?

@Bartmax I ran into the same issue and I was able to resolve it by adding the nuget package System.Reactive.Core to the project. You can install the latest version and not the specific version that it references in the error message.

Still broken for me. Using latest ReactiveUI with WinForms.

Nevermind ... Had old Rx packages. I see they were renamed. It was causing a conflict when I updated my packages.


QGC overlook warning

Apparently I'm not the only one overlooking the warning and searching elsewhere. Maybe warning needs to be more in your face ;)

QGC warnings should pop up in a window just below the toolbar as well. Did you get a warning that didn't pop a window? If so, can you come up with steps to reproduce and put the issue on QGC github?

@ChristophTobler please open a new one in the QGC tracker if this is still an issue.


Add HTTP Public Key Pinning support

Suggested in #23.

I'm not such how to setup HPKP to be honest. I have read a little about it here: https://raymii.org/s/articles/HTTP_Public_Key_Pinning_Extension_HPKP.html
I think we might need to ask Let's Encrypt for the public.key in order to generate a fingerprint for the certificate and the public key. That part can be done in this project.
Generating the nginx configuration for HPKP shoud probably be done in jwilder/nginx-proxy if the public.key is availble. Pull requests are welcome.


space-cli should be able to exec into each instance of each pod

Currently, users need to use kubectl to exec into pods. This can quickly get tricky since the pods names are fairly random. We need to add the ability to exec into pods using space cli

Nope. Won't do. use kubectl or docker cli


Fix CI for CUPS 2.5

I found time to look why CI fails on Linux and came up with two fixes - for deadlock and infinite loop.

@michaelrsweet linux tests probably passes on httpAddrGetList() because the Linux machine hostname is not .local.... so mDNS resolution might be broken there as well... but what is interesting, Alex's job which is not so old and Mac CI failed before on the issue, his job passes... looks like it depends on something inside CI...

If you mean the hangs in Linux pipelines, one was directly connected to code with Avahi support, so you would need to build CUPS with Avahi, ideally in some Linux VM.
The infinite loop happened because those two cups_elapsed(), which change the time baseline, were close to each other, thus the time difference was too small or none to get the loop finish in actual 1s as the default remaining time is. What I can think of is what could happen and could cause normal behavior is that your machine takes more time between those calls (so there is a bigger difference) or the time is more precise, so a time difference is generated as well.
But I could reproduce both issues locally on my Fedora 38 laptop.
I was thinking about the MacOS issue as well - we add .local. to machine's hostname in httpGetHostname() for MacOS if the hostname does not contain a dot. So as a workaround we can set the machine hostname to a new which will contain a dot, but this way we will lose the coverage of this part of code. Do you know what package/module/library does mDNS resolution in MacOS?
I know Mac uses mDNSResponder, but I don't know if it contains plugin for resolving .local addresses in glibc functions like getaddrinfo() - nss-mdns does it in Linux by adding a new value into the line 'hosts' in name service switch configuration file (either /etc/nsswitch.conf or via authselect), which makes glibc to load a library provided by nss-mdns, which sends the resolving request to Avahi, processes response and gives answer to the glibc function. Does it work a similar way on Mac?


Get queried properties in the current request

Is there a way within resolvers functions to get the properties requested by the client?
This feature sounds very useful to implement a mechanism that allow to fine tuning, say, a DB query with only a required data.
Anyone knows about this?
Many thx in advance.

There has been such requests in the past. I'll close this issue as a duplicate of #17
The easiest workaround is to use a dynamic resolver with a Golang chan, which blocks until the field has been provided. It'll only call the fields that have been requested. The downside is that you'll not know the fields in advance.
You can also take a look at the example dataloader that @tonyghita has written.


Cannot include enums with punctuation or leading digits

The enum value '2\'0"' throws the following error when running codegen:
  [error] src/graphql/generated/resolvers/equitation_class_height_type.ts: SyntaxError: Unterminated string literal. (9:12)
[error]    7 |   name: "EquitationClassHeight",
[error]    8 |   values: {
[error] >  9 |     2'0": {
[error]      |            ^
[error]   10 |         value: "2'0\"",
[error]   11 |
[error]   12 |       },

This also makes me think an enum value of 1a would throw an error as well.

Yeah, looks like an enum value of '0.60m' also throws an error.
[error] src/graphql/generated/resolvers/equitation_class_height_type.ts: SyntaxError: An identifier or keyword cannot immediately follow a numeric literal. (9:9)
[error]    7 |   name: "EquitationClassHeight",
[error]    8 |   values: {
[error] >  9 |     0.60M: {
[error]      |         ^
[error]   10 |         value: "0.60m",
[error]   11 |
[error]   12 |       },
: exit status 2
[error] src/ent/generated/equitation_event_base.ts: SyntaxError: An enum member name must be followed by a ',', '=', or '}'. (25:6)
[error]   23 |
[error]   24 | export enum EquitationClassHeight {
[error] > 25 |   060m = "0.60m",
[error]      |      ^
[error]   26 |   065m = "0.65m",
[error]   27 |   070m = "0.70m",
[error]   28 |   075m = "0.75m",
: exit status 2

use
EnumType({ map: {Foo: '2.0', Bar: '0.60m'}});


cURL error: [77]

The script keeps trowing he following error:
cURL error: [77] Problem with the SSL CA cert (path? access rights?)
What might be the problem?

https://github.com/Quixotix/PHP-PayPal-IPN/pull/44


Tts aiofiles

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Convert TTS requests to async using aiohttp/aiofiles to prevent message blocking during text-to-speech generation.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[ ] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description

Convert TTS requests to async using aiohttp/aiofiles to prevent message blocking during text-to-speech generation. This fixes the issue where other messages were frozen while waiting for TTS API responses.

Changed

Sending TTS requests in backend/open_webui/apps/audio/main.py

Fixed

Other messages freezing and waiting for TTS generation completion.

Is this PR tested?

@tjbck Tested with openai compatible TTS server, with works well on both punctuation/ whole spliting. During the generation, other clients could still send/ receive requests.

Great, Thanks for the PR!


K3s 1.21.4-k3s1 version modified certificate expiration time does not take effect

Environmental Info:
K3s Version:

k3s version v1.21.4+k3s- (3e250fd)
go version go1.16.6
Node(s) CPU architecture, OS, and Version:

Linux k3s-n1 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:

1 servers
Describe the bug:

After modifying the expiration time of the certificate file generated by k3s, the recompilation and installation will not take effect
Steps To Reproduce:

Installed K3s:

wget https://github.com/k3s-io/k3s/archive/refs/tags/v1.21.4+k3s1.tar.gz

tar -xf v1.21.4+k3s1.tar.gz && cd k3s-1.21.4-k3s1

Major modification files

vendor/github.com/rancher/dynamiclistener/cert/cert.go

maxAge := time.Hour * 24 * 365 * 100         // one year self-signed certs

NotAfter:     time.Now().Add(duration365d * 100).UTC()

vendor/github.com/rancher/dynamiclistener/factory/cert_utils.go

All NotAfter places

NotAfter:     time.Now().Add(time.Hour * 24 * 365 * 100).UTC(),

Annotate the following content, recompile

$ make
$ cp dist/artifacts/k3s /usr/local/bin/
$ INSTALL_K3S_SKIP_DOWNLOAD=true INSTALL_K3S_EXEC="server --data-dir=/data/k3s --docker " ./install.sh
Expected behavior:

All certificates expire after 100 years
Actual behavior:

$ for i in ls /data/k3s/server/tls/*.crt; do echo $i; openssl x509 -enddate -noout -in $i; done
/data/k3s/server/tls/client-admin.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-auth-proxy.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-ca.crt
notAfter=Nov  1 11:47:51 2031 GMT
/data/k3s/server/tls/client-controller.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-k3s-cloud-controller.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-k3s-controller.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-kube-apiserver.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-kube-proxy.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/client-scheduler.crt
notAfter=Nov  3 11:47:51 2022 GMT
/data/k3s/server/tls/request-header-ca.crt
notAfter=Nov  1 11:47:51 2031 GMT
/data/k3s/server/tls/server-ca.crt
notAfter=Nov  1 11:47:51 2031 GMT
/data/k3s/server/tls/serving-kube-apiserver.crt
notAfter=Nov  3 11:47:51 2022 GMT
Additional context / logs:

Backporting

[ ] Needs backporting to older releases

Describe the bug:
After modifying the expiration time of the certificate file generated by k3s, the recompilation and installation will not take effect

The "code" below that you have shared does not modify existing certificates but the parameters for creating new ones (which only get created when they are missing or about to expire). By the way you have formatted your Steps to Reproduce it would seem that you have installed k3s before modifying the source, thus it seems likely to me that you are inspecting the original certificates created with the unmodified code.

Steps To Reproduce:

Installed K3s:
wget https://github.com/k3s-io/k3s/archive/refs/tags/v1.21.4+k3s1.tar.gz
tar -xf v1.21.4+k3s1.tar.gz && cd k3s-1.21.4-k3s1
Major modification files
vendor/github.com/rancher/dynamiclistener/cert/cert.go
maxAge := time.Hour * 24 * 365 * 100         // one year self-signed certs
NotAfter:     time.Now().Add(duration365d * 100).UTC()
vendor/github.com/rancher/dynamiclistener/factory/cert_utils.go
All NotAfter places
NotAfter:     time.Now().Add(time.Hour * 24 * 365 * 100).UTC(),
Annotate the following content, recompile

$ make $ cp dist/artifacts/k3s /usr/local/bin/ $ INSTALL_K3S_SKIP_DOWNLOAD=true INSTALL_K3S_EXEC="server --data-dir=/data/k3s --docker " ./install.sh
Expected behavior:
All certificates expire after 100 years

This would be ill-advised.

Actual behavior:
$ for i in ls /data/k3s/server/tls/*.crt; do echo $i; openssl x509 -enddate -noout -in $i; done /data/k3s/server/tls/client-admin.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-auth-proxy.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-ca.crt notAfter=Nov 1 11:47:51 2031 GMT /data/k3s/server/tls/client-controller.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-k3s-cloud-controller.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-k3s-controller.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-kube-apiserver.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-kube-proxy.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/client-scheduler.crt notAfter=Nov 3 11:47:51 2022 GMT /data/k3s/server/tls/request-header-ca.crt notAfter=Nov 1 11:47:51 2031 GMT /data/k3s/server/tls/server-ca.crt notAfter=Nov 1 11:47:51 2031 GMT /data/k3s/server/tls/serving-kube-apiserver.crt notAfter=Nov 3 11:47:51 2022 GMT

As mentioned above, I think you are inspecting the certificates generated on the original install. If you run k3s-uninstall.sh and then reinstall your modified version of k3s you will likely get the results that you expect.

First time, I think, that I have ever seen a bug report against local modifications.


[6.3.0] testing_phase2 Please ignore.

Forked from #346

Cherry-picked in https://github.com/bazelbuild/bazel/pull/19888


feat: add us-east-1 N. Virginia

Describe the feature you'd like to request
Add support for US-East 1 to Upload Thing region options

Describe the solution you'd like to see

Additional information
I'm not sure if there's a reason for not including it but it forces moving all infra to a different region if trying to keep all servers together.
👨👧👦 Contributing

[ ] 🙋♂ Yes, I'd be down to file a PR implementing this feature!

No particular reason, just picked a minimal subset of regions optimizing for cost and latency. I don't have my original test data anymore, but I found a report that seems to have come to similar conclusions.

I don't mind adding the additional region though, will add east-1 to the list for the next time I add a batch of regions 👍

Thanks! if possible could you ping me whenever the change is made?

Yup, I will leave this open until the change is made 👍

Closing in favor of #840
@versecafe just wanted to get them all in one place, rather than having a bunch of separate issues. not added yet


If the path has been granted to the specified role, the user's request which does not provide username/password should be rejected?

1) rootpath has been granted to the role named 0813
./etcdctl -u root:1111 role get 0813
Role: 0813
KV Read:
/rootpath/*
KV Write:
/rootpath/*
2) it can get the value using test2 which belong to the role named 0813
./etcdctl -u test2:1111 get /rootpath/key
value
3) but if  I got this key directly without given any username, it can still get the value
./etcdctl get /rootpath/key
value

etcd will create a guest role when enabling security, which has the full access to the key space. You can check the details here: https://github.com/coreos/etcd/blob/master/Documentation/authentication.md#role-guest This helps users to enable auth feature smoothly.
You can change the permission of guest role to disable this.

Ok , Got it. thanks .
This issue can be closed!


chore(recording): add tooltip

What this PR does 📖

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

THANKS @phillsatellite 😂 FIXED supposedly 😂

WOW 🎉 THANKS @phillsatellite 😂

loool 😂


riot-desktop: add gsettings schemas to the wrapper

Motivation for this change
Fix #83544
Things done

[x] Tested using sandboxing (nix.useSandbox)
Built on platform(s)

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change (only riot-desktop)
[x] Tested execution of all binary files
[x] Tested file picker works
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thank you for the review. I'm merging it.


[Bug]: invalid document id in url throws error in SSR

Which Remix packages are impacted?

[X] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
latest
What version of Node are you using? Minimum supported version is 14.
16
Steps to Reproduce
Make a new remix app, start dev server, then append an id to the url #foo and it will throw an error on refresh.
Expected Behavior
no errors to be thrown, people can append whatever they want to urls, it shouldn’t break SSR of your page
Actual Behavior
page crashes and without an error boundary in place nothing is rendered besides the error

I wasn't able to reproduce this, I created a new Remix app and selected Remix App Server as the deployment target.

Maybe this is an issue with remix + wrangler. I will try to check soon

I guess the same problem as this issue #935

@chenc041 ah yep, that is it. ill close this


[HTML]: Add option to indent HTML tag text in a newline

Description
I've read the js-beautify-html options and issues with label language: html.
Input
With this new feature, when I give like this input:

Lorem ipsum.

Lorem ipsum.

Lorem ipsum.Lorem ipsum.Lorem ipsum.

Expected Output
I'd like to see this output:

    Lorem ipsum.

    Lorem ipsum.

    Lorem ipsum.

        Lorem ipsum.

    Lorem ipsum.

Environment
OS: MacOS High Sierra & Mojave

@ntnyq
Thanks for the report.
These two inputs produce different formatting due to span being an inline tag, so that will never be supported.
Lorem ipsum.

    Lorem ipsum.

However the other part is reasonable and is tracked by #980 (was missing the html label, added now).


Support client side VAD

To support client side VAD, the server should send FINAL hyp after a specified timeout, even if it's not been recieving any audio (so not much silence is detected)

I don't really like this idea. I would like the server to be as independent of actual time as possible.
Currently, I would recommend to just send an EOS when a client side silence is detected, and start a new session when speech restarts.
Another possibility would be to come up with a new message (similar to "EOS") to mark client side end of a speech segment, that client must send to the server, and the server somehow forwards to the Kaldi plugins. This would need some supporting code from the plugins.

I also would like the alternative solution Tanel proposes (End Of Segment
signal). This would be useful to switch models or grammars between speech
segments, without having to reload the workers.
On Wed, Jul 29, 2015 at 10:44 AM, Tanel Alumäe<EMAIL_ADDRESS>wrote:

I don't really like this idea. I would like the server to be as
independent of actual time as possible.
Currently, I would recommend to just send an EOS when a client side
silence is detected, and start a new session when speech restarts.
Another possibility would be to come up with a new message (similar to
"EOS") to mark client side end of a speech segment, that client must send
to the server, and the server somehow forwards to the Kaldi plugins. This
would need some supporting code from the plugins.
—
Reply to this email directly or view it on GitHub
https://github.com/alumae/kaldi-gstreamer-server/issues/23#issuecomment-125882647
.

--
ricard
http://twitter.com/ricardmp
http://www.ricardmarxer.com
http://www.caligraft.com

I like the idea too. Maybe call it  PAU which is not much effort to send,
and then there will be no need to close connection. There could be other
signals for other stuff.
On Jul 29, 2015 5:17 AM, "Ricard Marxer"<EMAIL_ADDRESS>wrote:

I also would like the alternative solution Tanel proposes (End Of Segment
signal). This would be useful to switch models or grammars between speech
segments, without having to reload the workers.
On Wed, Jul 29, 2015 at 10:44 AM, Tanel Alumäe<EMAIL_ADDRESS>wrote:

I don't really like this idea. I would like the server to be as
independent of actual time as possible.
Currently, I would recommend to just send an EOS when a client side
silence is detected, and start a new session when speech restarts.
Another possibility would be to come up with a new message (similar to
"EOS") to mark client side end of a speech segment, that client must send
to the server, and the server somehow forwards to the Kaldi plugins. This
would need some supporting code from the plugins.
—
Reply to this email directly or view it on GitHub
<
https://github.com/alumae/kaldi-gstreamer-server/issues/23#issuecomment-125882647
.

--
ricard
http://twitter.com/ricardmp
http://www.ricardmarxer.com
http://www.caligraft.com
—
Reply to this email directly or view it on GitHub
https://github.com/alumae/kaldi-gstreamer-server/issues/23#issuecomment-125889376
.


add and improve icons

add icons for files for the ash shell
add static resources directory icons
add android directory icons
add bash history icon
add packaging icons
add cache icons
improve the icon for idlerc
add java icon
add magic files icon
add development icons ( like tests directory )
add pdb password database icon

TODO

[x] Use cargo fmt
[x] Add necessary tests
[x] Update default config/theme in README (if applicable)
[x] Update man page at lsd/doc/lsd.md (if applicable)

Codecov Report

Merging #942 (e84a701) into master (36c8f26) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head e84a701 differs from pull request most recent head b27f453. Consider uploading reports for the commit b27f453 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##           master     #942   +/-   ##
=======================================
  Coverage   85.74%   85.74%
=======================================
  Files          51       51
  Lines        5001     5001
=======================================
  Hits         4288     4288
  Misses        713      713

Files
Coverage Δ

src/theme/icon.rs
100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

the others lgtm, thanks @TruncatedDinosour

@zwpaper deduped it


Issue 606: Add Non/InformationResource and UUID rule exception

This Pull Request resolves all backwards-compatible requirements of Issue #606 .

The new classes still need definition strings.

Closing this PR in light of #606 splitting.


Some entries are missing in popupmenu

https://github.com/hrsh7th/nvim-cmp/issues/157#issuecomment-920331704 (TLDR when LSP source is active some snippets from LuaSnip source aren't visible in popupmenu)
I thought this was a nvim-cmp issue, but @hrsh7th said that this issue is related to LuaSnip source

Hi yes I'll look into it :)

I can't reproduce here's the screenshot of both for snippets showing up

Here's the minimal config I tried. Can you reproduce with this config?
vim.cmd [[packadd packer.nvim]]

require('packer').startup(function()
	use 'wbthomason/packer.nvim'
	use {
		'L3MON4D3/LuaSnip',
		requires = {
			'rafamadriz/friendly-snippets'
		}
	}
	use {
		'hrsh7th/nvim-cmp',
		requires = {
			'hrsh7th/cmp-nvim-lsp',
			'saadparwaiz1/cmp_luasnip'
		}
	}

	use {
		'neovim/nvim-lspconfig'
	}
end)

require('luasnip').config.setup({})
require('luasnip.loaders.from_vscode').load()

local cmp = require('cmp')
cmp.setup {
	snippet = {
		expand = function(args)
			require'luasnip'.lsp_expand(args.body)
		end
	},
	sources = {
		{ name = 'luasnip' },
		{ name = 'nvim_lsp'},
	},
	mapping = {
	  ['<C-d>'] = cmp.mapping.scroll_docs(-4),
	  ['<C-f>'] = cmp.mapping.scroll_docs(4),
	  ['<C-Space>'] = cmp.mapping.complete(),
	  ['<C-e>'] = cmp.mapping.close(),
	  ['<CR>'] = cmp.mapping.confirm({
	    behavior = cmp.ConfirmBehavior.Replace,
	    select = true,
	  })
	}
}

local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)

require'lspconfig'.clangd.setup {
  capabilities = capabilities,
}

I tried your minimal config and I can't reproduce this issue with your config
Maybe it's a problem with my config...
I'll investigate and I'll let you know

@xeluxee sounds good :)

Just discovered that this issue was caused by dup setting in vim.CompletedItem variable
I'm trying LunarVim so I didn't know about this setting that was already present there.
Setting dup to 1 makes everything fine.
Sorry for wasting time

Thank you for letting me know :)


[HUDI-6902] Detect the cause of orphan processes_2

Change Logs
Using binary search to find the offending test: java client module.
Impact
Fix the timeout issues for different tests.
Risk level (write none, low medium or high below)
None.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Have found the flaky test.


Allow insecure TLS for trivy, uploader, and CI

This PR fixes #
Checklist

[ ] I have signed the CLA
[ ] I have updated/added any relevant documentation

Description
What's the goal of this PR?
What changes did you make?
What alternative solution should we consider, if any?

Merging this in for a customer.


Is it possible to extend pdf.js to support a new format?

Apologize first, this is not an issuer, but a question.
I need to render a new document format(similar to MS xps) using JavaScript, and it will take a lot of work if I start writing from scratch.
pdf.js is an excellent project, some work should be general for document rendering, so I want to try to expand pdf.js to support this new format. (I have some basics in PDF format)
My initial plan is to add a document parsing module, and use pdf.js as the backend for drawing, but I analyzed the class of CanvasGraphics in canvas.js and found that its APIs are designed for pdf syntax, unlike some PDF rendering engine in C language, there is a layer of general drawing API inside. In this case, I have to make a lot of changes to support the new document format, even impossible.
If I want to render the new format based on pdf.js, I want to know if the author has any good suggestions and which part is more suitable to start with.
Thanks to the authors of this excellent project！

Some parts of PDF.js can probably be re-used, such as the viewer, but PDF.js entirely built for the PDF file format, so we can't know how much work it would be to implement another file format since we only support PDF files.


BlynkSimpleEsp32.h:   No such file or directory

I tried to compile my first project and
I have the error BlynkSimpleEsp32.h:   No such file or directory
I Have a known good working ESP32 that I have used for connection to WiFi with success.
Please help this newbie.  Thank you.
Arduino: 1.8.5 (Mac OS X), Board: "Adafruit ESP32 Feather, 80MHz, 921600, Info"
/Users/csmcvea/Documents/Arduino/libraries/Blynk_Release_v0/libraries/GarageDoorOpener/GarageDoorOpener.ino:40:30: fatal error: BlynkSimpleEsp32.h: No such file or directory
compilation terminated.
exit status 1
`/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: http://www.blynk.cc
Sketch generator:           http://examples.blynk.cc
Blynk community:            http://community.blynk.cc
Follow us:                  http://www.fb.com/blynkapp
                            http://twitter.com/blynk_app

Blynk library is licensed under MIT license
This example code is in public domain.

You’ll need:

Blynk App (download from AppStore or Google Play)
ESP32 board
Decide how to connect to Blynk
(USB, Ethernet, Wi-Fi, Bluetooth, ...)

There is a bunch of great example sketches included to show you how to get
started. Think of them as LEGO bricks  and combine them as you wish.
For example, take the Ethernet Shield sketch and combine it with the
Servo example, or choose a USB sketch and add a code from SendData
example.
*************************************************************/
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
// You should get Auth Token in the Blynk App.

// Set password to "" for open networks.
char ssid[] = "my SSID here";
char pass[] = "my PASS here";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442);
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}
My directory structure:
`.DS_Store
libraries
tools
/Users/csmcvea/Documents/Arduino/libraries/Blynk_Release_v0/libraries:
.DS_Store
Blynk
BlynkESP8266_Lib
GarageDoorOpener
Time
TinyGSM
/Users/csmcvea/Documents/Arduino/libraries/Blynk_Release_v0/libraries/Blynk:
.DS_Store
LICENSE
Makefile
README.md
examples
keywords.txt
library.json
library.properties
linux
scripts
src
tests
/Users/csmcvea/Documents/Arduino/libraries/Blynk_Release_v0/libraries/Blynk/examples:
.DS_Store
Boards_Bluetooth
Boards_Ethernet
Boards_GSM
Boards_USB_Serial
Boards_WiFi
Boards_With_HTTP_API
Export_Demo
^G Get Help    ^O WriteOut    ^R Read File   ^Y Prev Page   ^K Cut Text    ^C Cur Pos
`

please consult our community forum for such questions: https://community.blynk.cc/


False positive webtrack.dhlglobalmail.com

Hello, I believe webtrack.dhlglobalmail.com is a false positive. It shows shipping status tracking for deliveries for the DHL shipping company. I normally like to provide full URLs, but since it’s shipping, the only URL I have shows my home address

Where DIRECTLY it is stored?

Its in https://raw.githubusercontent.com/FadeMind/hosts.extras/master/rlwpx.free.fr.htrc/hosts
Perhaps this isn't the right place for me to open a ticket?

specifically line number 34726

@lightswitch05 done. Thanks for report.


Add Task to delete DWD MR and secret in shoot deletion flow

How to categorize this PR?

/area control-plane
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cherry-pick release-v1.90


A suggestion

Are you sure these are the changes you're suggesting in #259? To me it just looks like a refactoring when now 1 method is handling all url visiting stuff.

yes that was my suggestion

Ah, then A suggestion PR/issue title was super non-helpful in understanding it.

@aik099  Haha! I was very surprised to see your
This better to be sent as a Pull Request right away.

However, I would like this shortcut to see in the next release, not in master.

This better to be sent as a Pull Request right away.

@spolischook , I've asked to sent a PR, because this is a code change and it better can be reviewed this way. That had nothing to do with code itself 😉

Removing the method is a BC break, because users could be calling it programmatically. So I'm -1 on this change (there is not enough benefit to counterbalance the BC break)


attr:data- doesn't get applied on components

Describe the bug
Data attributes applied to components with attr:data- are silently ignored and not applied to the html. Other attributes seem to work such as attr:draggable="true", but data attributes do not.
Leptos Dependencies
Please copy and paste the Leptos dependencies and features from your Cargo.toml.
For example:
leptos = { version = "=0.7.0-rc1", features = ["csr"] }

To Reproduce
#[component]
fn App() -> impl IntoView {
    view! {
        <Counter
            attr:draggable="true" // Works
            attr:data-foo="bar" // Doesn't get applied to html
        />
    }
}

#[component]
fn Counter() -> impl IntoView {
    view! {

"Hi

    }
}

Running cargo expand on this shows that the data attribute is not included in the builder code at all:
.add_any_attr(
     ::leptos::tachys::html::attribute::draggable("true"),
)

Expected behavior
All attributes prefixed with attr: should be correctly forwarded to the root html element of the component.
Additional context
Not sure if this is intended, but node_ref doesn't seem to be valid on components either. I initially planned to add a node_ref to the component so I could set the data attribute in an effect, however this also was not possible as node_ref is interpreted as a component prop.

Closed by #3214 but I typed the number of this issue wrong, there.
That addresses the issue but I had not read the point about node_ref in the additional context, so I guess I can leave this open to work on that part.

Actually the node_ref one is significantly trickier since node refs are typed, while the return types of components are typically opaque (-> IntoView). And adding attributes to components is also intended to work with components that return multiple top-level elements, but it's not clear what a NodeRef should do in that case.
For use cases when you do actually want to pass a NodeRef to a component (rather than just as a debugging mechanism) I'd recommend an actual node_ref prop with the correct type.

Could the NodeRef for components in cases like these just be very generic, such as NodeRef<leptos::html::HtmlElement> for example?

Sure but the second half of the issue remains: components can return multiple top-level elements (view! {
foo

bar
 }), and it's not at all obvious which one of those should go into the NodeRef! Every other attribute will just add the attribute to each of those elements; I think NodeRef is a case where explicitness is much better, and where the component author not the component user needs to decide how to handle that one.


Implementing Dashboard Main Page Design

Adding necessary HTML tags

For reference

Needs broken up into smaller stories, but these stories will be fairly obvious, and I can describe those which are not-so-obvious.

Made some more stories based on this.


Use scverse project template

Port this project into the new scverse template for ecosystem packages:
https://github.com/scverse/cookiecutter-scverse

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1884397). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #42   +/-   ##
=======================================
  Coverage        ?   68.42%
=======================================
  Files           ?        7
  Lines           ?       19
  Branches        ?        0
=======================================
  Hits            ?       13
  Misses          ?        6
  Partials        ?        0

Flag
Coverage Δ

unittests
68.42% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Delete by date doesn't work

Undiscord Version
v5.2.0
Browser
116.0.3 Firefox
Extension
TamperMonkey
Reproduction steps
Set before date to a date in the past.
Actual results
It deletes all, beginning from newest.
Expected results
I want to delete ONLY old messages, not the newest.
Bug affects

[X] DMs
[ ] DMs (group)
[X] Channels
[ ] Channel (NSFW)

Additional information & file uploads

I don't know how to use the Date correct, I would prefer that I can also decide to delete FIRST the old messages and not the new messages.
But it does ignore the date, always in all my tests.

Yep. Delete by date just deleted all the recent messages and then stopped despite the queue having over 4000 messages. The script's output looks like there was no problem.
Even after wiping the date the script kept saying it had nothing to do until I manually scrolled up.
These are huge bugs.

I believe that you have to input a time as well in the --:--. When I had the issue and did that, it worked for me. I usually just put midnight, but it seems to be required.

I believe that you have to input a time as well in the --:--. When I had the issue and did that, it worked for me. I usually just put midnight, but it seems to be required.

I will try it next time.

Can confirm--putting in a time as well as a date makes it work as expected


Update to point to barry's sample

Hi @leastprivilege, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@blowdart @Eilon

Oh heck no

Well - I deleted my code. Your sample should be the authoritative one.

We've opted to remove this section from the readme.


[OGM-1587]fix setMaxValue interface issue in some database, such as openGauss

https://hibernate.atlassian.net/browse/OGM-1587

https://hibernate.atlassian.net/browse/OGM-1587

You should create an issue for ORM not OGM.

https://hibernate.atlassian.net/browse/OGM-1587

You should create an issue for ORM not OGM.

get it
https://hibernate.atlassian.net/browse/HHH-18022


FEATURE: create launch AdaptiveNode class to configure sub-components at launch-time

consider subclassing ComposableNode and creating an AdaptiveNode class that allows for launch-time remapping of names, topics, etc.
See https://github.com/ros-acceleration/acceleration_examples/blob/main/image_proc_adaptive/launch/image_proc_adaptive.launch.py for a use case example.

Not in any roadmap, thereby closing for now.


Transaction viewer

The viewer tab will be only available to harmony networks.

Thanks. Set to be reviewed this week

with amount info retrieved from rosetta api:

We can make the changes later. I am testing locally, and if it works, I will merge it first

not showing my receive/send transactions

bunch of 500 from rosetta api. Also not showing my send transactions correctly

Clicking "Load More" generates one more tab in pagination selector, but doesn't automatically loads more to the table

Also "Load More" doesn't quite work on some of my wallets

I think the block state not found for block xxxx errors are limitations of the rosetta api - the hosting node of the api might not have all the block states available. Let's use the receipt-parsing method (i.e. parsing logs). See more at https://gist.github.com/cylim/d73f890cd856743c706b91bb37ac5890 , also see https://github.com/polymorpher/one-wallet/blob/c5c2ce7154aca932c260992c5e22d5290d2b3d4e/code/lib/api/flow.js#L298

I am making a few changes.

removing queries related to backlink addresses. I think it is clearer to show transactions related to only the current address being viewed. We can add an option to show transactions from all addresses later
remove pagination and use "load more" only. The reason is that we don't know the total number of transactions on the account. We can add a jump-to-date feature later if that's needed
show multiple events per transaction, and decode some methods when the signature is known (e.g. commit). Show errors in different style

TODO: use web3 contract events lookup to support eth- networks

TODO: fix all onRevealSuccess invocations that are not passing the second argument (events)

TODO: add some replacers that support raw amount, ERC20 resolution, ERC721/1155 resolutions


RetrievalqaChain doesn't support parameters other than 'query'.

Backgroud
RetrievalQAChain extends BaseChain, so it should inherit all the functionalities provided by BaseChain. However, I've noticed that function calls to RetrievalQAChain are filtered, causing some BaseChain features to malfunction.
Example:
import {
  ChatPromptTemplate,
  SystemMessagePromptTemplate,
} from "langchain/prompts";

// 1: this prompt  wants to be used in RetrievalqaChain
const rolePrompt = 'You are a helpful assistant of {field} field.';
const systemMessagePrompt = SystemMessagePromptTemplate.fromTemplate(rolePrompt);
const chatPrompt = ChatPromptTemplate.fromPromptMessages([systemMessagePrompt]);

....

const chain = RetrievalQAChain.fromLLM(model, vectorStoreRetriever, {
    prompt: chatPrompt,
  });

//  2:  Invoking the 'call' function and passing the 'field' variable to the prompt
  const res = await chain.call({
    query: question,
    field: 'aircode',
  });

Expect

The field variable in step 2 should be successfully passed to the prompt.

Actual

An error is thrown stating that the field variable cannot be found.

This is the solution of the bug PR: https://github.com/hwchase17/langchainjs/pull/2418


Grafana Dashboard for monitoring resources and services

Due to the recent increase in resource usage in https://github.com/OpenHistoricalMap/issues/issues/783 and https://github.com/OpenHistoricalMap/issues/issues/850 It would be convenient to monitor our resources and make this visible to everyone. As OSM does https://github.com/OpenHistoricalMap/issues/issues/783#issuecomment-2214573538, I think it would be reasonable to add a Grafana dashboard based on Prometheus to see how many resources the services are using in each service. Currently, we have Prometheus and some exporters in the staging and production clusters, but access to these statistics is still restricted. I could open the access to these statistics.
cc. @batpad @jeffreyameyer @danrademacher

@Rub21 do you have a sense of costs involved here?
I see they have a free tier, but I am not sure if we fit there:
https://grafana.com/pricing/

If we fit in free tier, then this is an easy Yes. If it costs, we need to confer with Jeff

Current status for Production environment  using the grafana
I have also implemented the Prometheus and Grafana dashboard for production, which provides a better overview of how the nodes are using resources over the last 10 days, giving insights into how much resources we are actually utilizing.
The current web API database is running alone on a node, but it doesn’t seem to be consuming many resources. Last time, we upgraded the node size due to an issue with cgimap link, but the node has been using less than 10% over the last 12 days. My recommendation is to reduce the node size by half.

For the tiler database, we are running fine. the size is more than enough, though there are some peaks where it is using 90% of the CPU and RAM, but seems fine.

For the web container, we are running fine, but reducing it to smaller nodes and leveraging the autoscaling we implemented in the past could help reduce node costs

cc. @batpad @danrademacher @jeffreyameyer

Based on discussion, we should reduce the web database API to 4 CPU and 16GB RAM. then we can close this issue out.

Make public the dashboard.https://monitoring.openhistoricalmap.org/

The node for api db has been updated, we are using now an x.large machine!

From our last call, the idea was to make Grafana public to check the infrastructure resources usage. However, it’s not currently possible because we’re using variables in the dashboard . Since our infrastructure scales dynamically based on requirements, we rely on these variables to view resource usage dynamically.

I have added the code to the repository to clearly document the Grafana and Prometheus installation and configuration: https://github.com/OpenHistoricalMap/k8s-monitoring

Ok, thanks, Ruben. So we have docs on how to install and run this dashboard  in the relevant repo.


Unity 2019 - Interactible buttons are hard to tell apart from passive UI elements

Check out the blinking tab


Comment in the file not commented with #

A comment in the service file was missing a leading # -- when copied and pasted people would not realize and the service fails to start with an error. Added a # to comment out the line.

/retitle Fix incorrect comment in sample systemd unit file

Preview: https://deploy-preview-37411--kubernetes-io-main-staging.netlify.app/docs/setup/production-environment/tools/kubeadm/kubelet-integration/#:~:text=%23 the KUBELET_KUBEADM_ARGS variable dynamically
/lgtm


Support server records

It'd be great if I could autofill passwords from Server records in 1password. Right now it looks like only Login records are supported.

@tabacco and @BrianGilbert I would love to be able to do this! However, it seems as though there's limitation with the UI that 1password provides. 1password doesn't do autofill of Server Records. At least as far as I can tell. If you can help me figure that one out I may be able to make this happen.

FYI, I played around with this whilst I was developing support for the "Password" type and I agree with @ravenac95, it probably isn't going to be possible.
To see what we mean open ITerm2, press ⌘+\ and then try to select one of your server records. Notice how 1Password doesn't react to it?


Unable to augment export = function/namespace

Possible duplicate of https://github.com/Microsoft/TypeScript/issues/7148, but it seems like it should be working according to https://github.com/Microsoft/TypeScript/pull/6742.
TypeScript Version:
1.8.7
Code
File: 1.d.ts
declare module 'm1' {
  function x (): x.Test;

  namespace x {
    export interface Test {
      prop1: boolean;
    }
  }

  export = x;
}

File: 2.ts
/// <reference path="./1.d.ts" />

import m1 = require('m1');

declare module 'm1' {
  interface Test {
    prop2: boolean;
  }
}

m1().prop2 // `prop2` does not exist on type `Test`.

Expected behavior:
Interfaces should merge, giving me access to prop2.
Actual behavior:
No prop2 on interface Test.

I can repro this in 1.8 and it seems to be fixed in @next.

@vladima Thanks for the confirmation, will it be ported to 1.8?

i would use typesctipt@next for this one. there are a couple of other related fixes as well.

@Guria If you want to type moment plugins, looks like you'll need to be using typescript@next. (Ref: https://github.com/Microsoft/TypeScript/issues/7148#issuecomment-197347289).

@blakeembrey thanks, will try it :)

Seems working. Thanks.


[iOS 14.0 ] In release mode after the app is started, click to jump to the flutter page, there is a layer of mask, and you cannot click

It's almost appear every time.

Translated Title
From
iOS 14.0 release 模式 APP启动之后点击跳转到flutter页面，有一层蒙层，无法点击
To
iOS 14.0 release mode After the APP is started, click to jump to the flutter page, there is a layer of mask, and you cannot click

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale zh-Hans-CN)
• Flutter version 1.20.4 at /Users/dingzhiwei/flutter
• Framework revision fba99f6cf9 (10 days ago), 2020-09-14 15:32:52 -0700
• Engine revision d1bc06f032
• Dart version 2.9.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/dingzhiwei/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0, Build version 12A7209
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
flutter run --release --verbose
print too much useless code, you can have a try in yourself to recurrence this question.

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale zh-Hans-CN)
• Flutter version 1.20.4 at /Users/zzz/flutter
• Framework revision fba99f6 (10 days ago), 2020-09-14 15:32:52 -0700
• Engine revision d1bc06f032
• Dart version 2.9.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/zzz/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0, Build version 12A7209
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
flutter run --release --verbose
print too much useless code, you can have a try in yourself to recurrence this question.

Hi @dzwing
Execute flutter run --release --verbose  from the terminal, copy all the logs paste in a plain text file .txt and attach in the comments here
Also please provide  a complete reproducible minimal code sample
Thank you

Have solve this question. Local flutter main.h file home: xxxx can't be annotated in high flutter for iOS.